[K12OSN] terminal printers

Jim McQuillan jam at mcquil.com
Tue Jun 14 19:47:20 UTC 2005


Julius,

/dev/usb/lp0 should be the correct device name for the usb printers.

if you /dev/usb is empty, i'm guessing that you need a kernel module
loaded.

Get to a bash prompt on the terminal, and run lsmod, and see
if you have any usb modules loaded.

For the thinknic, I don't remember if you need uhci or ohci. Almost
certainly it's not ehci (that's for usb-2.0).

The modules should get loaded automatically during bootup, if a printer
is configured.

What kernel are you running?  the latest ltsp kernel should be
2.4.26-ltsp-3.  You shouldn't be using the 2.6.9 kernel yet. there's
still some module issues with it for usb. (They've changed some of the
module names).

Jim.


On Tue, 14 Jun 2005, Julius Szelagiewicz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >
> >
> > On Tue, 14 Jun 2005, Julius Szelagiewicz wrote:
> >
> >> On Tue, 14 Jun 2005, Sudev Barar wrote:
> >>
> >> > On Mon, 2005-06-13 at 22:00, Julius Szelagiewicz wrote:
> >> > Sudev Barar
> >>
> >> Sudev, we have a misunderstanding here. This are the printers that
> >> worked
> >> fine before the upgrade, they don't work now. The queues get created
> >> correctly, but no printing occurs.
> >
> >
> > Seems like some simple troubleshooting is in order here.
> >
> > Can you telnet to port 9100 on the client and start typing?
> > Hit Ctrl-L, and it should eject the page.
> >
> > If the connection is refused, then the lp_server daemon probably isn't
> > running.  In that case, maybe it's not loading the kernel modules
> > required for the printer.
> >
> > What type of interface does the printer have?  (Serial/Parallel/USB)
> >
> > Can you send us a copy of your lts.conf file?
> >
> >
> > Printing on printers connected to LTSP-4.1.1 terminals DOES work. I've
> > seen it with my own eyes.  If it's not working for you, i'm pretty sure
> > we can get it figured out.
> >
> > Jim McQuillan
> > jam at Ltsp.org
>
>
> Jim,
>  troubleshooting definitely, and I do hope it is simple :-)
>
> The station I'm testing with is a Thinknic with usb printers.
> this is the lts.conf entry. (the printers where defined as /dev/usb/lp0
> and lp1, /dev/usb is now empty.
> changed devices to tty0 and tty1 to see if the queues will get created
> correctly. now i can telnet into the ports 9100 and 9101 with the
> connection staying on.
> [testnic]
>         XSERVER            = vesa
> #       PRINTER_0_DEVICE        = /dev/usb/lp0
>         PRINTER_0_DEVICE        = /dev/vc/0
>         PRINTER_0_TYPE          = S
> #       PRINTER_1_DEVICE        = /dev/usb/lp1
>         PRINTER_1_DEVICE        = /dev/vc/1
>         PRINTER_1_TYPE          = S
>         SCREEN_01          = startx
>         SCREEN_02          = shell
>
> What are the devices for usb printers?
>
> This is what the manual says:
> "9.2.6. Printer configuration parameters
>
> Upto three printers can be connected to a diskless workstation. A
> combination of serial and parallel printers can be configured via the
> following entries in the lts.conf file:
>
> PRINTER_0_DEVICE
>
> The device name of the first printer. Names such as /dev/lp0, /dev/ttyS0
> or /dev/ttyS1 are allowed."
>
> Fine as far as it goes, but what happened to /dev/usb/lp(x) devices?
>
> thank you, julius
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFCry0D2LhlZOaj6vURArKOAJ4gNtavtYotTttmM3i4DkYnfXjhEgCfS1Y6
> 7ql7r9zBgP2lFJr9GK3qEb8=
> =4z01
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list