OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: jgong on April 24, 2004, 08:30:28 am
-
I have the latest Cacko Qtopia ROM 1.21, and I\'m not able to get my Ambicom BT2000C card working. I see from prior posts that the BT2000E works but BT2000C may not. If anyone has this working on a C760, I\'d appreciate some info on how to set it up. If not I\'ll sell my card on Ebay and see about getting another type (socket?). Thanks.
-
Nope not working yet. Haven\'t had much time to work on it sadly. It requires some hacking of the drivers as it is currently unsupported by BlueZ.
-
I think I need to learn more about the low level driver functions in Linux. I was hoping to transplant the UART initialisation code from the bt950 driver to hciattach, since the BT2000C and BT2000E UART chip is the same. Then the hci_uart driver should in theory work with the BT2000C card since it is uses the CSR chip for the Bluetooth communications (Marcel [Mr BlueZ] Holtmann seems to think this would work).
But from the looks of it the bt950 code cannot be transplanted quite so easily. The hciattach code simply opens the serial device with basic IO and initialises the serial chip by blasting a message at it and leaves it at that from what I can tell. The bt950 code on the other hand communicates with the serial chip in a way I\'m not familiar with (I can\'t even see where it opens the device) and seems to be tied very closely with the HCI/PCMCIA susbsystems in the way the UART initialisation code works.
Maybe Albert R can help if he\'s still around on these forums since he wrote most of the bt950 driver, but I am having to give the loaned BT2000C card back (thanks anyway Tony).
-
I\'ve decided to take another look at the card over the weekend. Right now I\'m just trying to get it to work on my laptop, I figure if I can do that then porting it over to the Z should be easy. So far, I\'m not getting too far. The card is recognized by the serial_cs module, giving me a /dev/ttyS3. Then I can\'t get any farther. hciattach won\'t recognize the card.
I might start looking into the code a little bit, although I don\'t have much experience with kernel hacking. I can always try.
btw, I\'m using the built-in bluez modules in 2.6.5 kernel, in case that makes a difference.
-
The BT2000C uses a UART chip not supported by hciattach. That\'s why I was trying to transplant the UART code from the bt950 driver, but it\'s not straight forward.