Re: Where do I find instructions on how to configure sane-epkowa
On Thu, Dec 31, 2009 at 12:06:20AM +0100, Leslie Jensen wrote: my dll.conf: Personally, I would only leave in the backends that I actually use. epkowa.conf usb 0x04b8 0x0130 That should be OK. I've created /etc/devfs.rules it was not present! With the line: add path 'usb/*' mode 0660 This means you'd have to be in the wheel or operator group to have access! Either add a specific group that you are a member of, or use 0666. You should also have a ruleset identifier in devfs.rules. Read devfs.rules(5). And you'd have to activate the ruleset in /etc/rc.conf. After that it is best to reboot to make sure all the changes are in effect. Or you can test the scanner as root, like Warren said. Root has access to all devices. Try running xscanimage from a terminal, and look at the error messages, if any. If scanning works as root but not as a normal user, it is probably a permission problem. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp792CWKTQ6R.pgp Description: PGP signature
Re: Where do I find instructions on how to configure sane-epkowa
On 2009-12-31 12:04, Roland Smith wrote: On Thu, Dec 31, 2009 at 12:06:20AM +0100, Leslie Jensen wrote: my dll.conf: Personally, I would only leave in the backends that I actually use. What do you mean? epkowa.conf usb 0x04b8 0x0130 That should be OK. I've created /etc/devfs.rules it was not present! With the line: add path 'usb/*' mode 0660 This means you'd have to be in the wheel or operator group to have access! Either add a specific group that you are a member of, or use 0666. Yes I am, and I always test as root. You should also have a ruleset identifier in devfs.rules. Read devfs.rules(5). And you'd have to activate the ruleset in /etc/rc.conf. After that it is best to reboot to make sure all the changes are in effect. I have devfs_system_ruleset=system i rc.conf and [system=10] add path 'usb/*' mode 0660 in devfs.rules Or you can test the scanner as root, like Warren said. Root has access to all devices. Try running xscanimage from a terminal, and look at the error messages, if any. :xscanimage [xscanimage] No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by sane-find-scanner (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). :sudo xscanimage [xscanimage] No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by sane-find-scanner (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). If scanning works as root but not as a normal user, it is probably a permission problem. The messages above plus the fact that scanimage -L produces the same message as above suggests to me that the system stil needs to be made aware of the scanner. I just not able to figure out where to do it. Roland /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
On Thu, Dec 31, 2009 at 12:25:53PM +0100, Leslie Jensen wrote: On 2009-12-31 12:04, Roland Smith wrote: On Thu, Dec 31, 2009 at 12:06:20AM +0100, Leslie Jensen wrote: my dll.conf: Personally, I would only leave in the backends that I actually use. What do you mean? I only have one line in my dll.conf, containing just the epson driver. In your case, only the line 'epkowa' should suffice. If scanning works as root but not as a normal user, it is probably a permission problem. The messages above plus the fact that scanimage -L produces the same message as above suggests to me that the system stil needs to be made aware of the scanner. I just not able to figure out where to do it. What does sane-find-scanner say? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpkke6EBkD88.pgp Description: PGP signature
Re: Where do I find instructions on how to configure sane-epkowa
On 2009-12-31 13:09, Roland Smith wrote: On Thu, Dec 31, 2009 at 12:25:53PM +0100, Leslie Jensen wrote: On 2009-12-31 12:04, Roland Smith wrote: On Thu, Dec 31, 2009 at 12:06:20AM +0100, Leslie Jensen wrote: my dll.conf: Personally, I would only leave in the backends that I actually use. What do you mean? I only have one line in my dll.conf, containing just the epson driver. In your case, only the line 'epkowa' should suffice. ok, I'll try commenting out all but epkowa If scanning works as root but not as a normal user, it is probably a permission problem. The messages above plus the fact that scanimage -L produces the same message as above suggests to me that the system stil needs to be made aware of the scanner. I just not able to figure out where to do it. What does sane-find-scanner say? sane-find-scanner -q found USB scanner (vendor=0x04b8 [EPSON], product=0x0130 [EPSON Scanner]) at libusb:/dev/usb:/dev/ugen7.2 Roland ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
I did a sane-find-scanner -v -v I've pasted what's relevant for the scanner. This is sane-find-scanner from sane-backends 1.0.20 # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. searching for SCSI scanners: checking /dev/scanner... failed to open (Invalid argument) checking /dev/scanner0... failed to open (Invalid argument) checking /dev/scanner1... failed to open (Invalid argument) checking /dev/pass0... open ok Inquiry for device: 000: 05 80 00 32 5b 00 00 00 50 4c 44 53 20 20 20 20 ...2[...PLDS 016: 44 56 44 2b 2d 52 57 20 44 55 2d 38 41 32 53 20DVD+-RW DU-8A2S 032: 34 44 31 33 00 00 00 00 00 00 00 00 00 00 00 00 4D13 048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 found SCSI CD-drive PLDS DVD+-RW DU-8A2S 4D13 at /dev/pass0 checking /dev/pass1... failed to open (Invalid argument) checking /dev/pass2... failed to open (Invalid argument) checking /dev/pass3... failed to open (Invalid argument) checking /dev/pass4... failed to open (Invalid argument) checking /dev/pass5... failed to open (Invalid argument) checking /dev/pass6... failed to open (Invalid argument) checking /dev/pass7... failed to open (Invalid argument) # Your SCSI scanner was detected. It may or may not be supported by SANE. Try # scanimage -L and read the backend's manpage. searching for USB scanners: checking /dev/uscanner... failed to open (Invalid argument) checking /dev/uscanner0... failed to open (Invalid argument) checking /dev/uscanner1... failed to open (Invalid argument) checking /dev/uscanner2... failed to open (Invalid argument) checking /dev/uscanner3... failed to open (Invalid argument) checking /dev/uscanner4... failed to open (Invalid argument) checking /dev/uscanner5... failed to open (Invalid argument) checking /dev/uscanner6... failed to open (Invalid argument) checking /dev/uscanner7... failed to open (Invalid argument) checking /dev/uscanner8... failed to open (Invalid argument) checking /dev/uscanner9... failed to open (Invalid argument) checking /dev/uscanner10... failed to open (Invalid argument) checking /dev/uscanner11... failed to open (Invalid argument) checking /dev/uscanner12... failed to open (Invalid argument) checking /dev/uscanner13... failed to open (Invalid argument) checking /dev/uscanner14... failed to open (Invalid argument) checking /dev/uscanner15... failed to open (Invalid argument) trying libusb: device descriptor of 0x04b8/0x0130 at /dev/usb:/dev/ugen7.2 (EPSON EPSON Scanner) bLength 18 bDescriptorType 1 bcdUSB2.00 bDeviceClass 255 bDeviceSubClass 255 bDeviceProtocol 255 bMaxPacketSize0 64 idVendor 0x04B8 idProduct 0x0130 bcdDevice 1.00 iManufacturer 1 (EPSON) iProduct 2 (EPSON Scanner) iSerialNumber 0 () bNumConfigurations1 configuration 0 bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 2 mA interface 0 altsetting 0 bLength9 bDescriptorType4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass255 bInterfaceSubClass 255 bInterfaceProtocol 255 iInterface 0 () endpoint 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 255 ms bRefresh 0 bSynchAddress 0 endpoint 1 bLength 7 bDescriptorType 5 bEndpointAddress 0x02 (out 0x02) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 255 ms bRefresh 0 bSynchAddress 0 trying to find out which USB chip is used checking for GT-6801 ... this is not a GT-6801 (bcdUSB = 0x200) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for GT-8911 ... this is not a GT-8911 (check 1, bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x200) checking for MA-1509 ... this is not a MA-1509 (bcdUSB = 0x200) checking for LM983[1,2,3] ... this is not a LM983x (bcdUSB = 0x200) checking for GL646 ... this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL646_HP ... this is
Re: Where do I find instructions on how to configure sane-epkowa
On Thu, Dec 31, 2009 at 04:27:12PM +0100, Leslie Jensen wrote: I did a sane-find-scanner -v -v device descriptor of 0x04b8/0x0130 at /dev/usb:/dev/ugen7.2 (EPSON EPSON Scanner) According to [http://www.sane-project.org/lists/sane-backends-external.html#S-EPKOWA], your scanner requires DFSG non-free iscan-plugin-gt-x770. Not sure what that means, though. And according to /usr/ports/graphics/sane-epkowa/Makefile, the latest version of the driver doesn't work yet because of runtime issues, so it builds an earlier version. It could just be that this version does not support your scanner yet. Maybe you should contact the port maintainer. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpx0qv7uEb2B.pgp Description: PGP signature
Re: Where do I find instructions on how to configure sane-epkowa
On 2009-12-31 17:05, Roland Smith wrote: On Thu, Dec 31, 2009 at 04:27:12PM +0100, Leslie Jensen wrote: I did a sane-find-scanner -v -v device descriptor of 0x04b8/0x0130 at /dev/usb:/dev/ugen7.2 (EPSON EPSON Scanner) According to [http://www.sane-project.org/lists/sane-backends-external.html#S-EPKOWA], your scanner requires DFSG non-free iscan-plugin-gt-x770. Not sure what that means, though. Neither do I. I'll ask on the sane-devel list. And according to /usr/ports/graphics/sane-epkowa/Makefile, the latest version of the driver doesn't work yet because of runtime issues, so it builds an earlier version. It could just be that this version does not support your scanner yet. Maybe! I'm usually not reading the Makefile, but in this case I can see the benefits ;-) Thanks for pointing it out. Maybe you should contact the port maintainer. Roland /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
On Thu, 31 Dec 2009, Leslie Jensen wrote: On 2009-12-31 12:04, Roland Smith wrote: On Thu, Dec 31, 2009 at 12:06:20AM +0100, Leslie Jensen wrote: my dll.conf: Personally, I would only leave in the backends that I actually use. What do you mean? epkowa.conf usb 0x04b8 0x0130 For my non-epkowa Epson, I had usb /dev/ugen2.3 Maybe that doesn't matter. There is a page that talks about using the epkowa driver on Linux with some possibly relevant information: http://www.mnsoft.org/scanner_on_linux.0.html -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Where do I find instructions on how to configure sane-epkowa
I'm at the point where sane-find-scanner detects my scanner but scanimage cannot find it. I know I must use the sane-epkowa backend. I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to make sane aware of the epkowa backend. The man page for sane-epkowa is not very helpful and there's nothing in the handbook to help me out. Any suggestions? Thanks /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
On Wed, Dec 30, 2009 at 06:48:56PM +0100, Leslie Jensen wrote: I'm at the point where sane-find-scanner detects my scanner but scanimage cannot find it. I know I must use the sane-epkowa backend. I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to make sane aware of the epkowa backend. Put a line epkowa in /usr/local/etc/sane.d/dll.conf Put the vendor and device-id you get from sane-find-scanner in epkowa.conf Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpMxH7gGRdff.pgp Description: PGP signature
Re: Where do I find instructions on how to configure sane-epkowa
On 2009-12-30 19:58, Roland Smith wrote: On Wed, Dec 30, 2009 at 06:48:56PM +0100, Leslie Jensen wrote: I'm at the point where sane-find-scanner detects my scanner but scanimage cannot find it. I know I must use the sane-epkowa backend. I've edited the /usr/local/etc/sane.d/epkowa.conf but I think I need to make sane aware of the epkowa backend. Put a line epkowa in /usr/local/etc/sane.d/dll.conf It's already there Put the vendor and device-id you get from sane-find-scanner in epkowa.conf I did it before I posted this question. Roland When I was running 7.2 I had found a way to make it work. First I added the product in /sys/dev/usb/usbdevs then the same information had to be added in /sys/dev/usb/uscanner.c then I had to recompile the kernel, build and install it. The scanner would then be found. Now on 8.0 I can't find uscanner.c so there must be another way to handle it. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
On Wed, Dec 30, 2009 at 11:03:54PM +0100, Leslie Jensen wrote: When I was running 7.2 I had found a way to make it work. First I added the product in /sys/dev/usb/usbdevs then the same information had to be added in /sys/dev/usb/uscanner.c then I had to recompile the kernel, build and install it. The scanner would then be found. Now on 8.0 I can't find uscanner.c so there must be another way to handle it. The uscanner device has been deprecated in favor of the libusb API that is in the base system in 8.x. (Even the /dev/ugen devices are now just links to nodes in /dev/usb/.) If you have the configuration right (both dll.conf and epkowa.conf), check the device permissions. I've got the following in /etc/devfs.rules (not devfs.conf!); add path 'usb/*' mode 0660 group usb (Note that USB devices are now in a separate subdirectory!) All users of UDB devices must be in the usb group, in this case. If you don't have untrusted users you could use 'mode 0666' without the group statement. If the device permissions are OK, please post your epkowa.conf and dll.conf, and the output of 'usbconfig list' when the scanner is attached As an aside, have you tried the plain epson driver? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpqdrfSiFYTd.pgp Description: PGP signature
Re: Where do I find instructions on how to configure sane-epkowa
The uscanner device has been deprecated in favor of the libusb API that is in the base system in 8.x. (Even the /dev/ugen devices are now just links to nodes in /dev/usb/.) If you have the configuration right (both dll.conf and epkowa.conf), check the device permissions. I've got the following in /etc/devfs.rules (not devfs.conf!); add path 'usb/*' mode 0660 group usb (Note that USB devices are now in a separate subdirectory!) All users of UDB devices must be in the usb group, in this case. If you don't have untrusted users you could use 'mode 0666' without the group statement. If the device permissions are OK, please post your epkowa.conf and dll.conf, and the output of 'usbconfig list' when the scanner is attached As an aside, have you tried the plain epson driver? Roland my dll.conf: # enable the next line if you want to allow access through the network: net abaton agfafocus apple avision artec artec_eplus48u as6e bh canon canon630u canon_dr #canon_pp cardscan coolscan #coolscan2 coolscan3 #dc25 #dc210 #dc240 dell1600n_net dmc epjitsu #epson epson2 fujitsu #gphoto2 genesys gt68xx hp hp3900 hpsj5s hp3500 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm leo lexmark ma1509 matsushita microtek microtek2 mustek #mustek_pp mustek_usb mustek_usb2 nec niash pie pint pixma plustek #plustek_pp #pnm qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c #st400 #stv680 tamarack teco1 teco2 teco3 #test u12 umax #umax_pp umax1220u v4l xerox_mfp epkowa epkowa.conf usb 0x04b8 0x0130 I've created /etc/devfs.rules it was not present! With the line: add path 'usb/*' mode 0660 usbconfig list ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: EHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.1: UHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen7.1: EHCI root HUB Intel at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.2: USB Receiver Logitech at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.2: 5880 Broadcom Corp at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen7.2: EPSON Scanner EPSON at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON I've not tried the plain epson driver. Acording to the SANE home page my scanner (Epson Perfection V500 Photo) is only supported by the epkowa driver. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where do I find instructions on how to configure sane-epkowa
On Thu, 31 Dec 2009, Leslie Jensen wrote: I've created /etc/devfs.rules it was not present! With the line: add path 'usb/*' mode 0660 A line in /etc/rc.conf is needed to activate those rules, too: devfs_system_ruleset=localrules ...assuming you had [localrules=10] at the start of devfs.rules. These are just permissions applied to dynamic devices. It's easier to first test the scanner as root. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org