From: Peter Wu <lekensteyn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Peter Hurley <peter-WaGBZJeGNqdsbIuE7sb01tBPR1lH4CV8@public.gmane.org>
Cc: Nestor Lopez Casado
<nlopezcasad-VLMvL59Kb9lWk0Htik3J/w@public.gmane.org>,
jkosina-AlSwsSmVLrQ@public.gmane.org,
benjamin.tissoires-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
adlr-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
joseph.salisbury-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Sarah Sharp
<sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue""
Date: Tue, 13 Aug 2013 17:42:32 +0200 [thread overview]
Message-ID: <1614065.3ZkY1dAtg4@al> (raw)
In-Reply-To: <520A22DD.3010308-WaGBZJeGNqdsbIuE7sb01tBPR1lH4CV8@public.gmane.org>
On Tuesday 13 August 2013 08:13:17 Peter Hurley wrote:
> On 08/12/2013 05:54 PM, Peter Wu wrote:
> > On Thursday 18 July 2013 16:28:01 Peter Hurley wrote:
> >> Before we revert to using the workaround, I'd like to suggest that
> >> this new "hidden" problem may be an interaction with the xhci_hcd host
> >> controller driver only.
> >>
> >> Looking at the related bug, the OP indicates the machine only has
> >> USB3 ports. Additionally, comments #7, #100, and #104 of the original
> >> bug report add additional information that would seem to confirm
> >> this suspicion.
> >>
> >> Let me add I have this USB device running on the uhci_hcd driver
> >> with or without this workaround on v3.10.
> >
> > This problem does not seem specific to xhci, uhci seems also effected.
>
> If true, it would certainly help to have a bug report confirming uhci
> failure from a bare-metal system which contained:
> 1) kernel version
> 2) complete dmesg output
> 3) lsusb -v output
> 4) lsmod output
> 5) usbmon capture from a plug attempt
I was too fast in drawing a conclusion, besides the kernel I also upgraded
some other packages. Today the issue also showed up in 3.9.9 + updated
packages.
When checking the dmesg, the issue solved by this patch did not occur (the
enumeration was successful).
> > Today I
> > upgraded a system (running Arch Linux) from kernel 3.9.9 to 3.10.5. After
> > a
> > reboot to 3.10.5, things broke. The setup:
> >
> > - There are two USB receivers plugged into USB 1.1 ports (different buses
> > according to lsusb, uhci), each receiver is paired to a K360 keyboard.
> > - One of the receivers are passed to a QEMU guest with -usbdevice
> > host:$busid. $devid. This keyboard is working (probably because QEMU
> > performed a reset). - Since 3.10.5, the keyboard that is *not* passed to
> > the QEMU guest is not functioning on reboot.
> >
> > After closing the QEMU guest, the USB bus gets reset(?) after which the
> > other keyboard suddenly gets detected. I had only booted 3.10.5 twice
> > before rolling back to 3.9.9, both boots triggered the issue. Do I need
> > to provide a usbmon, lsusb, dmesg and/ or other details from 3.10.5?
>
> Do both keyboards work on bare metal? Seems like this problem might be
> specific to qemu (or kvm) and you may get more insight on those lists.
I haven't tested that, the system automatically boots into openbox + QEMU.
Previously, both keyboards worked on bare metal, so I think it still works.
> > Note that there are other Arch Linux users who have reported issues[1][2]
>
> Unfortunately, not even one user in the referenced reports identified
> the usb hub the receiver was plugged into.
I've asked it now.
> > since upgrading to 3.10.z. Triggering a re-enumeration by writing the
> > magic
> > HID++ message[3] makes the paired devices appear again (as reported in
> > forums[1], I haven't tried this on the affected UHCI machine).
> >
> > While the underlying bug is fixed, can this patch be forwarded to stable?
> > I see that 3.10.6 has been released, but still without this patch.
>
> This is still a workaround and not really a fix for the underlying bug.
I meant to say, "while the underlying bug is *being* fixed". Anyway, can this
patch be applied to 3.10?
Sorry for the confusion with uhci, looking further it seems that the wrong USB
receiver is being passed to QEMU. It's not a kernel issue, perhaps I can blame
libusbx.
Regards,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Peter Wu <lekensteyn@gmail.com>
To: Peter Hurley <peter@hurleysoftware.com>
Cc: Nestor Lopez Casado <nlopezcasad@logitech.com>,
jkosina@suse.cz, benjamin.tissoires@gmail.com, adlr@chromium.org,
joseph.salisbury@canonical.com, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org,
Sarah Sharp <sarah.a.sharp@linux.intel.com>,
linux-usb@vger.kernel.org
Subject: Re: [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue""
Date: Tue, 13 Aug 2013 17:42:32 +0200 [thread overview]
Message-ID: <1614065.3ZkY1dAtg4@al> (raw)
In-Reply-To: <520A22DD.3010308@hurleysoftware.com>
On Tuesday 13 August 2013 08:13:17 Peter Hurley wrote:
> On 08/12/2013 05:54 PM, Peter Wu wrote:
> > On Thursday 18 July 2013 16:28:01 Peter Hurley wrote:
> >> Before we revert to using the workaround, I'd like to suggest that
> >> this new "hidden" problem may be an interaction with the xhci_hcd host
> >> controller driver only.
> >>
> >> Looking at the related bug, the OP indicates the machine only has
> >> USB3 ports. Additionally, comments #7, #100, and #104 of the original
> >> bug report add additional information that would seem to confirm
> >> this suspicion.
> >>
> >> Let me add I have this USB device running on the uhci_hcd driver
> >> with or without this workaround on v3.10.
> >
> > This problem does not seem specific to xhci, uhci seems also effected.
>
> If true, it would certainly help to have a bug report confirming uhci
> failure from a bare-metal system which contained:
> 1) kernel version
> 2) complete dmesg output
> 3) lsusb -v output
> 4) lsmod output
> 5) usbmon capture from a plug attempt
I was too fast in drawing a conclusion, besides the kernel I also upgraded
some other packages. Today the issue also showed up in 3.9.9 + updated
packages.
When checking the dmesg, the issue solved by this patch did not occur (the
enumeration was successful).
> > Today I
> > upgraded a system (running Arch Linux) from kernel 3.9.9 to 3.10.5. After
> > a
> > reboot to 3.10.5, things broke. The setup:
> >
> > - There are two USB receivers plugged into USB 1.1 ports (different buses
> > according to lsusb, uhci), each receiver is paired to a K360 keyboard.
> > - One of the receivers are passed to a QEMU guest with -usbdevice
> > host:$busid. $devid. This keyboard is working (probably because QEMU
> > performed a reset). - Since 3.10.5, the keyboard that is *not* passed to
> > the QEMU guest is not functioning on reboot.
> >
> > After closing the QEMU guest, the USB bus gets reset(?) after which the
> > other keyboard suddenly gets detected. I had only booted 3.10.5 twice
> > before rolling back to 3.9.9, both boots triggered the issue. Do I need
> > to provide a usbmon, lsusb, dmesg and/ or other details from 3.10.5?
>
> Do both keyboards work on bare metal? Seems like this problem might be
> specific to qemu (or kvm) and you may get more insight on those lists.
I haven't tested that, the system automatically boots into openbox + QEMU.
Previously, both keyboards worked on bare metal, so I think it still works.
> > Note that there are other Arch Linux users who have reported issues[1][2]
>
> Unfortunately, not even one user in the referenced reports identified
> the usb hub the receiver was plugged into.
I've asked it now.
> > since upgrading to 3.10.z. Triggering a re-enumeration by writing the
> > magic
> > HID++ message[3] makes the paired devices appear again (as reported in
> > forums[1], I haven't tried this on the affected UHCI machine).
> >
> > While the underlying bug is fixed, can this patch be forwarded to stable?
> > I see that 3.10.6 has been released, but still without this patch.
>
> This is still a workaround and not really a fix for the underlying bug.
I meant to say, "while the underlying bug is *being* fixed". Anyway, can this
patch be applied to 3.10?
Sorry for the confusion with uhci, looking further it seems that the wrong USB
receiver is being passed to QEMU. It's not a kernel issue, perhaps I can blame
libusbx.
Regards,
Peter
next prev parent reply other threads:[~2013-08-13 15:42 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-18 13:21 [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue"" Nestor Lopez Casado
2013-07-18 13:21 ` [PATCH 2/2] HID: hid-logitech-dj, querying_devices was never set Nestor Lopez Casado
2013-08-01 10:09 ` Benjamin Tissoires
2013-08-02 1:11 ` Jiri Kosina
2013-08-02 18:31 ` Benjamin Tissoires
2013-08-05 13:22 ` Jiri Kosina
2013-08-05 14:40 ` Benjamin Tissoires
2013-08-06 21:03 ` Sune Mølgaard
2013-08-09 9:36 ` Jiri Kosina
2013-08-09 9:36 ` Jiri Kosina
2013-08-10 17:21 ` Jiri Kosina
2013-08-10 17:21 ` Jiri Kosina
2013-07-18 20:28 ` [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue"" Peter Hurley
2013-07-18 22:09 ` Sarah Sharp
2013-07-18 23:37 ` Peter Hurley
2013-07-19 8:35 ` Benjamin Tissoires
2013-07-19 14:38 ` Joseph Salisbury
2013-07-19 21:31 ` Peter Hurley
2013-07-22 11:44 ` Jiri Kosina
2013-07-22 14:03 ` Peter Hurley
2013-07-22 15:27 ` Alan Stern
2013-07-22 15:27 ` Alan Stern
2013-07-19 15:14 ` Alan Stern
2013-07-19 15:14 ` Alan Stern
2013-07-19 16:43 ` Nestor Lopez Casado
2013-08-12 21:54 ` Peter Wu
2013-08-13 12:13 ` Peter Hurley
[not found] ` <520A22DD.3010308-WaGBZJeGNqdsbIuE7sb01tBPR1lH4CV8@public.gmane.org>
2013-08-13 15:42 ` Peter Wu [this message]
2013-08-13 15:42 ` Peter Wu
2013-08-13 16:34 ` Peter Hurley
2013-07-22 14:35 ` Jiri Kosina
2013-07-22 19:21 ` Linus Torvalds
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=1614065.3ZkY1dAtg4@al \
--to=lekensteyn-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=adlr-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=benjamin.tissoires-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
--cc=joseph.salisbury-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nlopezcasad-VLMvL59Kb9lWk0Htik3J/w@public.gmane.org \
--cc=peter-WaGBZJeGNqdsbIuE7sb01tBPR1lH4CV8@public.gmane.org \
--cc=sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.