OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: Raul on March 29, 2008, 08:28:03 pm

Title: Socket Bluetooth (debian Eabi)
Post by: Raul on March 29, 2008, 08:28:03 pm
I've read some of the topics about Socket Bluetooth and Debian Tichy. I have Version G and still cannot get it to work properly.

Someone wrote that: " 'hciattach /dev/ttyS4 bcsp' works." but it doesn't for me.
Maybe I should try with setserial? Does it exist for Debian Eabi?

The only positive is that after inserting the card it responds with:
ttyS0: detected caps 00000700 should be 00000100
1.0: ttyS4 at I/O 0xc48403f8 (irq = 169) is a 16C950/954

Thanks for any help.

Kind regards,
Raul
Title: Socket Bluetooth (debian Eabi)
Post by: Vitel on March 30, 2008, 08:00:18 am
Quote from: Raul
Maybe I should try with setserial?
Exactly! Try this:
Code: [Select]
setserial /dev/ttyS4 baud_base 921600
hciattach /dev/ttyS4 bcsp
Title: Socket Bluetooth (debian Eabi)
Post by: pelrun on March 30, 2008, 09:38:38 am
Or just try this instead:

Code: [Select]
hciattach /dev/ttyS4 socket
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on March 30, 2008, 05:39:13 pm
Quote from: pelrun
Or just try this instead:

Code: [Select]
hciattach /dev/ttyS4 socket
When i tried with socket i've got:
bcsp-recv: Out-of-order packed arrived, got 1 expected 0
bcsp-recv: Error in BSCP hdr checksum
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on March 30, 2008, 06:04:13 pm
Quote from: Vitel
Quote from: Raul
Maybe I should try with setserial?
Exactly! Try this:
Code: [Select]
setserial /dev/ttyS4 baud_base 921600
hciattach /dev/ttyS4 bcsp
After hciattach /dev/ttyS4 bcsp I've got:
BCSP initialization timed out
Title: Socket Bluetooth (debian Eabi)
Post by: pelrun on March 30, 2008, 06:52:23 pm
Quote from: Raul
When i tried with socket i've got:
bcsp-recv: Out-of-order packed arrived, got 1 expected 0
bcsp-recv: Error in BSCP hdr checksum

Sure, but what does hciconfig say? I get those errors on occasion but it doesn't stop the interface from coming up.

However it does tend to spew those errors continually to the log after a suspend/resume until I kill and restart hciattach.
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on March 31, 2008, 11:51:16 am
Quote from: pelrun
Sure, but what does hciconfig say? I get those errors on occasion but it doesn't stop the interface from coming up.

However it does tend to spew those errors continually to the log after a suspend/resume until I kill and restart hciattach.
hciconfig show nothing at all.
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on April 01, 2008, 03:59:54 am
I've found a nice web page about the problem with Socket Bletooth card rev. G
http://www.adamis.de/linux/bt-socket.html (http://www.adamis.de/linux/bt-socket.html)

There is even a patch:
Patch for serial 8250 (http://www.adamis.de/linux/serial_8250.c_2.6.17.patch)
Does anyone knows if zaurus kernels have this patch already?

That's why probably some of you had a problem with getting better transfers than 9-10kb/s.
Title: Socket Bluetooth (debian Eabi)
Post by: stupkid on April 01, 2008, 11:30:55 am
Quote from: Raul
I've found a nice web page about the problem with Socket Bletooth card rev. G
http://www.adamis.de/linux/bt-socket.html (http://www.adamis.de/linux/bt-socket.html)

There is even a patch:
Patch for serial 8250 (http://www.adamis.de/linux/serial_8250.c_2.6.17.patch)
Does anyone knows if zaurus kernels have this patch already?

That's why probably some of you had a problem with getting better transfers than 9-10kb/s.

My Rev G Socket Card works like a champ on Cacko and PdaXRom, but those are 2.4 kernel...
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on April 01, 2008, 03:40:19 pm
Quote from: stupkid
My Rev G Socket Card works like a champ on Cacko and PdaXRom, but those are 2.4 kernel...
I've had Cacko and pdaXii before and it was working quite nice.
Title: Socket Bluetooth (debian Eabi)
Post by: Raul on April 01, 2008, 04:58:50 pm
I've found other solution but I'm not good at compiling Kernel.
Patch for Socket Bluetooth (http://ubuntuforums.org/archive/index.php/t-182926.html)