OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: jna on September 05, 2005, 09:55:52 am
-
Hi,
I have Billionton CF BlueTooth card and I am trying to get it to work since few days without success
At first I had Cacko and it worked fine, but I have switched to OZ 3.5.3 and I can not start it up. I have tried to follow few HOW-TOs, but no good results.
When I insert card into slot it is automatically discovered in status bar as "Billionton Bluetooth Card" and it blinks. And this is the only positive response.
# sdptool browse
Inquiring ...
Inquiry failed
# hcitool scan
Device is not available.: Address family not supported by protocol
# cardctl status
Socket 0:
3.3V 16-bit PC Card
function 0: [ready]
# setserial /dev/ttyS3 baud_base 921600
/dev/ttyS3: No such device or address
(yes, /dev/ttyS3 exists)
Where is my fault, what should I do? please help,
Jakub
-
Does anyone can give me any suggestion what should I do?
I'm just about switching back to Cacko, but OZ seems to run faster so I still would like to have some try...
-
Try this way.
First you need to have installed kernel-module-bluecard-cs.
Then you may need to edit /etc/pcmia/bluetooth.conf
Find the following section:
card "Billionton Bluetooth Card"
version "Compact Flash", "Bluetooth Card"
bind "bt950_cs"
and change the last line to:
bind "serial_cs" class "bluetooth"
Then save and restart your pcmcia deemon: /etc/init.d/pcmcia restart
At this point you can insert your card.
Try issuing the following commands in this order:
setserial /dev/ttyS3 baud_base 921600
modprobe hci_uart
hciattach /dev/ttyS3 billionton
hciconfig hci0 up
And here you go. Try to issue a: hcitool scan
just to check everything works fine.
Hope this helps.
I've reach this point but from here on, I've been unable to find a way to ease the bluetooth startup. "/etc/init.d/bluetooth start" doesn't work for me...
-
First of all - thank you for your help!
I have done all the steps untill:
Try issuing the following commands in this order:
setserial /dev/ttyS3 baud_base 921600
modprobe hci_uart
hciattach /dev/ttyS3 billionton
hciconfig hci0 up
setserial result is following:
# setserial /dev/ttyS3 baud_base 921600
/dev/ttyS3: No such device or address
I guess it is again problem with lack of some modules. It took me long time untill I have realised that OpenZaurus default kernel does not include many modules such us bluetooth etc. They are also not in standard feed, they just have to be downloaded from http://www.rpsys.net/openzaurus/packages/ (http://www.rpsys.net/openzaurus/packages/)
Do you know which modules should I download to have setserial working? I was trying with some, but without any results.
-
As I have wrote, you have to install "kernel-module-bluecard-cs".
It is in the standard feed (machine section).
You also may have to edit /etc/pcmia/bluetooth.conf.
Check my previous post for details.
-
I have done all the steps you have written up to "setserial", including installation of "kernel-module-bluecard-cs" and editing bluetooth.conf.
In the meantime I have found also other modules which are required for setserial to work. But hciattach returns following result:
# hciattach /dev/ttyS3 billionton
Unknown device type or id
I have tried also with other parameter:
# hciattach /dev/ttyS3 bcsp
Can't get port settings: Input/output error
Can't initialize device: Illegal seek
How can I get hciattach working?
-
Try to insert the card, and type from console:
cardctl ident
then compare the results with the content in your /etc/pcmia/bluetooth.conf
file. Maybe your card has a different chip?
-
I have following results:
# cardctl ident
Socket 0:
product info: "Compact Flash", "Bluetooth Card", "", ""
manfid: 0x0279, 0x950b
function: 2 (serial)
And file /etc/pcmcia/bluetooth.conf contains:
card "Billionton Bluetooth Card"
version "Compact Flash", "Bluetooth Card"
bind "serial_cs" class "bluetooth"
What else can I do?
-
Looks exactly as mine...
I'm unable to help you more, unfortunately.
As far as I can see, everything looks ok...
-
for 2.4 kernel you need bt950_cs module
for 2.6 you have to try all BT modules as bt950_cs is 2.4 only
-
Thank you both for your support. I have tried also with BT modules I have found, but still could not get it working. After installing all of these packages my OpenZaurus started to have other problems - I can not suspend it or even switch it off (have to remove battery). Another thing is that setserial hangs up (and even can not be killed -9). TOP shows load average about 2 (before it was about 0).
I am going to check pdaXrom and if I can set it up (with bluetooth etc.) in few days it will be great, if not I will switch back to Cacko (bluetooth was working there "out of the box").
Thanks again, hope one day I can try OZ again