From owner-freebsd-scsi Sat Mar 4 18:38:29 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from sprout.cgf.net (adsl-207-215-8-122.dsl.snfc21.pacbell.net [207.215.8.122]) by hub.freebsd.org (Postfix) with ESMTP id 4C90137B950 for ; Sat, 4 Mar 2000 18:38:23 -0800 (PST) (envelope-from tomb@cgf.net) Received: from cgf.net (localhost.cgf.net [127.0.0.1]) by sprout.cgf.net (8.9.3/8.9.3) with ESMTP id SAA14686 for ; Sat, 4 Mar 2000 18:36:32 -0800 (PST) (envelope-from tomb@cgf.net) Message-ID: <38C1C830.C97EC53E@cgf.net> Date: Sat, 04 Mar 2000 18:36:32 -0800 From: tom brown Organization: Badger Basters (We do it with Lard) X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: scanimage reports "open of device coolscan:/dev/pass4 failed: Invalid argument"] Content-Type: multipart/mixed; boundary="------------1AAA9A2C58AC624F489A5574" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------1AAA9A2C58AC624F489A5574 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I originaly sent this to freebsd-hackers but got no reply, maybe you can help. Thanks Tom Brown --------------1AAA9A2C58AC624F489A5574 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <38B9BC38.65AA1B9E@cgf.net> Date: Sun, 27 Feb 2000 16:07:20 -0800 From: tom brown Organization: Badger Basters (We do it with Lard) X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Subject: scanimage reports "open of device coolscan:/dev/pass4 failed: Invalid argument" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Execute scanimage: bash#scanimage -d coolscan:/dev/pass4 scanimage: open of device coolscan:/dev/pass4 failed: Invalid argument Any ideas? I find the device node permissions suspect, but I don't know what they should be "crw_rw_rw_" prehaps? Thanks Tom --------------1AAA9A2C58AC624F489A5574-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message