Current - USB2 - cups and u[n]lpt devices.
eculp
eculp at encontacto.net
Sat Feb 28 09:55:12 PST 2009
Quoting Hans Petter Selasky <hselasky at c2i.net>:
> On Wednesday 25 February 2009, eculp wrote:
>> I just rebooted my laptop that I have today's USB2 hopefully with the
>> latest USB compatibility, if I understood the GENERIC kernel
>> correctly. I'm using i386 version, up to date as of this morning.
>> Ports are completely up to date. all etc/dev* stuff is as it was with
>> USB1.
>>
>> From the dmesg I get:
>>
>> +ugen0.2: <EPSON> at usbus0
>> +ulpt0: <USB2.0 Printer> on usbus0
>> +ulpt0: using bi-directional mode
>> +Symlink: ulpt0 -> usb0.2.1.16
>> +Symlink: unlpt0 -> usb0.2.1.17
>>
>> With localhost:631 I see Unable to open device file "/dev/ulpt0":
>> Operation not permitted. Probably because, there ain't none. Is
>> there something else that I need to do that I didn't do before?
>>
>> This isn't critical. I probably print only a few pages a week but I
>> do want it to work when something is critical.
>>
> The devices are there, but invisible.
>
> Also check "usbconfig dump_access" that the ulpt port is reachable by cupsd.
>
I think not.
# usbconfig dump_access
Global Access: root:operator 0660
ugen0.1: <OHCI root HUB nVidia> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
ugen1.1: <EHCI root HUB nVidia> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
ugen2.1: <OHCI root HUB nVidia> at usbus2, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
ugen3.1: <EHCI root HUB nVidia> at usbus3, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
ugen0.2: <USB1.1 MFP(Full-Speed) EPSON> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
Interface 1 Access: root:operator 0644
ugen1.2: <Acer CrystalEye webcam SuYin> at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON
Device Access: <not set>
Interface 0 Access: <not set>
Interface 1 Access: <not set>
> cat /dev/ulpt0
# cat /dev/ulpt0
ed.local.net.mx
>
> should work
What confuses me is that with dmesg or disconnecting and reconnecting I see:
Feb 28 11:50:35 ed kernel: ulpt0: at ushub0, port 2, addr 2 (disconnected)
Feb 28 11:50:35 ed kernel: ugen0.2: <EPSON> at usbus0 (disconnected)
Feb 28 11:50:39 ed kernel: ugen0.2: <EPSON> at usbus0
Feb 28 11:50:39 ed kernel: ulpt0: <USB2.0 Printer> on usbus0
Feb 28 11:50:39 ed kernel: ulpt0: using bi-directional mode
Feb 28 11:50:39 ed kernel: Symlink: ulpt0 -> usb0.2.1.16
Feb 28 11:50:39 ed kernel: Symlink: unlpt0 -> usb0.2.1.17
But cups still says:
Unable to open device file "/dev/ulpt0": Operation not permitted"
and there are no lpt devices in /dev or subdirectories.
Any additional suggestins apreciated.
ed
>
> --HPS
>
More information about the freebsd-usb
mailing list