USB printer


Results 1 to 11 of 11

Thread: USB printer

  1. #1
    Join Date
    Nov 2002
    Location
    PA
    Posts
    56

    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.)

  2. #2
    Join Date
    Apr 2003
    Location
    chile-valpo
    Posts
    60
    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]

  3. #3
    Join Date
    Sep 2004
    Location
    /home/
    Posts
    1,204
    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

  4. #4
    Join Date
    Nov 2002
    Location
    Pontypridd, South Wales (UK)
    Posts
    771
    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

  5. #5
    Join Date
    Nov 2002
    Location
    PA
    Posts
    56
    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.)

  6. #6
    Join Date
    Sep 2001
    Location
    Portugal
    Posts
    711
    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

  7. #7
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Quote 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.

  8. #8
    Join Date
    Sep 2001
    Location
    Portugal
    Posts
    711
    Quote 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

  9. #9
    Join Date
    Jul 2002
    Location
    TN
    Posts
    1,009
    try this /dev/usblp3 instead of /dev/usb/lp3
    Linux reg. User # 298337

  10. #10
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    Quote 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.

  11. #11
    Join Date
    Jul 2002
    Location
    TN
    Posts
    1,009
    Quote 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
  •