From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 00:30:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E111065672 for ; Thu, 4 Aug 2011 00:30:34 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id C421E8FC15 for ; Thu, 4 Aug 2011 00:30:33 +0000 (UTC) Received: by iye7 with SMTP id 7so2443197iye.17 for ; Wed, 03 Aug 2011 17:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=QcF0ei/z2xRjOCf7oTAiQG/VfMj1FPZe1yjcdKQTDEk=; b=ktpmloTWvIMBtl4aLprW0UPrgucZnJMXHnRqPT0QxsD1bV+MyoHmAZ2ihVyJTKyo7X QXn+c/hoCZDxu7GXEodFWiWixF0yccLM/fE9m3geVjuhTqiDgRZXtHKnFoKfNNXAkWxg E+jwgtk2yeIL+vzPxz+QQT65TJf5XSmxO7T7Q= MIME-Version: 1.0 Received: by 10.42.144.68 with SMTP id a4mr101220icv.427.1312417832554; Wed, 03 Aug 2011 17:30:32 -0700 (PDT) Received: by 10.42.165.200 with HTTP; Wed, 3 Aug 2011 17:30:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Aug 2011 19:30:32 -0500 Message-ID: From: Antonio Olivares To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: help setup an HP 3300C scanner 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: Thu, 04 Aug 2011 00:30:34 -0000 On Wed, Aug 3, 2011 at 6:58 PM, Antonio Olivares wrote: > Dear folks, > > I am sorry to bother you guys, but I need your help. =A0I have a scanner > HP 3300C scanner that is connected to one of my freebsd 8.2 amd > machines. > > I have done my homework: > read section scanners on FreeBSD Handbook: > > http://www.freebsd.org/doc/handbook/scanners.html > > looked at other threads: > > http://www.daemonforums.org/showthread.php?t=3D2057&page=3D1 > > http://www.dslreports.com/forum/remark,12037990 > > As root user, I can find the device name: > > quadcore# sane-find-scanner -q > found USB scanner (vendor=3D0x03f0 [Hewlett-Packard], product=3D0x0205 [H= P > ScanJet 3300C]) at libusb:/dev/usb:/dev/ugen4.2 > found USB scanner (vendor=3D0x0bda, product=3D0x8187 [RTL8187_Wireless]) > at libusb:/dev/usb:/dev/ugen3.3 > > but as myself(regular user) not :( > > [olivares@quadcore /usr/home/olivares]$ sane-find-scanner -q > [olivares@quadcore /usr/home/olivares]$ > > I try to run simplescan -L but can't get it to work. =A0I run xsane and > it tells me that it can't find devices. =A0I looked in /etc/sane.d/ and > found hp.conf and edited it to handbook scanners section, see hp.conf > below: > > quadcore# pwd > /usr/local/etc/sane.d > quadcore# ls -l > total 166 > -r--r--r-- =A01 root =A0wheel =A0 =A025 Aug =A03 17:46 abaton.conf > -r--r--r-- =A01 root =A0wheel =A0 =A014 Aug =A03 17:46 agfafocus.conf > -r--r--r-- =A01 root =A0wheel =A0 =A024 Aug =A03 17:46 apple.conf > -r--r--r-- =A01 root =A0wheel =A0 =A026 Aug =A03 17:46 artec.conf > -r--r--r-- =A01 root =A0wheel =A04188 Aug =A03 17:46 artec_eplus48u.conf > -r--r--r-- =A01 root =A0wheel =A0 543 Aug =A03 17:46 avision.conf > -r--r--r-- =A01 root =A0wheel =A0 =A029 Aug =A03 17:46 bh.conf > -r--r--r-- =A01 root =A0wheel =A0 =A035 Aug =A03 17:46 canon.conf > -r--r--r-- =A01 root =A0wheel =A0 193 Aug =A03 17:46 canon630u.conf > -r--r--r-- =A01 root =A0wheel =A02834 Aug =A03 17:46 canon_dr.conf > -r--r--r-- =A01 root =A0wheel =A0 509 Aug =A03 17:46 cardscan.conf > -r--r--r-- =A01 root =A0wheel =A0 =A034 Aug =A03 17:46 coolscan.conf > -r--r--r-- =A01 root =A0wheel =A0 754 Aug =A03 17:46 coolscan2.conf > -r--r--r-- =A01 root =A0wheel =A0 754 Aug =A03 17:46 coolscan3.conf > -r--r--r-- =A01 root =A0wheel =A0 984 Aug =A03 17:46 dc210.conf > -r--r--r-- =A01 root =A0wheel =A0 984 Aug =A03 17:46 dc240.conf > -r--r--r-- =A01 root =A0wheel =A0 704 Aug =A03 17:46 dc25.conf > -r--r--r-- =A01 root =A0wheel =A0 492 Aug =A03 17:46 dell1600n_net.conf > drwxr-xr-x =A02 root =A0wheel =A01536 Aug =A03 17:46 dist > -r--r--r-- =A01 root =A0wheel =A0 682 Aug =A03 17:46 dll.conf > drwxr-xr-x =A02 root =A0wheel =A0 512 Aug =A03 17:46 dll.d > -r--r--r-- =A01 root =A0wheel =A0 =A012 Aug =A03 17:46 dmc.conf > -r--r--r-- =A01 root =A0wheel =A01402 Aug =A03 17:46 epjitsu.conf > -r--r--r-- =A01 root =A0wheel =A0 793 Aug =A03 17:46 epson.conf > -r--r--r-- =A01 root =A0wheel =A0 376 Aug =A03 17:46 epson2.conf > -r--r--r-- =A01 root =A0wheel =A01679 Aug =A03 17:46 fujitsu.conf > -r--r--r-- =A01 root =A0wheel =A01157 Aug =A03 17:46 genesys.conf > -r--r--r-- =A01 root =A0wheel =A07798 Aug =A03 17:46 gt68xx.conf > -r--r--r-- =A01 root =A0wheel =A0 589 Aug =A03 18:44 hp.conf > -r--r--r-- =A01 root =A0wheel =A0 396 Aug =A03 17:46 hp3900.conf > -r--r--r-- =A01 root =A0wheel =A0 =A076 Aug =A03 17:46 hp4200.conf > -r--r--r-- =A01 root =A0wheel =A0 238 Aug =A03 17:46 hp5400.conf > -r--r--r-- =A01 root =A0wheel =A0 =A024 Aug =A03 17:46 hs2p.conf > -r--r--r-- =A01 root =A0wheel =A0 =A038 Aug =A03 17:46 ibm.conf > -r--r--r-- =A01 root =A0wheel =A0 367 Aug =A03 17:46 kodak.conf > -r--r--r-- =A01 root =A0wheel =A0 113 Aug =A03 17:46 leo.conf > -r--r--r-- =A01 root =A0wheel =A0 =A096 Aug =A03 17:46 lexmark.conf > -r--r--r-- =A01 root =A0wheel =A0 187 Aug =A03 17:46 ma1509.conf > -r--r--r-- =A01 root =A0wheel =A0 666 Aug =A03 17:46 matsushita.conf > -r--r--r-- =A01 root =A0wheel =A0 268 Aug =A03 17:46 microtek.conf > -r--r--r-- =A01 root =A0wheel =A0 279 Aug =A03 17:46 microtek2.conf > -r--r--r-- =A01 root =A0wheel =A02125 Aug =A03 17:46 mustek.conf > -r--r--r-- =A01 root =A0wheel =A0 809 Aug =A03 17:46 mustek_usb.conf > -r--r--r-- =A01 root =A0wheel =A0 =A013 Aug =A03 17:46 nec.conf > -r--r--r-- =A01 root =A0wheel =A0 573 Aug =A03 17:46 net.conf > -r--r--r-- =A01 root =A0wheel =A0 365 Aug =A03 17:46 p5.conf > -r--r--r-- =A01 root =A0wheel =A0 =A075 Aug =A03 17:46 pie.conf > -r--r--r-- =A01 root =A0wheel =A0 492 Aug =A03 17:46 pixma.conf > -r--r--r-- =A01 root =A0wheel =A04142 Aug =A03 17:46 plustek.conf > -r--r--r-- =A01 root =A0wheel =A0 943 Aug =A03 17:46 plustek_pp.conf > -r--r--r-- =A01 root =A0wheel =A0 =A029 Aug =A03 17:46 ricoh.conf > -r--r--r-- =A01 root =A0wheel =A0 183 Aug =A03 17:46 rts8891.conf > -r--r--r-- =A01 root =A0wheel =A0 =A013 Aug =A03 17:46 s9036.conf > -r--r--r-- =A01 root =A0wheel =A01052 Aug =A03 17:46 saned.conf > -r--r--r-- =A01 root =A0wheel =A0 =A048 Aug =A03 17:46 sceptre.conf > -r--r--r-- =A01 root =A0wheel =A01464 Aug =A03 17:46 sharp.conf > -r--r--r-- =A01 root =A0wheel =A0 115 Aug =A03 17:46 sm3840.conf > -r--r--r-- =A01 root =A0wheel =A02245 Aug =A03 17:46 snapscan.conf > -r--r--r-- =A01 root =A0wheel =A0 =A010 Aug =A03 17:46 sp15c.conf > -r--r--r-- =A01 root =A0wheel =A02224 Aug =A03 17:46 st400.conf > -r--r--r-- =A01 root =A0wheel =A0 178 Aug =A03 17:46 stv680.conf > -r--r--r-- =A01 root =A0wheel =A0 =A028 Aug =A03 17:46 tamarack.conf > -r--r--r-- =A01 root =A0wheel =A0 355 Aug =A03 17:46 teco1.conf > -r--r--r-- =A01 root =A0wheel =A0 636 Aug =A03 17:46 teco2.conf > -r--r--r-- =A01 root =A0wheel =A0 217 Aug =A03 17:46 teco3.conf > -r--r--r-- =A01 root =A0wheel =A01807 Aug =A03 17:46 test.conf > -r--r--r-- =A01 root =A0wheel =A01495 Aug =A03 17:46 u12.conf > -r--r--r-- =A01 root =A0wheel =A03094 Aug =A03 17:46 umax.conf > -r--r--r-- =A01 root =A0wheel =A0 386 Aug =A03 17:46 umax1220u.conf > -r--r--r-- =A01 root =A0wheel =A01684 Aug =A03 17:46 umax_pp.conf > -r--r--r-- =A01 root =A0wheel =A0 399 Aug =A03 17:46 xerox_mfp.conf > quadcore# cat hp.conf > #scsi HP > # Uncomment the following if you have "Error during device I/O" on SCSI > # =A0 option dumb-read > # > # The usual place for a SCSI-scanner on Linux > #/dev/scanner > # > # USB-scanners supported by the hp-backend > # HP ScanJet 4100C > #usb 0x03f0 0x0101 > # HP ScanJet 5200C > #usb 0x03f0 0x0401 > # HP ScanJet 62X0C > #usb 0x03f0 0x0201 > # HP ScanJet 63X0C > #usb 0x03f0 0x0601 > # HP ScanJet 3300C 0x03f0 0x0205 =A0at libusb:/dev/usb:/dev/ugen4.2 > usb /dev/uscanner0 > # > # Uncomment the following if your scanner is connected by USB, > # but you are not using libusb > # /dev/usb/scanner0 > # =A0 option connect-device > > [olivares@quadcore /usr/home/olivares]$ scanimage -L > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > I have a file that should help with permissions, but I don't know if > that could be the cause? > > [olivares@quadcore /usr/home/olivares]$ cat /etc/rc.conf > > # -- sysinstall generated deltas -- # Tue Jul 26 23:20:43 2011 > # Created: Tue Jul 26 23:20:43 2011 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > hostname=3D"quadcore.home" > ifconfig_msk0=3D"DHCP" > ntpdate_enable=3D"YES" > ntpdate_hosts=3D"north-america.pool.ntp.org" > tcp_extensions=3D"NO" > dbus_enable=3D"YES" > hald_enable=3D"YES" > devfs_system_ruleset=3D"Removable_Media" > lpd_enable=3D"YES" > ipfilter_enable=3D"YES" > ipfileter_rules=3D"/etc/ipf.rules" > ipmon_enable=3D"YES" > ipmon_flags=3D"-Ds" > > > [olivares@quadcore /usr/home/olivares]$ cat /etc/dev > devd/ =A0 =A0 =A0 =A0devd.conf =A0 =A0devfs.conf =A0 devfs.rules > [olivares@quadcore /usr/home/olivares]$ cat /etc/devfs.rules > [Removable Media] > add path 'ad*' mode 0666 group operator > add path 'acd*' mode 0666 group operator > add path 'cd*' mode 0666 group operator > add path 'pass*' mode 0666 group operator > add path 'xpt*' mode 0666 group operator > add path 'ugen*' mode 0666 group operator > add path 'usb*' mode 0666 group operator > add path 'lpt*' mode 0666 group operator > add path 'ulpt*' mode 0666 group operator > add path 'unlpt*' mode 0666 group operator > add path 'fd*' mode 0666 group operator > > Do I need to add uscanner* to it? =A0or another suggestion. =A0I would > like for the scanner to work as user. > Advice/suggestions/comments are welcome and appreciated :) > > Regards, > > Antonio > Found out some more information http://freebsd.1045724.n5.nabble.com/Scanner-Compatibility-td3778260.html In above page I found a link to check by vendor: http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD If found it says complete: ScanJet 3300c USB 0x03f0/0x0205 Complete niash (0.3) sane-niash It took a great while for this to give me a response quadcore# scanimage -L device `niash:libusb:/dev/usb:/dev/ugen4.2' is a Hewlett-Packard ScanJet 3300C flatbed scanner I have downloaded the backend in case if it is needed here: http://sourceforge.net/projects/hp3300backend/files/backend/20060304/backen= d-20060304.tar.gz/download now I don't know how to troubleshoot this. Thanks & sorry for replying to my own question(s). Regards, Antonio