On Thu, 29 Aug 2002, Jacek Pliszka wrote: > On Thu, 29 Aug 2002 [EMAIL PROTECTED] wrote: > > Is there a way to tie a given device to /dev/usb/lp#? Or to at least query > > which device is in /dev/usb/lp#, so that I can set up a symbolic link or > > something like that? > > man lsusb > > lsusb -d VendorId:ProdId
No good. I need to know which lp* device the frigging printer kernel module tied it to, not the usb raw device. This information is not there even in lsusb -v -v Actually, the only place I can find that info so far is the kernel log buffer. > cat /proc/bus/usb Also useless. It does not have the /dev/usb/lp* information. "devices" tell me it has the usblp driver, but the thing is not nice enough to tell me the port number. If it is *guaranteed* to always list the devices in lp0, lp1... order in /proc/bus/usb/devices, I can use that... -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
