I just recently upgraded my kernel from 2.4.18 to 2.4.20 and am trying
to get my bluetooth module to work. I have been using bluez with great
success with my 2.4.18 kernel but no luck with 2.4.20.
When I issue the hciattach command here is what I get.
./hciattach /dev/ttyS1 bcsp 115200
BlueZ HCI UART driver ver 2.0 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <[email protected]>
insmod: Note: /etc/modules.conf is more recent than
/lib/modules/2.4.20_mvl31-dbpxa2xx/modules.dep
Can't set device: Protocol not supported
Can't initialize device: Illegal seek
root@(none):/opt/bluetooth# lsmod
Module Size Used by Tainted: P
hci_uart 5444 0 (autoclean)
bluez 34672 1 (autoclean) [hci_uart]
spectrum_cs 75772 1
orinoco 33716 0 [spectrum_cs]
hermes 4408 0 [spectrum_cs orinoco]
ide-cs 3572 1
ds 7472 2 [spectrum_cs ide-cs]
pxa_cs 9296 2
pcmcia_core 34672 0 [spectrum_cs ide-cs ds pxa_cs]
How do I go about debugging this? I am using the kernel modules that
are in the kernel tree.
Thanks,
Michael Frey
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel,
nice!!! That did it.
Up and running.
Thanks for your help
Michael
On Apr 21, 2004, at 11:50 AM, Marcel Holtmann wrote:
> Hi Michael,
>
>> Ok -- I was able to patch my kernel -- fixing up by hand any rejects
>> but I get the following when trying to build the bluez modules.
>> core.c: In function `bnep_session':
>> core.c:463: error: structure has no member named `nice'
>> core.c: In function `bnep_add_connection':
>
> then your kernel includes another backport, because this is a 2.6
> feature only. Replace the line with
>
> set_user_nice(current, -15);
>
> and see if that helps.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Michael,
> Ok -- I was able to patch my kernel -- fixing up by hand any rejects
> but I get the following when trying to build the bluez modules.
> core.c: In function `bnep_session':
> core.c:463: error: structure has no member named `nice'
> core.c: In function `bnep_add_connection':
then your kernel includes another backport, because this is a 2.6
feature only. Replace the line with
set_user_nice(current, -15);
and see if that helps.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel,
Ok -- I was able to patch my kernel -- fixing up by hand any rejects
but I get the following when trying to build the bluez modules.
core.c: In function `bnep_session':
core.c:463: error: structure has no member named `nice'
core.c: In function `bnep_add_connection':
any idea on this one?
Michael
On Apr 21, 2004, at 11:09 AM, Marcel Holtmann wrote:
> Hi Michael,
>
>> Yes, I used the bluez-kernel-2.3.tgz release for my 2.4.18 kernel. I
>> tried downloading the latest 2.4.20 patch and I get many rejected
>> hunks. That's why I am just using the modules that come with the
>> kernel tree.
>> Is there a standalone kernel package like there was in the past and
>> just use them and not the ones in the kernel tree?
>
> there is no seperate package anymore. However the CVS contains a
> framework with that it might be possible to build the Bluetooth modules
> outside the kernel.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Michael,
> Yes, I used the bluez-kernel-2.3.tgz release for my 2.4.18 kernel. I
> tried downloading the latest 2.4.20 patch and I get many rejected
> hunks. That's why I am just using the modules that come with the
> kernel tree.
> Is there a standalone kernel package like there was in the past and
> just use them and not the ones in the kernel tree?
there is no seperate package anymore. However the CVS contains a
framework with that it might be possible to build the Bluetooth modules
outside the kernel.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel,
Yes, I used the bluez-kernel-2.3.tgz release for my 2.4.18 kernel. I
tried downloading the latest 2.4.20 patch and I get many rejected
hunks. That's why I am just using the modules that come with the
kernel tree.
Is there a standalone kernel package like there was in the past and
just use them and not the ones in the kernel tree?
Michael
On Apr 21, 2004, at 10:57 AM, Marcel Holtmann wrote:
> Hi Michael,
>
>> I just recently upgraded my kernel from 2.4.18 to 2.4.20 and am trying
>> to get my bluetooth module to work. I have been using bluez with
>> great
>> success with my 2.4.18 kernel but no luck with 2.4.20.
>>
>> When I issue the hciattach command here is what I get.
>> ./hciattach /dev/ttyS1 bcsp 115200
>> BlueZ HCI UART driver ver 2.0 Copyright (C) 2000,2001 Qualcomm Inc
>> Written 2000,2001 by Maxim Krasnyansky <[email protected]>
>> insmod: Note: /etc/modules.conf is more recent than
>> /lib/modules/2.4.20_mvl31-dbpxa2xx/modules.dep
>> Can't set device: Protocol not supported
>> Can't initialize device: Illegal seek
>> root@(none):/opt/bluetooth# lsmod
>> Module Size Used by Tainted: P
>> hci_uart 5444 0 (autoclean)
>> bluez 34672 1 (autoclean) [hci_uart]
>> spectrum_cs 75772 1
>> orinoco 33716 0 [spectrum_cs]
>> hermes 4408 0 [spectrum_cs orinoco]
>> ide-cs 3572 1
>> ds 7472 2 [spectrum_cs ide-cs]
>> pxa_cs 9296 2
>> pcmcia_core 34672 0 [spectrum_cs ide-cs ds pxa_cs]
>>
>>
>> How do I go about debugging this? I am using the kernel modules that
>> are in the kernel tree.
>
> the plain vanilla 2.4.20 don't includes BCSP support. If you got the
> 2.4.18 working with BCSP you must have used a patched kernel.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Michael,
> I just recently upgraded my kernel from 2.4.18 to 2.4.20 and am trying
> to get my bluetooth module to work. I have been using bluez with great
> success with my 2.4.18 kernel but no luck with 2.4.20.
>
> When I issue the hciattach command here is what I get.
> ./hciattach /dev/ttyS1 bcsp 115200
> BlueZ HCI UART driver ver 2.0 Copyright (C) 2000,2001 Qualcomm Inc
> Written 2000,2001 by Maxim Krasnyansky <[email protected]>
> insmod: Note: /etc/modules.conf is more recent than
> /lib/modules/2.4.20_mvl31-dbpxa2xx/modules.dep
> Can't set device: Protocol not supported
> Can't initialize device: Illegal seek
> root@(none):/opt/bluetooth# lsmod
> Module Size Used by Tainted: P
> hci_uart 5444 0 (autoclean)
> bluez 34672 1 (autoclean) [hci_uart]
> spectrum_cs 75772 1
> orinoco 33716 0 [spectrum_cs]
> hermes 4408 0 [spectrum_cs orinoco]
> ide-cs 3572 1
> ds 7472 2 [spectrum_cs ide-cs]
> pxa_cs 9296 2
> pcmcia_core 34672 0 [spectrum_cs ide-cs ds pxa_cs]
>
>
> How do I go about debugging this? I am using the kernel modules that
> are in the kernel tree.
the plain vanilla 2.4.20 don't includes BCSP support. If you got the
2.4.18 working with BCSP you must have used a patched kernel.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel