From owner-freebsd-questions@FreeBSD.ORG Tue Nov 15 20:25:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF01216A420 for ; Tue, 15 Nov 2005 20:25:15 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FEE643D46 for ; Tue, 15 Nov 2005 20:25:14 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.3/8.13.3) with ESMTP id jAFKPDmq069473; Tue, 15 Nov 2005 21:25:13 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id AFFFCB822; Tue, 15 Nov 2005 21:25:12 +0100 (CET) Date: Tue, 15 Nov 2005 21:25:12 +0100 From: Roland Smith To: Blue Raccoon Message-ID: <20051115202512.GA97725@slackbox.xs4all.nl> Mail-Followup-To: Blue Raccoon , Joe Altman , freebsd-questions@freebsd.org References: <20051115164610.F3B1216A466@hub.freebsd.org> <20051115173759.GA7113@panix.com> <200511152100.42399.blue.raccoon@wanadoo.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <200511152100.42399.blue.raccoon@wanadoo.nl> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Joe Altman , freebsd-questions@freebsd.org Subject: Re: USB Problems with Scanjet 3400c X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 20:25:16 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 15, 2005 at 09:00:41PM +0100, Blue Raccoon wrote: > Joe, >=20 > Thanks for your tips. >=20 > On Tuesday 15 November 2005 18:37, Joe Altman wrote: > > I suggest trying to put this after the "niash" in the dll.conf file: > > :/dev/uscanner0 >=20 > I did, but it makes no difference. You should verify that /usr/local/etc/sane.d/dll.conf has the line=20 niash in it. You cut put a line like usb /dev/uscanner0 in /usr/local/etc/sane.d/niash.conf > > You will also need to set up device bits, in /etc/devfs.conf: > > #####Scanner > > perm uscanner0 >=20 > Perms I wish to have? I'm afraid that means nothing to me. SANE communicates with the scanner by reading and writing from a special file in the /dev directory. Normally, only the root user has write access to these files. You need to set up /etc/devfs.rules (not /etc/devfs.conf) for hotpluggable devices like USB. The most simple solution would be to have the following in /etc/devfs.rules: [devrules=3D10] add path 'uscanner*' mode 0666 You'll also have to activate the ruleset 'devrules' by putting the following line in /etc/rc.conf: devfs_system_ruleset=3D"devrules" Iy that's done, you should either reboot the machine, or run the command '/etc/rc.d/devfs restart' as root (with the scanner unplugged). It that is done, and you plug in the scanner, a device file /dev/uscanner0 should appear that everybody can use. > They have a patch (source code) that can alter the SANE source to become= =20 > Scanjet3400c compatible. I may have to look into that, but I also found t= his=20 > in the patch documentation: >=20 > **************************************************** > before trying to make your scanner work, call: > $ less /proc/bus/usb/devices > if your scanning device is not listed by name, you probably > have a 3400C or 4300C and difficulties with the kernel-usb. > The forum will give you information, how to change the > kernel code, to make your scanner work. > **************************************************** >=20 > My /proc/ is totally empty. This is about the /proc filesystem in Linux. > Good point, since I have no /dev/uscanner* - but I have no MAKEDEV comman= d=20 > either! And there are more lines I simply do not understand: Again, this is Linux specific. FreeBSD 5.x and 6.0 don't have a MAKEDEV command anymore, because they make device files automatically when a device is available. > I come straight from Windows XP. Perhaps I bit off a bit more than I can= =20 > chew... Can this be solved by a newbie? Try the things I have suggested above, plug in the scanner and run sane-find-scanner.=20 Roland --=20 R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text. public key: http://www.xs4all.nl/~rsmith/pubkey.txt --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDekQoEnfvsMMhpyURAgd6AJ4zEbZVLCuFhHUvsYnP0hQyoaLBlgCfQ14F mjq3n9e8HnRlvjCQ/UIYMmU= =sFjP -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--