Re: 2.6.0-test7 USB and Palm Tungsten problem

From: Greg KH
Date: Mon Oct 13 2003 - 14:48:35 EST


On Mon, Oct 13, 2003 at 07:06:49PM -0400, Tomas Konir wrote:
>
> Hi
> I tried 2.6.0-test7, but new USB problem found. I tried to synchronize the
> palm Tungsten T over USB cradle. None happend, only short message about
> palm connected in log. Plug out the palm, but the visor module remained
> busy (count=1) and when i tried to rmmod uhci-hcd the rmmod stay in D
> state.

Try the patch below. It should fix the problem for you. If not, please
let me know.

thanks,

greg k-h


# USB: fix visor driver to work with Palm OS 4+ devices
# For some reason, they do not like the reset_config calls anymore.

diff -Nru a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
--- a/drivers/usb/serial/visor.c Mon Oct 13 12:45:25 2003
+++ b/drivers/usb/serial/visor.c Mon Oct 13 12:45:25 2003
@@ -778,9 +778,6 @@
serial->dev->actconfig->desc.bConfigurationValue);
return -ENODEV;
}
- dbg("%s - reset config", __FUNCTION__);
- retval = usb_reset_configuration (serial->dev);
-

if (id->driver_info) {
startup = (void *)id->driver_info;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/