All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] experience with TDK PCMCIA Bluetooth Card (goBlue)?
@ 2005-01-31  2:43 Lars Vilhuber
  2005-01-31  4:40 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Vilhuber @ 2005-01-31  2:43 UTC (permalink / raw)
  To: bluez-users

Question:
    after searching the list, I see few comments on the TDK PCMCIA 
Bluetooth card. Currently, mine is *not* working, but before I go 
through (upgrade kernel, patch kernel, etc.) sequence, I would like to 
know if anybody has actually got it working.

Symptoms are a collection of

bcsp_recv: Short BCSP packet
bcsp_recv: Out-of-order packet arrive
bcsp_recv: Error in BCSP hdr checksum

which I have seen reported for some cards before, but for which I 
haven't a solution reported.

The above occurs for any data transfer (OBEX or PPP) of any considerable 
size, and culminates in the driver "resetting" the card, and the 
transfer failing.

This is irrespective of using 'hciattach ttyS14 <speed>' or 'hciattach 
ttyS14 bcsp' or 'hciattach ttyS14 tdk'.

OS/Version:
SuSE 9.2, kernel 2.6.8-24.11-default #1 Fri Jan 14 13:01:26
bluez-utils-2.10-15
bluez-libs-2.10-2


-- 
Lars Vilhuber                    lists.all@cloutier-vilhuber.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] experience with TDK PCMCIA Bluetooth Card (goBlue)?
  2005-01-31  2:43 [Bluez-users] experience with TDK PCMCIA Bluetooth Card (goBlue)? Lars Vilhuber
@ 2005-01-31  4:40 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-01-31  4:40 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Lars,

>     after searching the list, I see few comments on the TDK PCMCIA 
> Bluetooth card. Currently, mine is *not* working, but before I go 
> through (upgrade kernel, patch kernel, etc.) sequence, I would like to 
> know if anybody has actually got it working.
> 
> Symptoms are a collection of
> 
> bcsp_recv: Short BCSP packet
> bcsp_recv: Out-of-order packet arrive
> bcsp_recv: Error in BCSP hdr checksum
> 
> which I have seen reported for some cards before, but for which I 
> haven't a solution reported.

so in general your card gets detected as serial port and normal stuff
like "hciconfig -a" is working?

> The above occurs for any data transfer (OBEX or PPP) of any considerable 
> size, and culminates in the driver "resetting" the card, and the 
> transfer failing.
> 
> This is irrespective of using 'hciattach ttyS14 <speed>' or 'hciattach 
> ttyS14 bcsp' or 'hciattach ttyS14 tdk'.
> 
> OS/Version:
> SuSE 9.2, kernel 2.6.8-24.11-default #1 Fri Jan 14 13:01:26
> bluez-utils-2.10-15
> bluez-libs-2.10-2

The last time I tested this kernel I haven't found any problems, but you
should think about a kernel update. However I just put in my IBM card
and a Com1 card and both lock up my SMP machine when I start hciattach.
I don't have time to really check what is going wrong here. Do anyone
have serial based Bluetooth cards running with a SMP kernel.

Regards

Marcel





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)?
@ 2005-01-31 16:29 Lars Vilhuber
  2005-01-31 17:05 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Vilhuber @ 2005-01-31 16:29 UTC (permalink / raw)
  To: bluez-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Hi Lars,
|
|>> Symptoms are a collection of
|>>
|>> bcsp_recv: Short BCSP packet
|>> bcsp_recv: Out-of-order packet arrive
|>> bcsp_recv: Error in BCSP hdr checksum
|>>
|>> which I have seen reported for some cards before, but for which I
|>> haven't a solution reported.
|
| so in general your card gets detected as serial port and normal stuff

... after some filling up of /etc/pcmcia/ config files... yes. The lists
helped on that:

config.opts AND bluetooth.conf (one may be redundant):
card "TDK goBlue PCMCIA Bluetooth Adapter"
~  manfid 0x0105,0x4254
~  version "TDK","Bluetooth PC Card II","",""
~  bind "serial_cs" class "bluetooth"

and adding an elif condition in /etc/pcmcia/bluetooth conditional on MANFID.

| like "hciconfig -a" is working?

that yields:

hci0:   Type: UART
~        BD Address: 00:80:98:64:B4:D1 ACL MTU: 192:8  SCO MTU: 64:8
~        UP RUNNING PSCAN ISCAN AUTH
~        RX bytes:240 acl:0 sco:0 events:12 errors:0
~        TX bytes:492 acl:0 sco:0 commands:12 errors:0
~        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
~        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
~        Link policy: RSWITCH HOLD SNIFF PARK
~        Link mode: SLAVE ACCEPT
~        Name: 'Laptop iveshall (0)'
~        Class: 0x14010c
~        Service Classes: Rendering
~        Device Class: Computer, Laptop
~        HCI Ver: 1.1 (0x1) HCI Rev: 0x33d LMP Ver: 1.1 (0x1) LMP Subver:
0x33d
~        Manufacturer: Cambridge Silicon Radio (10)


I should note that most everything works in principle:
	- I can browse services of other devices using this card
~        - I can receive browse requests from other devices
~          (T610, Palm T3)
~        - I can receive/send *small* data chunks (vcard, etc.)
	- I can *not* receive/send larger data chunks (jpeg)
~          or streams of data (PPP connection)

It all breaks apart at the short packet/bcsp/etc.

|

- --
Lars Vilhuber           Private:  lars.vilhuber@cloutier-vilhuber.net
~                        Business: lars.vilhuber@cornell.edu
~                        http://www.cloutier-vilhuber.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/l0F/QE38DNic0YRAo4gAJ4msDfKWixpIuJiqN7GfoEvoqLxFwCg+i0w
tzeIZ+dZJACoNOmfUGuaF1A=
=VSrB
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)?
  2005-01-31 16:29 [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)? Lars Vilhuber
@ 2005-01-31 17:05 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-01-31 17:05 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Lars,

> ... after some filling up of /etc/pcmcia/ config files... yes. The lists
> helped on that:
> 
> config.opts AND bluetooth.conf (one may be redundant):
> card "TDK goBlue PCMCIA Bluetooth Adapter"
> ~  manfid 0x0105,0x4254
> ~  version "TDK","Bluetooth PC Card II","",""
> ~  bind "serial_cs" class "bluetooth"
> 
> and adding an elif condition in /etc/pcmcia/bluetooth conditional on MANFID.

this looks like a new generation of the card. Please post the output of
dump_cis.

> I should note that most everything works in principle:
> 	- I can browse services of other devices using this card
> ~        - I can receive browse requests from other devices
> ~          (T610, Palm T3)
> ~        - I can receive/send *small* data chunks (vcard, etc.)
> 	- I can *not* receive/send larger data chunks (jpeg)
> ~          or streams of data (PPP connection)
> 
> It all breaks apart at the short packet/bcsp/etc.

Sounds like a bug in the BCSP driver. Maybe this card uses a variant of
BCSP that the driver can't handle.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)?
@ 2005-02-01  1:37 Lars Vilhuber
  2005-02-01  8:38 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Vilhuber @ 2005-02-01  1:37 UTC (permalink / raw)
  To: bluez-users

>>> config.opts AND bluetooth.conf (one may be redundant):
>>> card "TDK goBlue PCMCIA Bluetooth Adapter"
>>> ~  manfid 0x0105,0x4254
>>> ~  version "TDK","Bluetooth PC Card II","",""
>>> ~  bind "serial_cs" class "bluetooth"
>>> 
>>> and adding an elif condition in /etc/pcmcia/bluetooth conditional on MANFID.
> 
> this looks like a new generation of the card. 

I believe the right link is

http://www.tdksystems.com/products/intro.asp?id=3

I bought it here:

http://www.expansys-usa.com/product.asp?code=106260

 > Please post the output of
 > dump_cis.
 >

Socket 0:
   dev_info
     NULL 0ns, 512b
   manfid 0x0105, 0x4254
   funcid unknown [post]
   vers_1 7.1, "TDK", "Bluetooth PC Card II", "", ""
   config base 0x00f8 mask 0x000f last_index 0x04
   cftable_entry 0x03 [default]
     [rdybsy]
     Vcc Vnom 5V
     io 0x01e0-0x01ef [lines=8] [8bit] [range]
     irq mask 0xffff [level] [shared]
   cftable_entry 0x04
     io 0x0000-0x7fff [lines=15] [8bit]

Looks like it is new...

Let me know - if it is new, I will just give it to a Windows-only 
colleague - I need it on a machine where I do not want to run 
non-distribution kernels (I would on another machine, but that's not a 
laptop...), but let me know either way. I'll be happy to run a couple of 
tests until then.

lars
-- 
Lars Vilhuber                    lists.all@cloutier-vilhuber.net


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)?
  2005-02-01  1:37 Lars Vilhuber
@ 2005-02-01  8:38 ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-02-01  8:38 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Lars,

> > this looks like a new generation of the card. 
> 
> I believe the right link is
> 
> http://www.tdksystems.com/products/intro.asp?id=3
> 
> I bought it here:
> 
> http://www.expansys-usa.com/product.asp?code=106260
> 
>  > Please post the output of
>  > dump_cis.
>  >
> 
> Socket 0:
>    dev_info
>      NULL 0ns, 512b
>    manfid 0x0105, 0x4254
>    funcid unknown [post]
>    vers_1 7.1, "TDK", "Bluetooth PC Card II", "", ""
>    config base 0x00f8 mask 0x000f last_index 0x04
>    cftable_entry 0x03 [default]
>      [rdybsy]
>      Vcc Vnom 5V
>      io 0x01e0-0x01ef [lines=8] [8bit] [range]
>      irq mask 0xffff [level] [shared]
>    cftable_entry 0x04
>      io 0x0000-0x7fff [lines=15] [8bit]
> 
> Looks like it is new...
> 
> Let me know - if it is new, I will just give it to a Windows-only 
> colleague - I need it on a machine where I do not want to run 
> non-distribution kernels (I would on another machine, but that's not a 
> laptop...), but let me know either way. I'll be happy to run a couple of 
> tests until then.

according to my list of CIS entries this is the second generation of the
TDK card. The first one was the same as the IBM Card II and this is the
one that I have and that I tested. There are now two possible problems.

One is that they change the UART that the use. What is dmesg telling
about the serial device that is created when you plugin the card?

The second is that the BCSP setting is different for this card and that
our implementation has a problem with it. There are lot versions of BCSP
around, because the initial one created to much load on the chip where
the host protocol is running (there is not always a Pentium available).

Since I haven't written the BCSP code and I don't have this card for
testing, I can't give you a good advice or testing plan. The PCMCIA
cards are always a little bit tricky. However using the latest kernel is
mostly a good idea. Try 2.6.11-rc2-bk9.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-02-01  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31  2:43 [Bluez-users] experience with TDK PCMCIA Bluetooth Card (goBlue)? Lars Vilhuber
2005-01-31  4:40 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-01-31 16:29 [Bluez-users] experience with TDK PCMCIA Bluetooth Card, (goBlue)? Lars Vilhuber
2005-01-31 17:05 ` Marcel Holtmann
2005-02-01  1:37 Lars Vilhuber
2005-02-01  8:38 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.