Author Topic: Anycom Cf-300 Bluetooth On Cacko 1.21b  (Read 3090 times)

dwchapin

  • Newbie
  • *
  • Posts: 13
    • View Profile
Anycom Cf-300 Bluetooth On Cacko 1.21b
« on: November 25, 2004, 01:18:42 am »
I'm having problems getting an AnyCom CF-300 bluetooth card to be recognized by Cacko 1.21b, on an 860.  I did a fresh install of the ROM (with the hotfix applied) just in case.  At first I was getting nothing at all when I inserted the card, but a related ZUG post (with no resolution, sadly) suggested adding the following lines to /etc/pcmcia/bluetooth.conf:

card "LSE139 Bluetooth Compact Flash Card"
  manfid 0x0264, 0x000b
  bind "bluecard_cs"

That improved things, and the card is recognized as a new CF Bluetooth card upon insertion, and the card light goes on (though it goes back off after a few seconds).  I thought I was homefree, but no dice.  Running hciconfig shows:

hci0:    Type: PCCARD
           BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU: 0:0
           DOWN INIT RUNNING
           RX bytes:0 acl:0 sco:0 events:0 errors:0
           TX bytes:0 acl:0 sco:0 commands:1 errors:0

So the address is all zeros.  That seems to be the stumbling block.

cardctl ident gives:

product info: "BTCFCARD", "LSE139"
manfid: 0x0264, 0x000b

when I do an "sdptool browse" I get:

Inquiring...
Inquiry failed

But I assume that's because the address for the card is showing up as 0's, which is the root of the problem.

BlueZ compatibility page says this card is supported.  Any ideas?
« Last Edit: November 30, 2004, 03:12:04 pm by dwchapin »
SL-5500 OZ 3.5.1, SL-C860 w/Cacko 1.22 lite, hotfix A
CF: Socket CF-Bluetooth 'G', SMC Wireless card, various storage CFs
SD: 1GB Lexar
SuSE 9.2 (home), Win2K (work)

dwchapin

  • Newbie
  • *
  • Posts: 13
    • View Profile
Anycom Cf-300 Bluetooth On Cacko 1.21b
« Reply #1 on: December 01, 2004, 04:01:16 pm »
I guess nobody had any ideas.  ;-)

For the record, to save anyone else the trouble: After banging my head against this for a while, I went back through the BlueZ site looking for clues and it seems that the bluecard_cs driver doesn't have support for the AnyCom CF-300 until kernel version 2.6.6-rc2 and beyond.  So you have to be careful with this: even if BlueZ says it's supported, you need concomitant support in your driver-kernel combo for this to work.   See:

http://www.holtmann.org/linux/bluetooth/bluecard.html

The comment in bluetooth/bluecard_cs.c in the revision to 2.6.6-rc2 says:

# The Anycom CF-300 compact flash card contains a new Bluetooth chip and
# thus it needs some special handling for the faster UART baud rate. This
# patch detects this new card and does the different initialization.

So, not going to work in Cacko unless they patch the kernel specifically to support it.

This would explain why the card gets a certain way through the initialization process (recognized by the Z as a bluetooth card and the LED goes on) and then craps out.

So, I've got a Socket card on order which arrived today, and I'm going to have another go...

Anybody with supported hardware wanna buy an otherwise new bluetooth card?  It's apparently very nice... :-(
« Last Edit: December 01, 2004, 04:04:44 pm by dwchapin »
SL-5500 OZ 3.5.1, SL-C860 w/Cacko 1.22 lite, hotfix A
CF: Socket CF-Bluetooth 'G', SMC Wireless card, various storage CFs
SD: 1GB Lexar
SuSE 9.2 (home), Win2K (work)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Anycom Cf-300 Bluetooth On Cacko 1.21b
« Reply #2 on: December 02, 2004, 04:33:06 am »
I sent you a PM.

fir

  • Newbie
  • *
  • Posts: 32
    • View Profile
Anycom Cf-300 Bluetooth On Cacko 1.21b
« Reply #3 on: December 02, 2004, 10:40:31 am »
Is there a solution?  I also have this card and want to use it on an 860.  Like dwchapin I got the impression that it was supported.  (I've been busy configuring other things, so I haven't tried it yet.)

Frank.

dwchapin

  • Newbie
  • *
  • Posts: 13
    • View Profile
Anycom Cf-300 Bluetooth On Cacko 1.21b
« Reply #4 on: December 02, 2004, 11:34:34 am »
Quote
Is there a solution? I also have this card and want to use it on an 860.

fir -- What my last post means is that it won't work right now with Cacko, or probably any other rom at the moment, because the bluecard_cs driver changes needed to support the card's initialization and its faster UART baud rate didn't make it into the linux kernel until 2.6.6rc2.  The Cacko kernel is based on the Sharp kernel, which in turn was based on 2.4.18 IIRC.

However the great thing about Linux is that it's open source, so the changes to the driver can probably be shoehorned into the Cacko kernel.  (They appear to be localized to one file.)  Since I can't use it I've donated my card to the Cacko project, so when maslovsky gets it he can incorporate & test the changes and they'll make their way into a new version of the rom at some point if all goes well.

So it depends on how long you think you can wait.  I'm impatient, so I ordered a Socket CF G Bluetooth card which arrived last night, and I'm up and running with GPRS through my Nokia 6230.  Woohoo.

Now all I need to do is get KOPI to sync with my laptop over the connection and I'm good.
SL-5500 OZ 3.5.1, SL-C860 w/Cacko 1.22 lite, hotfix A
CF: Socket CF-Bluetooth 'G', SMC Wireless card, various storage CFs
SD: 1GB Lexar
SuSE 9.2 (home), Win2K (work)

fir

  • Newbie
  • *
  • Posts: 32
    • View Profile
Anycom Cf-300 Bluetooth On Cacko 1.21b
« Reply #5 on: December 03, 2004, 11:10:44 am »
Quote
So it depends on how long you think you can wait.  I'm impatient, so I ordered a Socket CF G Bluetooth card which arrived last night, and I'm up and running with GPRS through my Nokia 6230.  Woohoo.
I've ordered a socket card as well.  Any chance of getting you to post a HOWTO for getting your GPRS connection working with 860/socket bt/Cacko?  That's exactly the combination I'll be trying to get working as soon as my card arrives.