Skip to contentSkip to conversation

Serial(HCI-UART) Bluetooth Module - Initialization timeout error

Bluez-users Benny 2 participants 5 messages Mar 24, 2005 Bluetooth drivers

lore
Share & tools
lore

Benny

author
#0 lore raw

Dear all,

We are now working with a RFMD Silicon wave based serial(hci-uart) bluetooth module. We are trying to test for its working under linux 2.6. We have installed the Bluetooth stack (bluetooth.o) module and the HCI Uart (hci_uart.ko ) module.
We have tested for the working under windows.

When we try to do hciattach the device with Serial port using the following command.

hciattach /dev/ttyS0 swave 115200 flow

we are getting the INITIALIAZATION TIME OUT error. And it is the same result with the following commands also:

             hciattach ttyS0 swave 115200 flow
             hciattach  -s 115200 ttyS0  swave 115200 flow
             hciattach /dev/ttyS0 swave 115200

Has anyone faced this problem before. Any pointers? Please advice.

Thanks and regards
Benny

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Benny,

Quoted 11 lines

We are now working with a RFMD Silicon wave based serial(hci-uart) bluetooth module. We are trying to test for its working under linux 2.6. We have installed the Bluetooth stack (bluetooth.o) module and the HCI Uart (hci_uart.ko ) module.
We have tested for the working under windows.

When we try to do hciattach the device with Serial port using the following command.

hciattach /dev/ttyS0 swave 115200 flow

Quoted 8 lines

we are getting the INITIALIAZATION TIME OUT error. And it is the same result with the following commands also:

             hciattach ttyS0 swave 115200 flow
             hciattach  -s 115200 ttyS0  swave 115200 flow
             hciattach /dev/ttyS0 swave 115200

Has anyone faced this problem before. Any pointers? Please advice.

Silicon Wave or now RFMD never send me a development kit to improve the support for it. I only have Silicon Wave based USB dongles and most people I know uses the USB interface to attach a Bluetooth module with this chip.

Look at the hciattach source code and see where this error occurs. Check your kernel config and make sure that H4 is really configured:

CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw

Thanks Marcel for your reply. Yes we doing the same exercise debugging step by step using the hciattach source. Yes we have chosen the required configurations mentioned.

We are designing a Bluetooth remote device using a custom hardware interfaced to a standard Bluetooth module(headset+SPP). We are targeting this product for PC market.

So we have to suggest our customer a set of USB Bluetooth dongles which supports Bluez on the Linux PC. We are finding that the CSR based BT USB dongle is working fine under linux rather than the SiliconWave based BT USB dongle. I may be wrong in this regard, I might have missed some settings.

We have tried the following BT USB dongles:
i) unknown make(CSR) - Woking fine for Audio and data transfer. ii) Orchid (Silicon wave) - Not working for Audio but recieving data. iii) ANYCOM USB Adapter 240 (Silicon Wave) - Not working for Audio as well as data.

We are using linux kernel 2.6.9-1.667(Fedora Core 3) and using the latest CVS BT-SCO drivers.

Please advice.

Thanks & Regards,
Benny

Quoted 30 lines · Marcel Holtmann

Hi Benny,

Quoted 11 lines

We are now working with a RFMD Silicon wave based serial(hci-uart) bluetooth module. We are trying to test for its working under linux 2.6. We have installed the Bluetooth stack (bluetooth.o) module and the HCI Uart (hci_uart.ko ) module.
We have tested for the working under windows.

When we try to do hciattach the device with Serial port using the following command.

hciattach /dev/ttyS0 swave 115200 flow

Quoted 8 lines

we are getting the INITIALIAZATION TIME OUT error. And it is the same result with the following commands also:

             hciattach ttyS0 swave 115200 flow
             hciattach  -s 115200 ttyS0  swave 115200 flow
             hciattach /dev/ttyS0 swave 115200

Has anyone faced this problem before. Any pointers? Please advice.

Silicon Wave or now RFMD never send me a development kit to improve the support for it. I only have Silicon Wave based USB dongles and most people I know uses the USB interface to attach a Bluetooth module with this chip.

Look at the hciattach source code and see where this error occurs. Check your kernel config and make sure that H4 is really configured:

Quoted 6 lines

CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Benny,

Quoted 14 lines

Thanks Marcel for your reply. Yes we doing the same exercise debugging step by step using the hciattach source. Yes we have chosen the required configurations mentioned.

We are designing a Bluetooth remote device using a custom hardware interfaced to a standard Bluetooth module(headset+SPP). We are targeting this product for PC market.

So we have to suggest our customer a set of USB Bluetooth dongles which supports Bluez on the Linux PC. We are finding that the CSR based BT USB dongle is working fine under linux rather than the SiliconWave based BT USB dongle. I may be wrong in this regard, I might have missed some settings.

Quoted 8 lines

We have tried the following BT USB dongles:
i) unknown make(CSR) - Woking fine for Audio and data transfer. ii) Orchid (Silicon wave) - Not working for Audio but recieving data. iii) ANYCOM USB Adapter 240 (Silicon Wave) - Not working for Audio as well as data.

We are using linux kernel 2.6.9-1.667(Fedora Core 3) and using the latest CVS BT-SCO drivers.

the ACL part should work for any dongle without any problems. I have one of the Anycom 240 adapters by myself and the data part is working fine. For the SCO support you should really go with CSR based dongles, because the Silicon Wave seem to behave somekind of strange. However I am not fully working on this topic.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#4 lore raw

Hi Marcel,
Thanks a lot for your suggestions.
Thanks & Regards,
Benny

Quoted 31 lines · Marcel Holtmann

Hi Benny,

Quoted 14 lines

Thanks Marcel for your reply. Yes we doing the same exercise debugging step by step using the hciattach source. Yes we have chosen the required configurations mentioned.

We are designing a Bluetooth remote device using a custom hardware interfaced to a standard Bluetooth module(headset+SPP). We are targeting this product for PC market.

So we have to suggest our customer a set of USB Bluetooth dongles which supports Bluez on the Linux PC. We are finding that the CSR based BT USB dongle is working fine under linux rather than the SiliconWave based BT USB dongle. I may be wrong in this regard, I might have missed some settings.

Quoted 8 lines

We have tried the following BT USB dongles:
i) unknown make(CSR) - Woking fine for Audio and data transfer. ii) Orchid (Silicon wave) - Not working for Audio but recieving data. iii) ANYCOM USB Adapter 240 (Silicon Wave) - Not working for Audio as well as data.

We are using linux kernel 2.6.9-1.667(Fedora Core 3) and using the latest CVS BT-SCO drivers.

the ACL part should work for any dongle without any problems. I have one of the Anycom 240 adapters by myself and the data part is working fine. For the SCO support you should really go with CSR based dongles, because the Silicon Wave seem to behave somekind of strange. However I am not fully working on this topic.

Quoted 3 lines

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users