[lkml]   [2005]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 15/22] usb-storage: Fix detection of kodak flash readers in shuttle_usbat driver
    From: Daniel Drake <>

    Peter Favrholdt reported that his Kodak flash device was getting
    detected as a CDROM, and he helped me track this down to the fact that
    the device takes a long time (approx 440ms!) to reset.

    This patch increases the delay to 500ms, which solves the problem.

    Signed-off-by: Daniel Drake <>
    Signed-off-by: Greg Kroah-Hartman <>

    drivers/usb/storage/shuttle_usbat.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- usb-2.6.orig/drivers/usb/storage/shuttle_usbat.c
    +++ usb-2.6/drivers/usb/storage/shuttle_usbat.c
    @@ -853,7 +853,7 @@ static int usbat_identify_device(struct
    rc = usbat_device_reset(us);
    return rc;
    - msleep(25);
    + msleep(500);

    * In attempt to distinguish between HP CDRW's and Flash readers, we now
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-11-17 19:08    [W:0.019 / U:126.460 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site