Skip to contentSkip to conversation

problem with keyboard/mouse

Bluez-users Dave Sailer 4 participants 8 messages Oct 22, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Can't get Microsoft keyboard/mouse to work on gentoo 2.6.8.1. With patch-2.6.8-mh2.gz, I noticed the following out of dmesg...

bluetooth: Unknown parameter `l2cap'
Bluetooth: Core ver 2.6
kmem_cache_create: duplicate cache bt_sock

------------[ cut here ]------------ 
kernel BUG at mm/slab.c:1382! 
invalid operand: 0000 [#1] 
PREEMPT SMP 
Modules linked in: bluetooth nvidia 
CPU: 0 

EIP: 0060:[<c014473d>] Tainted: P
EFLAGS: 00010202 (2.6.8.1)
EIP is at kmem_cache_create+0x41d/0x5d0
eax: 0000002b ebx: dff9a370 ecx: c05e0978 edx: df04c000
esi: c04c8b48 edi: e08e0848 ebp: dfdd2ce0 esp: df04df4c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 6384, threadinfo=df04c000 task=df694770)

Stack: c0490fe4 e08e0840 00000020 00002000 df04df70 dfdd2d38 0000000a
c0000000 
ffffffe0 000000c0 c04e69a0 df04c000 e08e3bc0 c04e6984 e08e506f e08e0840 
00000174 00000020 00002000 00000000 00000000 c01391f8 c05e0828 00000001 
Call Trace: 
[<e08e506f>] bt_init+0x6f/0xc0 [bluetooth] 
[<c01391f8>] sys_init_module+0x158/0x2b0 
[<c010528b>] syscall_call+0x7/0xb 
Code: 0f 0b 66 05 f8 08 49 c0 8b 0b e9 5b ff ff ff 8b 47 50 c7 04 

<4>l2cap: Unknown symbol bt_accept_unlink
Bluetooth: HIDP (Human Interface Emulation) ver 1.0-mh1

Without the patch, it's a similar message but with this at the end...

<3>l2cap_init: L2CAP socket registration failed.

I'm a bit confused about the patch - there are gentoo users claiming to use bluetooth without it. Does anyone know if the patch is in the gentoo kernel, and with what version?

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Dave,

Quoted 2 lines

Can't get Microsoft keyboard/mouse to work on gentoo 2.6.8.1. With patch-2.6.8-mh2.gz, I noticed the following out of dmesg...

my patch is for a vanilla kernel and not for a distribution specific kernel. Try using a clean 2.6.9-mh1.

Quoted 3 lines

I'm a bit confused about the patch - there are gentoo users claiming to use bluetooth without it. Does anyone know if the patch is in the gentoo kernel, and with what version?

If a patch not applies cleanly without any rejects, you should be worried and don't proceed unless you really know what you are doing.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hi Marcel,

Quoted 7 lines · Marcel Holtmann

Hi Dave,

Quoted 2 lines

Can't get Microsoft keyboard/mouse to work on gentoo 2.6.8.1. With patch-2.6.8-mh2.gz, I noticed the following out of dmesg...

my patch is for a vanilla kernel and not for a distribution specific kernel. Try using a clean 2.6.9-mh1.

Would it be possible to get a changelog for the 2.6.x -mh patches either at http://www.holtmann.org/linux/kernel or
http://www.bluez.org/patches.html ?

Thanks,
Steve

Signature · 2 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +353-1-6601315 (ext 209)
maintainer
#3 lore raw

Hi Steve,

Quoted 3 lines

Would it be possible to get a changelog for the 2.6.x -mh patches either at http://www.holtmann.org/linux/kernel or
http://www.bluez.org/patches.html ?

my patch script actually generates already a changelog file from the Bitkeeper descriptions of the changesets. Let me think about where to put it.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): 1098447645.11708.17.camel@dsailer

maintainer
#5 lore raw

Hi Dave,

Quoted 29 lines

The gentoo forums had this advice....

---------------------------------
You'll see an error when applying the patch... Confused :
Quote:

patching file drivers/bluetooth/hci_usb.c
patching file include/net/bluetooth/bluetooth.h patching file include/net/bluetooth/hci_core.h patching file include/net/bluetooth/hci.h
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej patching file net/bluetooth/af_bluetooth.c
patching file net/bluetooth/bnep/core.c
patching file net/bluetooth/hci_conn.c
patching file net/bluetooth/hci_core.c
patching file net/bluetooth/hci_event.c
patching file net/bluetooth/hci_sock.c
patching file net/bluetooth/hidp/core.c
patching file net/bluetooth/hidp/hid.c
patching file net/bluetooth/hidp/hid.h
patching file net/bluetooth/hidp/hidp.h
patching file net/bluetooth/hidp/Makefile
patching file net/bluetooth/Kconfig
patching file net/bluetooth/l2cap.c
patching file net/bluetooth/rfcomm/sock.c
That's totaly normal

Quoted 3 lines

-----------------------------
anyway, do you have any idea what my error might be or is this something I need to go back to the gentoo folks with?

if you only see a reject for the Makefile then this ok as long as Makefile.rej only shows you the hunk for the EXTRAVERSION.

Maybe you wanna do a "make clean" or "make distclean" first. Or simply try a vanilla 2.6.9-mh1.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Hi,

to add my grain of salt : I run 2.6.9-gentoo with patch-2.6.9-mh1.gz, and I see no problem at all. I have however no Microsoft hardware, only a Logitech MX900 mouse.

Charles

Quoted 58 lines · On Fri, 22 Oct 2004 14:55:46 +0200 Marcel Holtmann <[email protected]> wrote:

Hi Dave,

Quoted 29 lines

The gentoo forums had this advice....

---------------------------------
You'll see an error when applying the patch... Confused :
Quote:

patching file drivers/bluetooth/hci_usb.c
patching file include/net/bluetooth/bluetooth.h patching file include/net/bluetooth/hci_core.h patching file include/net/bluetooth/hci.h
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej patching file net/bluetooth/af_bluetooth.c
patching file net/bluetooth/bnep/core.c
patching file net/bluetooth/hci_conn.c
patching file net/bluetooth/hci_core.c
patching file net/bluetooth/hci_event.c
patching file net/bluetooth/hci_sock.c
patching file net/bluetooth/hidp/core.c
patching file net/bluetooth/hidp/hid.c
patching file net/bluetooth/hidp/hid.h
patching file net/bluetooth/hidp/hidp.h
patching file net/bluetooth/hidp/Makefile
patching file net/bluetooth/Kconfig
patching file net/bluetooth/l2cap.c
patching file net/bluetooth/rfcomm/sock.c
That's totaly normal

Quoted 3 lines

-----------------------------
anyway, do you have any idea what my error might be or is this something I need to go back to the gentoo folks with?

if you only see a reject for the Makefile then this ok as long as Makefile.rej only shows you the hunk for the EXTRAVERSION.

Maybe you wanna do a "make clean" or "make distclean" first. Or simply try a vanilla 2.6.9-mh1.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Signature · 13 lines
Charles Bueche <[email protected]>
sand, snow, wave, wind and net -surfer


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#7 lore raw

Hi Charles,

Quoted 3 lines

to add my grain of salt : I run 2.6.9-gentoo with patch-2.6.9-mh1.gz, and I see no problem at all. I have however no Microsoft hardware, only a Logitech MX900 mouse.

this is not a hardware problem. I think the kernel source code got corrupted and the compilation produced bad code. He must start from a clean kernel source.

However if the HID boot protocol mode is enough, then the 2.6.8 kernel includes everything you need.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#8 lore raw

I tried that yesterday. I moved the old source out of the way and re-emerged 2.6.8.1. I could try 2.6.9 gentoo and the patch.... joy, more compiling.

Quoted 17 lines · Marcel Holtmann

Hi Charles,

Quoted 3 lines

to add my grain of salt : I run 2.6.9-gentoo with patch-2.6.9-mh1.gz, and I see no problem at all. I have however no Microsoft hardware, only a Logitech MX900 mouse.

this is not a hardware problem. I think the kernel source code got corrupted and the compilation produced bad code. He must start from a clean kernel source.

However if the HID boot protocol mode is enough, then the 2.6.8 kernel includes everything you need.

Regards

Marcel