Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[REOPENED] CUPS 1.6.1 (possibly UDEV-related) no USB printer
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Thu Mar 14, 2013 3:36 am    Post subject: [REOPENED] CUPS 1.6.1 (possibly UDEV-related) no USB printer Reply with quote

Hello everyone,

I'm not sure what happened between last night when my printer was fine and today when it is completely broken from a CUPS perspective. I hadn't changed anything about my CUPS configuration, but noticed that when I attempted to print something today that it just sat with "Waiting for printer to become available." I decided to delete the printer and re-add it. However, now there is no option for any local printer within the CUPS administrator interface (only network printers). When I increased the logging level to debug, I noticed that /usr/libexec/cups/backends/usb exited with no errors, but didn't return anything. Interestingly, running that manually shows my printer:

Code:

# /usr/libexec/cups/backend/usb
DEBUG: list_devices
DEBUG: libusb_get_device_list=13
DEBUG2: Printer found with device ID: MFG:Dell;CMD:PJL,RASTER,DOWNLOAD,PCLXL,PCL;MDL:Laser Printer 3000cn;DES:Dell Laser Printer 3000cn;CLS:PRINTER;STS:AAAMAwAAAAAAAgJ/ZCNkI2QjCgY8AwAzcJoAAAAAwAAAAAAAAAAQDA==; Device URI: usb://Dell/Laser%20Printer%203000cn?serial=$SN
direct usb://Dell/Laser%20Printer%203000cn?serial=$SN "Dell Laser Printer 3000cn" "Dell Laser Printer 3000cn" "MFG:Dell;CMD:PJL,RASTER,DOWNLOAD,PCLXL,PCL;MDL:Laser Printer 3000cn;DES:Dell Laser Printer 3000cn;CLS:PRINTER;STS:AAAMAwAAAAAAAgJ/ZCNkI2QjCgY8AwAzcJoAAAAAwAAAAAAAAAAQDA==;" ""


I tried to manually add the printer with lpadmin:

Code:

lpadmin -p dell_3100cn_colour_laser -v usb://Dell/Laser%20Printer%203000cn?serial=$SN -L "Dell 3000cn colour laser"


That forced the printer to show in the CUPS interface, and I could then modify it to use the appropriate PPD for the printer (pxlcolor for the Dell 3000cn). However, then I was back to where I started with the indefinite "Waiting for printer to become available" message.

The printer shows in dmesg:

Code:

Mar 13 22:33:39 kernel: [ 2141.940927] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
Mar 13 22:33:39 kernel: [ 2141.940984] ehci-pci 0000:00:1a.7: GetStatus port:5 status 001803 0  ACK POWER sig=j CSC CONNECT
Mar 13 22:33:39 kernel: [ 2141.940995] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
Mar 13 22:33:39 kernel: [ 2142.044742] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
Mar 13 22:33:39 kernel: [ 2142.095756] ehci-pci 0000:00:1a.7: port 5 reset complete, port enabled
Mar 13 22:33:39 kernel: [ 2142.095760] ehci-pci 0000:00:1a.7: GetStatus port:5 status 001005 0  ACK POWER sig=se0 PE CONNECT
Mar 13 22:33:39 kernel: [ 2142.146408] usb 1-5: new high-speed USB device number 5 using ehci-pci
Mar 13 22:33:39 kernel: [ 2142.197567] ehci-pci 0000:00:1a.7: port 5 reset complete, port enabled
Mar 13 22:33:39 kernel: [ 2142.197571] ehci-pci 0000:00:1a.7: GetStatus port:5 status 001005 0  ACK POWER sig=se0 PE CONNECT
Mar 13 22:33:39 kernel: [ 2142.260677] usb 1-5: default language 0x0409
Mar 13 22:33:39 kernel: [ 2142.261012] usb 1-5: udev 5, busnum 1, minor = 4
Mar 13 22:33:39 kernel: [ 2142.261017] usb 1-5: New USB device found, idVendor=413c, idProduct=5602
Mar 13 22:33:39 kernel: [ 2142.261020] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 22:33:39 kernel: [ 2142.261022] usb 1-5: Product: Laser Printer 3000cn
Mar 13 22:33:39 kernel: [ 2142.261025] usb 1-5: Manufacturer: Dell
Mar 13 22:33:39 kernel: [ 2142.261027] usb 1-5: SerialNumber: $SN
Mar 13 22:33:39 kernel: [ 2142.261121] usb 1-5: usb_probe_device
Mar 13 22:33:39 kernel: [ 2142.261125] usb 1-5: configuration #1 chosen from 1 choice
Mar 13 22:33:39 kernel: [ 2142.261379] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
Mar 13 22:33:39 kernel: [ 2142.261403] usblp 1-5:1.0: usb_probe_interface
Mar 13 22:33:39 kernel: [ 2142.261405] usblp 1-5:1.0: usb_probe_interface - got id
Mar 13 22:33:39 kernel: [ 2142.262297] usblp 1-5:1.0: looking for a minor, starting at 0
Mar 13 22:33:39 kernel: [ 2142.262395] usblp 1-5:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x413C pid 0x5602


and it also prints when I do something very elementary like:

Code:

# echo "Hello world" > /dev/usb/lp0


The only thing that I can think of is that it has to do with UDEV, as my computer rebooted this morning. I'm running udev-198-r1, and I believe that I had 197-r8 before then.

Can anyone point me in the right direction as far as troubleshooting this problem?

Thanks.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---


Last edited by NathanZachary on Mon Apr 22, 2013 7:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Thu Mar 14, 2013 4:14 am    Post subject: Reply with quote

Post output of `ls -ld /dev/usb/lp0` as I'm guessing it's not owned by the expected group, wondering if https://bugs.gentoo.org/show_bug.cgi?id=461456 is related
Add yourself to lp group. If you have sane-backends installed, add yourself to scanner group too.
And if directory /usr/lib/udev exists, then re-emerge all the packages that have files in /usr/lib/udev so re-emerging will move them to /lib/udev,
such as 70-udev-acl.rules which wouldn't get picked up otherwise.
So things like 41-sane.rules, 70-udev-acl.rules, and other related gets moved to /lib/udev.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Thu Mar 14, 2013 2:55 pm    Post subject: Reply with quote

Hello Samuli,

Here is the output:

Code:

# ls -ld /dev/usb/lp0
crw-rw---- 1 root lp 180, 0 Mar 13 22:33 /dev/usb/lp0


That seems correct to me. As one has to log in as root when adding a printer, I would think that the permissions here wouldn't be a problem since it is owned by root.

My user is also a part of the lp group:

Code:

# groups zach
lp wheel audio cdrom video cdrw usb users vboxusers games zach


The /usr/lib/udev directory doesn't exist, and I believe that the corresponding rules are in /lib/udev/rules.d/:

Code:

# ls -lh /lib/udev/rules.d/
total 168K
-r--r--r-- 1 root root 6.2K Jan 21 09:31 10-dm.rules
-rw-r--r-- 1 root root  576 Feb 28 12:55 10-virtualbox.rules
-r--r--r-- 1 root root 1.3K Jan 21 09:31 11-dm-lvm.rules
-r--r--r-- 1 root root 1.5K Jan 21 09:31 13-dm-disk.rules
-rw-r--r-- 1 root root  238 Mar 13 21:41 40-gentoo.rules
-rw-r--r-- 1 root root 2.4K Mar 13 21:41 42-usb-hid-pm.rules
-rw-r--r-- 1 root root 3.0K Mar 13 21:41 50-udev-default.rules
-rw-r--r-- 1 root root  646 Mar 13 21:41 60-cdrom_id.rules
-rw-r--r-- 1 root root  616 Mar 13 21:41 60-persistent-alsa.rules
-rw-r--r-- 1 root root 2.5K Mar 13 21:41 60-persistent-input.rules
-rw-r--r-- 1 root root  947 Mar 13 21:41 60-persistent-serial.rules
-rw-r--r-- 1 root root 5.4K Mar 13 21:41 60-persistent-storage.rules
-rw-r--r-- 1 root root 1.4K Mar 13 21:41 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root  769 Mar 13 21:41 60-persistent-v4l.rules
-rw-r--r-- 1 root root  166 Mar 13 21:41 61-accelerometer.rules
-rw-r--r-- 1 root root  418 Mar 13 21:41 64-btrfs.rules
-r--r--r-- 1 root root 1.1K Jan 21 09:31 69-dm-lvm-metad.rules
-rw-r--r-- 1 root root 2.6K Aug  8  2012 70-udev-acl.rules
-rw-r--r-- 1 root root   38 Mar 19  2012 70-xorg-vboxmouse.rules
-rw-r--r-- 1 root root  417 Mar 13 21:41 75-net-description.rules
-rw-r--r-- 1 root root  174 Mar 13 21:41 75-probe_mtd.rules
-rw-r--r-- 1 root root  392 Mar 13 21:41 75-tty-description.rules
-rw-r--r-- 1 root root 4.3K Mar 13 21:41 78-sound-card.rules
-rw-r--r-- 1 root root  643 Mar 13 21:41 80-drivers.rules
-rw-r--r-- 1 root root  415 Mar 13 21:41 80-net-name-slot.rules
-rw-r--r-- 1 root root 6.9K Mar  6 10:22 80-udisks2.rules
-rw-r--r-- 1 root root  160 Feb 11 10:37 90-alsa-restore.rules
-rw-r--r-- 1 root root  280 Mar 13 20:53 90-network.rules
-r--r--r-- 1 root root  479 Jan 21 09:31 95-dm-notify.rules
-rw-r--r-- 1 root root 3.7K Mar 13 21:41 95-keyboard-force-release.rules
-rw-r--r-- 1 root root  13K Mar 13 21:41 95-keymap.rules
-rw-r--r-- 1 root root  155 Mar 13 21:41 95-udev-late.rules
-rw-r--r-- 1 root root   28 Jan 21 09:36 99-fuse.rules
-rw-r--r-- 1 root root   51 Jan 15 09:16 99-ntfs3g.rules
-rw-r--r-- 1 root root  462 Mar  8 14:33 99-nvidia.rules


As I don't have a scanner, I wouldn't expect to have the 41-sane.rules file there.

I think the first problem is that whilst calling /usr/libexec/cups/backend/usb shows my printer, there are no local printer options in the CUPS web administration interface. Instead, when I increase the LogLevel to 'debug', I see that /usr/libexec/backend/usb exited without errors, but didn't find anything:

Code:

D [14/Mar/2013:09:52:37 -0500] [Client 12] POST /admin/ HTTP/1.1
D [14/Mar/2013:09:52:37 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [14/Mar/2013:09:52:37 -0500] [Client 12] Authorized as root using Basic
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[0] = "/usr/libexec/cups/cgi-bin/admin.cgi"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/html"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/libexec/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[9] = "PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[10] = "SERVER_ADMIN=$ADMIN@$HOST"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[11] = "SOFTWARE=CUPS/1.6.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[13] = "USER=root"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[14] = "CUPS_MAX_MESSAGE=2047"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[15] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[17] = "IPP_PORT=631"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[18] = "AUTH_TYPE=Basic"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[19] = "LANG=en_GB.UTF8"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[20] = "REDIRECT_STATUS=1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[21] = "GATEWAY_INTERFACE=CGI/1.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[22] = "SERVER_NAME=localhost"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[23] = "SERVER_PORT=631"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[24] = "REMOTE_ADDR=127.0.0.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[25] = "REMOTE_HOST=localhost"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[26] = "SCRIPT_NAME=/admin/"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[27] = "SCRIPT_FILENAME=/usr/share/cups/html/admin/"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[28] = "REMOTE_USER=root"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[29] = "SERVER_PROTOCOL=HTTP/1.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[30] = "HTTP_COOKIE=org.cups.sid=aab8e99e1e469be2a45e3ebd7853fab7"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[31] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.28 Safari/537.31"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[32] = "HTTP_REFERER=http://localhost:631/admin"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[33] = "REQUEST_METHOD=POST"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[34] = "CONTENT_LENGTH=60"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[35] = "CONTENT_TYPE=application/x-www-form-urlencoded"
D [14/Mar/2013:09:52:37 -0500] [CGI] Started /usr/libexec/cups/cgi-bin/admin.cgi (PID 7430)
I [14/Mar/2013:09:52:37 -0500] [Client 12] Started "/usr/libexec/cups/cgi-bin/admin.cgi" (pid=7430)
D [14/Mar/2013:09:52:37 -0500] [Client 12] file=14
D [14/Mar/2013:09:52:37 -0500] [CGI] admin.cgi started...
D [14/Mar/2013:09:52:37 -0500] [Client 13] Accepted from localhost (Domain)
D [14/Mar/2013:09:52:37 -0500] [CGI] http=0x7f302ce0c5f0
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetVariable: SECTION="admin"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetVariable: REFRESH_PAGE=""
D [14/Mar/2013:09:52:37 -0500] [CGI] org.cups.sid cookie is "aab8e99e1e469be2a45e3ebd7853fab7"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetVariable: org.cups.sid="aab8e99e1e469be2a45e3ebd7853fab7"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetVariable: OP="add-printer"
D [14/Mar/2013:09:52:37 -0500] [CGI] op="add-printer"...
D [14/Mar/2013:09:52:37 -0500] [CGI] do_am_printer: DEVICE_URI="(null)"
D [14/Mar/2013:09:52:37 -0500] [CGI] Getting list of devices...
D [14/Mar/2013:09:52:37 -0500] [Client 13] POST / HTTP/1.1
D [14/Mar/2013:09:52:37 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:37 -0500] [Client 13] No authentication data provided.
D [14/Mar/2013:09:52:37 -0500] [Client 13] 2.0 CUPS-Get-Devices 1
D [14/Mar/2013:09:52:37 -0500] CUPS-Get-Devices
D [14/Mar/2013:09:52:37 -0500] cupsdIsAuthorized: username=""
D [14/Mar/2013:09:52:37 -0500] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost
D [14/Mar/2013:09:52:37 -0500] [Client 13] WWW-Authenticate: Basic realm="CUPS", trc="y"
D [14/Mar/2013:09:52:37 -0500] [Client 13] HTTP_WAITING Closing on EOF
D [14/Mar/2013:09:52:37 -0500] [Client 13] Closing connection.
D [14/Mar/2013:09:52:37 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:37 -0500] [Client 13] Accepted from localhost (Domain)
D [14/Mar/2013:09:52:37 -0500] [Client 15] Accepted from localhost (Domain)
D [14/Mar/2013:09:52:37 -0500] [Client 13] HTTP_WAITING Closing on EOF
D [14/Mar/2013:09:52:37 -0500] [Client 13] Closing connection.
D [14/Mar/2013:09:52:37 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:37 -0500] [Client 15] POST / HTTP/1.1
D [14/Mar/2013:09:52:37 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:37 -0500] [Client 15] Authorized as root using Local
D [14/Mar/2013:09:52:37 -0500] [Client 15] 2.0 CUPS-Get-Devices 1
D [14/Mar/2013:09:52:37 -0500] CUPS-Get-Devices
D [14/Mar/2013:09:52:37 -0500] cupsdIsAuthorized: username="root"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[0] = "/usr/libexec/cups/daemon/cups-deviced"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[1] = "1"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[2] = "0"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[3] = "5"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[4] = "4"
D [14/Mar/2013:09:52:37 -0500] [CGI] argv[5] = "requested-attributes=all"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/html"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/libexec/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[9] = "PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[10] = "SERVER_ADMIN=$ADMIN@$HOST"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[11] = "SOFTWARE=CUPS/1.6.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[13] = "USER=root"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[14] = "CUPS_MAX_MESSAGE=2047"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[15] = "CUPS_SERVER=/var/run/cups/cups.sock"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[17] = "IPP_PORT=631"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[18] = "AUTH_TYPE=Local"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[19] = "LANG=en_GB.UTF8"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[20] = "REDIRECT_STATUS=1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[21] = "GATEWAY_INTERFACE=CGI/1.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[22] = "SERVER_NAME=localhost"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[23] = "SERVER_PORT=631"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[24] = "REMOTE_ADDR=localhost"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[25] = "REMOTE_HOST=localhost"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[26] = "SCRIPT_NAME=/"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[27] = "SCRIPT_FILENAME=/usr/share/cups/html/"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[28] = "REMOTE_USER=root"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[29] = "SERVER_PROTOCOL=HTTP/1.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[30] = "HTTP_USER_AGENT=CUPS/1.6.1"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[31] = "REQUEST_METHOD=POST"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[32] = "CONTENT_LENGTH=91"
D [14/Mar/2013:09:52:37 -0500] [CGI] envp[33] = "CONTENT_TYPE=application/ipp"
D [14/Mar/2013:09:52:37 -0500] [CGI] Started /usr/libexec/cups/daemon/cups-deviced (PID 7431)
I [14/Mar/2013:09:52:37 -0500] [Client 15] Started "/usr/libexec/cups/daemon/cups-deviced" (pid=7431)
D [14/Mar/2013:09:52:37 -0500] [Client 15] file=13
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/parallel (PID 7432)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/https (PID 7433)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/socket (PID 7434)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/lpd (PID 7435)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/ipps (PID 7436)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/usb (PID 7437)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/snmp (PID 7438)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/http (PID 7439)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/ipp (PID 7440)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/beh (PID 7441)
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Started backend /usr/libexec/cups/backend/serial (PID 7442)
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "https"...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7432 (parallel) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7433 (https) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "socket"...
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "lpd"...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7434 (socket) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7435 (lpd) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] list_devices
D [14/Mar/2013:09:52:37 -0500] Script header: Content-Type: application/ipp
D [14/Mar/2013:09:52:37 -0500] Script header:
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "ipps"...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7436 (ipps) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[0]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[0]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[0]="Internet Printing Protocol (https)"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[0]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[0]="https"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[0]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[1]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[1]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[1]="AppSocket/HP JetDirect"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[1]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[1]="socket"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[1]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[2]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[2]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[2]="LPD/LPR Host or Printer"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[2]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[2]="lpd"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[2]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "http"...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7439 (http) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[3]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[3]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[3]="Internet Printing Protocol (ipps)"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[3]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[3]="ipps"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[3]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] Unable to create IPv6 socket: Address family not supported by protocol
D [14/Mar/2013:09:52:37 -0500] [CGI] libusb_get_device_list=13
D [14/Mar/2013:09:52:37 -0500] [CGI] Failed to open device, code: -3
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7442 (serial) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7437 (usb) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "ipp"...
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[4]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[4]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[4]="Internet Printing Protocol (http)"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[4]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[4]="http"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[4]=""
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7440 (ipp) exited with no errors.
D [14/Mar/2013:09:52:37 -0500] [CGI] Flushed attributes...
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] Found device "beh"...
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_class[5]="network"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_id[5]=""
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_info[5]="Internet Printing Protocol (ipp)"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_make_and_model[5]="Unknown"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_uri[5]="ipp"
D [14/Mar/2013:09:52:37 -0500] [CGI] cgiSetArray: device_location[5]=""
D [14/Mar/2013:09:52:37 -0500] [cups-deviced] PID 7441 (beh) exited with no errors.
D [14/Mar/2013:09:52:39 -0500] [cups-deviced] PID 7438 (snmp) exited with no errors.
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_class[6]="network"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_id[6]=""
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_info[6]="Backend Error Handler"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_make_and_model[6]="Unknown"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_uri[6]="beh"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetArray: device_location[6]=""
D [14/Mar/2013:09:52:39 -0500] PID 7431 (/usr/libexec/cups/daemon/cups-deviced) exited with no errors.
D [14/Mar/2013:09:52:39 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:39 -0500] [CGI] Got device list!
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetVariable: CUPS_GET_DEVICES_DONE="1"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetVariable: TITLE="Add Printer"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetVariable: SERVER_NAME="localhost"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetVariable: REMOTE_USER="root"
D [14/Mar/2013:09:52:39 -0500] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.6.1"
D [14/Mar/2013:09:52:39 -0500] Script header: Content-Type: text/html;charset=utf-8
D [14/Mar/2013:09:52:39 -0500] Script header:
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [CGI] Regular expression "[a-z]+://"
D [14/Mar/2013:09:52:39 -0500] [Client 15] HTTP_WAITING Closing on EOF
D [14/Mar/2013:09:52:39 -0500] [Client 15] Closing connection.
D [14/Mar/2013:09:52:39 -0500] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [14/Mar/2013:09:52:39 -0500] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [14/Mar/2013:09:52:39 -0500] PID 7430 (/usr/libexec/cups/cgi-bin/admin.cgi) exited with no errors.


Thank you for the help thus far.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Mar 14, 2013 4:49 pm    Post subject: Reply with quote

I am having a similar problem.
I don't have /dev/usb.
I do have /dev/bus/usb however.
It contains other directories:/001,002,003,004,005.
All I get is this:
Code:
ls -ld /dev/bus/usb/001
drwxr-xr-x 2 root root 100 Mar 14 16:10 /dev/bus/usb/001

My problem is also probably due to udev.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Thu Mar 14, 2013 6:43 pm    Post subject: Reply with quote

I'm seeing the "Waiting for printer to become available" message as well. Haven't investigated too far yet as I have not been feeling so good.
I have have also lost my TTY's. That said, the root partition filled up during the emerge prior, so I was thinking that had caused my problems.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Thu Mar 14, 2013 7:48 pm    Post subject: Reply with quote

I am getting
Code:
 CUPS+Gutenprint v5.2.9   Processing - "Unable to locate printer "hostname"."

Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 1:49 am    Post subject: Reply with quote

Looks like someone over at the Arch fora was having the same symptoms, but that solution didn't make sense in my case:

https://bbs.archlinux.org/viewtopic.php?pid=1148428#p1148428

I'm still open to suggestions, as I haven't found anything that has helped as of yet. :(

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 2:40 am    Post subject: Reply with quote

This is probably a long shot, but does it matter that the version of udev and the virtual for udev have different versioning?

Code:

Calculating dependencies... done!
[ebuild   R    ] sys-fs/udev-198-r1  USE="acl gudev hwdb introspection keymap kmod openrc -doc (-selinux) -static-libs" 2,092 kB
[ebuild   R    ] virtual/udev-197-r1  USE="gudev hwdb introspection keymap kmod (-selinux) -static-libs" 0 kB
[ebuild   R    ] sys-fs/udev-init-scripts-24  5 kB


I would imagine that it is irrelevant, but I'm really running out of ideas.

Cheers,
Zach
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
asm64
n00b
n00b


Joined: 25 Apr 2008
Posts: 27
Location: г.Кемерово

PostPosted: Fri Mar 15, 2013 8:36 am    Post subject: Reply with quote

Hi. I solved with add the following strings to /etc/portage/package.mask

>=sys-fs/udev-198
>=sys-apps/systemd-198
>=sys-apps/hwids-20130309

I think that problem in >=hwids-20130309 because my USB OKI 9655 printer was not found with cups, but strange that USB HP 1120 was found!!! (8-o)
More things. After upgrade/downgrade hwids we have a newly installed database in /etc, don't forget to do etc-update.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 1:53 pm    Post subject: Reply with quote

@asm64,

Thank you for the suggestion. I had thought about downgrading UDEV last evening, but didn't do it. I decided to follow your recommendation (sans-systemd, as I don't use it at this time), and it rectified the problem! So it appears that it is, indeed, a problem with either >=udev-198 and/or >=hwids=20130309. I will file the bug report now.

Thanks again.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 2:06 pm    Post subject: Reply with quote

Bug report filed:

https://bugs.gentoo.org/show_bug.cgi?id=461816
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Fri Mar 15, 2013 2:57 pm    Post subject: Reply with quote

Use hwids-20130309-r1 instead of hwids-20130309. hwids-20130309 had misgenerated hwdb.bin file, hwids-20130309-r1 fixed it.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 6:21 pm    Post subject: Reply with quote

Thanks, Samuli. I just updated to the -r1 release of hwids, and it works fine. So, it seems that it is indeed related to udev, and not hwids.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Fri Mar 15, 2013 6:34 pm    Post subject: Reply with quote

I wasn't so lucky, masking allowed printing to work, however reinstalling hwids-20130309-r1 stopped it working.

Interestingly, each time I downgraded I had to run etc-update against '/etc/udev/hwdb.bin' but there were no visible changes
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Fri Mar 15, 2013 6:45 pm    Post subject: Reply with quote

@baaann,

Strange, but it might be related to individual printer models. The first revision (-r1) worked for me. Regarding the 'etc-update' or 'dispatch-conf,' that makes sense since it is a binary file. If it were a text file, then dispatch-conf would diff it against the updated one.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Fri Mar 15, 2013 6:49 pm    Post subject: Reply with quote

baaann wrote:
I wasn't so lucky, masking allowed printing to work, however reinstalling hwids-20130309-r1 stopped it working.

Interestingly, each time I downgraded I had to run etc-update against '/etc/udev/hwdb.bin' but there were no visible changes


OK. tested further, keeping the mask on '>=sys-fs/udev-198' printing works with hwids-20130309-r1. So yes the problem appears to be caused by udev-198-r1

@NathanZachary
Did you leave the mask on '>=sys-fs/udev-198' ?
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Mar 16, 2013 7:15 am    Post subject: Reply with quote

hwids ebuild had a problem, just use -r1 and make sure /etc/udev/hwdb.bin is properly generated, it should be about 5MB size binary file, not like 4K size small binary file
`udevadm hwdb --update` will re-generate it too
i'd propably boot the system using 198 and correctly generated hwdb.bin to see what happens...
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Sat Mar 16, 2013 5:36 pm    Post subject: Reply with quote

@baaann,

Yes, I left the mask on >=sys-fs/udev-198. At this time, I still can't print with it (or add a new local USB printer).

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Mar 16, 2013 7:47 pm    Post subject: Reply with quote

My printer won't work with udev-198.
Please look at this post:
https://forums.gentoo.org/viewtopic-t-954128-highlight-.html
This was done after reading this post.
I downgraded udev to 197-r8.
If I hadn't done that I wouldn't have succeeded like in the post in the link.
My hwdb.bin is over 5M.
Today I tried udev-198 again,thinking that maybe it was just the CUPS fuckup.
Well it wasn't:couldn't print and lots of crazy errors in cups's error_log.
Now back on udev-197-r8 printing works fine.
Kernel 3.8.3
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Mar 16, 2013 8:20 pm    Post subject: Reply with quote

Found this:

http://www.chakra-project.org/bbs/viewtopic.php?id=9883&p=2

"The issues with systemd 198 are now showing up in bug reports in other places, so 198 is removed from testing. Please downgrade with pacman -Suu, or just pacman -S systemd."

"Another issue.
I CAN'T PRINT WITH SYSTEMD 198. Even though a quick lsusb detects my printer, CUPS doesn't know it's there, and if I delete it, I can't readd it again as long as I boot with systemd 198. Going back to systemd 197 solves the issue and lets me quickly readd my printer."

And I can find more with simple googling. Seems like 198 is a bit broken. Does that silly "lsusb" trick work for anyone from the above?

Or is this problem limited to cups-1.6, does cups-1.5 keep on working?

And test the /etc/hosts, /etc/resolv.conf stuff from http://bbs.archlinux.org/viewtopic.php?id=146449 so it doesn't bail out on that I guess. I don't have printer available right now, only reading of recent problems.
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Sat Mar 16, 2013 10:04 pm    Post subject: Reply with quote

I am sorry ssuominen but I have my belly full of this.
My printer now works and I hate to risk having a non working printer again.
Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Mar 16, 2013 10:55 pm    Post subject: Reply with quote

gerard82 wrote:
I am sorry ssuominen but I have my belly full of this.
My printer now works and I hate to risk having a non working printer again.
Gerard.


No problem. I'm of course happy it's working for you now. If I don't figure this out by monday without printer, I'll have one then for testing.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2598

PostPosted: Sun Mar 17, 2013 1:57 pm    Post subject: Reply with quote

@ssuominen,

The /etc/hosts and /etc/resolv.conf stuff listed on the Arch BBS didn't work for me at all. Hope that helps.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
manny15
Guru
Guru


Joined: 01 Dec 2002
Posts: 473
Location: USA

PostPosted: Mon Mar 18, 2013 11:47 pm    Post subject: Reply with quote

I was also getting the "Waiting for printer to become available" message. I was running sys-fs/udev-198-r1 and sys-apps/hwids-20130309-r1. I tried readding the printer but I could not add a USB printer. I downgraded to sys-fs/udev-197-r8 and left sys-apps/hwids as-is. Then I was able to readd the printer and now I can print again.

Thanks.
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Tue Mar 19, 2013 6:15 am    Post subject: Reply with quote

I don't see how this would have any difference with 197-r8 or 198-r1, but is CONFIG_USB_PRINTER=n set in kernel? The "new" cups doesn't like CONFIG_USB_PRINTER=y and uses libusb instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum