Bug 228755
Summary: | hid2hci triggers kernel bug in drivers/usb/input/hid-core.c | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Habeeb J. Dihu <macgyver> |
Component: | bluez-utils | Assignee: | David Woodhouse <dwmw2> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8 | CC: | bnocera, cebbert, davej, marcel, redhat-bugzilla, th0ma7, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-14 20:50:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Habeeb J. Dihu
2007-02-14 20:30:14 UTC
*** Bug 227598 has been marked as a duplicate of this bug. *** The hardware I'm seeing this on is a Logitech MX5000, as in one of the lkml reports. Marcel, what's needed exactly to figure this out? Actually this is not a Bluetooth issue. This is an issue in the hiddev support of the USB HID driver. We have to send a special HID report to tell the dongle to switch into HCI mode. Prior to that it looks like a USB mouse and keyboard. In case of the Logitech dongles we have no clue on how this report has to look like. It came from a wild guessing and some USB-Snoopy dumps under Windows. It's probably still working alright, as I see link requests from the keyboard and mouse: Feb 21 16:57:14 cookie hcid[2192]: link_key_request (sba=00:07:61:44:B9:55, dba=00:07:61:3A:70:B9) Feb 21 16:57:15 cookie hcid[2192]: link_key_request (sba=00:07:61:44:B9:55, dba=00:07:61:3A:70:B9) Feb 21 16:57:16 cookie hidd[2294]: Rejected connection from unknown device 00:07:61:39:A5:37 See more info at: http://lkml.org/lkml/2007/2/27/257 I'm still seeing this on kernel-2.6.21-1.3194.fc7. Looks to be duped by bug 237296 and bug 235419. And 2.6.22.4-65.fc7: Sep 9 20:11:12 yaffle kernel: WARNING: at drivers/hid/hid-core.c:777 implement() (Not tainted) Sep 9 20:11:12 yaffle kernel: [<c059594f>] hid_output_report+0x243/0x2ea Sep 9 20:11:12 yaffle kernel: [<c0599cc3>] hid_submit_ctrl+0x55/0x1c2 Sep 9 20:11:12 yaffle kernel: [<c0599f6e>] usbhid_submit_report+0x13e/0x169 Sep 9 20:11:12 yaffle kernel: [<c059be56>] hiddev_ioctl+0x343/0x8a9 Sep 9 20:11:12 yaffle kernel: [<c04c3ceb>] avc_has_perm+0x4e/0x58 Sep 9 20:11:12 yaffle kernel: [<c04c460c>] inode_has_perm+0x66/0x6e Sep 9 20:11:12 yaffle kernel: [<c047b7f9>] chrdev_open+0x0/0x14e Sep 9 20:11:12 yaffle kernel: [<c0477ce2>] __dentry_open+0xe4/0x178 Sep 9 20:11:12 yaffle kernel: [<c04c469d>] file_has_perm+0x89/0x91 Sep 9 20:11:12 yaffle kernel: [<c059bb13>] hiddev_ioctl+0x0/0x8a9 Sep 9 20:11:12 yaffle kernel: [<c059bb13>] hiddev_ioctl+0x0/0x8a9 Sep 9 20:11:12 yaffle kernel: [<c04835b0>] do_ioctl+0x88/0xa0 Sep 9 20:11:12 yaffle kernel: [<c04837ff>] vfs_ioctl+0x237/0x249 Sep 9 20:11:12 yaffle kernel: [<c048385d>] sys_ioctl+0x4c/0x67 Sep 9 20:11:12 yaffle kernel: [<c0404f8e>] syscall_call+0x7/0xb Sep 9 20:11:12 yaffle kernel: [<c0600000>] xfrm_add_sa+0x15f/0x491 Sep 9 20:11:12 yaffle kernel: ======================= (repeated another 7 times) (component should be bluez-utils) Fixed as of bluez-utils-3.26-1.f9, but still present on F8. Looks like it was probably fixed in 3.24 : http://bluez.cvs.sourceforge.net/bluez/utils/tools/hid2hci.c?view=log (Testing on F9-Alpha without updated bluez-utils brought up a shiny kerneloops notification to remind me, too ;) ) bluez-utils is at 3.35-3 in F-8, so closing. |