Am Sonntag, 7. März 2010 18:12:08 schrieb Harrison Metzger: > Someone using the usbsevseg driver said they could not get their > device to work. I traced through the issue. I realized that the device > now works only if USB autosuspend is enabled > ("/sys/$DEVICE/power/level"="auto"). The reason is that some logic > assumes that resume(), reset_resume(), and suspend() will be called no > matter what. After looking through code and testing, I believe those > functions are not called if "/sys/$DEVICE/power/level"="on". Is that > correct? If it is, I can correct the logic in the driver and submit a > patch to work in either case. Under that condition they are called only if the system sleeps. A driver depending on them being ever called is indeed buggy. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html