[Barry-devel] Possible solution to charge icon on recent kernels (was: Fw: [PATCH] Don't autosuspen
Status: Beta
Brought to you by:
ndprojects
From: Chris F. <cd...@fo...> - 2007-06-23 20:07:33
|
Hi Jeremy, I saw this patch posted to the linux-usb-devel list, and while it seems it was rejected on the grounds that it should be done in udev, it looks like this could be the general solution to the problem we've been seeing with recent kernels, and bcharge. If you cook up a udev solution for Redhat, we'd be very interested to help test it. Please CC the Barry list if you have more info on this. Thanks very much! - Chris ----- Forwarded message from Jeremy Katz <ka...@re...> ----- From: Jeremy Katz <ka...@re...> To: gr...@su... Date: Tue, 19 Jun 2007 17:16:10 -0400 Cc: Jeremy Katz <ka...@re...>, lin...@li... Subject: [PATCH] Don't autosuspend Blackberry devices. Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. Signed-off-by: Jeremy Katz <ka...@re...> --- drivers/usb/core/quirks.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 739f520..7cbfc58 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -34,7 +34,10 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x04b8, 0x011f), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, /* Elsa MicroLink 56k (V.250) */ { USB_DEVICE(0x05cc, 0x2267), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, - + /* RIM Blackberry */ + { USB_DEVICE(0x0fca, 0x0001), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, + { USB_DEVICE(0x0fca, 0x0004), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, + { USB_DEVICE(0x0fca, 0x0006), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, { } /* terminating entry must be last */ }; -- 1.5.2.2 ----- End forwarded message ----- |