2010-06-10, 20:24
GOOD News!! (for the most part), I some how got my remote to auto connect when I stop/start the bluetooth service. I also got it to work across reboots (yay).
here's what I did. I was reading through faxo comments in post #395 and for some reason I started playing with the "sudo hcitool" commands. I stop and started the bluetooth service (so my remote wasnt working_ and I did an "sudo hcitool cc 00:26:43:BA:B6:57 " which posted some error
but after that the remote worked!! not sure what i did but to make sure I wasnt going crazy I tried it again, and IT WORKED as soon as the error message popped up. Just for kicks I did a restart, hit "Ctrl+Alt+F1" logged in and typed in my "sudo hcitool cc 00:26:43:BA:B6:57" again. remote worked!!
I kept playing around with this procedure and after looking at other commands it seems that sudo hcitool <almost anything> 00:26:43:BA:B6:57 " makes the remote work (like running that tool does or sets something up that makes everything fall into place).
So I went into the /etc/rc.local and just added my command (I added "sudo hcitool name 00:26:43:BA:B6:57") just above the "exit 0" and saved it. did a restart and poof! remote works as soon as I am in XBMC.
Well thats one for the books..
I did however download h00s' ps3bdremote file and played with it before getting this to work but I really dont think it did anything for me. So I am going to do a clean install of XBMC live and create a list of commands/steps I did and if I get it working ill post it and have a nice cold beer. Thanks to everyone that helped in getting me this far, if all goes well phase 2 will be getting the buttons setup as I want. but one step at a time.
p.s. I also tested doing "/etc/init.d/bluetooth stop" then "sudo bluetoothd -nd" to see the commands (I had to go into another screen and do my magical "sudo hcitool name 00:26:43:BA:B6:57" command and when I went back to the bluetoothd debug screen I saw my command. I also verified that the time out works too (still getting that weird GLib-CRITICAL" error I posted above but at this point I dont care).
here's what I did. I was reading through faxo comments in post #395 and for some reason I started playing with the "sudo hcitool" commands. I stop and started the bluetooth service (so my remote wasnt working_ and I did an "sudo hcitool cc 00:26:43:BA:B6:57 " which posted some error
Code:
[ 490.976695] hci_cmd_task: hci0 command tx timeout
I kept playing around with this procedure and after looking at other commands it seems that sudo hcitool <almost anything> 00:26:43:BA:B6:57 " makes the remote work (like running that tool does or sets something up that makes everything fall into place).
So I went into the /etc/rc.local and just added my command (I added "sudo hcitool name 00:26:43:BA:B6:57") just above the "exit 0" and saved it. did a restart and poof! remote works as soon as I am in XBMC.
Well thats one for the books..
I did however download h00s' ps3bdremote file and played with it before getting this to work but I really dont think it did anything for me. So I am going to do a clean install of XBMC live and create a list of commands/steps I did and if I get it working ill post it and have a nice cold beer. Thanks to everyone that helped in getting me this far, if all goes well phase 2 will be getting the buttons setup as I want. but one step at a time.
p.s. I also tested doing "/etc/init.d/bluetooth stop" then "sudo bluetoothd -nd" to see the commands (I had to go into another screen and do my magical "sudo hcitool name 00:26:43:BA:B6:57" command and when I went back to the bluetoothd debug screen I saw my command. I also verified that the time out works too (still getting that weird GLib-CRITICAL" error I posted above but at this point I dont care).