Skip site navigation (1)Skip section navigation (2)
Date:      17 Feb 2001 22:43:15 +0100
From:      Eric Jacoboni <jaco@teaser.fr>
To:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   About USB scanner and FreeBSD 4.2
Message-ID:  <86y9v53s0c.fsf@titine.fr.eu.org>

next in thread | raw e-mail | index | archive | help
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: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 5 at device 7.2 on
pci0
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 5 at device 7.3 on
pci0
usb1: <VIA 83C572 USB controller> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y9v53s0c.fsf>