2011-03-31, 09:47
Hi,
I have a bluetooth keyboard and I've been able to make it work using
(before hcitool scan I have to press the "reset" button in the keyboard)
hcitool scan
hidd --connect aa:bb:cc:dd:ee:ff (obviusly replacing aa:bb:cc:dd:ee:ff with the address of my keyboard)
but it only works till the next reboot. I've seen various methods to make it permanent, but in 10.04 none of them works for me (for example, in this link https://help.ubuntu.com/community/BluetoothSetup says that editing /etc/default/bluetooth and adding the module hidp in /etc/modules is the way to do it, but it 10.04 this file doesn't exists anymore, and I've tried to add it without any success). Also I can't add hidd --connect aa:bb:cc:dd:ee:ff directly to rc scripts because it doesn't work until I press the "reset" button in the keyboard and make a hcitool scan.
Another question which is not directly related but whose answer can be useful is : how can I run programs which require X windows from XBMC terminals? for example : I've seen that in various sources it says that using blueman-applet can help to configure bluetooth devices, but I think it's GTK based (I've tested and obviously it doesn't work), so... how can I run it in XBMC? I would be also interested in how to run chromium (to add it to XBMC using some launcher).
Thank you in advance
I have a bluetooth keyboard and I've been able to make it work using
(before hcitool scan I have to press the "reset" button in the keyboard)
hcitool scan
hidd --connect aa:bb:cc:dd:ee:ff (obviusly replacing aa:bb:cc:dd:ee:ff with the address of my keyboard)
but it only works till the next reboot. I've seen various methods to make it permanent, but in 10.04 none of them works for me (for example, in this link https://help.ubuntu.com/community/BluetoothSetup says that editing /etc/default/bluetooth and adding the module hidp in /etc/modules is the way to do it, but it 10.04 this file doesn't exists anymore, and I've tried to add it without any success). Also I can't add hidd --connect aa:bb:cc:dd:ee:ff directly to rc scripts because it doesn't work until I press the "reset" button in the keyboard and make a hcitool scan.
Another question which is not directly related but whose answer can be useful is : how can I run programs which require X windows from XBMC terminals? for example : I've seen that in various sources it says that using blueman-applet can help to configure bluetooth devices, but I think it's GTK based (I've tested and obviously it doesn't work), so... how can I run it in XBMC? I would be also interested in how to run chromium (to add it to XBMC using some launcher).
Thank you in advance