You are not logged in.

#26 2009-10-17 05:57:58

alexk
Member
From: Sydney, Australia
Registered: 2009-08-27
Posts: 32
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#27 2009-10-17 07:04:23

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

speng wrote:
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

#28 2009-10-18 18:12:35

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#29 2009-10-19 12:01:19

speng
Member
Registered: 2009-01-17
Posts: 136

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#30 2009-10-23 15:03:35

speng
Member
Registered: 2009-01-17
Posts: 136

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#31 2009-10-23 16:53:24

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#32 2009-10-23 19:07:34

speng
Member
Registered: 2009-01-17
Posts: 136

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Yep, that's exactly what I did. big_smile

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 smile

Last edited by speng (2009-10-23 19:43:20)

Offline

#33 2009-11-11 18:07:46

Maledictvm
Member
Registered: 2009-02-02
Posts: 14

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#34 2009-11-13 17:23:01

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

mav wrote:

Installing "hal-cups-utils" did the trick for me. You probably have to reinstall the printer.

HTH

thanks, it works!

Offline

#35 2009-11-14 17:59:13

varg04444
Member
From: Colombia
Registered: 2009-09-26
Posts: 22

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Cagnulein wrote:
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!!! big_smile 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

#36 2009-11-14 18:31:45

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#37 2009-11-14 22:49:48

alexk
Member
From: Sydney, Australia
Registered: 2009-08-27
Posts: 32
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Cagnulein wrote:

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

#38 2009-11-17 11:39:33

bobbertrailer
Member
Registered: 2009-10-07
Posts: 1

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Cagnulein wrote:
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

#39 2009-11-17 23:47:48

CrazyLaws
Member
From: Kiev, Ukraine
Registered: 2009-11-17
Posts: 3

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Still can't get my Epson Stylus R300 working sad It is detecting as a scsi storage but not printer (it have a card reader on board)...
May someone suggest somthing?

THX.

Offline

#40 2009-11-18 05:34:56

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

@crazylaws: doesn't dmesg print about it at all? could you post it?

Offline

#41 2009-11-18 10:48:05

CrazyLaws
Member
From: Kiev, Ukraine
Registered: 2009-11-17
Posts: 3

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

Cagnulein wrote:

@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

#42 2009-11-18 12:11:44

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

@crazylaws: did lp, parport, parport_pc load?

Offline

#43 2009-11-18 12:25:36

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#44 2009-11-19 11:29:08

justtesting
Member
Registered: 2009-05-09
Posts: 4

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

@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

#45 2009-11-22 08:18:58

CrazyLaws
Member
From: Kiev, Ukraine
Registered: 2009-11-17
Posts: 3

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

@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

#46 2009-11-22 09:22:37

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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 wink That why devices may work in Debian/Ubuntu and may fail in Arch or Fedora.

Offline

#47 2009-11-23 10:00:02

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,389

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#48 2010-01-06 23:48:09

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#49 2010-01-19 12:55:20

samyazza
Member
From: Cracow, Poland
Registered: 2010-01-09
Posts: 27

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

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

#50 2010-01-20 00:29:56

Sia
Member
Registered: 2010-01-17
Posts: 29
Website

Re: [SOLVED] Cups 1.4.1 - Printer no longer detected

samyazza wrote:

- installing cups, hal-cups-utils, ghostscript, gsfonts and gutenprint,

^^ it's enough

 /etc/rc.d/cups restart

adding in daemons is for autostart,
wink

Offline

Board footer

Powered by FluxBB