View previous topic :: View next topic |
Author |
Message |
gbj n00b
Joined: 07 Oct 2006 Posts: 10
|
Posted: Sat Oct 07, 2006 5:32 pm Post subject: [SOLVED] USB Printing Problems - Dell Photo Printer 720 |
|
|
Hey all,
I've been trying to install support for my Dell Photo Printer 720 after migrating from Ubuntu to Gentoo. I'm using the Lexmark z600 driver for it, which worked under Ubuntu. I've compiled USB printing support into my kernel and installed CUPS. When I use usbview or cat /proc/bus/usb/devices or lsusb -v I can see that my printer is attached. However, when I try to add the printer, I get problems. Using gnome-cups-manager, I am told "Printer not found: Z600-v1.0-1". Using http://localhost:631, I get no error, but it says the printer is not found and it tries to reconnect every 30 seconds. I am assuming that it is USB Printer #1, since there is no detected printer. Under Ubuntu with gnome-cups-manager, the printer is automatically detected. Can anyone tell me how to get CUPS to detect my printer?
Last edited by gbj on Tue Oct 10, 2006 12:56 am; edited 1 time in total |
|
Back to top |
|
|
gbj n00b
Joined: 07 Oct 2006 Posts: 10
|
Posted: Sun Oct 08, 2006 4:06 am Post subject: |
|
|
Well, I guess my question is really:
"How do I get a recognized USB device mapped to a device file?"
Every method of detecting USB devices, hardware, etc. has seen the printer. But there is still no device file for it. |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sun Oct 08, 2006 11:22 am Post subject: |
|
|
There's a very good HOWTO at Lexmark Printers, have you tried it? _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
gbj n00b
Joined: 07 Oct 2006 Posts: 10
|
Posted: Sun Oct 08, 2006 1:29 pm Post subject: |
|
|
I have indeed. I can do everything, but get no response from the backend and no detected printer. |
|
Back to top |
|
|
gbj n00b
Joined: 07 Oct 2006 Posts: 10
|
Posted: Sun Oct 08, 2006 2:05 pm Post subject: |
|
|
Okay, to be even more specific...
All I need is a way to get my printer added as a device at /dev/usb/lp0. It is recognized that it is attached to a USB port (/dev/bus/usb/002/002). Is there a way to connect those two facts? |
|
Back to top |
|
|
wynn Advocate
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sun Oct 08, 2006 3:16 pm Post subject: |
|
|
I thought the HOWTO might have a step in it that you had missed.
The module usblp will, together with udev (here: sys-fs/udev-087-r1), create /dev/usb/lp0.
The only two entries in /etc/udev/rules.d/50-udev.rules which seem relevant are Code: | BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
KERNEL=="usblp", NAME="%k", GROUP="lp" |
From the kernel configuration
Code: | CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y |
With the printer switched off:
Code: | # ls -l /dev/usb
ls: /dev/usb: No such file or directory |
Switching the printer on (/var/log/messages): Code: | Oct 8 15:54:12 lightfoot [ 736.394684] usb 3-1: new full speed USB device using uhci_hcd and address 3
Oct 8 15:54:12 lightfoot [ 736.576330] usb 3-1: configuration #1 chosen from 1 choice
Oct 8 15:54:12 lightfoot [ 736.586280] drivers/usb/class/usblp.c: usblp0: USBBidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005 | and Code: | # ls -l /proc/bus/usb/003/001
0 -rw-rw-r-- 1 root usb 43 Oct 8 15:41 /proc/bus/usb/003/001
# ls -l /dev/bus/usb/003/001
0 crw-r--r-- 1 root root 189, 256 Oct 8 15:42 /dev/bus/usb/003/001
# ls -l /dev/usb
total 0
0 drwxr-xr-x 2 root root 60 Oct 8 15:54 ./
0 drwxr-xr-x 17 root root 14340 Oct 8 15:54 ../
0 crw-rw---- 1 root lp 180, 0 Oct 8 15:54 lp0 |
_________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
|
gbj n00b
Joined: 07 Oct 2006 Posts: 10
|
Posted: Mon Oct 09, 2006 7:07 pm Post subject: |
|
|
Hm...I had UHCI and usblp built-in, and they seem to have disappeared...I must have built the kernel incorrectly. I'll try again.
UPDATE: Silly me. I'm a total n00b (just installed Gentoo this week) and so I hadn't built my kernel properly. I used genkernel and printing works now. |
|
Back to top |
|
|
blietaer Tux's lil' helper
Joined: 27 Apr 2006 Posts: 103
|
Posted: Sat Jan 27, 2007 9:50 am Post subject: |
|
|
Hello,
Sorry for hi-jacking this topic but I happen to use a Dell 725, tha tis said to be "mostly" working under linux since it is just a re-shape of the lexmark z600 (hey just like you?!).
ebuilding it was fine (I think..)
I can see the /usr/lib/cups/backend/z600
and the driver is in the cups list...
however I never get the : direct z600:/dev/usb/lp0 "Lexmark Lexmark Z600 Series" "Lexmark Printer"
and printing the test page is just hanging... |
|
Back to top |
|
|
|