CUPS and OpenBSD

Bambero bambero at gmail.com
Tue Jun 12 10:38:18 PDT 2007


Hello

I cannot configure USB printer (CANON ip4200) under OpenBSD.

Here are some outputs:

# usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: iP4200, Canon

# dmesgu
...
lpt0 at uhub4 port 7 configuration 1 interface 0
ulpt0: Canon iP4200, rev 2.00/1.09, addr 2, iclass 7/1
ulpt0: using bi-directional mode
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
lpt0: out of paper
ehci_idone: ex=0xd1a0b100 is done!
...
ulpt0: at uhub4 port 7 (addr 2) disconnected
ulpt0 detached
ulpt0 at uhub4 port 7 configuration 1 interface 0
ulpt0: Canon iP4200, rev 2.00/1.09, addr 2, iclass 7/1
ulpt0: using bi-directional mode
ehci_idone: ex=0xd1e10400 is done!

/var/log/cups/error_log

I [12/Jun/2007:19:24:11 +0200] Listening to 0:631
D [12/Jun/2007:19:24:11 +0200] AddLocation: added location '/'
D [12/Jun/2007:19:24:11 +0200] DenyIP: / deny 00000000/00000000
D [12/Jun/2007:19:24:11 +0200] AllowIP: / allow 7f000001/ffffffff
D [12/Jun/2007:19:24:11 +0200] AllowIP: / allow c0a80002/ffffffff
D [12/Jun/2007:19:24:11 +0200] AddLocation: added location '/admin'
D [12/Jun/2007:19:24:11 +0200] DenyIP: /admin deny 00000000/00000000
D [12/Jun/2007:19:24:11 +0200] AllowIP: /admin allow 7f000001/ffffffff
D [12/Jun/2007:19:24:11 +0200] AllowIP: /admin allow c0a80002/ffffffff
I [12/Jun/2007:19:24:11 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [12/Jun/2007:19:24:11 +0200] Configured for up to 100 clients.
I [12/Jun/2007:19:24:11 +0200] Allowing up to 100 client connections per host.
I [12/Jun/2007:19:24:11 +0200] Full reload is required.
D [12/Jun/2007:19:24:11 +0200] LoadDevices: Added device "http"...
D [12/Jun/2007:19:24:11 +0200] LoadDevices: Added device "ipp"...
D [12/Jun/2007:19:24:11 +0200] LoadDevices: Added device "lpd"...
W [12/Jun/2007:19:24:41 +0200] LoadDevices: Backend did not respond within 30 seconds!
D [12/Jun/2007:19:24:43 +0200] LoadDevices: Added device "socket"...
D [12/Jun/2007:19:24:43 +0200] LoadDevices: Added device "usb:/dev/ulpt0"...
D [12/Jun/2007:19:24:43 +0200] LoadDevices: Added device "usb:/dev/ulpt1"...
I [12/Jun/2007:19:24:43 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 13851 PPDs...
I [12/Jun/2007:19:24:43 +0200] LoadPPDs: No new or changed PPDs...
D [12/Jun/2007:19:24:43 +0200] LoadAllJobs: Scanning /var/spool/cups...
I [12/Jun/2007:19:24:43 +0200] Full reload complete.
D [12/Jun/2007:19:24:43 +0200] StartListening: NumListeners=1
D [12/Jun/2007:19:27:24 +0200] StartListening: address=00000000 port=631
D [12/Jun/2007:19:27:24 +0200] ResumeListening: setting input bits...
d [12/Jun/2007:19:27:24 +0200] ResumeListening: Adding fd 0 to InputSet...
d [12/Jun/2007:19:27:24 +0200] StartBrowsing: Adding fd 2 to InputSet...
d [12/Jun/2007:19:27:24 +0200] StartServer: Adding fd 3 to InputSet...
d [12/Jun/2007:19:27:24 +0200] AddCert: adding certificate for pid 0
d [12/Jun/2007:19:27:25 +0200] select_timeout: 300 seconds to update root certificate


Backend did not respond within 30 seconds! -> What does it mean ?

I can see no devices when trying to add printer using web gui.

Regards
Bambero




More information about the cups mailing list