You are not logged in.

#1 2012-06-20 16:17:44

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

[Solved]cups doesn't recognize usb printer anymore

Hi all,

I have a system with a Samsung Laser ML-1250 attached to it via the usb port. This was working before the last pacman -Syu... Then I updated the system and the printer stopped working. Having seen this with earlier updates to cups I deleted the printer via the cups web interface and tried to add it again. Guess what? Cups can't even see it anymore. It is not shown in the list of available devices.  There is another printer (network) which works o.k. I don't know what happens here. I had usblp blacklisted already before.

I haven't updated this system for two months so there is a long list of packages in /var/log/pacman.log. Nothing I can guess for what is causing this. FWIW, some output:

[root@miraculix ~]# usb-devices
...
T:  Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04e8 ProdID=300e Rev=01.00
S:  Manufacturer=Samsung Electronics Co., Ltd.
S:  Product=Samsung Laser Printer ML-1250
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
[root@miraculix ~]# lsusb
Bus 003 Device 002: ID 04e8:300e Samsung Electronics Co., Ltd Laser Printer
...
[root@miraculix ~]# lsmod | grep usb
usbcore               123297  3 ohci_hcd,ehci_hcd
usb_common               622  1 usbcore
[root@miraculix ~]# dmesg | grep usb
[    1.040589] usbcore: registered new interface driver usbfs
[    1.040610] usbcore: registered new interface driver hub
[    1.041271] usbcore: registered new device driver usb
[    1.606250] usb 3-3: new full-speed USB device number 2 using ohci_hcd

Rant: On every update there is another cups problem. I feel it's getting worse every time...

Has someone a hint for me? I'm puzzled. Will go home and sleep on it sad

Harvey

Last edited by Harey (2012-06-21 10:01:29)


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#2 2012-06-20 18:18:19

ecmel
Member
Registered: 2012-02-13
Posts: 29
Website

Re: [Solved]cups doesn't recognize usb printer anymore

I had a similar problem and blacklisting usblp solved it.

/etc/modprobe.d/modprobe.conf

blacklist usblp

Offline

#3 2012-06-20 23:04:32

Liuuutas
Member
From: Cambridge
Registered: 2009-05-02
Posts: 71

Re: [Solved]cups doesn't recognize usb printer anymore

I have a similar problem.

Also, Harey has the usblp module blacklisted, because otherwise it would be present in

lsmod | grep usb

and the output of dmesg would be different.

Is there any way to solve this issue?

EDIT: Also, lpinfo -v doesn't show anything.

Last edited by Liuuutas (2012-06-20 23:11:37)

Offline

#4 2012-06-21 07:48:22

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

Re: [Solved]cups doesn't recognize usb printer anymore

@ecmel: usblp was already blacklisted before, as I wrote in my first post. BTW, modprobe.conf is depreceated, use /etc/modprobe.d/ files instead.

@Liuuutas: This seems to be lost in one of the latest updates, as it was working before. Maybe it has to do with the recent change from libusb to libusbx?
FWIW:

[root@miraculix ~]# lpinfo -v
network ipps
file cups-pdf:/
network smb
network ipp
network socket
network http
network https
network lpd

usb has been lost.

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#5 2012-06-21 10:00:52

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

Re: [Solved]cups doesn't recognize usb printer anymore

I got it nailed down - well, somehow... If you want to try it yourself do so on your own risk!
First I enabled the testing repos and did a full system upgrade with

pacman -Syu

I guess this step is not necessary. I did it just to get the latest libusbx, which was in testing at that time. Then I did a complete deinstallation of cups and all its dependencies:

pacman -Rsc cups

then deleted the complete cups config directory by

rm -r /etc/cups

and reinstalled cups and all its dependencies (even the optional ones)

pacman -S cups ghostscript foomatic-db foomatic-db-engine foomatic-db-nonfree php xdg-utils

I plugged the printer into an usb port. Kde got it and installed it by itself. Didn't even have to install it via the cups webinterface. Printed a testpage - works!

Really weird. But working wink Marking this as solved.

Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

Board footer

Powered by FluxBB