Here is a little C program which polls the device ID via usblp kernel module:
http://www.openprinting.org/download/printing/usb_id_test.c
It does not use udev.
Here is a little C program which polls the device ID via usblp kernel module:
http:// www.openprintin g.org/download/ printing/ usb_id_ test.c
It does not use udev.