Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 944268 Details for
Bug 1149509
[PATCH] Apply quirk for elan touchscreens
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
HID-usbhid-add-always-poll-quirk
0001-Add-new-quirk-for-devices-that-cannot-handle-request.patch (text/plain), 1.62 KB, created by
Adel Gadllah
on 2014-10-06 14:05:54 UTC
(
hide
)
Description:
HID-usbhid-add-always-poll-quirk
Filename:
MIME Type:
Creator:
Adel Gadllah
Created:
2014-10-06 14:05:54 UTC
Size:
1.62 KB
patch
obsolete
>From a2f08468113d46906844a79cd0c705a27f837649 Mon Sep 17 00:00:00 2001 >From: Johan Hovold <johan@kernel.org> >Date: Sun, 5 Oct 2014 17:53:28 +0200 >Subject: [PATCH 1/3] Add new quirk for devices that cannot handle requests for > the device_qualifier descriptor. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >A USB-2.0 compliant device must respond to requests for the >device_qualifier descriptor (even if it's with a request error), but at >least one device is known to misbehave after such a request. > >Suggested-by: Bjørn Mork <bjorn@mork.no> >Signed-off-by: Johan Hovold <johan@kernel.org> >Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> >--- > drivers/usb/core/hub.c | 3 +++ > include/linux/usb/quirks.h | 3 +++ > 2 files changed, 6 insertions(+) > >diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c >index 0e950ad..e563164 100644 >--- a/drivers/usb/core/hub.c >+++ b/drivers/usb/core/hub.c >@@ -4475,6 +4475,9 @@ check_highspeed (struct usb_hub *hub, struct usb_device *udev, int port1) > struct usb_qualifier_descriptor *qual; > int status; > >+ if (udev->quirks & USB_QUIRK_DEVICE_QUALIFIER) >+ return; >+ > qual = kmalloc (sizeof *qual, GFP_KERNEL); > if (qual == NULL) > return; >diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h >index 52f944d..4681e0f 100644 >--- a/include/linux/usb/quirks.h >+++ b/include/linux/usb/quirks.h >@@ -30,4 +30,7 @@ > descriptor */ > #define USB_QUIRK_DELAY_INIT 0x00000040 > >+/* device can't handle device_qualifier descriptor requests */ >+#define USB_QUIRK_DEVICE_QUALIFIER 0x00000100 >+ > #endif /* __LINUX_USB_QUIRKS_H */ >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1149509
:
944048
|
944049
|
944050
|
944268
|
944269
|
944270
|
944663
|
944664
|
944665
|
944666
|
944669