From owner-freebsd-hackers Sun Feb 27 22:47:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200]) by hub.freebsd.org (Postfix) with SMTP id A479237B6E0 for ; Sun, 27 Feb 2000 22:47:09 -0800 (PST) (envelope-from herbelot@cybercable.fr) Received: (qmail 14144246 invoked from network); 28 Feb 2000 06:47:08 -0000 Received: from d016.paris-30.cybercable.fr (HELO cybercable.fr) ([212.198.30.16]) (envelope-sender ) by camus.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 28 Feb 2000 06:47:08 -0000 Message-ID: <38BA18FC.4D9236C@cybercable.fr> Date: Mon, 28 Feb 2000 07:43:08 +0100 From: "Thierry.herbelot" X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: tom brown Cc: hackers@freebsd.org Subject: Re: scanimage reports "open of device coolscan:/dev/pass4 failed: Invalid argument" References: <38B9BC38.65AA1B9E@cgf.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG tom brown wrote: > [Assuming you use a 3.x version] > The story so far: > > Recompiled the kernel with > > controller scbus0 # SCSI bus (required) > device da0 # Direct Access (disks) > device sa0 # Sequential Access (tape etc) > device cd0 # CD > > controller scbus1 > device cd1 > device pass0 > > Installed the scanner on the second SCSI channel > > Feb 27 15:27:09 foobar/kernel: pass4: > Removable Scanner SCSI-2 device > Feb 27 15:27:09 foobar/kernel: pass4: 3.300MB/s transfers > > build device node: > > bash#cd /dev > bash#./MAKEDEV pass4 > > Built sane, xsane, gimp from the ports. > > The config file for the coolscan /usr/local/etc/sane.d/coolscan.conf > > scsi Nikon * Scanner > /dev/pass4 > > Added the path: > > SANE_CONFIG_DIR=/usr/local/etc/sane.d > > And the /dev/pass4 device has the following permissions > > crw------- 1 root operator 31, 4 Feb 27 14:17 /dev/pass4 you may want to try the following : tfh% ll /dev/pas* crw------- 1 root operator 31, 0 Jan 16 17:50 /dev/pass0 crw-rw---- 1 root saned 31, 1 Jan 16 17:50 /dev/pass1 crw------- 1 root operator 31, 2 Jan 16 17:50 /dev/pass2 crw------- 1 root operator 31, 3 Jan 16 17:50 /dev/pass3 tfh% > > Execute scanimage: > > bash#scanimage -d coolscan:/dev/pass4 > scanimage: open of device coolscan:/dev/pass4 failed: Invalid > argument > > -- Thierry Herbelot /"\ ASCII RIBBON CAMPAIGN \ / AGAINST HTML MAIL & NEWS mailto:herbelot@cybercable.fr X PAS DE HTML http://perso.cybercable.fr/herbelot / \ DANS LES COURRIELS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message