On Mon, Nov 24, 2014 at 10:04:59PM +0000, Bernte wrote: > Hi - > > Since upgrading to 5.6, I am having problems to detect my Brother USB > printer in CUPS. > > The problem is that the printer is not found by the 'usb' backend:
Your cups package is not up to date. You need the one from 5.6 stable. > # /usr/local/libexec/cups/backend/usb > DEBUG: Loading USB quirks from "/usr/local/share/cups/usb". > DEBUG: Loaded 68 quirks. > DEBUG: list_devices > DEBUG: libusb_get_device_list=8 > DEBUG: Failed to check whether 04f9:001a has the "usblp" kernel module > attached > > The error looks suspicious, though I did not find anything useful about it > googling the web (it seems to be an error caused by libusb). > > The printer does show up in usbdevs -vd: > > # usbdevs -vd > Controller /dev/usb0: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > RDC(0x17f3), rev 1.00 > uhub0 > port 1 powered > port 2 powered > Controller /dev/usb1: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), > RDC(0x17f3), rev 1.00 > uhub1 > port 1 powered > port 2 powered > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > RDC(0x17f3), rev 1.00 > uhub2 > port 1 powered > port 2 addr 2: full speed, self powered, config 1, product 0x001a(0x001a), > Brother Industries(0x04f9), rev 1.00 > ugen0 > Controller /dev/usb3: > addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), > RDC(0x17f3), rev 1.00 > uhub3 > port 1 powered > port 2 addr 2: full speed, power 100 mA, config 1, Logitech BT > Mini-Receiver(0x0b04), Logitech(0x046d), rev 49.00 > uhub4 > port 1 powered > port 2 addr 3: full speed, power 98 mA, config 1, Logitech BT > Mini-Receiver(0xc713), Logitech(0x046d), rev 49.00, iSerialNumber > 001F203C2558 > uhidev0 > port 3 addr 4: full speed, power 98 mA, config 1, Logitech BT > Mini-Receiver(0xc714), Logitech(0x046d), rev 49.00, iSerialNumber > 001F203C2558 > uhidev1 > > As explained in the pkg-readme, I have disabled the ulpt driver in the > kernel, as well as changed the ownership of the devices: > > # ls -la /dev/usb2 /dev/ugen0.* > > crw-rw---- 1 _cups wheel 63, 0 Nov 21 19:35 /dev/ugen0.00 > crw-rw---- 1 _cups wheel 63, 1 Nov 21 19:35 /dev/ugen0.01 > crw-rw---- 1 _cups wheel 63, 2 Nov 21 19:35 /dev/ugen0.02 > crw-rw---- 1 _cups wheel 63, 3 Nov 21 19:35 /dev/ugen0.03 > crw-rw---- 1 _cups wheel 63, 4 Nov 21 19:35 /dev/ugen0.04 > crw-rw---- 1 _cups wheel 63, 5 Nov 21 19:35 /dev/ugen0.05 > crw-rw---- 1 _cups wheel 63, 6 Nov 21 19:35 /dev/ugen0.06 > crw-rw---- 1 _cups wheel 63, 7 Nov 21 19:35 /dev/ugen0.07 > crw-rw---- 1 _cups wheel 63, 8 Nov 21 19:35 /dev/ugen0.08 > crw-rw---- 1 _cups wheel 63, 9 Nov 21 19:35 /dev/ugen0.09 > crw-rw---- 1 _cups wheel 63, 10 Nov 21 19:35 /dev/ugen0.10 > crw-rw---- 1 _cups wheel 63, 11 Nov 21 19:35 /dev/ugen0.11 > crw-rw---- 1 _cups wheel 63, 12 Nov 21 19:35 /dev/ugen0.12 > crw-rw---- 1 _cups wheel 63, 13 Nov 21 19:35 /dev/ugen0.13 > crw-rw---- 1 _cups wheel 63, 14 Nov 21 19:35 /dev/ugen0.14 > crw-rw---- 1 _cups wheel 63, 15 Nov 21 19:35 /dev/ugen0.15 > crw-rw---- 1 _cups wheel 61, 2 Nov 21 19:35 /dev/usb2 > > Any hints on how to track down my problem would be welcome. > > Regards, > Bernd > > dmesg: > > OpenBSD 5.6 (GENERIC) #2: Tue Oct 28 16:56:54 CET 2014 > > r...@stable-56-i386.mtier.org:/binpatchng/work-binpatch56-i386/src/sys/arch/i386/compile/GENERIC > cpu0: Vortex86 SoC (586-class) 934 MHz > cpu0: FPU,TSC,CX8,MMX > real mem = 1039691776 (991MB) > avail mem = 1010257920 (963MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 11/26/10, BIOS32 rev. 0 @ 0xf0010 > apm0 at bios0: Power Management spec V1.2 > pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000 > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2fe0/240 (13 entries) > pcibios0: no compatible PCI ICU found: ICU vendor 0x17f3 product 0x6036 > pcibios0: Warning, unable to fix up PCI interrupt routing > pcibios0: PCI bus #0 is the last bus > bios0: ROM list: 0xc0000/0x8000 > cpu0 at mainbus0: (uniprocessor) > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 vendor "RDC", unknown product 0x6022 rev 0x00 > rl0 at pci0 dev 1 function 0 "Realtek 8139" rev 0x10: irq 11, address > 44:4d:50:07:1b:19 > rlphy0 at rl0 phy 0: RTL internal PHY > rl1 at pci0 dev 2 function 0 "Realtek 8139" rev 0x10: irq 11, address > 44:4d:50:07:1b:1a > rlphy1 at rl1 phy 0: RTL internal PHY > pcib0 at pci0 dev 7 function 0 vendor "RDC", unknown product 0x6036 rev 0x00 > vte0 at pci0 dev 8 function 0 "RDC R6040 Ethernet" rev 0x00: irq 6, address > 00:1b:eb:25:30:9e > rdcphy0 at vte0 phy 1: R6040 10/100 PHY, rev. 1 > ohci0 at pci0 dev 10 function 0 "RDC R6060 USB" rev 0x12: irq 7, version > 1.0, legacy support > ehci0 at pci0 dev 10 function 1 "RDC R6061 USB2" rev 0x03: irq 3 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "RDC EHCI root hub" rev 2.00/1.00 addr 1 > ohci1 at pci0 dev 11 function 0 "RDC R6060 USB" rev 0x12: irq 5, version > 1.0, legacy support > ehci1 at pci0 dev 11 function 1 "RDC R6061 USB2" rev 0x03: irq 9 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "RDC EHCI root hub" rev 2.00/1.00 addr 1 > pciide0 at pci0 dev 12 function 0 "RDC R1011 IDE" rev 0x01: DMA > (unsupported), channel 0 configured to compatibility, channel 1 configured > to compatibility > pciide0: channel 0 ignored (not responding; disabled or no drives?) > wd0 at pciide0 channel 1 drive 0: <SanDisk SDSSDXP120G> > wd0: 1-sector PIO, LBA48, 114473MB, 234441648 sectors > vga1 at pci0 dev 13 function 0 vendor "RDC", unknown product 0x2012 rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > azalia0 at pci0 dev 14 function 0 "RDC R3010 HDA" rev 0x01: irq 10 > azalia0: codecs: Realtek ALC262 > audio0 at azalia0 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: probed fifo depth: 0 bytes > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 "RDC OHCI root hub" rev 1.00/1.00 addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 "RDC OHCI root hub" rev 1.00/1.00 addr 1 > ugen0 at uhub2 port 2 "Brother Industries product 0x001a" rev 1.00/1.00 addr > 2 > uhub4 at uhub3 port 2 "Logitech Logitech BT Mini-Receiver" rev 2.00/49.00 > addr 2 > uhidev0 at uhub4 port 2 configuration 1 interface 0 "Logitech Logitech BT > Mini-Receiver" rev 2.00/49.00 addr 3 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub4 port 3 configuration 1 interface 0 "Logitech Logitech BT > Mini-Receiver" rev 2.00/49.00 addr 4 > uhidev1: iclass 3/1, 18 report ids > ums0 at uhidev1 reportid 2: 12 buttons, Z dir > wsmouse0 at ums0 mux 0 > uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 > uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 > ums1 at uhidev1 reportid 5: 8 buttons, Z dir > wsmouse1 at ums1 mux 0 > uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0 > uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0 > uhid4 at uhidev1 reportid 18: input=45, output=45, feature=0 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on wd0a (e9660b60d2e0a900.a) swap on wd0b dump on wd0b > ugen0 detached > ugen0 at uhub2 port 2 "Brother Industries product 0x001a" rev 1.00/1.00 addr > 2 > -- Antoine