Comment 12 for bug 208405

Revision history for this message
Abel Deuring (adeuring) wrote :

sigh, the "3" key of my keyboard is slightly broken... Also, I forgot the quotes around two parameter values:

device = lp.hwdb.devices(bus='USB', vendor_id='0x1234', product_id='0x5678')[0]

is better. USB IDs must be specfied as hex number, prefixed with '0x'