On Fri, May 21, 2004 at 10:48:54AM -0400, nardelli wrote: > > The old check would error out of visor_open() with -ENODEV if there was > not a read_urb for any device, and there was a comment that this was > needed for 'some brain dead Sony devices'. I modified this to error out > only for Sony devices, instead of just a comment about them. This > should not modify the behavior on Sonys, but may on others (namely treos). > > I'd really like to know more about why some Sony devices do not have a > read_urb, but at least for now, I did not change functionality for them.
The problem is that the "bad" Sony devices return that they have 2 ports available, however their endpoints do not reflect this. So I check for a read urb to test if this really is a valid port or not. Hm, now that I can modify the number of ports on the fly, we should just catch this in the initialization of the device which would solve this problem the "right way". thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
