Re: [sane-devel] Reflecta DigiDia 5000 not found

2017-12-21 Thread Klaus Kaempf
* Reinhard Kotucha  [Dec 22. 2017 02:58]:
> Hi,
> first of all, thank you very much for sane.
> 
> I've bought a slide scanner (Reflecta DigiDia 5000) from a friend
> which is classified as "Untested".  However, its successor (DigiDia
> 6000) is supported and I doubt that there are significant differences.

Moin Reinhard,

welcome to the wonderful world of Reflecta/PIE interfaces. ;-)

Please run
  export SANE_DEBUG_PIEUSB=11
in a shell and then start xsane from there.

This should report the model number. Add it to pieusb.conf and you
should be all set.
  
> 
> I created a file
> 
>   /etc/udev/rules.d/40-libsane.rules
> 
> containing the line
> 
> ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="0142", ENV{libsane_matched}="yes"

Please add 'GROUP="lp",' to this list to give you full access to the
usb device.

> 
> The file
> 
>   /etc/sane.d/pieusb.conf
> 
> contains the line
> 
>   usb 0x05e3 0x0142
> 
> and everything else is commented out.

That's the old format and insufficient for your device. 

> 
> This looks better because libsane-pieusb.so.1 is read but scanimage -L
> still fails.  Is it on purpose that pieusb is not in dll.conf by default?

Your version of 'sane' is too old.

> 
> Though I don't believe that anything regarding Reflecta scanners was
> changed recently, I temporarily installed the current git version of
> sane-backends.

Awesome, you're all set. The 'model number' is the only missing part.

> It didn't solve my problem either but introduced a new room of freedom.
> Entries in pieusb.conf now have the form
> 
>   usb
> 
> and I do not know how to determine the  of my scanner.
> Therefore I switched back to the version provided by Debian but can
> activate the current git version at any time if desired.
> 
> I'm absolutely clueless now.  What am I doing wrong?

Nothing. You just happen to be the first to use this scanner.


Klaus
-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 
(AG Nürnberg)

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

[sane-devel] Reflecta DigiDia 5000 not found

2017-12-21 Thread Reinhard Kotucha
Hi,
first of all, thank you very much for sane.

I've bought a slide scanner (Reflecta DigiDia 5000) from a friend
which is classified as "Untested".  However, its successor (DigiDia
6000) is supported and I doubt that there are significant differences.

It's detected by sane-find-scanner but not by scanimage -L .

I'm running Debian 9 on an AMD64 machine.  It provides

  sane 1.0.14-12
  sane-utils 1.0.25-4.1
  libusb-1.0-0

I created a file

  /etc/udev/rules.d/40-libsane.rules

containing the line

ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="0142", ENV{libsane_matched}="yes"

The file

  /etc/sane.d/pieusb.conf

contains the line

  usb 0x05e3 0x0142

and everything else is commented out.

# dmesg
usb 2-3: new high-speed USB device number 2 using ehci-pci
usb 2-3: New USB device found, idVendor=05e3, idProduct=0142
usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

The last line is quite strange, I've never seen something like that
before. 

# sane-find-scanner
found USB scanner (vendor=0x05e3, product=0x0142) at libusb:002:002

# lsusb
Bus 002 Device 002: ID 05e3:0142 Genesys Logic, Inc. Multiple Slides 
Scanner-3600

# scanimage -L
No scanners were identified. 

Whenever I've run scanimage -L , dmesg sais

  usb 2-3: USB disconnect, device number 2

and, as expected, sane-find-scanner and lsusb dont't find the scanner
anymore.  This _only_ happens after I've run scanimage -L .

Furthermore,

# strace -eopen scanimage -L 2>str
# grep pie str
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pie.so.1", O_RDONLY) = 36
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pie.so.1", O_RDONLY|O_CLOEXEC) = 36
open("./pie.conf", O_RDONLY)= -1 ENOENT (No such file or directory)
open("/etc/sane.d/pie.conf", O_RDONLY)  = 36

It seems wrong to me that libsane-pie.so.1 is found but not
libsane-pieusb.so.1, as I would expect.

When I add pieusb to /etc/sane.d/ddl.conf I get

# grep pie str
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pieusb.so.1", O_RDONLY) = 36
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pieusb.so.1", O_RDONLY|O_CLOEXEC) 
= 36
open("./pieusb.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/pieusb.conf", O_RDONLY) = 39
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pie.so.1", O_RDONLY) = 39
open("/usr/lib/x86_64-linux-gnu/sane/libsane-pie.so.1", O_RDONLY|O_CLOEXEC) = 39
open("./pie.conf", O_RDONLY)= -1 ENOENT (No such file or directory)
open("/etc/sane.d/pie.conf", O_RDONLY)  = 39

This looks better because libsane-pieusb.so.1 is read but scanimage -L
still fails.  Is it on purpose that pieusb is not in dll.conf by default?

Though I don't believe that anything regarding Reflecta scanners was
changed recently, I temporarily installed the current git version of
sane-backends.  It didn't solve my problem either but introduced a new
room of freedom.  Entries in pieusb.conf now have the form

  usb

and I do not know how to determine the  of my scanner.
Therefore I switched back to the version provided by Debian but can
activate the current git version at any time if desired.

I'm absolutely clueless now.  What am I doing wrong?

Though my scanner is classified as "Untested" I'm quite convinced that
I can use the driver provided by Klaus Kämpf for the successor because
both devices return "idVendor=05e3, idProduct=0142" and thus seem to
be compatible.

Please let me know if you need more information.

Regards,
  Reinhard

-- 
--
Reinhard KotuchaPhone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannovermailto:reinhard.kotu...@web.de
--

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] canon mp6865

2017-12-21 Thread slatevine-...@yahoo.com.au

Hi,

I posted a question re getting my canon mg6875 working with sane/ubuntu 
here 
. 
Someone who helped me out said to post to this list as my 
config/hardware and results might be of help as the mg6865 is untested 
with sane.


I dont know if that's true, but if not you can safely ignore this message.

In brief sane cannot find the printer, but following the steps on that 
post I did get both printing and scanning working.


regards

C


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org