public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c)
@ 2004-02-14 17:23 Eiko Oltmanns
  2004-02-15 14:35 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Eiko Oltmanns @ 2004-02-14 17:23 UTC (permalink / raw)
  To: bluez-users

Hi,

I have problems with using the conceptronic pcmcia card (cbt100c). The hotplug 
system (on a Suse 9.0 system) doesn't detect the card correctly. It detects a 
modem a loads 'serial_cs.o'. Obviously this can't work. 
So I have to setup this device manually. But I haven't found any information 
about how to do this.
Is it easyer to configure the hotplug system to setup the card correctly or to 
setup the card permanently (I don't need the hotplug function, because I 
don't want to remove the card) ?
Any information, hints or links are welcome!

Thanks in advance!

Eiko Oltmanns



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c)
  2004-02-14 17:23 [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c) Eiko Oltmanns
@ 2004-02-15 14:35 ` Marcel Holtmann
       [not found]   ` <200402162310.11538.eiko.oltmanns@web.de>
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-15 14:35 UTC (permalink / raw)
  To: Eiko Oltmanns; +Cc: BlueZ Mailing List

Hi Eiko,

> I have problems with using the conceptronic pcmcia card (cbt100c). The hotplug 
> system (on a Suse 9.0 system) doesn't detect the card correctly. It detects a 
> modem a loads 'serial_cs.o'. Obviously this can't work. 

this is correct if the card offers an UART. You have to use hciattach to
attach the serial device to the Bluetooth core.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c)
       [not found]   ` <200402162310.11538.eiko.oltmanns@web.de>
@ 2004-02-16 23:01     ` Marcel Holtmann
  2004-02-23 22:35       ` Eiko Oltmanns
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-16 23:01 UTC (permalink / raw)
  To: Eiko Oltmanns; +Cc: BlueZ Mailing List

Hi Eiko,

> > this is correct if the card offers an UART. You have to use hciattach to
> > attach the serial device to the Bluetooth core.
> 
> I see. 
> I tried the following command:
> 
> linux:/home/eiko # hciattach /dev/ttyS17 csr
> Initialization timed out.
> 
> What could be wrong there?

the card is CSR based, but in BCSP mode or the card has no CSR chip on
it. Or it uses another init baud rate or or or ...

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c)
  2004-02-16 23:01     ` Marcel Holtmann
@ 2004-02-23 22:35       ` Eiko Oltmanns
  0 siblings, 0 replies; 4+ messages in thread
From: Eiko Oltmanns @ 2004-02-23 22:35 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Am Dienstag, 17. Februar 2004 00:01 schrieb Marcel Holtmann:
> Hi Eiko,
>
[...]
> > I tried the following command:
> >
> > linux:/home/eiko # hciattach /dev/ttyS17 csr
> > Initialization timed out.
> >
> > What could be wrong there?
>
> the card is CSR based, but in BCSP mode or the card has no CSR chip on
> it. Or it uses another init baud rate or or or ...
>

I did  some more research on it. The card has an CSR chip and it is in BCSP 
mode. I can execute hciattach without error messsage now:

Systemlog after inserting the card:

Feb 23 22:23:11 linux cardmgr[855]: socket 0: Serial or Modem
Feb 23 22:23:11 linux cardmgr[855]: executing: 'insmod -v /lib/
modules/2.4.21-99-eiko//pcmcia/serial_cs.o'
Feb 23 22:23:11 linux cardmgr[855]: + Using /lib/modules/2.4.21-99-eiko//
pcmcia/serial_cs.o
Feb 23 22:23:11 linux cardmgr[855]: + Symbol version prefix ''
Feb 23 22:23:11 linux kernel: ttyS17 at port 0x0100 (irq = 0) is a 16C950/954
Feb 23 22:23:11 linux cardmgr[855]: executing: './serial start ttyS17'
Feb 23 22:23:11 linux kernel: Trying to free nonexistent resource 
<00000100-00000107>
Feb 23 22:23:11 linux kernel: Trying to free nonexistent resource 
<00000100-00000107>

Then I executed 'hciattach ttyS17 bcsp' and started hcid.
Systemlog:

Feb 23 23:00:08 linux kernel: BlueZ Core ver 2.3 Copyright (C) 2000,2001 
Qualcomm Inc
Feb 23 23:00:08 linux kernel: Written 2000,2001 by Maxim Krasnyansky 
<maxk@qualcomm.com>
Feb 23 23:00:08 linux kernel: BlueZ HCI UART driver ver 2.1 Copyright (C) 
2000,2001 Qualcomm Inc
Feb 23 23:00:08 linux kernel: Written 2000,2001 by Maxim Krasnyansky 
<maxk@qualcomm.com>
Feb 23 23:00:08 linux /sbin/hotplug[1791]: no runnable /etc/hotplug/
bluetooth.agent is installed
Feb 23 23:00:25 linux hcid[1801]: HCI daemon ver 2.4 started
Feb 23 23:00:25 linux kernel: bcsp_timed_event: Timeout, retransmitting 1 pkts
Feb 23 23:00:26 linux hcid[1801]: HCI dev 0 up
Feb 23 23:00:26 linux hcid[1801]: Starting security manager 0
Feb 23 23:00:27 linux kernel: bcsp_timed_event: Timeout, retransmitting 1 pkts

Hci0 is up, but I can't use it. 'hcitool scan' doesn't find any devices. The 
output from 'hciconfig -a' is:

hci0:   Type: UART
        BD Address: 00:10:60:AA:54:47 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:257 acl:0 sco:0 events:12 errors:0
        TX bytes:767 acl:0 sco:0 commands:14 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
Can't read local name on hci0. Connection timed out(110)

The Systemlog during this command:

Feb 23 23:00:27 linux kernel: bcsp_timed_event: Timeout, retransmitting 1 pkts
Feb 23 23:04:10 linux kernel: bcsp_timed_event: Timeout, retransmitting 1 pkts
Feb 23 23:04:10 linux kernel: bcsp_recv: Error in BCSP hdr checksum
Feb 23 23:04:10 linux kernel: bcsp_timed_event: Timeout, retransmitting 1 pkts
Feb 23 23:04:10 linux kernel: bcsp_recv: Short BCSP packet
Feb 23 23:04:10 linux kernel: bcsp_recv: Error in BCSP hdr checksum
Feb 23 23:04:15 linux last message repeated 18 times
Feb 23 23:04:19 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:19 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:19 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:19 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:20 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:20 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:20 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:20 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:20 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:20 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:20 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:20 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:21 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:21 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:21 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:21 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:21 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:21 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
Feb 23 23:04:21 linux kernel: bcsp_pkt_cull: Peer acked invalid packet
Feb 23 23:04:21 linux kernel: bcsp_handle_le_pkt: Found a LE sync pkt, card 
has reset
(This mesage appears frequently until I killl hciattach)

I had a little e-Mail conversation with Antonio Maestre, who tested the card. 
He is using it successfully with kernel 2.6.1.
I am currently running the Suse kernel 2.4.21 (Suse 9.0). 

Eiko

> Regards
>
> Marcel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-23 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14 17:23 [Bluez-users] Problems with PCMCIA Bluetooth card (cbt100c) Eiko Oltmanns
2004-02-15 14:35 ` Marcel Holtmann
     [not found]   ` <200402162310.11538.eiko.oltmanns@web.de>
2004-02-16 23:01     ` Marcel Holtmann
2004-02-23 22:35       ` Eiko Oltmanns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox