{"id":378,"date":"2009-10-21T22:48:00","date_gmt":"2009-10-21T12:48:00","guid":{"rendered":"http:\/\/brnz.org\/hbr\/?p=378"},"modified":"2009-10-21T22:48:00","modified_gmt":"2009-10-21T12:48:00","slug":"sixaxisd-and-n900-perhaps","status":"publish","type":"post","link":"https:\/\/brnz.org\/hbr\/?p=378","title":{"rendered":"sixaxisd and N900? Perhaps&#8230;"},"content":{"rendered":"<p>My <a href=\"https:\/\/brnz.org\/hbr\/?p=363\">previous post<\/a> was mentioned over at <a href=\"http:\/\/talk.maemo.org\/showthread.php?t=32887&amp;page=2\">maemo.org<\/a>, with some speculation as to whether sixaxisd might work on the Nokia N900.<\/p>\n<p>My initial thought was that with a small modification to sixpair, it would be possible to feed it an arbitrary BD address, so I started poking around in the source &#8211; and found that the feature is already there :D<\/p>\n<p>You need the BD address of <strong>the device that you want to pair with the sixaxis<\/strong> &#8211; get this with hciconfig &#8211; run it (on the N900 &#8211; or whatever system) and you&#8217;ll hopefully see something like this (I don&#8217;t have an N900) :<\/p>\n<pre># hciconfig\r\nhci0:\u00a0\u00a0 Type: USB\r\n        BD Address: 00:1A:80:2C:BE:D0 ACL MTU: 384:8 SCO MTU: 64:8\r\n        DOWN\r\n        RX bytes:87170 acl:1503 sco:0 events:62 errors:0\r\n        TX bytes:574 acl:22 sco:0 commands:21 errors:0<\/pre>\n<p>Plug your sixaxis into some other machine via USB, grab (and compile) <a href=\"http:\/\/www.pabr.org\/sixlinux\/sixlinux.en.html\">sixpair.c<\/a> and run it with the BD address<\/p>\n<pre>wget http:\/\/www.pabr.org\/sixlinux\/sixpair.c\r\ngcc sixpair.c -lusb -o sixpair\r\n.\/sixpair 00:1A:80:2C:BF:D3 # use your own BD addr here<\/pre>\n<p>And that should be about it &#8211; unplug the sixaxis, continue with the instructions from the <a href=\"..\/?p=363\">previous post<\/a> and when you press the PS button, everything should work as if by magic.<\/p>\n<p>If it does not, get more magic.\u00a0 Either way, leave a comment and let me know how it goes :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My previous post was mentioned over at maemo.org, with some speculation as to whether sixaxisd might work on the Nokia N900. My initial thought was that with a small modification to sixpair, it would be possible to feed it an arbitrary BD address, so I started poking around in the source &#8211; and found that &hellip; <a href=\"https:\/\/brnz.org\/hbr\/?p=378\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sixaxisd and N900? Perhaps&#8230;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[17,13,12,18],"_links":{"self":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/378"}],"collection":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":5,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions\/383"}],"wp:attachment":[{"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brnz.org\/hbr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}