Re: Convert remaining HCDs to uses_new_polling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Stern wrote:
> On Tue, 20 Oct 2009, Yoshihiro Shimoda wrote:
>> No, it doesn't. The driver cannot detect full/low speed device when without
>> uses_new_polling. However it can detect high speed device.
>> What should I do?
> 
> You have to find out why it isn't working.  Use usbmon, and maybe add
> printk statements to the driver so you can tell what routines are 
> getting called.
> 
> A good place to start is the interrupt handler routine.  Each time it 
> runs have it print out the important register values.  Then you'll be 
> able to tell what the difference is between a high-speed device and a 
> full/low-speed device.
> 
> Another good place to check is the hub_status_data routine.  But be 
> careful, because that routine can get polled four times per second.

Thank you very much for your advice. I was able to fix the problem.
I'll submit a patch to Greg.

Thanks,
Yoshihiro Shimoda

--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux