Quote:
btw) for some USB hardware I have udev-rules that explicitly tell not to probe with MTP. Maybe this scanner needs something similar as below? Code:
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0142", ENV{MTP_NO_PROBE}="1" |
@Moesasj Thanks for the tip. I copied /lib/udev/rules.d/69-libmtp.rules to /etc/udev/rules.d/ and added:
Code:
########Epson Perfection V330 Photo EHB group Code:
# Some sensitive devices we surely don't wanna probe Code:
[ 821.981074] usb 1-1.3: USB disconnect, device number 3 And the mtp-messages are gone... Still it takes ages for xsane to find a scanner ([epkowa:usb:003:003]), comes up with two options for the same usb-port (003:003) where it is found by lsusb Code:
bash-4.3$ lsusb Code:
Could not send commands to scanner. Check the scanner's status. EDIT: well the thing is seen but running the windows version gives the same kind of error.... and the machine doesn't make the typical noises... oh wait, plugging it into a macbook makes it do that... plug the thing back into my laptop and it's dead as a brick.. with iscan running circles ending up with the same error. EDIT2: bah, from XP in virtual machine: yes it starts up the program and it does everything (after one ticks the USB to 'on' in the 'devices' in the virtual-box menu-bar....)... so it's in my compiled software that it goes wrong somewhere in making the connection with the scanner EDIT3: When USB connection works, the scanner makes the noises. It goes via ehci on windows, it seems, but under linux (being in the usb3-port now):xhci Code:
[ 4934.330518] usb 1-1.2: Product: EPSON Perfection V33/V330 |
scanner pr0gz
whats listed in /var/log/packages/iscan* ???
take a look at this file from aur.archlinux.org wget https://aur.archlinux.org/cgit/aur.g...in-v330.tar.gz iscan-plugin-v330.install Code:
|
@slackartist: the three required packages:
Code:
bash-4.3$ ls /var/log/packages/iscan* Code:
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0142", MODE="0660", GROUP="lp", ENV{libsane_matched}="yes" Code:
.. EDIT OK, you enhanced your post... with maybe the golden tip! According to the Slackbuild a connection with the interpreter is added to the doinst.sh, which reads Code:
# Create interpreter line for Epson scanners. After making the /var/lib/iscan directory by hand and re-installing the plugin-package, that file is now made! Tada! Anyway, I ran the Arch command you highlighted. Code:
iscan-registry -a interpreter usb 0x04b8 0x0142 /usr/lib64/esci/libesci-interpreter-perfection-v330 /usr/share/esci/esfwad.bin |
Just as an alternative, you could place libpng12 into /opt and use the buildflags to target the libpng install in /opt as opposed to /usr, and install it as part of the actual SlackBuild itself. Then just add it to your system path in /etc/profile.d using a simple configuration file.
|
@ReaperX7 at the moment there is no longer an issue with libpng; (ArchLinux) patches were available to solve this and at the moment the major problem seems getting the scanner-thing activated through USB, you know one needs to hear those nice rattling sounds that give the impression that the machine is choking up but actually indicate a live-connection between program and scanner. When I get the communication-rattle and then a libpng-failure, your solution will be an option.
|
1 Attachment(s)
Success! It worked. Straight from Gimp using iscan as a plugin (see attached) or via Xsane. The only naggle is that a) it takes forever to get the scanner going, that is, before the choose-scanner dialog pops up. Then, b) I see 5 devices to chose from; the 2 I saw before and marked 'Epson (unknown model)[epkowa:usb:001:015)' and 3 marked 'Epson Perfection V330 Photo [epkowa:interpreter:001:015]'. The latter options work; the previous ones do not.
I mark this as [Solved] but if anyone has an idea to speed recognition up or to get rid of spurious devices, that would be helpful (I will play around with the iscan-registry, but it may be enough to reboot and clear the USB-devices that have been hanging on the ports between yesterday and today and have been registered; still why 3x the real thing shows up I have no idea... could multiple udev-rules cause this??? @Moesasj @55020 @slackartist @Simone Giustetti @AlienBob Thank you, thank you (and please tell me how to properly search the Arch repository.... as I seem to miss it all the time ;-) Cheers, Rob |
Quote:
|
@Xsane, thanks; yes the 'net' and many other backends were still available in the dll.conf; I've commented them out but no immediate improvement (maybe I have to login and out again but I am in the middle of something; will have to test this later)
EDIT OK, after commenting all these backends out from the dll.conf, having rebooted, the same list of five pops up, again after a longish period. So, let's look at iscan-registry I found these helpful pages when looking things up about iscan-registry epson-scanner-problem-with-64-bit-slackware; wiki.mageia.org/en/Epson_scanners By using the iscan-registry, all the three working entries could be removed by running this command three times: Code:
iscan-registry -r interpreter usb 0x04b8 0x0142 /usr/lib64/esci/libesci-interpreter-perfection-v330 /usr/share/esci/esfwad.bin After uninstalling the three programs and reinstalling them, without running iscan-registry first, I get the two entries again (when running xsane] of which the most descriptive one, as expected, is working. I removed all packages and reinstalled them again and ran Code:
bash-4.3# iscan-registry -a interpreter usb 0x04b8 0x0142 /usr/lib64/esci/libesci-interpreter-perfection-v330 /usr/share/esci/esfwad.bin This gave an extra entry of which I could delete one with the -r version of the command. Thus, it is not needed to run the iscan-registry to get the scanner started/recognized when the /var/lib/iscan/interpreter file is present after installation. Thus: Code:
bash-4.3# scanimage -L |
patch needed for compilation on new gcc 7
Just to annotate this thread. On current (06 May 2017) with gcc-7.1, iscan did no longer compile; the iscan.Slackbuild needs to be patched according to
https://bugs.gentoo.org/show_bug.cgi?id=595776. Code:
patch -p1 -i ${SRCDIR}/[iscan-gcc6.patch] |
All times are GMT -5. The time now is 11:21 PM. |