Suggested fix for USB printer (ulpt.c)

Bernd Walter ticso at cicely7.cicely.de
Sun Mar 22 11:47:40 PDT 2009


On Sun, Mar 22, 2009 at 09:31:40AM -0700, Andrew Thompson wrote:
> On Sun, Mar 22, 2009 at 04:54:57PM +0100, Bernd Walter wrote:
> > Interesting - I have problems with ulpt as well:
> > ulpt0: <Micronet Communications product 0x0002, class 0/0, rev 1.00/0.06, addr 3> on usbus2
> > ulpt0: using bi-directional mode
> > ulpt1: <Alps Electric MD USB Cable, class 0/0, rev 1.00/2.00, addr 4> on usbus1
> > ulpt1: using bi-directional mode
> > ulpt1: out of paper
> > ulpt2: <Prolific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.02, addr 5> on usbus1
> > ulpt2: using bi-directional mode
> > ulpt2: out of paper
> > 
> > ulpt0 prints and the others are just plugged in cables.
> > 
> > But none of them is listed with usbconfig:
> 
> Does this fix the usbconfig printing?
> 
> http://people.freebsd.org/~thompsa/usb_dev.diff

Yes - no delay and all devices listed:
[53]cicely13# usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <OHCI root HUB NEC> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <OHCI root HUB NEC> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <EHCI root HUB NEC> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen1.2: <TUSB2046 hub Texas Instruments> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.2: <USB2.0 Hub Genesys Logic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.3: <Mass Storage Device Generic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen3.4: <USB2.0 Hub Genesys Logic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.5: <USB2.0 Hub Genesys Logic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.6: <Slim Hub Cypress Semiconductor> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.7: <USB - RS232 BWCT> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.8: <product 0x6124 Atmel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.9: <UHB124 hub Atmel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.10: <PL2303 Serial (ATEN/IOGEAR UC232A) Prolific Technology> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.2: <UHB124 hub Atmel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.3: <USB Storage Device Generic> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.3: <product 0x0002 Micronet Communications> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.4: <MD USB Cable Alps Electric> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.5: <IEEE-1284 Controller Prolific Technology Inc.> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-current mailing list