Date: Tue, 14 Jul 2009 23:35:17 +0900 (JST) From: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org> To: freebsd-usb@FreeBSD.org Subject: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current Message-ID: <20090714.233517.193688805.sanpei@sanpei.org>
next in thread | raw e-mail | index | archive | help
hi. I upgrade my home server to 8.0-BETA1(8-current). But ulpt does not work fine with EPSON PM-820C Ink jet Printer. <<dmesg>> usbus2: <NEC uPD 9210 USB controller> on ohci1 <ship> usbus2: 12Mbps Full Speed USB v1.0 ulpt0: <EPSON USB Printer, class 0/0, rev 1.00/1.00, addr 2> on usbus2 ulpt0: using bi-directional mode [Problem 1] /etc/devd.conf does not work. I use EPSON PM-820C with Windows 2000 Professional via samba. And this printer was needed to send magic packet(which was written in devd, printf), when I use via USB port. And I restart all print jobs (``lpc restart all''). But after I upgrade to 8-current, that was not executed correctly, I think. <</etc/printcap>> lp|local line printer:\ :sh:mx#0:\ :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: <</etc/devd.conf>> attach 100 { device-name "ulpt[0-9]+"; match "vendor" "0x04b8"; match "product" "0x0005"; match "release" "0x0100"; action "sleep 5;printf '000\033\001@EJL 1284.4\n@EJL \n' | tr 0 '\0' > /dev/$device-name"; action "lpc restart all"; }; detach 100 { device-name "ulpt[0-9]+"; action "lprm -"; }; [Problem 2] print job was stop at printing I send magic packet and restart print job manually. Print Job which send from Windows 2000 Pro was hung up when 1/3 range of paper size was printed. No message was output to dmesg. How can I debug this problem? Cheers. --- MIHIRA, Sanpei Yoshiro Tokyo, Japan.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714.233517.193688805.sanpei>