From owner-freebsd-usb@FreeBSD.ORG Sat Feb 28 17:55:12 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A97A1065687 for ; Sat, 28 Feb 2009 17:55:12 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5077B8FC20 for ; Sat, 28 Feb 2009 17:55:11 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.190.15.150]) by ns2.bafirst.com with esmtp; Sat, 28 Feb 2009 11:55:09 -0600 id 000D5174.49A97A7E.00011B8B Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Sat, 28 Feb 2009 11:55:08 -0600 id 0004AC15.49A97A7C.00005C24 Received: from local69.local.net.mx (local69.local.net.mx [192.168.1.69]) by econet.encontacto.net (Horde Framework) with HTTP; Sat, 28 Feb 2009 11:55:08 -0600 Message-ID: <20090228115508.81775n96b4f851gk@econet.encontacto.net> Date: Sat, 28 Feb 2009 11:55:08 -0600 From: eculp To: Hans Petter Selasky References: <20090225061037.10896uy7ft1kgu80@econet.encontacto.net> <200902251326.19416.hselasky@c2i.net> In-Reply-To: <200902251326.19416.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.0.6) Gecko/2009022203 Firefox/3.0.4, Ant.com Toolbar 1.2 X-IMP-Server: 189.190.15.150 X-Originating-IP: 192.168.1.69 X-Originating-User: eculp@encontacto.net Cc: freebsd-usb@freebsd.org Subject: Re: Current - USB2 - cups and u[n]lpt devices. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:55:12 -0000 Quoting Hans Petter Selasky : > 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: at usbus0 >> +ulpt0: 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 cups= d. > I think not. # usbconfig dump_access Global Access: root:operator 0660 ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL =20 (12Mbps) pwr=3DON Device Access: Interface 0 Access: ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH =20 (480Mbps) pwr=3DON Device Access: Interface 0 Access: ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL =20 (12Mbps) pwr=3DON Device Access: Interface 0 Access: ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH =20 (480Mbps) pwr=3DON Device Access: Interface 0 Access: ugen0.2: at usbus0, cfg=3D0 md=3DHOST =20 spd=3DFULL (12Mbps) pwr=3DON Device Access: Interface 0 Access: Interface 1 Access: root:operator 0644 ugen1.2: at usbus1, cfg=3D0 md=3DHOST =20 spd=3DHIGH (480Mbps) pwr=3DON Device Access: Interface 0 Access: Interface 1 Access: > 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: at usbus0 (disconnected) Feb 28 11:50:39 ed kernel: ugen0.2: at usbus0 Feb 28 11:50:39 ed kernel: ulpt0: 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 >