Date: Sat, 28 Feb 2009 19:01:24 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: eculp <eculp@encontacto.net> Cc: freebsd-usb@freebsd.org Subject: Re: Current - USB2 - cups and u[n]lpt devices. Message-ID: <200902281901.25043.hselasky@c2i.net> In-Reply-To: <20090228115508.81775n96b4f851gk@econet.encontacto.net> References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <200902251326.19416.hselasky@c2i.net> <20090228115508.81775n96b4f851gk@econet.encontacto.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 28 February 2009, eculp wrote: > Quoting Hans Petter Selasky <hselasky@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. > Try to cvsup. Then you will get a device which you can chmod . --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902281901.25043.hselasky>