-
USB printer
Hey guys, here's my newest adventure!!!
Slack 10, Kernel 2.6.10
Most of my USB devices are working except for my printer, which is detected as per dmesg. but won't come up with any kind of device file. Here's dmesg.
usb 2-2: new full speed USB device using ohci_hcd and address 12
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3404
Also, here's the relevant section of lsusb
Bus 002 Device 012: ID 03f0:3404 Hewlett-Packard
any ideas?
One OS to rule them all,
One OS to find them.
One OS to call them all,
And in salvation bind them.
In the bright land of Linux,
Where the hackers play.
(J. Scott Thayer, with apologies to J.R.R.T.)
-
do you have udev?
you could use udevinfo -a -p $path
trying $path in /sys/class/usb or /sys/bus/usb until obtain some info.
Here, in gento, in /etc/udev/rules.d/50-udev.rules:
BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
==> my usb printers are in /dev/usb/lp[0-9]
-
what is under /dev/usb
i cant remember how i got mine working. do a search for usb printer howto. there is a good tutorial on here somewhere. I used cups. you can use the cups webmin setup and it makes it really easy.
soule
Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others. - Edward Abbey
IRC #linuxn00b
Support your Distro.
Slackware Store
Archlinux Schwag
-
I only just discovered that the KDE printer wizard actually works really well on a default Slack 10 install. Of course, i was using a 2.6 kernel and a printer that is well supported by cups, but i used to set up printers by hand (a somtimes tricky task) so i was pleased when it took less than a minute
-
Found it. I used udevinfo and found that my printer was at /dev/usb
note that wasn't a directory or anything, just /dev/usb. I renamed it to /dev/usblp0 and all my links lined up and my print que instantly started pushing through. Thanks guys!
One OS to rule them all,
One OS to find them.
One OS to call them all,
And in salvation bind them.
In the bright land of Linux,
Where the hackers play.
(J. Scott Thayer, with apologies to J.R.R.T.)
-
I am trying to install my usb printer as well. I have a Epson Stylus Photo R300M
My usb are working fine, i know this for sure because i have usb ADSL modem, and its working fine. Im trying to install with CUPS, i have choosen a USB Printer #3 but all i get in status is
" Printer State: stopped, accepting jobs.
"Unable to open USB device "usb:/dev/usb/lp3": No such device"
Device URI: usb:/dev/usb/lp3"
i even done chmod 755 /dev/lp3 and other lp devices, but it returns the same error
Im using Slackware 10 and have kernel 2.4.
Thanks
M3rlin
-
Originally Posted by m3rlin
i even done chmod 755 /dev/lp3 and other lp devices, but it returns the same error
That's because if you look at the error message, it's trying to find /dev/usb/lp3, not /dev/lp3.
-
Originally Posted by bwkaz
That's because if you look at the error message, it's trying to find /dev/ usb/lp3, not /dev/lp3.
i tryied that also, but still doesn't work
M3rlin
-
try this /dev/usblp3 instead of /dev/usb/lp3
Linux reg. User # 298337
-
Originally Posted by bsm2001
try this /dev/usblp3 instead of /dev/usb/lp3
Well... it might actually be better to try whatever device file exists.
-
Originally Posted by bwkaz
Well... it might actually be better to try whatever device file exists.
I thought it worth a try since on mine my printer is symlinked from /dev/usb/lp0 to /dev/usblp0 an have no problems.
Linux reg. User # 298337
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|