{"id":1456,"date":"2018-10-02T19:18:01","date_gmt":"2018-10-02T18:18:01","guid":{"rendered":"https:\/\/ofalcao.pt\/blog\/?p=1456"},"modified":"2018-10-02T19:23:54","modified_gmt":"2018-10-02T18:23:54","slug":"bluetooth-working","status":"publish","type":"post","link":"https:\/\/ofalcao.pt\/blog\/2018\/bluetooth-working","title":{"rendered":"Bluetooth working"},"content":{"rendered":"<div class=\"seriesmeta\">This post is part 3 of 6 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/xbox-adaptive-controller\" class=\"series-344\" title=\"Xbox Adaptive Controller\">Xbox Adaptive Controller<\/a><\/div><p>XAC working with bluetooth on my Ubuntu 18.04 laptop.<\/p>\n<p>Only needed to edit &#8216;sys\/module\/bluetooth\/parameters\/disable_ertm&#8217; replacing &#8216;N&#8217; with &#8216;1&#8217; or &#8216;Y&#8217;<\/p>\n<p>After a few attempts of pairing my connection kept stable.<\/p>\n<p>dmesg:<\/p>\n<pre>Bluetooth: HIDP (Human Interface Emulation) ver 1.2\r\nBluetooth: HIDP socket layer initialized\r\nhid-generic 0005:045E:0B0C.0006: unknown main item tag 0x0\r\ninput: Xbox Adaptive Controller as \/devices\/pci0000:00\/0000:00:14.0\/usb1\/1-8\/1-8:1.0\/bluetooth\/hci0\/hci0:256\/0005:045E:0B0C.0006\/input\/input23\r\nhid-generic 0005:045E:0B0C.0006: input,hidraw3: BLUETOOTH HID v9.03 Gamepad [Xbox Adaptive Controller] on 34:f3:9a:88:60:7a\r\nBluetooth: hci0: last event is not cmd complete (0x0f)<\/pre>\n<p>a lot more of those hci 0x0f errors will keep appearing but connection holds.<\/p>\n<p>Also got a &#8216;\/dev\/input\/js0&#8217; device but with much more Axles (15) and Buttons (31). But buttons seem duplicated &#8211; for instance the big round button &#8216;A&#8217; is both Button 0 and Button 15 (previously it was only Button 0).<\/p>\n<p>Nice!<\/p>\n<p>Note 1: this workaround is not permanent.<br \/>\nNote 2: according to wikipedia, <a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_Bluetooth_protocols\">ERPM<\/a> stands for &#8216;<i>enhanced retransmission mode<\/i>&#8216; and is &#8216;an improved version of retransmission and flow control modes&#8217;. Several posts related to using Xbox bluetooth controllers in linux suggest disabling it.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"seriesmeta\">This post is part 3  of 6 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/xbox-adaptive-controller\" class=\"series-344\" title=\"Xbox Adaptive Controller\">Xbox Adaptive Controller<\/a><\/div><p>XAC working with bluetooth on my Ubuntu 18.04 laptop. Only needed to edit &#8216;sys\/module\/bluetooth\/parameters\/disable_ertm&#8217; replacing &#8216;N&#8217; with &#8216;1&#8217; or &#8216;Y&#8217; After a few attempts of pairing my connection kept stable. dmesg: Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized hid-generic 0005:045E:0B0C.0006: unknown main item tag 0x0 input: Xbox Adaptive Controller as &hellip; <a href=\"https:\/\/ofalcao.pt\/blog\/2018\/bluetooth-working\" class=\"more-link\">Continuar a ler<span class=\"screen-reader-text\"> &#8220;Bluetooth working&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"series":[344],"class_list":["post-1456","post","type-post","status-publish","format-standard","hentry","category-sem-categoria","series-xbox-adaptive-controller"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2Mhyv-nu","_links":{"self":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/comments?post=1456"}],"version-history":[{"count":0,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1456\/revisions"}],"wp:attachment":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/media?parent=1456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/categories?post=1456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/tags?post=1456"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/series?post=1456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}