Author Topic: Socket Bluetooth (debian Eabi)  (Read 4181 times)

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« 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
« Last Edit: March 29, 2008, 08:33:57 pm by Raul »

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #1 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
Regards,
Vitel

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Socket Bluetooth (debian Eabi)
« Reply #2 on: March 30, 2008, 09:38:38 am »
Or just try this instead:

Code: [Select]
hciattach /dev/ttyS4 socket
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #3 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

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #4 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

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Socket Bluetooth (debian Eabi)
« Reply #5 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.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #6 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.

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #7 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

There is even a patch:
Patch for serial 8250
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.

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Socket Bluetooth (debian Eabi)
« Reply #8 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

There is even a patch:
Patch for serial 8250
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...

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #9 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.

Raul

  • Full Member
  • ***
  • Posts: 133
    • View Profile
Socket Bluetooth (debian Eabi)
« Reply #10 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