On 06/16/14 08:50, Matthias Apitz wrote:
El día Monday, June 16, 2014 a las 08:00:15AM +0200, Hans Petter Selasky 
escribió:

Hi,

Can you also use only the no-reset version: /dev/unlpt0 ?

Make sure device is power cycled first.

Hi,

I did

- detached USB cable
- power cycled device
- wait until device ready

# kldunload ulpt.ko
# kldload modules/usb/ulpt/ulpt.ko
# sysctl hw.usb.ulpt.debug=15
hw.usb.ulpt.debug: 0 -> 15

- now pluged in the USB cable

# date > /dev/unlpt0
^C
# date
lunes, 16 de junio de 2014, 08:44:49 CEST
#

messages are attached; thx

Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 
0x62c0 bus uhub3
Jun 16 08:44:02 La-Habana root: Unknown USB device: vendor 0x0c45 product 
0x62c0 bus uhub3
Jun 16 08:44:27 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 08:44:27 La-Habana kernel: ulpt_probe:
Jun 16 08:44:27 La-Habana kernel: ulpt_probe:
Jun 16 08:44:27 La-Habana kernel: ulpt_attach: sc=0xc596c580
Jun 16 08:44:27 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 
Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 08:44:27 La-Habana kernel: ulpt_attach: setting alternate config number: 
1
Jun 16 08:44:27 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 08:44:27 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: 
ulpt_watchdog() skiped read status
Jun 16 08:44:33 La-Habana last message repeated 6 times
Jun 16 08:44:34 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 08:44:34 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: 
ulpt_watchdog() skiped read status
Jun 16 08:44:47 La-Habana last message repeated 13 times
Jun 16 08:44:48 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 08:44:48 La-Habana kernel: ulpt_detach: sc=0xc596c580
Jun 16 08:44:48 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 08:44:49 La-Habana kernel: ulpt_probe:
Jun 16 08:44:49 La-Habana kernel: ulpt_probe:
Jun 16 08:44:49 La-Habana kernel: ulpt_attach: sc=0xc5839880
Jun 16 08:44:49 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 
Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 08:44:49 La-Habana kernel: ulpt_attach: setting alternate config number: 
1
Jun 16 08:44:49 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 08:44:49 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: 
ulpt_watchdog() skiped read status
Jun 16 08:44:53 La-Habana last message repeated 4 times
Jun 16 08:44:54 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: 
ulpt_watchdog() skiped read status

        matthias


Hi,

If you disconnect the LPT port from the printer and repeat?

Is the device sufficiently powered?

--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to