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 <[EMAIL PROTECTED]> -----

From: Jeremy Katz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Tue, 19 Jun 2007 17:16:10 -0400
Cc: Jeremy Katz <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
---
 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 -----


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to