Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 23:00:32 +0900 (JST)
From:      MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
To:        hselasky@c2i.net
Cc:        freebsd-usb@freebsd.org
Subject:   Re: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current
Message-ID:  <20090715.230032.226782063.sanpei@sanpei.org>
In-Reply-To: <200907141714.27199.hselasky@c2i.net>
References:  <20090714.233517.193688805.sanpei@sanpei.org> <200907141714.27199.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

>Replace the USB files in your system with the ones in the attached tarball.
>
>Then build a new kernel and report again.
>
>FreeBSD 8-current only.
>
>tar -jxvf usb_files.tar.bz2 -C /sys/dev/usb

I replace usb stack, and tested.

> [Problem 1] /etc/devd.conf does not work.

  o patched driver still has problem, I Think.

> [Problem 2] print job was stop at printing

  at first time, I got success output(with manual printf).
  But at second time, still has problem....
      o Printer's status LED was brinking.
      o FreeBSD 8-current box was no messages in dmesg /var/log/message.  

[FYI] There is no problem in 7.2-RELEASE USB stack.

On Tuesday 14 July 2009 16:35:17 MIHIRA Sanpei Yoshiro wrote:
> 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?
>


--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090715.230032.226782063.sanpei>