Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
Karl Schmidt k...@xtronics.com wrote: Hi, After retesting it is now /dev/sg7 so: # cat /sys/dev/char/21\:7/device/model GT-9700 # cat /sys/dev/char/21\:7/device/vendor EPSON # cat /sys/dev/char/21\:7/device/type 3 # grep GT-9700 /lib/udev/rules.d/60-libsane.rules # Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO #Epson Perfection 2450 | EPSON GT-9700 ? KERNEL==sg[0-9]*, ATTRS{type}==3, ATTRS{vendor}==EPSON, ATTRS{model}==EPSON GT-9700, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes Just replace ATTRS{model}==EPSON GT-9700 with ATTRS{model}==GT-9700 in the rule, and it should work. The model string isn't consistent across all Epson scanners... JB. -- Julien BLACHE - Debian GNU/Linux Developer - jbla...@debian.org Public key available on http://www.jblache.org - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
On 11/01/2010 03:26 AM, Julien BLACHE wrote: Karl Schmidtk...@xtronics.com wrote: Just replace ATTRS{model}==EPSON GT-9700 with ATTRS{model}==GT-9700 in the rule, and it should work. The model string isn't consistent across all Epson scanners... Thanks you - hope this helps the next guy as well.. Karl Schmidt EMail k...@xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Golf: A good walk spoiled -- Mark Twain -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
Karl Schmidt k...@xtronics.com wrote: Hi, No joy.. $ scanimage -L device `epson2:/dev/sg3' is a Epson GT-9700 flatbed scanner $ ll /dev/sg3 crw--- 1 root root 21, 3 Oct 30 20:31 /dev/sg3 Did you unplug/replug the scanner after adding the rule? Can you send the content of the following files, under /sys/dev/char/major:minor/device/ (that'd be 21:3 for /dev/sg3 as shown above) - model - vendor - type Thanks, JB. -- Julien BLACHE jbla...@debian.org | Debian, because code matters more Debian GNU/Linux Developer| http://www.debian.org Public key available on http://www.jblache.org - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
On 10/31/2010 04:18 AM, Julien BLACHE wrote: Karl Schmidtk...@xtronics.com wrote: $ scanimage -L device `epson2:/dev/sg3' is a Epson GT-9700 flatbed scanner $ ll /dev/sg3 crw--- 1 root root 21, 3 Oct 30 20:31 /dev/sg3 Did you unplug/replug the scanner after adding the rule? Yes - just to be sure I just re-ran the test. Can you send the content of the following files, under /sys/dev/char/major:minor/device/ (that'd be 21:3 for /dev/sg3 as shown above) - model - vendor - type After retesting it is now /dev/sg7 so: # cat /sys/dev/char/21\:7/device/model GT-9700 # cat /sys/dev/char/21\:7/device/vendor EPSON # cat /sys/dev/char/21\:7/device/type 3 More output: # scanimage -L device `v4l:/dev/video0' is a Noname USB2.0 2MP UVC AF Camera virtual device device `epson2:/dev/sg7' is a Epson GT-9700 flatbed scanner (hmm why epson2? not epson? ) # ll /dev/sg7 crw--- 1 root root 21, 7 Oct 31 19:05 /dev/sg7 # grep GT-9700 /lib/udev/rules.d/60-libsane.rules # Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO #Epson Perfection 2450 | EPSON GT-9700 ? KERNEL==sg[0-9]*, ATTRS{type}==3, ATTRS{vendor}==EPSON, ATTRS{model}==EPSON GT-9700, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes ( I noticed that the usb section says GT-9700F instead of EPSON GT-9700 - probably not the issue The last two lines are what I added) # hwinfo --scanner 48: SCSI 500.0: 10c04 Scanner [Created at scsi.1605] UDI: /org/freedesktop/Hal/devices/ieee1394_guid4806ba80_unit0_scsi_host_0_scsi_device_lun0_scsi_generic Unique ID: IwyZ.MYNrwmd2ROC Parent ID: Nsxw.hz_XjO39FNC SysFS ID: /class/scsi_generic/sg7 SysFS BusID: 5:0:0:0 Hardware Class: scanner Model: EPSON GT-9700 Vendor: EPSON Device: GT-9700 Revision: 1.04 Driver: sbp2 Driver Modules: firewire_sbp2 Device File: /dev/sg7 Device Files: /dev/sg7, /dev/char/21:7 Device Number: char 21:7 Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #41 (FireWire (IEEE 1394)) From /var/log/syslog Oct 31 19:05:20 singapore kernel: [62282.163930] firewire_ohci: isochronous cycle inconsistent Oct 31 19:05:21 singapore kernel: [62282.418268] firewire_ohci: swap not done yet Oct 31 19:05:21 singapore kernel: [62282.418274] firewire_ohci: swap not done yet Oct 31 19:05:21 singapore kernel: [62282.664924] firewire_core: created device fw1: GUID 4806ba80, S400 Oct 31 19:05:21 singapore kernel: [62282.664930] firewire_ohci: swap not done yet Oct 31 19:05:21 singapore kernel: [62282.664934] firewire_ohci: swap not done yet Oct 31 19:05:21 singapore kernel: [62282.770852] scsi5 : SBP-2 IEEE-1394 Oct 31 19:05:21 singapore kernel: [62282.770939] firewire_sbp2: fw1.0: 127s mgt_ORB_timeout limited to 40s Oct 31 19:05:21 singapore kernel: [62282.971966] firewire_sbp2: fw1.0: logged in to LUN (0 retries) Oct 31 19:05:21 singapore kernel: [62282.979724] scsi 5:0:0:0: Processor EPSONGT-9700 1.04 PQ: 0 ANSI: 4 Oct 31 19:05:21 singapore kernel: [62282.979910] scsi 5:0:0:0: Attached scsi generic sg7 type 3 ,.,. Later in syslog I see a lot of errors (one for each rule using SYSFS or BUS? ) like this: Oct 31 19:19:59 singapore udevd[496]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules:48 Oct 31 19:19:59 singapore udevd[496]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules:49 Then there is this? Oct 31 19:19:59 singapore udevd[496]: GOTO 'acl_end' has no matching label in: '/lib/udev/rules.d/70-acl.rules' Oct 31 19:19:59 singapore udevd[496]: GOTO 'acl_end' has no matching label in: '/lib/udev/rules.d/70-acl.rules' Oct 31 19:19:59 singapore udevd[496]: BUS= will be removed in a future udev version, please use SUBSYSTEM= to match the event device, or SUBSYSTEMS= to match a parent device, in /etc/udev/rules.d/usbdm.rules:3 This box was upgraded from lenny to squeeze - wonder if there is some left over cruft? Thanks for your efforts. Is there a way to trace udev to see which rule(s) it used? Karl Schmidt EMail k...@xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 A suit
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
On 10/30/2010 08:03 AM, Julien BLACHE wrote: Does it work for the FireWire attachment if you add this rule to /lib/udev/rules.d/60-libsane.rules, in the SCSI section: KERNEL==sg[0-9]*, ATTRS{type}==3, ATTRS{vendor}==EPSON, ATTRS{model}==EPSON GT-9700, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes JB. No joy.. $ scanimage -L device `epson2:/dev/sg3' is a Epson GT-9700 flatbed scanner $ ll /dev/sg3 crw--- 1 root root 21, 3 Oct 30 20:31 /dev/sg3 Testing again with usb.. I'm not getting a /dev/ device at all created for the USB cable? - but it is working now - (If anyone tests this you have to unplug to cycle the power if you change between firewire and usb I know that the /dev items might go away - I'm ignorant of the device roadmap - not sure how/where things are headed. scanimage -L device `epson2:libusb:001:006' is a Epson GT-9700 flatbed scanner Seems to work with the USB.. ( Both cables are slower than they should be.. these scanners don't really use the bandwidth of the interface ). .. BTW While testing I could not get the xsane preview to work - garbage displayed - I purge my configs and ~/.sane and it is working - found this in syslog: xsane[12118]: segfault at 31 ip 7fe23b7af28c sp 7fff247c0678 error 4 in libdbus-1.so.3.4.0[7fe23b788000+3e000] Karl Schmidt EMail k...@xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 “If a politician found he had cannibals among his constituents, he would promise them missionaries for dinner.” H.L. Mencken -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
Karl Schmidt k...@xtronics.com wrote: Hi, Both using the usb and the 1394 interface get created with crw--- 1 root root permissions This is expected for the FireWire interface, but USB should work. The Epson perfection 2450 is seen as a EPSON GT-9700 - I think hardware wise it is the same thing? The udev rules aren't the same at all. Does it work for the FireWire attachment if you add this rule to /lib/udev/rules.d/60-libsane.rules, in the SCSI section: KERNEL==sg[0-9]*, ATTRS{type}==3, ATTRS{vendor}==EPSON, ATTRS{model}==EPSON GT-9700, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes JB. -- Julien BLACHE - Debian GNU/Linux Developer - jbla...@debian.org Public key available on http://www.jblache.org - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#601810: [libsane] Epson perfection 2450 dev created without scanner group
Package: libsane Version: 1.0.21-4 Severity: normal --- Please enter the report below this line. --- Both using the usb and the 1394 interface get created with crw--- 1 root root permissions Should be available via scanner group The Epson perfection 2450 is seen as a EPSON GT-9700 - I think hardware wise it is the same thing? $lsusb Bus 001 Device 009: ID 04b8:0112 Seiko Epson Corp. Perfection 2450 $hwinfo --scanner 48: SCSI 700.0: 10c04 Scanner [Created at scsi.1605] UDI: /org/freedesktop/Hal/devices/ieee1394_guid4806ba80_unit0_scsi_host_0_scsi_device_lun0_scsi_generic Unique ID: l5De.MYNrwmd2ROC Parent ID: Nsxw.hz_XjO39FNC SysFS ID: /class/scsi_generic/sg8 SysFS BusID: 7:0:0:0 Hardware Class: scanner Model: EPSON GT-9700 Vendor: EPSON Device: GT-9700 Revision: 1.04 Driver: sbp2 Driver Modules: firewire_sbp2 Device File: /dev/sg8 Device Files: /dev/sg8, /dev/char/21:8 Device Number: char 21:8 Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #41 (FireWire (IEEE 1394)) --- System information. --- Architecture: amd64 Kernel: Linux 2.6.32-5-amd64 Debian Release: squeeze/sid 990 testing ftp.egr.msu.edu 500 stable security.debian.org --- Package information. --- Depends (Version) | Installed ==-+-== adduser (= 3.47) | 3.112 udev (= 0.88-1) | 163-1 OR makedev (= 2.3.1-58) | 2.3.1-89 libavahi-client3 (= 0.6.16) | 0.6.27-2 libavahi-common3 (= 0.6.16) | 0.6.27-2 libc6 (= 2.3) | 2.11.2-6 libexif12 | 0.6.19-1 libgphoto2-2(= 2.4.3) | 2.4.6-1+b1 libgphoto2-port0(= 2.4.3) | 2.4.6-1+b1 libieee1284-3 | 0.2.11-6 libjpeg62 (= 6b1) | 6b1-1 libtiff4 | 3.9.4-5 libusb-0.1-4 (= 2:0.1.12) | 2:0.1.12-16 libv4l-0(= 0.5.0) | 0.8.0-1 libsane-extras (= 1.0.20.1) | 1.0.21.2 Recommends (Version) | Installed -+-== sane-utils (= 1.0.21-4) | 1.0.21-4 Suggests (Version) | Installed ===-+-=== avahi-daemon| 0.6.27-2 hpoj| hplip | 3.10.6-1 Karl Schmidt EMail k...@xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 When your friends begin to flatter you on how young you look, it's a sure sign you're getting old. -- Mark Twain -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org