[sane-devel] French translation status

2008-01-15 Thread stef
Hello,

here a few things I noticed on the diff with previous version:

msgstr Vitesse normal   - msgstr Vitesse normale

mirroir  - miroir

 Apr?s avoir envoyer la commande de num?risation, attendre l'appui du 
 bouton avant de commencer la num?risation.
- Apr?s avoir envoy?

 msgstr Focer l'utilisatioon de la profondeur r??elle
- Forcer l'utilisation de la profondeur r?elle

 Si la correction gamme est activ?e, ...
- Si la correction gamma

horizontallement - horizontalement
verticallement - verticalement

 msgstr ACtive l'acc?l?ration du mouvement 
- Active

Toute autre valeurs permet  - Toute autre valeur permet


Regards,
Stef



[sane-devel] annoying bug in sp15c backend ?

2008-01-15 Thread René Rebe
Hi,

I never had a sp15c scanner, but I voted in the past to let
someone test the functionality and if all just works with the
Avision backend get rid of the duplicate sp15c backend
(same probably holds for the tamarack backend).

Regarding the concurency: This should not be a big voting point, as
the open, work, close behaviour of the Avision backend should be the
same as with most other SANE backends, if a device is used it is used
exclusively.

I also do not plan to make the Avision backend more complex as it
is optimizing for thruput and can optimize hadware re-programming
away and this assumes noone else tinkers with the scanner
behind the backends back. After all it's a driver, and there should
be only one driver instance messing with the device at a given time.
(e.g. look at the HAL vs. wodim / cdrecord issues).

 OPTION |SP15C|AVISION
 =
 --sourceADF,FBNORMAL,ADF
 --mode Lineart,Lineart,
   Halftone, Dithered,
   4-bit Gray,
   8-bit Gray,  Gray,
Color   Color
 --resolution std {0,60,75,80,...600} [0-300] SANE_Range
 --y-resolution  std {0,60,75,80,...600}

I can certainly add support for 4-bit Gray. When I saw the
4-bit protocol bit set on a Avision device I wondered more if it
was random firmware data than an actual feature :-)

Regarding the resolution: The Avision backend allows scanning
up to what the scanner returns as max. or optical resolution. That
is up to 5400 dpi of Avision based film scanners :-) There is certainly
something in the protocol bits set to make my driver think it can
only go up to 300.

If someone needs different y than x resolution it's on my list of
nice to have things to implement next and should be farily easy :-)

Yours,

-- 
  Ren? Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  Gesch?ftsf?hrer: Susanne Klaus, Ren? Rebe
  Sitz: Berlin, Amtsgericht Charlottenburg HRB 105 123 B
  USt-IdNr.: DE251602478
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name



[sane-devel] French translation status

2008-01-15 Thread patrick ficheux
quelques f?tes dans sane-backends.fr.po (revision 1.41 from CVS)

msgstr Effectue une num?risation en niveaux de gris plutot qu'en
couleurs = Effectue une num?risation en niveaux de gris plut?t qu'en
couleurs
msgstr Echantillonage = Echantillonnage
msgstr Echantillonage mat?riel = Echantillonnage mat?riel
msgstr Utilise seulement les valeurs d'?chantillonage mat?riel =
Utilise seulement les valeurs d'?chantillonnage mat?riel
msgstr Image mirroir = Image miroir
msgstr Image mirroir horizontal = Image miroir horizontal
msgstr Affiche une liste r?duite d'?chantillonage = Affiche une
liste r?duite d'?chantillonnage
msgstr Ejecte le document apres la num?risation = Ejecte le document
apr?s la num?risation
msgstr Selectionne la baie contennant le document ? num?riser =
S?lectionne la baie contenant le document ? num?riser
msgstr Affiche une liste r?duite d'?chantillonage = Affiche une
liste r?duite d'?chantillonnage
msgstr S?lectionne la valeur de gamma pour tous les cannaux. =
S?lectionne la valeur de gamma pour tous les canaux.
msgstr Cette option refl?te un bouton de la facade du scanner =
Cette option refl?te un bouton de la fa?ade du scanner
msgstr Personalis? = Personnalis?

Regards,

stef a ?crit :
   Hello,

   here a few things I noticed on the diff with previous version:

 msgstr Vitesse normal   - msgstr Vitesse normale

 mirroir  - miroir

   
 Apr?s avoir envoyer la commande de num?risation, attendre l'appui du 
 bouton avant de commencer la num?risation.
 
 - Apr?s avoir envoy?

   
 msgstr Focer l'utilisatioon de la profondeur r??elle
 
 - Forcer l'utilisation de la profondeur r?elle

   
 Si la correction gamme est activ?e, ...
 
 - Si la correction gamma

 horizontallement - horizontalement
 verticallement - verticalement

   
 msgstr ACtive l'acc?l?ration du mouvement 
 
 - Active

 Toute autre valeurs permet- Toute autre valeur permet


 Regards,
   Stef

   






[sane-devel] Canon LiDE 90

2008-01-15 Thread Guillaume Gastebois
Hello,

OK, my motor moves !

But, someting doesn't work during initialisation : I get floating point 
error !

I modified genesys_gl841.c for instrumentation and genesys_devices.c 
(genesys_sensor section) in accordance to my windows usb snoop log (see 
attacement).

SANE_DEBUG_GENESYS_GL841=255 scanimage 
-device-name=genesys:libusb:001:066  toto.pnm ends with :

[genesys_gl841] reg[0x86] = 0x00
[genesys_gl841] reg[0x87] = 0x00
[genesys_gl841] gl841_bulk_write_register: wrote 104 registers
[genesys_gl841] gl841_led_calibration: starting first line reading
[genesys_gl841] gl841_begin_scan
[genesys_gl841] gl841_bulk_write_register (elems = 4)
[genesys_gl841] reg[0x03] = 0x5f
[genesys_gl841] reg[0x01] = 0x81
[genesys_gl841] reg[0x0d] = 0x01
[genesys_gl841] reg[0x0f] = 0x01
[genesys_gl841] gl841_bulk_write_register: wrote 4 registers
[genesys_gl841] gl841_begin_scan: completed
[genesys_gl841] gl841_bulk_read_data: requesting 31200 bytes
[genesys_gl841] gl841_bulk_read_data: trying to read 31200 bytes of data
[genesys_gl841] gl841_bulk_read_data read 31200 bytes, 0 remaining
[genesys_gl841] gl841_bulk_read_data: completed
[genesys_gl841] gl841_led_calibration: average: 0,801,302
[genesys_gl841] gl841_led_calibration: avga=367,expr=0,expg=0,expb=0,avge=0
Exception en point flottant (floating point exception)

See sample image toto.jpg too (when commenting zero division in 
genesys_gl841.c the scanner scans an image).

Help needed thanks

Guillaume


-- next part --
A non-text attachment was scrubbed...
Name: genesys_devices.c
Type: text/x-csrc
Size: 22784 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080115/a47bdceb/attachment-0001.c
 
-- next part --
A non-text attachment was scrubbed...
Name: toto.jpg
Type: image/jpeg
Size: 7625 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080115/a47bdceb/attachment-0001.jpg
 


[sane-devel] French translation status

2008-01-15 Thread Yann E. MORIN
Hello All!

On Tuesday 15 January 2008 07:01:18 stef wrote:
   here a few things I noticed on the diff with previous version:
[--SNIP--]

Thank you Stef and Patrick for your review! Applied all.
It means I should definitely not be doing translations after 11pm! :-]

See the updated file (patch attached).

Regards,
Yann E. MORIN.

PS. Message to all SANE developers:
SANE rocks! Keep up the good work!
YEM.

-- 
.-..--..
|  Yann E. MORIN  | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN |   ^|
| --== ?_? ==-- ?.---:  X  AGAINST  |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL|conspiracy.  |
?--?---?--??
-- next part --
A non-text attachment was scrubbed...
Name: sane-backends.fr.po.patch
Type: text/x-diff
Size: 13456 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080115/bcb09f68/attachment.patch
 


[sane-devel] Compiling sane-backends on FC8 64bit

2008-01-15 Thread Chris
Hi folks, I am struggling to compile sane-backends on FC8 x86_64

I've googled and searched the lists but the only similar problem I could 
find was back in June 2004 and the noted solution didn't work for me. 
Please can anyone help? The output of make is below. Please let me know 
if I need to provide any other information.

Many thanks
Chris


making depend in include
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/include'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/include'
making depend in lib
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
makedepend -I. -I../include *.c 2/dev/null
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
making depend in sanei
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/sanei'
makedepend -I. -I../include *.c 2/dev/null
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/sanei'
making depend in backend
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/backend'
makedepend -I. -I. -I../include -I../include *.c 2/dev/null
makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2/dev/null
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/backend'
making depend in frontend
make[1]: Entering directory 
`/home/cnolan/Download/sane-backends-1.0.18/frontend'
makedepend -I. -I. -I../include -I../include -I/usr/local/include *.c 
2/dev/null
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/frontend'
making depend in tools
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/tools'
makedepend -I. -I. -I../include -I../include *.c 2/dev/null
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/tools'
making depend in doc
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
making depend in po
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/po'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/po'
making all in include
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/include'
making all in lib
make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
-DPATH_SANE_DATA_DIR=/usr/local/share   -DPATH_SANE_LOCK_DIR=
-DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall getenv.c
getenv.c:13:4: error: #error Missing getenv() on this platform.  Please 
implement.
getenv.c: In function ?getenv?:
getenv.c:6: warning: unused parameter ?name?
make[1]: *** [getenv.o] Error 1
make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
make: *** [all-recursive] Error 1





[sane-devel] Compiling sane-backends on FC8 64bit

2008-01-15 Thread m. allan noah
look in config.log for the getenv test. what is the result?

allan

On 1/15/08, Chris chris at cenolan.com wrote:
 Hi folks, I am struggling to compile sane-backends on FC8 x86_64

 I've googled and searched the lists but the only similar problem I could
 find was back in June 2004 and the noted solution didn't work for me.
 Please can anyone help? The output of make is below. Please let me know
 if I need to provide any other information.

 Many thanks
 Chris


 making depend in include
 make[1]: Entering directory 
 `/home/cnolan/Download/sane-backends-1.0.18/include'
 make[1]: Nothing to be done for `depend'.
 make[1]: Leaving directory 
 `/home/cnolan/Download/sane-backends-1.0.18/include'
 making depend in lib
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
 makedepend -I. -I../include *.c 2/dev/null
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
 making depend in sanei
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/sanei'
 makedepend -I. -I../include *.c 2/dev/null
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/sanei'
 making depend in backend
 make[1]: Entering directory 
 `/home/cnolan/Download/sane-backends-1.0.18/backend'
 makedepend -I. -I. -I../include -I../include *.c 2/dev/null
 makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2/dev/null
 make[1]: Leaving directory 
 `/home/cnolan/Download/sane-backends-1.0.18/backend'
 making depend in frontend
 make[1]: Entering directory 
 `/home/cnolan/Download/sane-backends-1.0.18/frontend'
 makedepend -I. -I. -I../include -I../include -I/usr/local/include *.c 
 2/dev/null
 make[1]: Leaving directory 
 `/home/cnolan/Download/sane-backends-1.0.18/frontend'
 making depend in tools
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/tools'
 makedepend -I. -I. -I../include -I../include *.c 2/dev/null
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/tools'
 making depend in doc
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
 make[1]: Nothing to be done for `depend'.
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
 making depend in po
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/po'
 make[1]: Nothing to be done for `depend'.
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/po'
 making all in include
 make[1]: Entering directory 
 `/home/cnolan/Download/sane-backends-1.0.18/include'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory 
 `/home/cnolan/Download/sane-backends-1.0.18/include'
 making all in lib
 make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
 gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
 -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d 
 -DPATH_SANE_DATA_DIR=/usr/local/share   -DPATH_SANE_LOCK_DIR=
 -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall getenv.c
 getenv.c:13:4: error: #error Missing getenv() on this platform.  Please 
 implement.
 getenv.c: In function 'getenv':
 getenv.c:6: warning: unused parameter 'name'
 make[1]: *** [getenv.o] Error 1
 make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
 make: *** [all-recursive] Error 1



 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/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] Compiling sane-backends on FC8 64bit

2008-01-15 Thread m. allan noah
thats an option- but remember to cut out their usb_reset patch- it is
a bad idea...

allan

On 1/15/08, Martin Kho mkho at xs4all.nl wrote:
 Why don't you use a source rpm specific for f-8? You can also see which
 patches the fedora folks have made. Maybe the spec-file gives you some more
 clues.

 Martin


 On Wednesday 16 January 2008, Chris wrote:
  Hi folks, I am struggling to compile sane-backends on FC8 x86_64
 
  I've googled and searched the lists but the only similar problem I could
  find was back in June 2004 and the noted solution didn't work for me.
  Please can anyone help? The output of make is below. Please let me know
  if I need to provide any other information.
 
  Many thanks
  Chris
 
 
  making depend in include
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/include' make[1]: Nothing to be
  done for `depend'.
  make[1]: Leaving directory
  `/home/cnolan/Download/sane-backends-1.0.18/include' making depend in lib
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/lib' makedepend -I.
  -I../include *.c 2/dev/null
  make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
  making depend in sanei
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/sanei' makedepend -I.
  -I../include *.c 2/dev/null
  make[1]: Leaving directory
  `/home/cnolan/Download/sane-backends-1.0.18/sanei' making depend in backend
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/backend' makedepend -I. -I.
  -I../include -I../include *.c 2/dev/null
  makedepend -a -o.lo -I. -I. -I../include -I../include *.c 2/dev/null
  make[1]: Leaving directory
  `/home/cnolan/Download/sane-backends-1.0.18/backend' making depend in
  frontend
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/frontend' makedepend -I. -I.
  -I../include -I../include -I/usr/local/include *.c 2/dev/null make[1]:
  Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/frontend'
  making depend in tools
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/tools' makedepend -I. -I.
  -I../include -I../include *.c 2/dev/null
  make[1]: Leaving directory
  `/home/cnolan/Download/sane-backends-1.0.18/tools' making depend in doc
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/doc' make[1]: Nothing to be
  done for `depend'.
  make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/doc'
  making depend in po
  make[1]: Entering directory `/home/cnolan/Download/sane-backends-1.0.18/po'
  make[1]: Nothing to be done for `depend'.
  make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/po'
  making all in include
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/include' make[1]: Nothing to be
  done for `all'.
  make[1]: Leaving directory
  `/home/cnolan/Download/sane-backends-1.0.18/include' making all in lib
  make[1]: Entering directory
  `/home/cnolan/Download/sane-backends-1.0.18/lib' gcc -c -DHAVE_CONFIG_H -I.
  -I. -I../include/sane -I../include
  -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
  -DPATH_SANE_DATA_DIR=/usr/local/share   -DPATH_SANE_LOCK_DIR=
  -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall getenv.c getenv.c:13:4: error:
  #error Missing getenv() on this platform.  Please implement. getenv.c: In
  function 'getenv':
  getenv.c:6: warning: unused parameter 'name'
  make[1]: *** [getenv.o] Error 1
  make[1]: Leaving directory `/home/cnolan/Download/sane-backends-1.0.18/lib'
  make: *** [all-recursive] Error 1



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