[sane-devel] Identifying identical scanners dynamically turned on and off

2012-03-26 Thread Olaf Meeuwissen
Martin Zackrisson martin.zackrisson at cmb.gu.se writes:

 On 03/23/2012 12:37 AM, Olaf Meeuwissen wrote:
 These days the USB devices stay at the same place below /sys/ even
 when power cycled. Only when replugging to a *different* USB port
 will this location change. I'm not sure what happens when you
 reboot. Assuming that you know which scanner shows up where in
 /sys/, you can then use the busnum and devnum files to construct
 the device names that the epson2 backend groks. So with $ cat
 /sys/bus/usb/devices/usb2/2-4/busnum 2 $ cat
 /sys/bus/usb/devices/usb2/2-4/devnum 3 you'd use
 epson2:libusb:002:003` for the device name. When power cycling, on
 the `devnum` will change. Note that there is a libsysfs-dev package
 which may be useful here. Hope this helps, 
 The path on my machine was similar but didn't have the files you
 specified but your guidance led to this command which gives me the
 proper addresses of all attached scanners:

 $ sane-find-scanner -v -v | sed -n -E 's/^found USB.*(libusb.*$)/\1/p'

 Thanks for the help,

If that solves your problem then fine but IIRC the sane-find-scanner
output will look like

  libusb:002:003

where the `003` will change every time you power-cycle the device.  If
all your scanners are on a different bus (the `002` part) then you are
okay but if you have two or more on the same bus ...
Let's say you have

  libusb:002:003  -- scanner A
  libusb:002:004  -- scanner B

Now your application starts and power-cycles both devices.  You will
most likely get

  libusb:002:005
  libusb:002:006

but you cannot tell anymore which one is A and which one is B.  You may
be able to work around this if the devices are power-cycled in a well
defined order with sufficiently large delays between devices.

Hope this helps,
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



[sane-devel] daily snapshots?

2012-03-26 Thread Yury Tarasievich
No more daily git snapshots? Last one is stamped 
Jan 16.

Yury



[sane-devel] [PATCH 0/2] fixes for sane-config and sane-backends.pc

2012-03-26 Thread Ruediger Meier
On Tuesday 07 February 2012, Ruediger Meier wrote:
 From: Ruediger Meier ruediger.meier at ga-group.nl

 sane-config was broken in 2 ways, since 26ea2a25.

 Ruediger Meier (2):
   bldchn fix, install sane-backends.pc
   sane-config fix, don't provide random infos

It's been a long time now, sane-config is still broken.
Maybe anybody could look through it?


  tools/Makefile.am|3 +++
  tools/Makefile.in|   49
 ++---
 tools/sane-config.in |4 
  3 files changed, 45 insertions(+), 11 deletions(-)

 --
 1.7.6.1

cu,
Rudi



[sane-devel] daily snapshots?

2012-03-26 Thread m. allan noah
Thanks for the alert, I'll look into it.

allan

On Mon, Mar 26, 2012 at 2:11 AM, Yury Tarasievich
yury.tarasievich at gmail.com wrote:
 No more daily git snapshots? Last one is stamped Jan 16.

 Yury

 --
 sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org



-- 
The truth is an offense, but not a sin



[sane-devel] HP G4010/G4050 listed as unsupported and supported

2012-03-26 Thread Martin Michlmayr
The web site lists the HP G4010/G4050 both as unsupported as well as
supported by the genesys drive.  Remove them from the list of
unsupported scanners.

diff --git a/doc/descriptions/unsupported.desc 
b/doc/descriptions/unsupported.desc
index 51dfabe..fcce4ae 100644
--- a/doc/descriptions/unsupported.desc
+++ b/doc/descriptions/unsupported.desc
@@ -863,20 +863,6 @@
 :comment Probably not supported. See link for details.
 :status :unsupported
 
-:model ScanJet G4010
-:url /unsupported/hp-g4000.html
-:interface USB
-:usbid 0x03f0 0x4505
-:comment Probably not supported. See link for details.
-:status :unsupported
-
-:model ScanJet G4050
-:url /unsupported/hp-g4050.html
-:interface USB
-:usbid 0x03f0 0x4605
-:comment gl843 scanner, support is currently being work on in the genesys 
backend
-:status :unsupported
-
 
;
 
 :mfg IBM

-- 
Martin Michlmayr
http://www.cyrius.com/



[sane-devel] HP G4010/G4050 listed as unsupported and supported

2012-03-26 Thread Stef
Le lundi 26 mars 2012 14:36:18 Martin Michlmayr a ?crit :
 The web site lists the HP G4010/G4050 both as unsupported as well as
 supported by the genesys drive.  Remove them from the list of
 unsupported scanners.
 
 diff --git a/doc/descriptions/unsupported.desc
 b/doc/descriptions/unsupported.desc index 51dfabe..fcce4ae 100644
 --- a/doc/descriptions/unsupported.desc
 +++ b/doc/descriptions/unsupported.desc
 @@ -863,20 +863,6 @@
 
  :comment Probably not supported. See link for details.
  :status :unsupported
 
 -:model ScanJet G4010
 -:url /unsupported/hp-g4000.html
 -:interface USB
 -:usbid 0x03f0 0x4505
 -:comment Probably not supported. See link for details.
 -:status :unsupported
 -
 -:model ScanJet G4050
 -:url /unsupported/hp-g4050.html
 -:interface USB
 -:usbid 0x03f0 0x4605
 -:comment gl843 scanner, support is currently being work on in the genesys
 backend -:status :unsupported
 -
  ;**
 **
  :mfg IBM

Hello,

thanks for the patch. I have applied.

Regards,
Stef



[sane-devel] sane-backends-1.0.22: Lide210 bumps into bottom

2012-03-26 Thread Stef
Le dimanche 25 mars 2012 22:55:00 Peter Hackenberg a ?crit :
 Hello,
 
 I tested the git (20120116) backend:
 
 The y-range improved. No bump at the end anymore. However, I get a black
 horizontal stripe at the top (scan starts too early) and something is
 missing at the left-hand side (scan starts too late).
 
 The following settings are optimal (for my scanner) with the
 git-version. I don't know how much tolerances Canon builds in.
 
 
   SANE_FIX (2.2), /* Start of scan area in mm (x) */
   SANE_FIX (9.0), /* Start of scan area in mm (y) */
   SANE_FIX (216.7),   /* Size of scan area in mm (x) */
   SANE_FIX (299.0),   /* Size of scan area in mm (y) */
 
 The 2400 dpi resolution shows a vertical shift with respect to the lower
 resolutions: About 1 mm shifted (starts too late, ends too late).
 
 
 My other two issues (scanner not returning to start and A4 as default
 size in preview pane) are unchangend.
 
 
 Best regards,
 Peter

Hello,

I have checked that my LiDE 110 is working alright. It should have the 
same geometry than the LiDE 210. Could you run a test with the attached 
script. Then send the files in the results/mmdd-hhmmss directory it 
creates ? I would like to compare with the data I have here.

Thanks for your help,
Stef 
-- next part --
A non-text attachment was scrubbed...
Name: geometry
Type: application/x-shellscript
Size: 461 bytes
Desc: not available
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120326/a5ee838f/attachment.bin


[sane-devel] xsane source repositories

2012-03-26 Thread Stef
Le vendredi 23 mars 2012 11:33:49 Michael Nagel a ?crit :
 Hello Ruediger,
 
 I initiated a short discussion about putting the xsane soruce code under
 version control:
 
 http://lists.alioth.debian.org/pipermail/sane-devel/2012-January/029417.html
 http://lists.alioth.debian.org/pipermail/sane-devel/2012-January/029418.htm
 l
 http://lists.alioth.debian.org/pipermail/sane-devel/2012-February/029574.ht
 ml
 http://lists.alioth.debian.org/pipermail/sane-devel/2012-February/029576.ht
 ml
 
 I'd really like to hear your opinion on the topic.
 
 Best Regards  Thanks in Advance
 Michael

Hello,

why do you need such a repository ? The aforementioned mails don't 
explain it. Would sending patches to Oliver be enough ?

Regards,
Stef



[sane-devel] Mustek scanner

2012-03-26 Thread T.Kovács család
*Sorry, Y need to repeat my problem.*

My* Mustek scanner *theoretically works well with sane, but it is not
recognized automatically.
After the installing of an old backend (from the official Mustek site),
works just in SUDO mode.
On 64 bit system it could not be used anyway.

Any help on* fixing the backend in the SANE official package*, for
automatic use in the future?

*Thanks for Your attention!
*


2012. m?rcius 5. 21:09 T.Kov?cs csal?d ?rta, t.kovacs.csalad at gmail.com:

 Dear SANE developers!
 Y have a *Mutek ScanExpress A3 USB 1200 Pro* scanner.

 It hase a driver on the Mustek official page, which I was able to use with
 Ubuntu 10.4.
 *
 http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.com.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/libsane_1.0.19-1_i386.debDRIVERFILEID=447
 *

 On Ubuntu 11.10 it can't be installed due to the late sane version
 (1.0.19). But it is possible to use the backend from it (*
 libsane-mustek_usb2.so.1.0.19*), installed manually. But unfortunatelly
 the SCANIMAGE finds the scanner just in sudo mode.
 On the system in 64 bit, it is not possible to use in any configuration.

 It should be possible to integrate this driver in Sane proiect, to be used
 automatically in the future?
 Or maibe, it is just a case of settings?
 There is a forum or a help-list for this scanner?

 The output of sane-find-scanner is:
 *found USB scanner (vendor=0x055f, product=0x040b, chip=SQ113?) at
 libusb:002:004*

 Thank You for helping!
 T.K.Aron (Arhitect)

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120326/35334edb/attachment.html


[sane-devel] Mustek scanner

2012-03-26 Thread m. allan noah
If I recall correctly, the driver that mustek provides does not have
all its source code included, so it cannot be made a part of
sane-backends. Perhaps someday someone who wants this scanner to work
with truly free software will write a backend for it.

allan

On Mon, Mar 26, 2012 at 3:54 PM, T.Kov?cs csal?d
t.kovacs.csalad at gmail.com wrote:
 Sorry, Y need to repeat my problem.

 My Mustek scanner theoretically works well with sane, but it is not
 recognized automatically.
 After the installing of an old backend (from the official Mustek site),
 works just in SUDO mode.
 On 64 bit system it could not be used anyway.

 Any help on fixing the backend in the SANE official package, for automatic
 use in the future?

 Thanks for Your attention!



 2012. m?rcius 5. 21:09 T.Kov?cs csal?d ?rta, t.kovacs.csalad at gmail.com:

 Dear SANE developers!
 Y have a Mutek ScanExpress A3 USB 1200 Pro scanner.

 It hase a driver on the Mustek official page, which I was able to use with
 Ubuntu 10.4.

 http://www.mustek.com.tw/apprg/countdriverdownloadtimes?LINK=ftp://ftp.mustek.com.tw/pub//driver/A3IIIU2/600DPI/Linux/1LV1019/libsane_1.0.19-1_i386.debDRIVERFILEID=447

 On Ubuntu 11.10 it can't be installed due to the late sane version
 (1.0.19). But it is possible to use the backend from it
 (libsane-mustek_usb2.so.1.0.19), installed manually. But unfortunatelly the
 SCANIMAGE finds the scanner just in sudo mode.
 On the system in 64 bit, it is not possible to use in any configuration.

 It should be possible to integrate this driver in Sane proiect, to be used
 automatically in the future?
 Or maibe, it is just a case of settings?
 There is a forum or a help-list for this scanner?

 The output of sane-find-scanner is:
 found USB scanner (vendor=0x055f, product=0x040b, chip=SQ113?) at
 libusb:002:004

 Thank You for helping!
 T.K.Aron (Arhitect)



 --
 sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org



-- 
The truth is an offense, but not a sin