Greg KH wrote: > > On Mon, Dec 03, 2001 at 02:35:14PM +1100, Manfred Bartz wrote: <snip> > > 2. if yes, then how can I keep track of which device the printer appears as? > > Parse the syslog messages :) > > Seriously, this is a _very_ tough problem. You might check out the > device naming patches floating around, which help solve these problems. > Look for them in the linux-kernel mailing list archives. You can also use ioctl() to get the IEEE-1284 device ID. You'd still need to search through the /dev/usb/lpXX space.
BTW: There were some additional ioctl()s that were written by David Paschal for the hp printer/scanner project - http://hpoj.sourceforge.net/download/experimental/linux-usb/ Any reason why these couldn't be added into 2.5? Oliver, you just looked at the printer driver right? Anthing about the patch that raises concern or ire? Brad _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users