Talk:Manually using Bluetooth

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (This does not work with 2007.2 / .08 image plus ipkg updates up until August 24?)
(This does not work with 2007.2 / .08 image plus ipkg updates up until August 24?)
Line 43: Line 43:
 
  FATAL: Could not open '/lib/modules/2.6.21.5-moko10/kernel/drivers/bluetooth/hci_usb.ko': No such file or directory
 
  FATAL: Could not open '/lib/modules/2.6.21.5-moko10/kernel/drivers/bluetooth/hci_usb.ko': No such file or directory
  
Can someone let me know if BT is supposed to work with 2007.2 / .08 plus updates? Thanks, [[user:hhf423]]
+
Can someone let me know if BT is supposed to work with 2007.2 / .08 plus updates?  
 +
 
 +
This issue is SOLVED, in a way: kernel 2.6.21.6 seems to be required.
 +
 
 +
[[user:hhf423]]

Revision as of 17:37, 27 August 2007

Bluetooth keyboards which doesn't support HID

There exists several bluetooth keyboards which doesn't support the normal HID protocol. This means you can not simply use "hidd --connect 11:22:33:44:55:66". I've searched the net a bit and found this: http://www.handhelds.org/moin/moin.cgi/kbdd. The program kbdd seems like the thing to use. The source code is available. I'm not able to test this program myself as I do not have a Neo yet. EsbenDamgaard 22:10, 16 August 2007 (CEST)


Phone does not detect laptop

If running hcitool scan on the phone does not detect your laptop, check if ISCAN is enabled on the laptop by typing hciconfig and seeing the output.Like in the following output ISCAN is not enabled.

       hci0:   Type: USB
               BD Address: 00:19:7E:E5:C2:2F ACL MTU: 1017:8 SCO MTU: 64:8
               UP RUNNING PSCAN 
               RX bytes:1651 acl:0 sco:0 events:42 errors:0
               TX bytes:368 acl:0 sco:0 commands:31 errors:0

It is not enabled by default on Ubuntu Edgy systems.

If it is not then either type : hciconfig hci0 piscan

Also you can permanently fix this bug by doing the following steps on the laptop:

1. Add "discovto 0;" to the device section of hcid.conf file in /etc/bluetooth.

2. Remove all the files present in /var/lib/bluetooth

3. Restart Bluetooth

4. Check hciconfig and ISCAN will be enabled.Deepank 20:21, 22 August 2007

This does not work with 2007.2 / .08 image plus ipkg updates up until August 24?

After starting everything as described, I only get error messages:

root@fic-gta01:~$ hciconfig
Can't open HCI socket.: Address family not supported by protocol
root@fic-gta01:~$ modprobe gta01-pm-bt
FATAL: Module gta01_pm_bt not found.
root@fic-gta01:~$ modprobe hci_usb    
WARNING: Could not open '/lib/modules/2.6.21.5-moko10/kernel/net/bluetooth/bluetooth.ko': No such file or directory
FATAL: Could not open '/lib/modules/2.6.21.5-moko10/kernel/drivers/bluetooth/hci_usb.ko': No such file or directory

Can someone let me know if BT is supposed to work with 2007.2 / .08 plus updates?

This issue is SOLVED, in a way: kernel 2.6.21.6 seems to be required.

user:hhf423

Personal tools

Bluetooth keyboards which doesn't support HID

There exists several bluetooth keyboards which doesn't support the normal HID protocol. This means you can not simply use "hidd --connect 11:22:33:44:55:66". I've searched the net a bit and found this: http://www.handhelds.org/moin/moin.cgi/kbdd. The program kbdd seems like the thing to use. The source code is available. I'm not able to test this program myself as I do not have a Neo yet. EsbenDamgaard 22:10, 16 August 2007 (CEST)


Phone does not detect laptop

If running hcitool scan on the phone does not detect your laptop, check if ISCAN is enabled on the laptop by typing hciconfig and seeing the output.Like in the following output ISCAN is not enabled.

       hci0:   Type: USB
               BD Address: 00:19:7E:E5:C2:2F ACL MTU: 1017:8 SCO MTU: 64:8
               UP RUNNING PSCAN 
               RX bytes:1651 acl:0 sco:0 events:42 errors:0
               TX bytes:368 acl:0 sco:0 commands:31 errors:0

It is not enabled by default on Ubuntu Edgy systems.

If it is not then either type : hciconfig hci0 piscan

Also you can permanently fix this bug by doing the following steps on the laptop:

1. Add "discovto 0;" to the device section of hcid.conf file in /etc/bluetooth.

2. Remove all the files present in /var/lib/bluetooth

3. Restart Bluetooth

4. Check hciconfig and ISCAN will be enabled.Deepank 20:21, 22 August 2007

This does not work with 2007.2 / .08 image plus ipkg updates up until August 24?

After starting everything as described, I only get error messages:

root@fic-gta01:~$ hciconfig
Can't open HCI socket.: Address family not supported by protocol
root@fic-gta01:~$ modprobe gta01-pm-bt
FATAL: Module gta01_pm_bt not found.
root@fic-gta01:~$ modprobe hci_usb    
WARNING: Could not open '/lib/modules/2.6.21.5-moko10/kernel/net/bluetooth/bluetooth.ko': No such file or directory
FATAL: Could not open '/lib/modules/2.6.21.5-moko10/kernel/drivers/bluetooth/hci_usb.ko': No such file or directory

Can someone let me know if BT is supposed to work with 2007.2 / .08 plus updates? Thanks, user:hhf423