From owner-freebsd-questions Sat Feb 17 13:44:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from math.teaser.net (math.teaser.net [213.91.2.4]) by hub.freebsd.org (Postfix) with ESMTP id 16DE337B401 for ; Sat, 17 Feb 2001 13:44:06 -0800 (PST) Received: from titine.fr.eu.org (Cour-N1D42-240.teaser.net [213.91.42.240]) by math.teaser.net (Postfix) with ESMTP id ABF816C804 for ; Sat, 17 Feb 2001 22:44:03 +0100 (CET) Received: by titine.fr.eu.org (Postfix, from userid 1001) id EA5A031D4; Sat, 17 Feb 2001 22:43:15 +0100 (CET) X-Attribution: Jaco To: "questions@FreeBSD.ORG" Subject: About USB scanner and FreeBSD 4.2 From: Eric Jacoboni Date: 17 Feb 2001 22:43:15 +0100 Message-ID: <86y9v53s0c.fsf@titine.fr.eu.org> Lines: 59 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.98 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a Epson USB scanner 1240U. Following the various manpages and docs i've read, i've added the following lines in my kernel config file : device usb device uhci device ugen device uscanner At boot, here are the relevant lines of dmesg: uhci0: port 0xc400-0xc41f irq 5 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ugen0: EPSON Perfection1240, rev 1.00/1.04, addr 2 uhci1: port 0xc800-0xc81f irq 5 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered % ls /dev/u*: /dev/ugen0 /dev/ugen0.15 /dev/ugen0.8 /dev/urandom /dev/ugen0.1 /dev/ugen0.2 /dev/ugen0.9 /dev/urio0 /dev/ugen0.10 /dev/ugen0.3 /dev/uhid0 /dev/usb /dev/ugen0.11 /dev/ugen0.4 /dev/ulpt0 /dev/usb0 /dev/ugen0.12 /dev/ugen0.5 /dev/umodem0 /dev/uscanner0 /dev/ugen0.13 /dev/ugen0.6 /dev/ums0 /dev/ugen0.14 /dev/ugen0.7 /dev/unlpt0 % usbdevs addr 1: UHCI root hub, VIA addr 2: Perfection1240, EPSON But i still don't figure how to access it :( First, as far i've understood, it should be seen as uscanner0, not ugen0 (if i don't use 'device ugen' line, it's not seen at all). Second, I've installed xsane from the ports. 'man xsane' claims xsane should be called as : xsane vendor:device but if i try "xsane epson:/dev/uscanner0", "xsane epson:/dev/ugen0, xsane complains the device name is invalid... (same without the epson: prefix, as root or not). If someone knows about the good steps to make it work, he's welcomed ;-) -- Éric Jacoboni, né il y a 1285806450 secondes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message