* [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved?
@ 2004-11-03 11:38 Kevin Page
2004-11-03 15:41 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Page @ 2004-11-03 11:38 UTC (permalink / raw)
To: bluez-devel; +Cc: rmk
I have a IBM Thinkpad X31 with a CF Socket bluetooth card (rev. G),
which has been one of the serial PCMCIA/CF bluetooth cards which
mysteriously haven't worked since 2.6. Just done a periodic scan of
the list archives, and thought I'd give the latest kernel at try,
as changes to serial/UART have been mentioned (I'm normally running
Fedora Core 2 with 2.6.8).
Anyway, basically, it seems to fix things.
With linux-2.6.10-rc1-mm2:
hciattach /dev/ttyS3 socket
seems to complete ok (none of the "BCSP initialization timed out"
messages I was seeing before). I do get a lone:
hcid[2543]: HCI dev 0 registered
kernel: bcsp_recv: Out-of-order packet arrived, got 1 expected 0
hcid[2543]: HCI dev 0 up
but then I can successfully hcitool scan etc.
I don't know what's changed, but thanks! This seems to be good news.
Unfortunately I haven't had the chance to do more rigorous testing as
the new kernel either doesn't like something else in the thinkpad, or
I screwed up the config :-/
Regards,
kev
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved?
2004-11-03 11:38 [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved? Kevin Page
@ 2004-11-03 15:41 ` Marcel Holtmann
2004-11-03 18:21 ` Kevin Page
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-11-03 15:41 UTC (permalink / raw)
To: Kevin Page; +Cc: bluez-devel, rmk
Hi Kevin,
> I have a IBM Thinkpad X31 with a CF Socket bluetooth card (rev. G),
> which has been one of the serial PCMCIA/CF bluetooth cards which
> mysteriously haven't worked since 2.6. Just done a periodic scan of
> the list archives, and thought I'd give the latest kernel at try,
> as changes to serial/UART have been mentioned (I'm normally running
> Fedora Core 2 with 2.6.8).
>
> Anyway, basically, it seems to fix things.
this will be perfect and I am going to test my cards that stopped
working. I don't have the Socket one, but some others.
> With linux-2.6.10-rc1-mm2:
>
> hciattach /dev/ttyS3 socket
>
> seems to complete ok (none of the "BCSP initialization timed out"
> messages I was seeing before). I do get a lone:
>
> hcid[2543]: HCI dev 0 registered
> kernel: bcsp_recv: Out-of-order packet arrived, got 1 expected 0
> hcid[2543]: HCI dev 0 up
>
> but then I can successfully hcitool scan etc.
The ouf-of-order packet is ok, because BCSP can deal with these things
by itself. Maybe I have to change that message into a debug message.
> I don't know what's changed, but thanks! This seems to be good news.
> Unfortunately I haven't had the chance to do more rigorous testing as
> the new kernel either doesn't like something else in the thinkpad, or
> I screwed up the config :-/
Can you retest it with 2.6.10-rc1-bk13 and see if these patches are
already merged back mainline.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved?
2004-11-03 15:41 ` Marcel Holtmann
@ 2004-11-03 18:21 ` Kevin Page
2004-11-03 19:12 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Page @ 2004-11-03 18:21 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-devel, rmk
On Wed, 3 Nov 2004, Marcel Holtmann wrote:
> > With linux-2.6.10-rc1-mm2:
> > hciattach /dev/ttyS3 socket
> > seems to complete ok (none of the "BCSP initialization timed out"
>
> Can you retest it with 2.6.10-rc1-bk13 and see if these patches are
> already merged back mainline.
Ok, just tested this, and hciattach fails with "BCSP initialization
timed out", as it does with earlier kernels - so the significant
modifications must be in the mm2 patches (though I couldn't say
where!).
For reference, here's a bit more of messages when the card works
under 2.6.10-rc1-mm2; I presume the "detected caps" is nothing to
bother about:
cardmgr[2470]: socket 1: Serial or Modem
kernel: ttyS3: detected caps 00000700 should be 00000100
kernel: ttyS3 at I/O 0x2e8 (irq = 3) is a 16C950/954
Regards,
kev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved?
2004-11-03 18:21 ` Kevin Page
@ 2004-11-03 19:12 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-11-03 19:12 UTC (permalink / raw)
To: Kevin Page; +Cc: BlueZ Mailing List, Russell King
Hi Kevin,
> > > With linux-2.6.10-rc1-mm2:
> > > hciattach /dev/ttyS3 socket
> > > seems to complete ok (none of the "BCSP initialization timed out"
> >
> > Can you retest it with 2.6.10-rc1-bk13 and see if these patches are
> > already merged back mainline.
>
> Ok, just tested this, and hciattach fails with "BCSP initialization
> timed out", as it does with earlier kernels - so the significant
> modifications must be in the mm2 patches (though I couldn't say
> where!).
too bad, but I think we are on the right way.
Russel, do you may know what patches from -mm are not merged back
mainline at the moment and Kevin can apply one by one to find out what
makes these cards working again?
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-03 19:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-03 11:38 [Bluez-devel] re: UART-based bluetooth stuff / serial_cs problems solved? Kevin Page
2004-11-03 15:41 ` Marcel Holtmann
2004-11-03 18:21 ` Kevin Page
2004-11-03 19:12 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox