From: Marcel Holtmann <marcel@holtmann.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Greg KH <greg@kroah.com>,
Dmitry Torokhov <dtor_core@ameritech.net>,
Andrew Morton <akpm@osdl.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [git pull] Input update for 2.6.17
Date: Tue, 27 Jun 2006 21:46:33 +0200 [thread overview]
Message-ID: <1151437593.25011.38.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.64.0606271231440.3927@g5.osdl.org>
Hi Linus,
> > There were _no_ kernel messages just before the oops. Not even with USB
> > debugging turned on. Of course, they may have been marked "informational",
> > and not shown on the console. Every distribution seems to think that debug
> > messages are more annoying than useful, so they tend to set the console
> > debug level down (even if you boot with "debug" to turn it on!). Gaah!
>
> Ok, with that fixed, I get
>
> hub 4-1:1.0: 300mA power budget left
> hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
> hub 4-1:1.0: state 7 ports 3 chg 0000 evt 0008
> usbcore: registered new driver libusual
> usbcore: registered new driver hiddev
> usbhid 5-1:1.0: usb_probe_interface
> usbhid 5-1:1.0: usb_probe_interface - got id
> input: HID 05ac:1000 as /class/input/input0
> input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0000:00:1d.3-1
> usbhid 5-1:1.1: usb_probe_interface
> usbhid 5-1:1.1: usb_probe_interface - got id
> input: HID 05ac:1000 as /class/input/input1
> input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0000:00:1d.3-1
> usbhid 5-2:1.0: usb_probe_interface
> usbhid 5-2:1.0: usb_probe_interface - got id
> drivers/usb/core/file.c: looking for a minor, starting at 96
> PM: Adding info for No Bus:hiddev0
> hiddev96: USB HID v1.11 Device [Apple Computer, Inc. IR Receiver] on usb-0000:00:1d.3-2
> usbhid 1-6.3:1.0: usb_probe_interface
> usbhid 1-6.3:1.0: usb_probe_interface - got id
> drivers/usb/core/file.c: looking for a minor, starting at 96
> PM: Adding info for No Bus:hiddev1
> hiddev97: USB HID v1.11 Device [Apple Cinema Display] on usb-0000:00:1d.7-6.3
> usbhid 4-1.1:1.0: usb_probe_interface
> usbhid 4-1.1:1.0: usb_probe_interface - got id
> input: Mitsumi Electric Apple Optical USB Mouse as /class/input/input2
> input: USB HID v1.10 Mouse [Mitsumi Electric Apple Optical USB Mouse] on usb-0000:00:1d.2-1.1
> usbhid 4-1.3:1.0: usb_probe_interface
> usbhid 4-1.3:1.0: usb_probe_interface - got id
> input: Mitsumi Electric Apple Extended USB Keyboard as /class/input/input3
> input: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB
> Keyboard] on usb-0000:00:1d.2-1.3
> usbhid 4-1.3:1.1: usb_probe_interface
> usbhid 4-1.3:1.1: usb_probe_interface - got id
> input: Mitsumi Electric Apple Extended USB Keyboard as /class/input/input4
> input: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-0000:00:1d.2-1.3
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> PNP: No PS/2 controller found. Probing ports directly.
> PM: Adding info for platform:i8042
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> i2c /dev entries driver
>
> ... snip snip, mounting root filesystem etc - time passes ..
>
> usb 5-1: uhci_result_common: failed with status 440000
> usb 5-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 len 0 ret -84
> usb 5-1: uhci_result_common: failed with status 440000
> usbhid 5-1:1.0: retrying intr urb
> usb 5-1: uhci_result_common: failed with status 440000
> hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0002
> uhci_hcd 0000:00:1d.3: port 1 portsc 008a,00
> hub 5-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
> usb 5-1: USB disconnect, address 2
> usb 5-1: usb_disable_device nuking all URBs
> usb 5-1: unregistering interface 5-1:1.0
> PM: Removing info for No Bus:usbdev5.2_ep81
> usbdev5.2_ep81: ep_device_release called for usbdev5.2_ep81
>
> followed by the oops:
>
> BUG: spinlock bad magic on CPU#0, khubd/131
> BUG: unable to handle kernel paging request at virtual address 6b6b6c0b
> ....
>
> which just doesn't tell me anything.
it is the Bluetooth device of the Mac mini. These devices are HID proxy
devices. This means they can appear as HID mouse and keyboard or as
Bluetooth dongle on the USB bus. The HID mode is used for early boot
stuff where no Bluetooth stack is available and you might wanna use your
keyboard to change PROM settings etc. Once the Bluetooth stack is ready
and capable of taking over full responsibility you might wanna switch
this dongle in HID mode into full HCI mode. This is what hid2hci is
doing at that point. In the success case you will see the disconnect of
a HID mouse and keyboard from the USB bus and a new USB Bluetooth dongle
will appear.
So the problem seems to be when the HID keyboard and mouse are
disconnecting.
Regards
Marcel
next prev parent reply other threads:[~2006-06-27 19:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 6:35 [git pull] Input update for 2.6.17 Dmitry Torokhov
2006-06-27 6:13 ` Linus Torvalds
2006-06-27 6:37 ` Greg KH
2006-06-27 18:36 ` Linus Torvalds
2006-06-27 19:16 ` Linus Torvalds
2006-06-27 19:35 ` Linus Torvalds
2006-06-27 19:40 ` Dmitry Torokhov
2006-06-27 21:03 ` Linus Torvalds
2006-06-27 19:46 ` Marcel Holtmann [this message]
2006-06-28 4:07 ` Linus Torvalds
2006-06-28 4:36 ` Linus Torvalds
2006-06-28 7:03 ` Jeff Garzik
2006-06-28 22:05 ` Linus Torvalds
2006-06-28 23:03 ` Marcel Holtmann
2006-06-28 23:40 ` Jeff Garzik
2006-06-28 23:55 ` Linus Torvalds
2006-06-27 19:33 ` Marcel Holtmann
2006-06-27 12:30 ` Dmitry Torokhov
-- strict thread matches above, loose matches on Subject: below --
2006-06-28 3:50 Dmitry Torokhov
2006-04-02 5:56 Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1151437593.25011.38.camel@localhost \
--to=marcel@holtmann.org \
--cc=akpm@osdl.org \
--cc=dtor_core@ameritech.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox