On Fri, Nov 14, 2008 at 10:00:04AM -0500, Rob Owens wrote: > I need to attach 2 usb printers to a single thin client. I know I can > specify PRINTER_0_DEVICE and PRINTER_1_DEVICE in lts.conf. But how does > the thin client not get "confused" between the two printers? How do I > guarantee that, for instance, the HP printer is recognized as PRINTER_0 > and the Canon is recognized as PRINTER_1 ?
Currently, there's no LTSP way to do this, as really, this isn't an LTSP issue per se, but rather a udev issue. The way to handle this would be pretty much the same way you'd do it on the server: you'll need a couple of custom udev rules that either look at the device id, or some such distinguishing factor, and make sure that one printer's always assigned as /dev/usb/lp0, the other as ...lp1. Install the udev rules in the client's chroot, and rebuild the image, if necessary. http://www.linuxjournal.com/article/7316 discusses exactly what you want, a two printer example. Cheers, Scott > ******************************************************** > > The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. If you are not the addressee, any disclosure, reproduction, > copying, distribution, or other dissemination or use of this transmission in > error please notify the sender immediately and then delete this e-mail. > E-mail transmission cannot be guaranteed to be secure or error free as > information could be intercepted, corrupted lost, destroyed, arrive late or > incomplete, or contain viruses. > The sender therefore does not accept liability for any errors or omissions > in the contents of this message which arise as a result of e-mail > transmission. If verification is required please request a hard copy > version. > > ******************************************************** Man, 5 lines of question, 16 lines of legal disclaimer. No wonder the intertubes are getting clogged. -- Scott L. Balneaves | Grass is the forgiveness of nature - her constant Systems Department | benediction. Forests decay, harvests perish, flowers Legal Aid Manitoba | vanish, but grass is immortal. -- Brian Ingalls ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net