From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 20:46:32 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5F80D02 for ; Wed, 21 Jan 2015 20:46:32 +0000 (UTC) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FA2BC05 for ; Wed, 21 Jan 2015 20:46:32 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id k11so45387333wes.6 for ; Wed, 21 Jan 2015 12:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=4Slpp7vBujegkg4jymyA06Sh28zRFg6gyF6pZiT9FM4=; b=WoxamrHLThn3/qZW2cd/41mArbR/nmjDJKbza7m7t5PHeMWAHH0JANFjkTZ/ti29S7 UaqQZg/6PC7XpYrgRrg+rW8VPDJhN8UkpGTJ4GrZjPLQoa1PloyfFpPEA8qQbflT5tRI q3nsO/z0l9+yNUcZ8qGNRPHRnnqqkaE650CFC7SqWasMvKjIRNd0WUt6gIPDeokCaI5V b3cpizaj45CkI1b5bdGPdO4qyFH9rKs+kumGxQvytQibyS5Gs4qqN+L1kQorLkfY8OUM 9LwOx2GBb2nAimR4YqKk9irG00h377VDJsZWn2aeJFNamZAhGEnQIpJQtJH/1feMqlJw OB3w== X-Received: by 10.180.73.108 with SMTP id k12mr59932121wiv.24.1421873190445; Wed, 21 Jan 2015 12:46:30 -0800 (PST) Received: from MARC-THINKPAD.queenland (AOrleans-656-1-23-170.w90-20.abo.wanadoo.fr. [90.20.238.170]) by mx.google.com with ESMTPSA id u7sm302093wiy.18.2015.01.21.12.46.29 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 21 Jan 2015 12:46:29 -0800 (PST) Date: Wed, 21 Jan 2015 21:46:28 +0100 From: =?UTF-8?B?TcOkcms=?= Owen To: freebsd-questions@freebsd.org Subject: Fw: SANE Network Scanner Message-ID: <20150121214628.3b42c157@MARC-THINKPAD.queenland> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 20:46:32 -0000 Begin forwarded message: Date: Wed, 21 Jan 2015 20:11:54 +0100 From: M=C3=A4rk Owen To: Zsolt Udvari Subject: Re: SANE Network Scanner On Wed, 21 Jan 2015 19:20:06 +0100 Zsolt Udvari wrote: > Did you enable your client's IP in saned.conf? > Check here: https://wiki.archlinux.org/index.php/Sane#Network_scanning > I've done it with RPI, and followed ArchWiki - you don't need inetd. >=20 > 2015-01-21 17:51 GMT+01:00 M=C3=A4rk Owen : >=20 > > Hi, > > > > I'm trying to share an Epson Perfection 3490 over the network > > through SANE. I know it is supported because it worked on linux > > (Debian). The host (FreeBSD 10.1) recognizes it and it seems to > > work if I invoke this command: > > > > scanimage -d snapscan:libusb:/dev/usb:/dev/ugen1.3 --format pnm > > > /tmp/outfile.pnm > > > > The issue is that my clients (all Debian 7 boxes) don't seem to be > > able to detect the scanner over the network using xsane or the > > scanimage -L / sane-find-scanner -q commands. > > > > Maybe some of you will be able to enlighten me. Here are the > > content of a few configuration files from the server: > > > > /etc/rc.conf > > inetd_enable=3D"YES" > > saned_enable=3D"YES" > > > > /etc/services > > sane-port 6566/tcp #SANE > > > > /etc/inetd.conf > > sane-port stream tcp nowait > > saned /usr/local/sbin/saned saned > > > > In /usr/local/etc/sane.d/dll.conf, everything is commented except > > 'snapscan' as FreeBSD seems to detect the scanner as snapscan and > > not epson. > > > > /usr/local/etc/sane.d/snapscan.conf > > #------------------------------ General > > ----------------------------------- > > > > # Change to the fully qualified filename of your firmware file, if > > # firmware upload is needed by the scanner > > firmware /usr/local/share/sane/snapscan/Esfw52.bin > > > > # If not automatically found you may manually specify a device name. > > > > # For USB scanners also specify bus=3Dusb, e.g. > > # /dev/usb/scanner0 bus=3Dusb > > > > # For SCSI scanners specify the generic device, e.g. /dev/sg0 on > > Linux. # /dev/sg0 > > > > > > #----------------------------------------------------------------------= ----- > > # No changes should be necessary below this line > > > > #----------------------------------------------------------------------= ----- > > > > #-------------------------- SCSI scanners > > ---------------------------------- # These SCSI devices will be > > probed automatically scsi AGFA * Scanner > > scsi COLOR * Scanner > > scsi Color * Scanner > > scsi ACERPERI * Scanner > > > > #--------------------------- USB scanners > > ----------------------------------- # These USB devices will be > > probed automatically # (This will currently work only on Linux) > > > > # Benq/Acer/Vuego 310U > > usb 0x04a5 0x1a20 > > usb 0x04a5 0x1a26 > > > > # Benq/Acer/Vuego 320U > > usb 0x04a5 0x2022 > > > > # Benq/Acer/Vuego 620U / 620UT > > usb 0x04a5 0x1a2a > > usb 0x04a5 0x2040 > > > > # Benq/Acer/Vuego 640U > > usb 0x04a5 0x2060 > > > > # Benq/Acer/Vuego 640BU > > usb 0x04a5 0x207e > > > > # Benq/Acer/Vuego 640BT > > usb 0x04a5 0x20be > > > > # Benq/Acer/Vuego 1240U > > usb 0x04a5 0x20c0 > > > > # Benq/Acer/Vuego 3300 / 4300 > > usb 0x04a5 0x20b0 > > > > # Benq/Acer/Vuego 4300 > > usb 0x04a5 0x20de > > > > # Benq 5000E / 5000U > > usb 0x04a5 0x20f8 > > > > # Benq 5000 > > usb 0x04a5 0x20fc > > > > # Benq/Acer 5300 > > usb 0x04a5 0x20fe > > > > # Benq 5250C > > usb 0x04a5 0x2137 > > > > # Agfa 1236U > > usb 0x06bd 0x0002 > > > > # Agfa 1212U > > usb 0x06bd 0x0001 > > usb 0x06bd 0x2061 > > > > # Agfa Snapscan e10 > > usb 0x06bd 0x2093 > > > > # Agfa Snapscan e20 > > usb 0x06bd 0x2091 > > > > # Agfa Snapscan e25 > > usb 0x06bd 0x2095 > > > > # Agfa Snapscan e26 > > usb 0x06bd 0x2097 > > > > # Agfa Snapscan e40 > > usb 0x06bd 0x208d > > > > # Agfa Snapscan e42 > > usb 0x06bd 0x20ff > > > > # Agfa Snapscan e50 > > usb 0x06bd 0x208f > > > > # Agfa Snapscan e52 > > usb 0x06bd 0x20fd > > > > # Epson Perfection 660 > > usb 0x04b8 0x0114 > > > > # Epson Perfection 1670 > > usb 0x04b8 0x011f > > > > # Epson Perfection 2480 > > usb 0x04b8 0x0121 > > > > # Epson Perfection 3490 > > usb 0x04b8 0x0122 > > > > # Epson Stylus CX-1500 > > usb 0x04b8 0x080c > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > Yes, I did. Here's my saned.conf: # saned.conf # Configuration for the saned daemon ## Daemon options # Port range for the data connection. Choose a range inside [1024 - 65535]. # Avoid specifying too large a range, for performance reasons. # # ONLY use this if your saned server is sitting behind a firewall. If your # firewall is a Linux machine, we strongly recommend using the # Netfilter nf_conntrack_sane connection tracking module instead. # # data_portrange =3D 10000 - 10100 ## Access list # A list of host names, IP addresses or IP subnets (CIDR notation) that # are permitted to use local SANE devices. IPv6 addresses must be enclosed # in brackets, and should always be specified in their compressed form. # # The hostname matching is not case-sensitive. #scan-client.somedomain.firm #192.168.0.1 192.168.1.0/24 #[2001:db8:185e::42:12] #[2001:db8:185e::42:12]/64 # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and # /etc/services must also be properly configured to start # the saned daemon as documented in saned(8), services(4) # and inetd.conf(4) (or xinetd.conf(5)).