2004-08-11-2014Z


Here's what usb.agent tells me it sees:

Aug 11 20:10:03 zero usb.agent[4605]: ultracam 1121 2067
Aug 11 20:10:03 zero usb.agent[4679]: usb-storage 0 0
Aug 11 20:10:03 zero usb.agent[4679]: line=usb-storage 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x08 0x04 0x01 0x0
Aug 11 20:10:03 zero usb.agent[4605]: line=stv680 0x0003 0x0553 0x0202 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0
Aug 11 20:10:03 zero usb.agent[4679]: usb-storage 0 0
Aug 11 20:10:03 zero usb.agent[4605]: stv680 1363 514
Aug 11 20:10:03 zero usb.agent[4605]: line=se401 0x0003 0x03e8 0x0004 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0
Aug 11 20:10:03 zero usb.agent[4605]: se401 1000 4
Aug 11 20:10:03 zero usb.agent[4605]: line=se401 0x0003 0x0471 0x030b 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x0
Aug 11 20:10:03 zero usb.agent[4605]: se401 1137 779

When usb.distmap actually has:

# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info
stv680 0x0003 0x4483 0x0005 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
usbvideo 0x0003 0x4483 0x0005 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
visor 0x0003 0x054c 0x0169 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000

The Bash code in usb.agent is so fucking ugly, I think I'd rather rewrite it than try to grok it. I don't really care if the end result is runnable on anyone else's system, the current one obviously ain't workin' on mine. It's getting that vendor number of 0553 (1363 decimal) from the cpia-usb driver for some strange reason I can't yet figure out.

Back to blog or home page

last updated 2013-01-10 20:27:27. served from tektonic