You are not logged in.

#1 2014-12-13 13:52:36

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

[RESOLVED] cups, usb printer not found anymore...

Edit: It was a stupid mistake by me:
I had a self-written udev rule for usb devices, that prevented recognition. All seems fine now. Sorry.
---

Ok, I don't use my printer often, so I somehow missed/ignored that cups was updated to 2.0...

It used to work fine before, several months ago.

But yesterday I tried to print something and it did just nothing. The message in cups was something like "Waiting for printer to become ready...".

Then, I probably did some stupid things...
I tried several things including downgrading because I am also affected by the 100% CPU usage cups bug (https://bugs.archlinux.org/task/42666).
But I'm sure that this is a different problem because in the end I installed cups on another machine (for the first time) and there the printer works. But I have the 100% CPU usage bug there too... This also shows that the printer itself is working.

What I did now:
- stopped org.cups.cupsd
- uninstalled cups using 'pacman -Rns cups cups-filters'
- made sure I didn't have leftover cups symlinks under /etc/systemd/system/... from the 2.0 update
- also removed /var/cache/cups
- (under /etc/cups/ there's only client.conf left)
- re-installed cups using 'pacman -S cups'.
- started org.cups.cupsd

Now, the printer doesn't show up anymore under "Add Printer"...

It is shown under lsusb,
dmesg also:

[63325.043728] usb 2-1.1: new high-speed USB device number 10 using ehci-pci
[63325.131830] usblp 2-1.1:1.0: usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10B7

I set cups debug level, as advised in the wiki, but it just gives a wast amount of output.
E.g. when I click on "Add Printer": http://pastebin.com/HjeB2FR0
But no errors as far as I see...

When I plug the printer out and back in 'journalctl -e' gives:

Dec 13 14:37:20 hplaptop kernel: usb 2-1.1: USB disconnect, device number 10
Dec 13 14:37:20 hplaptop kernel: usblp0: removed
Dec 13 14:37:20 hplaptop systemd-udevd[177]: error opening USB device 'descriptors' file
Dec 13 14:37:20 hplaptop systemd[1]: Unit printer.target is not needed anymore. Stopping.
Dec 13 14:37:20 hplaptop systemd[1]: Stopping Printer.
Dec 13 14:37:20 hplaptop systemd[1]: Stopped target Printer.
Dec 13 14:37:35 hplaptop kernel: usb 2-1.1: new high-speed USB device number 11 using ehci-pci
Dec 13 14:37:36 hplaptop kernel: usblp 2-1.1:1.0: usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10B7
Dec 13 14:37:36 hplaptop systemd[1]: Starting Printer.

I tried to blacklist usblp with no effect. I also tried different usb ports and my external harddisk is working fine on usb.

What can I do ?

Edit: It was a stupid mistake by me:
I had a self-written udev rule for usb devices, that prevented recognition. All seems fine now. Sorry.

Last edited by rebootl (2014-12-13 19:37:35)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

Board footer

Powered by FluxBB