On Wed, Jan 29, 2014 at 04:57:51PM +0000, Maurice McCarthy wrote: > Just to say how I'm getting on after all the help from Stuart et al. The port > to install the escpr ppd files works like a charm. > > $ cupstestppd /usr/local/share/ppd/epson-inkjet-printer-escpr/*SX200* > < > /usr/local/share/ppd/epson-inkjet-printer-escpr/Epson-Stylus_SX200-epson-escpr-en.ppd: > PASS > WARN Size "TA4" should be the Adobe standard name "A4.Fullbleed". > WARN Size "4X6FULL" should be the Adobe standard name "4x6". > WARN Size "T4X6FULL" should be the Adobe standard name > "4x6.Fullbleed". > > Following the indications in cups package readme the browser tool finds the > usb printer automatically and pointing it at the ppd file configures it no > problem. > > $ lsusb > Bus 000 Device 003: ID 04b8:0849 Seiko Epson Corp. Stylus SX205 > > $ sudo chown _cups /dev/ugen0.* /dev/usb0 > $ sudo /etc/rc.d/cupsd restart > > When I restart cups try to print a test page and it seems the printer is not > ready. > > $ lpq > sx205 is not ready > Rank Owner Job File(s) Total Size > 1st moss 1 Test Page 1024 bytes > > Looking at dmesg (attached) I'm wondering how I set about ulpt in the kernel. > Do I have to recompile it maybe? I'll crack on anyhow.
CUPS does not work with ulpt(4). Are you sure you change the correct /dev/ devices? (`sudo usbdevs -vd`) Having some debug logs from CUPS would be mice as well. > OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8304328704 (7919MB) > avail mem = 8075542528 (7701MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfd390 (31 entries) > bios0: vendor American Megatrends Inc. version "P1.10" date 08/04/2009 > bios0: ASRock M3A790GMH/128M > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP APIC MCFG OEMB AAFT SSDT > acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) > PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) > P0PC(S4) UHC1(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Athlon(tm) II X2 240 Processor, 2794.26 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line > 16-way L2 cache > cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu0: AMD erratum 721 detected and fixed > cpu0: smt 0, core 0, package 0 > cpu0: apic clock running at 199MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Athlon(tm) II X2 240 Processor, 2793.84 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line > 16-way L2 cache > cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative > cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative > cpu1: AMD erratum 721 detected and fixed > cpu1: smt 0, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P1) > acpiprt2 at acpi0: bus -1 (PCE2) > acpiprt3 at acpi0: bus -1 (PCE3) > acpiprt4 at acpi0: bus 2 (PCE7) > acpiprt5 at acpi0: bus 3 (PCE9) > acpiprt6 at acpi0: bus -1 (PCEA) > acpiprt7 at acpi0: bus 4 (P0PC) > acpicpu0 at acpi0: PSS > acpicpu1 at acpi0: PSS > acpibtn0 at acpi0: PWRB > cpu0: 2794 MHz: speeds: 2800 2100 1600 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 > ppb0 at pci0 dev 1 function 0 unknown vendor 0x1849 product 0x9602 rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 5 function 0 "ATI Radeon HD 3300" rev 0x00 > radeondrm0 at vga1: apic 2 int 18 > drm0 at radeondrm0 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ppb1 at pci0 dev 7 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > vendor "VIA", unknown product 0x3403 (class serial bus subclass Firewire, rev > 0x00) at pci2 dev 0 function 0 not configured > ppb2 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > "ASMedia ASM1042 xHCI" rev 0x00 at pci3 dev 0 function 0 not configured > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22, > AHCI 1.1 > scsibus0 at ahci0: 32 targets > cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CDDVDW SH-S223B, SB01> ATAPI 5/cdrom > removable > sd0 at scsibus0 targ 1 lun 0: <ATA, WDC WD5000AADS-0, 01.0> SCSI3 0/direct > fixed naa.50014ee1ac9e4a42 > sd0: 476940MB, 512 bytes/sector, 976773168 sectors > sd1 at scsibus0 targ 2 lun 0: <ATA, WDC WD5000AADS-0, 01.0> SCSI3 0/direct > fixed naa.50014ee101fa4825 > sd1: 476940MB, 512 bytes/sector, 976773168 sectors > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16, > version 1.0, legacy support > ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16, > version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 > spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 > spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 > spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600 > pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 > configured to compatibility, channel 1 configured to compatibility > azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 > azalia0: codecs: Realtek ALC888 > audio0 at azalia0 > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 > ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 > pci4 at ppb3 bus 4 > re0 at pci4 dev 5 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB > (0x1000), apic 2 int 20, address 00:11:3b:19:0f:6a > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3 > ohci4 at pci4 dev 6 function 0 "NEC USB" rev 0x43: apic 2 int 21, version 1.0 > ohci5 at pci4 dev 6 function 1 "NEC USB" rev 0x43: apic 2 int 22, version 1.0 > ehci2 at pci4 dev 6 function 2 "NEC USB" rev 0x04: apic 2 int 23 > usb2 at ehci2: USB revision 2.0 > uhub2 at usb2 "NEC EHCI root hub" rev 2.00/1.00 addr 1 > usb3 at ohci4: USB revision 1.0 > uhub3 at usb3 "NEC OHCI root hub" rev 1.00/1.00 addr 1 > usb4 at ohci5: USB revision 1.0 > uhub4 at usb4 "NEC OHCI root hub" rev 1.00/1.00 addr 1 > ohci6 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18, > version 1.0, legacy support > pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 > km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 > pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 > usb5 at ohci0: USB revision 1.0 > uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb6 at ohci1: USB revision 1.0 > uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb7 at ohci2: USB revision 1.0 > uhub7 at usb7 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb8 at ohci3: USB revision 1.0 > uhub8 at usb8 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > 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 > wbsio0 at isa0 port 0x2e/2: W83627DHG-P rev 0x73 > lm1 at wbsio0 port 0x290/8: W83627DHG > usb9 at ohci6: USB revision 1.0 > uhub9 at usb9 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uhub10 at uhub0 port 1 "Genesys Logic USB2.0 Hub" rev 2.00/6.0b addr 2 > ulpt0 at uhub0 port 4 configuration 1 interface 1 "EPSON USB2.0 > MFP(Hi-Speed)" rev 2.00/1.00 addr 3 > ulpt0: using bi-directional mode > umass0 at uhub0 port 4 configuration 1 interface 2 "EPSON USB2.0 > MFP(Hi-Speed)" rev 2.00/1.00 addr 3 > umass0: using SCSI over Bulk-Only > scsibus1 at umass0: 2 targets, initiator 0 > sd2 at scsibus1 targ 1 lun 0: <EPSON, Stylus Storage, 1.00> SCSI2 0/direct > removable serial.04b808494B3032373907 > ugen0 at uhub0 port 4 configuration 1 "EPSON USB2.0 MFP(Hi-Speed)" rev > 2.00/1.00 addr 3 > umass1 at uhub1 port 2 configuration 1 interface 0 "Seagate Portable" rev > 2.10/0.04 addr 2 > umass1: using SCSI over Bulk-Only > scsibus2 at umass1: 2 targets, initiator 0 > sd3 at scsibus2 targ 1 lun 0: <Seagate, Portable, SF04> SCSI2 0/direct fixed > sd3: 953869MB, 512 bytes/sector, 1953525164 sectors > uhidev0 at uhub5 port 3 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/43.01 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (8755d8de34c3117a.a) swap on sd0b dump on sd0b > uhidev1 at uhub7 port 1 configuration 1 interface 0 "Yubico Yubico Yubikey > II" rev 2.00/2.24 addr 2 > uhidev1: iclass 3/1 > ukbd0 at uhidev1: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > wskbd1: disconnecting from wsdisplay0 > wskbd1 detached > ukbd0 detached > uhidev1 detached -- Antoine