Re: USB Printing, kernel 2.4.17
On Thu, 17 Jan 2002 21:08:43 -0500
Jerome Acks Jr <jracksjr@bellatlantic.net> wrote:
> On Mon, Jan 14, 2002 at 08:56:49PM -0600, earvin wrote:
> > On Tue, 15 Jan 2002 21:10:02 -0500
> > Jerome Acks Jr <jracksjr@bellatlantic.net> wrote:
> >
> > > On Mon, Jan 14, 2002 at 03:50:28PM -0600, earvin wrote:
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I have a problem trying to use my printer under Debian, i compile
> > > > the kernel 2.4.17, and USB support as modules.
> > > >
> > > > Im loaded this modules, uhci.o hid.o input.o mousedev.o printer.o
> > >
> > > Unless you are positive uhci.o is correct module for your hardware, try
> > > usb-uhci.o instead of uhci.o.
> > >
> > > > usbcore.o lp.o. I mount the usb bus (/proc/bus/usb) and usb detects
> > > > my printer, but when i try redirect a file to the printer device,
> > > > didnt work. (/dev/usb/lp0).
> > > >
> > > >
> > > > Note: im using a usb mouse without problem.
> > > >
> > > > Any tip help are wellcome, thanks.
> > >
> > > Anything odd reported in /var/log/messages or /var/log/syslog?
> >
> > Here its the messages about module printer.o, nothin in syslog
> >
> > usb.c: registered new driver usblp
> > printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0
> > printer.c: v0.8:USB Printer Device Class driver
>
> Any success?
> A couple of other thoughts:
> /dev/usb/lp0 needs to be owned by root.lp with mode 0660.
> If you had a printer hooked to /dev/lp0 previously, you need to edit
> /etc/printcap to change the device to /dev/usb/lp0.
>
> --
> Jerome
No success, all seems a bit confusing... device permisions are OK,
ls -la /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 Mar 25 2001 /dev/usb/lp0
But when i do: (direct device printing needs /etc/printcp?)
ls > /dev/usb/lp0
The result is just empty, no errors... but printer dont move. Printer is ok,
was printing wonderfully in my older LiNUX distro rh7.1 and it taked 1 minute
to configure.
Thank U in advance,
earvin
Reply to: