You are not logged in.

#1 2009-10-15 16:54:07

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

[SOLVED] Cups 1.4.1 - Printer no longer detected

usb 2-10: USB disconnect, address 5
usb 2-10: new full speed USB device using ohci_hcd and address 6
usb 2-10: configuration #1 chosen from 1 choice

Is what I get if I replug my USB printer. It's an Epson Stylus CX3200, I have already disabled usblp. Any ideas? It worked just fine before the newest Cups update. neutral

Last edited by speng (2009-10-23 22:53:11)

Offline

#2 2009-10-15 18:12:08

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

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

check if the printer has "lp" group permission. does lpinfo -v detects it?

Offline

#3 2009-10-15 18:33:23

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

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

I have the same issue, but with a brother HL-2140
I'm an engineering student, I need this to work and not be broken by every update.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#4 2009-10-15 18:34:15

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

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

AndyRTR wrote:

check if the printer has "lp" group permission. does lpinfo -v detects it?

duncan@duncan-arch ~]$lpinfo -v
lpinfo: Forbidden
duncan@duncan-arch ~]$

what do I do now? It worked fine before.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#5 2009-10-15 18:47:33

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

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

Raccoon1400 wrote:

I have the same issue, but with a brother HL-2140
I'm an engineering student, I need this to work and not be broken by every update.

Then Arch is not for you. Though things generally go well, if you absolutely depend on things you can not base yourself on arch.

Having said that, cups needs 664 to /dev/bus/usb/<bus number>/<device number>

you can find your bus / device number through lsusb. For instance:
$ lsusb
...
Bus 005 Device 002: ID 0482:0015 Kyocera Corp.
...

$ sudo ls -l /dev/bus/usb/005/002

apparantly the backend should run as root, this was fixed in ubuntu:
https://bugs.launchpad.net/ubuntu/+sour … bug/420015

I suppose we'll wait till fixes filter through?


Arch i686 on Phenom X4 | GTX760

Offline

#6 2009-10-15 18:54:40

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

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

Thanks for all the replies.

speng@spengpc /etc/cups $ groups speng
disk lp wheel log games video audio optical storage power dbus hal policykit camera lpadmin users
speng@spengpc /etc/cups $ lpinfo -v
network socket
network lpd
network ipp
network smb
network http
direct scsi
speng@spengpc /etc/cups $ lsusb
Bus 002 Device 007: ID 0810:0003 Personal Communication Systems, Inc. 
Bus 002 Device 006: ID 04b8:0802 Seiko Epson Corp. Stylus CX3200
Bus 002 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 002 Device 003: ID 1532:0002 Razer USA, Ltd 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bc2:0503 Seagate RSS LLC 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
speng@spengpc /etc/cups $ sudo ls -l /dev/bus/usb/002/006
Password: 
crw-rw-r--+ 1 root scanner 189, 133 2009-10-15 17:49 /dev/bus/usb/002/006
speng@spengpc /etc/cups $ sudo chmod 664 /dev/bus/usb/002/006
speng@spengpc /etc/cups $ lpinfo -v
network socket
network ipp
network lpd
network smb
network http
direct scsi
speng@spengpc /etc/cups $

Still nothing. neutral


Edit:

speng@spengpc ~ $ lpinfo -m | grep CX3200
C/stp-escp2-cx3200.5.2.ppd.gz Epson Stylus CX3200 - CUPS+Gutenprint v5.2.4

Last edited by speng (2009-10-15 18:57:14)

Offline

#7 2009-10-15 19:46:20

mav
Member
Registered: 2009-10-15
Posts: 1

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

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

HTH

Offline

#8 2009-10-15 20:03:29

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

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

speng, you have a multi device with scanner included? you will need a custom udev to get proper permission to print. see this thread.

Offline

#9 2009-10-15 20:09:26

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

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 for posting, but it didn't solve my problem.


AndyRTR wrote:

speng, you have a multi device with scanner included? you will need a custom udev to get proper permission to print. see this thread.

Yep it's a multi device with a scanner, although cups doesn't even detect the printer when I try to add a new one.
Also, what thread? big_smile


E [15/Oct/2009:17:37:19 +0100] Unable to open listen socket for address :::631 - Address family not supported by protocol.

Also getting these in my error log. Related? Although I can still connect to localhost:631 just fine. :s

Last edited by speng (2009-10-15 20:11:22)

Offline

#10 2009-10-15 22:07:25

archnub
Member
Registered: 2009-07-02
Posts: 14

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

I have the same printer and the same issue. Tried all the above plus more and no luck yet.

Offline

#11 2009-10-15 23:36:24

luuuciano
Member
Registered: 2007-01-27
Posts: 310

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

AndyRTR wrote:

speng, you have a multi device with scanner included? you will need a custom udev to get proper permission to print. see this thread.

wich one? you forgot the link?


I have this issue with an epson cx 4100
sad

it was working ok until the upgrade... (that broken my dvd/cd too, lol)

(damn murphy... why all this happen when you need to print, burn a cd, copy files, etc? hehehe)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#12 2009-10-16 00:32:45

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

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

Only to be sure - did you blacklist the usblp module? (See: http://www.archlinux.org/news/469/)

This is necessary because cups now uses another means to access usb printers and would not see them if usblp was present.


To know or not to know ...
... the questions remain forever.

Offline

#13 2009-10-16 00:46:20

luuuciano
Member
Registered: 2007-01-27
Posts: 310

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

bernarcher wrote:

Only to be sure - did you blacklist the usblp module? (See: http://www.archlinux.org/news/469/)

This is necessary because cups now uses another means to access usb printers and would not see them if usblp was present.

yep... and did the cupsd.conf modifications, etc...
deleted printer, tried to add/find it again, etc... all the stuff found in news and bbs posts
did not work
(but I have no teste the udev and permission things)

I had to downgrade to cups 1.3.11
and countinue using usblp at rc.conf modules
at least it works smile
http://arm.kh.nu/ <- awesome, how many storage needs that?

(and I could print the documents I needed to print)

Last edited by luuuciano (2009-10-16 15:18:08)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#14 2009-10-16 02:24:19

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

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

mine worked after blacklisting usblp, replacing cupsd.conf with the default, and rebooting.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#15 2009-10-16 02:35:38

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

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

Anything else I can attempt? Cups just refuses to even find my printer, so I don't know where to start.

Offline

#16 2009-10-16 05:00:36

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

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

Offline

#17 2009-10-16 15:15:44

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

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

Thanks, still nothing though.

I added the udev rule in /etc/udev/rules.d/printer.rules.

speng@spengpc /etc/udev/rules.d $ sudo ls -l /dev/bus/usb/002/005
crw-rw---- 1 root lp 189, 132 2009-10-16 16:03 /dev/bus/usb/002/005

Cups still doesn't acknowledge its existence.

Offline

#18 2009-10-16 15:33:26

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

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

the rule is called to late. it must start with a number below the 50-default.. rule, try 10-printer.rules

Offline

#19 2009-10-16 16:13:31

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

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

Contents of 10-printer.rules:

ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ID_USB_INTERFACES=":0701*:", GROUP="lp", MODE="660"
speng@spengpc /etc/udev/rules.d $ sudo ls -l /dev/bus/usb/002/005
crw-rw-r-- 1 root scanner 189, 132 2009-10-16 17:06 /dev/bus/usb/002/005

Hmmm... why is it in the scanner group all of a sudden?

speng@spengpc /etc/udev/rules.d $ 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 005: ID 04b8:0802 Seiko Epson Corp. Stylus CX3200
Bus 002 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 002 Device 004: 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

Am I doing it wrong?



Edit: Just to save time, yes I did reboot. big_smile

Last edited by speng (2009-10-16 16:13:56)

Offline

#20 2009-10-16 16:36:07

csergec
Member
Registered: 2009-09-29
Posts: 62

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

Hi

My printer is a usb samsung color laser and stopped working after cups update.

I disabled the usblp module in /etc/rc.conf
I entered http:localhost:631, clicked the Printers tab.
I clicked on my printer, and then Modify Printer [it is ths Administration list box]
I choosed your printer port like this: usb://Samsung/CLP-300?serial=3H07BAHPA28046B.
instead of the usb port I had before [I saw my printer was at the usb port it was before the update].

This way I got my printer back to work.
By the way, I configured before the update my printer to work in B&W and Color , so I had 2 samsung printers
at the same port: I configured the "2" printers as shown before.

Serge

Offline

#21 2009-10-16 16:47:35

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

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

csergec wrote:

Hi

My printer is a usb samsung color laser and stopped working after cups update.

I disabled the usblp module in /etc/rc.conf
I entered http:localhost:631, clicked the Printers tab.
I clicked on my printer, and then Modify Printer [it is ths Administration list box]
I choosed your printer port like this: usb://Samsung/CLP-300?serial=3H07BAHPA28046B.
instead of the usb port I had before [I saw my printer was at the usb port it was before the update].

This way I got my printer back to work.
By the way, I configured before the update my printer to work in B&W and Color , so I had 2 samsung printers
at the same port: I configured the "2" printers as shown before.

Serge

Thanks for posting Serge.
I can't modify any printers though as cups doesn't even detect it, so I can't add it to modify it.

I'm stumped, might just have to wait for a cups update.

Offline

#22 2009-10-16 16:56:09

csergec
Member
Registered: 2009-09-29
Posts: 62

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

Hi

if you plug your printer and you see it with lsusb it means the system sees it.
Stupid question, have you tried to plug your printer at another usb port?

Sometimes it helps...

Serge

Offline

#23 2009-10-16 17:23:06

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

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

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

Offline

#24 2009-10-16 18:58:52

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

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

Raccoon1400 wrote:

mine worked after blacklisting usblp, replacing cupsd.conf with the default, and rebooting.

oh, and I had to re-add my printer.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#25 2009-10-16 19:42:07

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

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

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

Offline

Board footer

Powered by FluxBB