2006-04-14 Gadgets

Hooked Claudia’s brother HL-5030 printer, plugged it into my iBook, and tried to print. No drivers! Googled for brother+drivers, downloaded the drivers, installed them, and printed. Worked! Noticed that those were CUPS drivers.

Booted up SlackWare box, tried to figure out how CUPS actually works. Made `/etc/rc.d/rc.cups` executable, ran it with the `start` parameter, looked at http://localhost:631/, didn’t get it, downloaded the drivers for Linux – .deb or .rpm – figured out how to extract the stuff from the .deb file, copied it into my directory tree using *stow*, installed it by looking at the *postinst* script. Looked at http://localhost:631/ again, found the new printer!

SlackWare

http://localhost:631/

http://localhost:631/

Tried to print the test page. Nothing.

Tried to print a PDF file. Nothing.

Everything seems to work except for the printing.

They’re all listed on http://localhost:631/jobs?which_jobs=completed – but the printer didn’t print them.

http://localhost:631/jobs?which_jobs=completed

I think I’m going to cry a little, now.

~ alex $ lpq
HL5030 is ready
no entries
~ alex $ lpstat -p -d
printer HL5030 is idle.  enabled since Jan 01 00:00
system default destination: HL5030

When I look at http://localhost:631/printers/HL5030, I see that the device URI is `usb:/dev/usb/lp0`. I tried modifying the printer and choosing different USB devices + printing test pages, but that just resultet in error messages. When I use `lp0`, there are no error messages on the printer page. Thus, the CUPS system seems to know about the printer.

http://localhost:631/printers/HL5030

It’s just the jobs that vanish into nirvana.

The log files in `/var/log/cups` don’t show anything unusual.

The spool seems to know about all the print jobs:

root@confusibombus:/home/alex# ls /var/spool/cups/
c00001  c00004  c00007  c00010  c00013  c00016  c00019  tmp
c00002  c00005  c00008  c00011  c00014  c00017  c00020
c00003  c00006  c00009  c00012  c00015  c00018  c00021

The spool itself is considered empty:

root@confusibombus:/home/alex# lpstat -o

Grrrr.

~ alex $ lp bbdb.ps
request id is HL5030-24 (1 file(s))

No effect.

USB stuff seems to be ok, too. Notice the printer, here:

~ alex $ tail /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04f9 ProdID=0015 Rev= 1.00
S:  Manufacturer=Brother
S:  Product=HL-5030
S:  SerialNumber=D3J309331
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Permissions?

~ alex $ ls -l /dev/usb/lp0
crw-rw----  1 root lp 180, 0 2001-03-25 23:04 /dev/usb/lp0
~ alex $ groups
users bin disk floppy

Maybe that’s it?

root@confusibombus:/home/alex# usermod -G users,bin,disk,floppy,lp alex

Logging out and logging back in had no effect. 🙁

Maybe the cups daemon has a different group?

~ alex $ ps -o pid,group,cmd xa|grep cup
 2098 root     /usr/sbin/cupsd

I don’t think the cups daemon should have a problem writing anywhere. ;)

`dmesg` output:

Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003dffc000 (usable)
 BIOS-e820: 000000003dffc000 - 000000003dfff000 (ACPI data)
 BIOS-e820: 000000003dfff000 - 000000003e000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=342
Initializing CPU#0
Detected 3000.923 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 5989.99 BogoMIPS
Memory: 904376k/917504k available (1832k kernel code, 12740k reserved, 607k data, 120k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf10c0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router default [1039/0963] at 00:02.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller at PCI slot 00:02.5
SIS5513: chipset revision 0
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS 962/963 MuTIOL IDE UDMA133 controller
    ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST313021A, ATA DISK drive
hdb: Maxtor 6Y120L0, ATA DISK drive
blk: queue c03af460, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03af59c, I/O limit 4095Mb (mask 0xffffffff)
hdc: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6Y120P0, ATA DISK drive
blk: queue c03af9f0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 25434228 sectors (13022 MB) w/512KiB Cache, CHS=1583/255/63, UDMA(66)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 240121728 sectors (122942 MB) w/2048KiB Cache, CHS=14946/255/63, UDMA(133)
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=238216/16/63, UDMA(133)
hdc: attached ide-cdrom driver.
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
 hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 >
 hdd: hdd1 hdd2 hdd3 hdd4 < hdd5 hdd6 hdd7 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  3282.000 MB/sec
   32regs    :  2204.400 MB/sec
   pIII_sse  :  5196.000 MB/sec
   pII_mmx   :  3266.000 MB/sec
   p5_mmx    :  3269.600 MB/sec
raid5: using function: pIII_sse (5196.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 136544k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Unsupported SiS chipset (device id: 0661), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,67), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,70), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,66), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,67), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,69), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,70), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,71), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
wlan: 0.8.4.5 (EXPERIMENTAL)
ath_rate_onoe: 1.0
ath_pci: 0.9.4.12 (EXPERIMENTAL)
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 5.6 phy 4.1 radio 1.7
ath0: 802.11 address: 00:09:5b:e7:15:2c
ath0: Use hw queue 0 for WME_AC_BE traffic
ath0: Use hw queue 1 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Atheros 5212: mem=0xe4000000, irq=10
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[e5000000-e50007ff]  Max Packet=[2048]
sis900.c: v1.08.07 11/02/2003
eth0: VIA 6103 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0x8800, IRQ 3, 00:11:2f:4a:c1:7f.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci_hcd 00:03.3: Silicon Integrated Systems [SiS] USB 2.0 Controller
ehci_hcd 00:03.3: irq 9, pci mem f88ac000
usb.c: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 00:03.3
ehci_hcd 00:03.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0001b7000000b64e]
hub.c: USB hub found
hub.c: 6 ports detected
usb-ohci.c: USB OHCI at membase 0xf88b4000, IRQ 5
usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb-ohci.c: USB OHCI at membase 0xf88b6000, IRQ 9
usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 3 ports detected
intel8x0_measure_ac97_clock: measured 44369 usecs
intel8x0: clocking to 48000
hub.c: new USB device 00:03.3-3, assigned address 2
usb.c: USB device 2 (vend/prod 0x59f/0x351) is not claimed by any active driver.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
  Vendor: Maxtor    Model: 7Y250P0           Rev: YAR4
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 18:53:41 Jun  5 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
hub.c: new USB device 00:03.3-4, assigned address 3
usb.c: USB device 3 (vend/prod 0x4f9/0x15) is not claimed by any active driver.
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0015
printer.c: v0.13: USB Printer Device Class driver
usb.c: USB disconnect on device 00:03.3-4 address 3
printer.c: usblp0: removed
hub.c: new USB device 00:03.3-4, assigned address 4
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0015

Looks as if some USB lp0 should be the printer...

Next, I edited `/etc/cups/cups.conf` and changed LogLevel from `info` to `debug`. Then I restarted using `/etc/rc.d/rc.cups restart`.

And here’s what `/var/log/cups/error_log` has to say:

I [15/Apr/2006:18:24:54 +0200] Listening to 0:631
D [15/Apr/2006:18:24:54 +0200] AddLocation: added location '/'
D [15/Apr/2006:18:24:54 +0200] DenyIP: / deny 00000000/00000000
D [15/Apr/2006:18:24:54 +0200] AllowIP: / allow 7f000001/ffffffff
D [15/Apr/2006:18:24:54 +0200] AddLocation: added location '/admin'
D [15/Apr/2006:18:24:54 +0200] DenyIP: /admin deny 00000000/00000000
D [15/Apr/2006:18:24:54 +0200] AllowIP: /admin allow 7f000001/ffffffff
I [15/Apr/2006:18:24:54 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
I [15/Apr/2006:18:24:54 +0200] Configured for up to 100 clients.
I [15/Apr/2006:18:24:54 +0200] Allowing up to 100 client connections per host.
I [15/Apr/2006:18:24:54 +0200] Full reload is required.
D [15/Apr/2006:18:24:54 +0200] LoadAllPrinters: Loading printer HL5030...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "ipp"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "lpd"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb://Brother/HL-5030%20series"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp1"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp2"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp3"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp4"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp5"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp6"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp7"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp8"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp9"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp10"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp11"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp12"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp13"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp14"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "usb:/dev/usb/lp15"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "scsi"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "parallel:/dev/lp0"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS0?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS1?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS2?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS3?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS4?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS5?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS6?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS7?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS8?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS9?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS10?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS11?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS12?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS13?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS14?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS15?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS16?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS17?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS18?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS19?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS20?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS21?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS22?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS23?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS24?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS25?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS26?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS27?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS28?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS29?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS30?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "serial:/dev/ttyS31?baud=115200"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "socket"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "smb"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "http"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "epson:/dev/lp0"...
D [15/Apr/2006:18:24:54 +0200] LoadDevices: Added device "canon:/dev/lp0"...
I [15/Apr/2006:18:24:54 +0200] LoadPPDs: Read "/etc/cups/ppds.dat", 562 PPDs...
D [15/Apr/2006:18:24:54 +0200] LoadPPDs: Updating ppd "brhl5030_cups.ppd"...
I [15/Apr/2006:18:24:54 +0200] LoadPPDs: Wrote "/etc/cups/ppds.dat", 562 PPDs...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Scanning /var/spool/cups...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 1...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 2...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 3...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 4...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 5...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 6...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 7...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 8...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 9...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 10...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 11...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 12...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 14...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 13...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 15...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 16...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 17...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 18...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 19...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 20...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 21...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 22...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 23...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 24...
D [15/Apr/2006:18:24:54 +0200] LoadAllJobs: Loading attributes for job 25...
I [15/Apr/2006:18:24:54 +0200] Full reload complete.
D [15/Apr/2006:18:24:54 +0200] StartListening: NumListeners=1
D [15/Apr/2006:18:24:54 +0200] StartListening: address=00000000 port=631
D [15/Apr/2006:18:24:54 +0200] ResumeListening: setting input bits...

Notice how there is no `/dev/usb/lp0` – there’s only `/dev/usb/lp1` and a `/dev/lp0`.

I went back to modify the printer again on http://localhost:631/printers/HL5030 and changed the device type again (picking the first USB printer). I think that’s what it used to be, but I’m ready to try again.

http://localhost:631/printers/HL5030

Strange: Now the printer page says that the device URI is `usb://Brother/HL-5030%20series` – hm, that’s new!

But, unfortunately, still no effect.

​#Gadgets

Comments

(Please contact me if you want to remove your comment.)

It turns out that EricRaymond has written a rant about CUPS on 2006-04-11 – only a few days before I posted my original CUPS story! His opinion? “I eventually had to apply m4d skillz gained from wrestling with sendmail to solve a problem the CUPS documentation never even hinted about.”

EricRaymond

a rant about CUPS

– Alex Schroeder 2006-06-14 14:02 UTC

Alex Schroeder