You are not logged in.
speng,
I had the same issue with an Epson Photo RX510 printer/scanner combo. Tried everything suggested in this an other threads, but in the end this is what fixed it for me:
I noticed that the printer device belonged to the 'scanner' group. Try changing it to 'lp':
$ sudo chown root:lp /dev/bus/usb/002/003
replacing the usb bus and device numbers to where your printer sits. After this restart cups, go the its web interface, Administration -> Find New Printers.
Hope it will work for you as well.
Offline
arch0r wrote:had the same problem here. removed the cups package and all of its config files even old folders in /var/spool. installed hal-cups-utils, started cups and installed the printer (the printer's path is now "managed" by hal).
I tried hal-cups-utils before as well, but I don't get it at all. Maybe I'm just doing something wrong. I installed it, restarted the cups daemon then went into localhost:631 and tried adding a printer.
The only local one is "Local Printers: Hal printing backend "
Selecting that works, it goes to the next screen, then it just displays "hal" in the URI text field with no way to continue.Bleh
Thanks for the replies though, I did try them all
To see how I got my Epson Stylus NX400 printer/scanner working after the CUPS 1.4 upgrade, see my post, in this thread: http://bbs.archlinux.org/viewtopic.php?id=82489.
After writing the new udev rule, unplug your printer and plug it back in. Your printer should then be automatically detected.
Jay
Last edited by jt512 (2009-10-17 07:19:53)
Offline
jt: thanks, the suggestion worked for me.
My printer is an Epson Stylus SX100. It is a printer / scanner, but I don't have sane installed, so in my case the owner information on the device file was root : root.
Still, the procedure was essentially the same: get vendor and product it from lsusb and then add a rule
ATTR{idVendor}=="...", ATTR{idProduct}=="...", MODE="0664", GROUP="lp"
with high priority in /etc/udev/rules.d/
Here's what I'd like to know, though: I'm pretty sure this isn't the intended behavior of the tool. There is probably some udev rule that was intended to apply to the device, but didn't. Which one is it, and why didn't it fire?
My guess is this one:
50-udev-default.rules-65-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p"
Can anyone add some information to this?
Edit: This line is from one of our udev patches, with we got from https://launchpad.net/bugs/420015, and if I read it correctly it is supposed to result in device nodes of usb printers to be root:lp. Just that in several cases, in particular Epson all-in-ones, it doesn't work. I don't know enough about udev and its rules to see how these rules are intended to work and why they don't.
Last edited by grey (2009-10-18 19:26:53)
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Thanks for all the replies, I did add the udev rule and it fixed the permissions/ownership/group ownership.
Cups still doesn't find my printer, so I can't add it to try it.
Offline
I've come to the conclusion that CX3200 just isn't compatible with cups 1.4.1-1.
I downgraded it and it works fine, I'm certain I did everything right as blacklisted usblp and added the udev rule, checked the permissions and everything.
I'm guessing I need to bug report this?
Offline
I don't think so. I own a cx3900 and it works perfectly. The only detail you should be aware of is
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b8", ATTR{idProduct}=="082f", GROUP:="lp", MODE:="0664"
notice the colon on group and mode fields. These are for locking the group and the mode of the device. Save the rule, replacing the vendor/product pair to your needs, keeping a small number at the beginning (something like 10-cx3200.rules)
Last edited by kjon (2009-10-23 16:54:42)
They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.
Offline
Yep, that's exactly what I did.
Archnub had the same problem as well and if I remember correctly he/she also downgraded.
I checked and double checked the rule, added it (10, high priority (?) ) as you did then rebooted. Checked the permissions and they were fine, cups still didn't pick up any printers. hal-cups-utils didn't help either. The only person who has posted who has to same printer as me is Archnub so I doubt any other archers have come across the same problem.
speng@spengpc /etc/udev/rules.d $ cat 10-usb-printer.rules
ATTR{idVendor}=="04b8", ATTR{idProduct}=="0802", MODE:="0664", GROUP:="lp", ENV{libsane_matched}:="yes"
This is my udev rule.
Edit: Trying this again, but with your udev rule.
Edit 2: I seem to be making progress, using your udev rule, my printer is detected by cups using hal-cups-utils, although when I try to print something, it returns:
pending since
Fri 23 Oct 2009 20:24:13 BST
"Unable to open device "hal:///org/freedesktop/Hal/devices/usb_device_4b8_802_W21210306241228210_if1_printer_noserial": Permission denied"
speng@spengpc ~ $ lsusb
Bus 001 Device 002: ID 0bc2:0503 Seagate RSS LLC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 04b8:0802 Seiko Epson Corp. Stylus CX3200
Bus 002 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 002 Device 005: ID 0810:0003 Personal Communication Systems, Inc.
Bus 002 Device 003: ID 1532:0002 Razer USA, Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
speng@spengpc ~ $ sudo ls -l /dev/bus/usb/002/004
crw-rw-r-- 1 root lp 189, 131 2009-10-23 20:22 /dev/bus/usb/002/004
Without hal-cups-utils, nothing is detected.
Edit 3: chmodding 777 fixed it. Thanks for helping kjon and everyone else
Last edited by speng (2009-10-23 19:43:20)
Offline
My Epson Stylus DX6050 ist working now, after I set root:lp for /dev/bus/usb/001/009. Thanks for all the info in this thread.
Offline
Installing "hal-cups-utils" did the trick for me. You probably have to reinstall the printer.
HTH
thanks, it works!
Offline
mav wrote:Installing "hal-cups-utils" did the trick for me. You probably have to reinstall the printer.
HTH
thanks, it works!
It works for me too!!! thanks !!! I had long been i reading about how to fix it.
[EN] In the world there are 10 kinds of people, those who understand binary and those who not.
[ES] En el mundo hay 10 tipos de personas, las que entienden binario y las que no.
Offline
only a problem: if i turn off the printer, when i turn it on again, i have to reset the printer location in cups manager. It seems hal "mount" the printer in a different location. Is it right?
Offline
only a problem: if i turn off the printer, when i turn it on again, i have to reset the printer location in cups manager. It seems hal "mount" the printer in a different location. Is it right?
As discussed on the first page of this thread, you need to add an udev rule so that the right group is set on start up. See this thread for details.
Offline
mav wrote:Installing "hal-cups-utils" did the trick for me. You probably have to reinstall the printer.
HTH
thanks, it works!
Thanks a lot for your tricks.
It works for me too.
Offline
Still can't get my Epson Stylus R300 working It is detecting as a scsi storage but not printer (it have a card reader on board)...
May someone suggest somthing?
THX.
Offline
@crazylaws: doesn't dmesg print about it at all? could you post it?
Offline
@crazylaws: doesn't dmesg print about it at all? could you post it?
Sure. Here is a dmesg output related to the printer:
usb 3-2.3: new high speed USB device using ehci_hcd and address 7
usb 3-2.3: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access EPSON Stylus Storage 1.00 PQ: 0 ANSI: 2
sd 3:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 3:0:0:0: [sdb] Attached SCSI removable disk
And also, here is a line from lsusb output:
Bus 003 Device 007: ID 04b8:0803 Seiko Epson Corp. Printer (Composite Device)
It definitely is not recognized as a printer... :-(
Offline
@crazylaws: did lp, parport, parport_pc load?
Offline
I'm also using Epson RB300 on 2 arch setups, Gnome/KDE4.
The way I got them both working was to put cups in the deamon list and against all advice on this thread added usblp to the modules list so its enabled.
also installed hal-cups-utils. My Epson printer then shows up under local printers and works perfecto.
I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.
Offline
@mandog - thank you very much - you're the only one who got it right
Pulling my hair since the first update to the 1.4.x version of cups. I could not get my printer to work, following the advice of various threads and the cups-ArchWiki page.
The problem however is that some of the multifunction devices like the Canon MP610 are not recognized as a printer by the kernel driver. The dmesg-output shows a scsi-device inserted, the card reader of my MP610, it even works:
usb 1-3: new high speed USB device using ehci_hcd and address 8
usb 1-3: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 6:0:0:0: Direct-Access Canon MP610 series 1050 PQ: 0 ANSI: 2
sd 6:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 6:0:0:0: [sdb] Attached SCSI removable disk
Clearly there is no printer recognized, which is odd, because
lsusb -v
shows that our Device Descripter advertises an Interface Descriptor of type printer.
So, contrary to every current information, I removed the blacklisting of said usblp-module to get my printer recognized as such:
usb 1-3: new high speed USB device using ehci_hcd and address 9
usb 1-3: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
usblp0: USB Bidirectional printer dev 9 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1725
usbcore: registered new interface driver usblp
scsi 7:0:0:0: Direct-Access Canon MP610 series 1050 PQ: 0 ANSI: 2
sd 7:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 7:0:0:0: [sdb] Attached SCSI removable disk
Now we have a usblp0-device, which gets picked up by hal, issuing
lshal
shows two udi, one for the physical device
info.product = 'MP610 ser'
and one for the logical printer device
info.product = 'USB Printer Interface'
.
So in theory everything is there for cups to find the printer, but it doesn't, at least as long as the package hal-cups-utils is not installed. Checking
lshal
again after the installation and a follwing restart of hal we can find a third new udi, obviously created by hal-cups-utils. Judging by the connection string in cups that's exactly the one cups can "see".
Summary of my ramblings, if your multifunction device is not recognized as a printer you can try:
- don't blacklist the usblp module, in fact make sure it is loaded
- install hal-cups-utils
- restart hal
/etc/rc.d/hal restart
- delete old printer entry in cups if there is one
- create new printer entry in cups, if everything went ok your printer is shown as "local printer"
Offline
@mandog, @justtesting: Thanks, it also working for me. I would suggest to update the wiki article... BTW, I also tried to find out how it works in last ubuntu (9.10, x64) version... same story, they're loading usblp.
Offline
Ubuntu and Debian reverted the upstream change to use "lp" group. They went back to use "root" group for all devices. See Debian/Ubunut cups pkg ChangeLog That why devices may work in Debian/Ubuntu and may fail in Arch or Fedora.
Offline
Someone knows if are there plans to solve the issue without forcing users to manually add rules to udev?
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
All I have to say is LAAAAAAAAAAAAAAAAAAAAAAAAMMMEEEEEEEEEEE Why the heck do they have to do stuff like this...These CUPS 'updates' lately are bloody retarded. Like most people on here I have tried everything and it doesn't bloody work, I tried to roll back and I get a stupid libhx error now so now I'm just straight up fucked.
Offline
I'll sum up what worked for me to perhaps make it a little easier for future printer-fighters. I skirmished an Epson Stylus SX100.
- installing cups, hal-cups-utils, ghostscript, gsfonts and gutenprint,
- adding cups to rc.d,
- blacklisting usblp
- adding a rule for udev as follows:
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b8", ATTR{idProduct}=="0841", MODE:="0664", GROUP:="lp"
- after plugging the printer in, adding it inside cups manager.
I had quite a hassle with finding the right (working) udev rule. I must say that it was much easier than getting the same printer to work under Ubuntu. God bless the wiki and forum.
Offline
- installing cups, hal-cups-utils, ghostscript, gsfonts and gutenprint,
^^ it's enough
/etc/rc.d/cups restart
adding in daemons is for autostart,
Offline