On Thu, 21 Sep 2006 22:30:35 +0400 Sergey Vlasov <[EMAIL PROTECTED]> wrote: > The problem is that the bcdDevice field is supposed to be BCD - i.e., > its hex representation should contain only decimal digits 0..9. > Therefore a proper USB device cannot have bcdDevice == 0x030a. > Apparently some ibmcam devices violate this and use the bcdDevice field > as if it was binary. > > The code in scripts/mod/file2alias.c assumes that the bcdDevice_lo and > bcdDevice_hi field contain proper BCD data. Seems that, thanks to buggy > hardware, this assumption is incorrect, and the code needs to support > any hex numbers there.
So the 'correct' alias for this device should be eg.: usb:v0545p800Dd030Adc*dsc*dp*ic*isc*ip* right? Given this new info... what if _lo is 0x030a and _hi is 0x030f? How would the alias look like? Or worse, what if _lo is 0x030a and _hi is 0x040a? Would these be correct? usb:v0545p800Dd030[A-F]dc*dsc*dp*ic*isc*ip* usb:v0545p800Dd0[30A-40A]dc*dsc*dp*ic*isc*ip* Thanks in advance. -- -- iSteve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
