[sane-devel] Proposed patch for the snapscan semaphore issue

2008-03-18 Thread Julien BLACHE
Oliver Schwartz wrote: Hi, > If I read your patch correctly it would also break support for the old > USB access by device /dev/usb/scanner0 on Linux 2.4.x (or was it > 2.2.x?) without libusb. Maybe it's a good idea to fall back to the > old ftok() method if the device name doesn't start with "l

[sane-devel] Redhat 9 mustek 1200 xsane invalid argument

2008-03-18 Thread Martin
Hello, I can get my mustek 1200 scanner working using, As a normal user I can scan it: $ /usr/local/bin/scanimage --device-name=gt68xx:/dev/usb/scanner0 --mode Color --resolution 600 > aaa.pnm I can open up the file in Gimp and save it as aaa.jpg file format: $ gimp aaa.pnm But... when trying t

[sane-devel] SANE backend epson2 and Epson Perfection V700 Photo

2008-03-18 Thread Adolf Winterer
Am Montag, 17. M?rz 2008 15:42 schrieb Claus: > Adolf Winterer skrev: > > Hello Claus, > > > > Am Sonntag, 16. M?rz 2008 00:00 schrieb Claus Boje: > >> L?rdag den 15. Marts 2008 skrev Adolf Winterer: > >> > Thank you for your answer, Alessandro. > >> > > >> > Am Freitag, 14. M?rz 2008 15:17 schrieb

[sane-devel] Canon Pixma MX700 Sane backend

2008-03-18 Thread Nicolas
Recent PIXMA all-in-ones, released by Canon, appear to be designed with a common USB communication protocol, at least for the scanner part. PIXMA MX850 is most probably also using the same protocol ... but one can be sure only after giving a try ... Anyway, if MX850 runs a new communication pro

[sane-devel] SANE backend epson2 and Epson Perfection V700 Photo

2008-03-18 Thread Adolf Winterer
Am Dienstag, 18. M?rz 2008 01:11 schrieb Olaf Meeuwissen: > Adolf Winterer writes: > > Hello Olaf, > > > > Am Montag, 17. M?rz 2008 01:19 schrieb Olaf Meeuwissen: > >> Hope this helps, > > > > It helps a little bit. The question I have to answer is: If I > > purchase a V700 Photo, do I get a worki

[sane-devel] HAL and scanners.

2008-03-18 Thread Étienne Bersac
Hi, > extending sane_open just a bit to always > support 'libusb:xxx:yyy' or '/dev/sgX' is not an API change, so could > be implemented much sooner, and really only requires changes to the > backends that dont already use those names, which is few. Right. Considering that HAL currently support us

[sane-devel] HAL and scanners.

2008-03-18 Thread abel deuring
Hi all, On 18.03.2008 17:15, ?tienne Bersac wrote: > Hi, > > I answer both allan and abel in this mail. > >> we can also add a function like sane_get_device_information to the >> Sane API that would return data like USB bus and devices numbers [?] > >> A HAL callout can then call sane_get_devic

[sane-devel] Canon Pixma MX700 Sane backend

2008-03-18 Thread Gernot Hassenpflug
On Mon, Mar 17, 2008 at 3:21 AM, Nicolas wrote: > FYI, the Canon PIXMA MX700 (all-in-one) is now supported by the pixma > backend, for both flatbed and ADF scanning. > > Thanks to Mike, owner of a PIXMA MX700, who contacted me and provided > the USB Snoops with the Windows driver, and then test

[sane-devel] HAL and scanners.

2008-03-18 Thread Étienne Bersac
Hi, I answer both allan and abel in this mail. > we can also add a function like sane_get_device_information to the > Sane API that would return data like USB bus and devices numbers [?] > A HAL callout can then call sane_get_devices, call > sane_get_device_information for each Sane device and c

[sane-devel] HAL and scanners.

2008-03-18 Thread abel deuring
Hi all, On 18.03.2008 16:03, m. allan noah wrote: > On Tue, Mar 18, 2008 at 10:24 AM, ?tienne Bersac > wrote: >> Hi, >> >> In january 2007, happened a very good discussion this list about SANE >> and HAL wich led to shipping a basic fdi. >> >> http://lists.alioth.debian.org/pipermail/sane-de

[sane-devel] HAL and scanners.

2008-03-18 Thread Étienne Bersac
Hi, ? We should encapsulate all HAL/DBus call inside hal backend. > the hal backend will load '', and ask > it for a list of scanners it can find, and somehow pick the one that > goes with the ''. But how can hal backend filter the device list ? Can we avoid the actual backend to search scanner

[sane-devel] HAL and scanners.

2008-03-18 Thread Étienne Bersac
Hi, In january 2007, happened a very good discussion this list about SANE and HAL wich led to shipping a basic fdi. http://lists.alioth.debian.org/pipermail/sane-devel/2007-January/018343.html. Currently, sane-desc generate a very basic fdi which only badge device as scanner and add a property "

[sane-devel] HAL and scanners.

2008-03-18 Thread Étienne Bersac
Hi, > unfortunately, no /dev/sgX name for the device in hal, but we can use > the host/chan/id/lun to get it. HAL provide itself the /dev/sgX for SCSI in e.g. "linux.device_file". Regards, ?tienne.

[sane-devel] HAL and scanners.

2008-03-18 Thread m. allan noah
On Tue, Mar 18, 2008 at 2:07 PM, ?tienne Bersac wrote: > Hi, > > > > extending sane_open just a bit to always > > support 'libusb:xxx:yyy' or '/dev/sgX' is not an API change, so could > > be implemented much sooner, and really only requires changes to the > > backends that dont already use tho

[sane-devel] saned -d6 OK saned fails

2008-03-18 Thread Geoff Lane
On 16 Mar 2008 at 17:30, m. allan noah wrote: This USER and GROUPS setup is losing me a wee bit. I have followed the instructions as in the MAN pages, my inetd file showes the following line; stream tcp nowait saned.saned /usr/sbin/saned saned My scanner works fine on my host Linux computer an

[sane-devel] HAL and scanners.

2008-03-18 Thread m. allan noah
On Tue, Mar 18, 2008 at 12:48 PM, abel deuring wrote: > Hi all, > > > On 18.03.2008 17:15, ?tienne Bersac wrote: > > Hi, > > > > I answer both allan and abel in this mail. > > > >> we can also add a function like sane_get_device_information to the > >> Sane API that would return data like U

[sane-devel] Well known sensor

2008-03-18 Thread Étienne Bersac
Hi, > the windows software does boolean logic on this value, along with > the state of the other buttons and sensors, to provide many 'preset' > scan modes. it might be nice if your code could support that idea. Agree, i'll implement this once i have user feedback. I may ping you then for deeper

[sane-devel] HAL scanner addon

2008-03-18 Thread Étienne Bersac
Hi, > Could you explain which end-user issues do you like to solve? Currently, if user put paper and push "scan" button, nothing happen. While scanning, if user push "cancel" button, nothing happen (except maybe some high level device like all-in-one). If forgot to plug or switch on the scanner b

[sane-devel] HAL and scanners.

2008-03-18 Thread m. allan noah
On Tue, Mar 18, 2008 at 11:27 AM, ?tienne Bersac wrote: > Hi, > ? > We should encapsulate all HAL/DBus call inside hal backend. > > > > the hal backend will load '', and ask > > it for a list of scanners it can find, and somehow pick the one that > > goes with the ''. > > But how can hal ba

[sane-devel] HAL and scanners.

2008-03-18 Thread m. allan noah
On Tue, Mar 18, 2008 at 10:24 AM, ?tienne Bersac wrote: > Hi, > > In january 2007, happened a very good discussion this list about SANE > and HAL wich led to shipping a basic fdi. > http://lists.alioth.debian.org/pipermail/sane-devel/2007-January/018343.html. > > Currently, sane-desc generate

[sane-devel] HAL scanner addon

2008-03-18 Thread Johannes Meixner
Hello, On Mar 17 20:53 ?tienne Bersac wrote (shortened): > > > sell us on the IDEA first, then lets look at the implementation. ... > The most important goal of HAL is to provide plug-and-play facilities > for UNIX Could you explain which end-user issues do you like to solve? > hal-scanner pr

[sane-devel] saned -d6 OK saned fails

2008-03-18 Thread m. allan noah
On Tue, Mar 18, 2008 at 9:45 AM, Geoff Lane wrote: > On 16 Mar 2008 at 17:30, m. allan noah wrote: > > This USER and GROUPS setup is losing me a wee bit. > > I have followed the instructions as in the MAN pages, my inetd file showes > the following line; > > stream tcp nowait saned.saned /usr/

[sane-devel] Network scanners

2008-03-18 Thread Johannes Meixner
Hello, On Mar 14 16:33 rozelak at volny.cz wrote (shortened): > I would like to ask, how network scanners are supported. ... > I am interested, as we have Canon iR2200 copy/printer/scanner > (huge) machine in my work, and I would like to know if it > can be accessed from linux (or SANE in general

[sane-devel] SANE backend epson2 and Epson Perfection V700 Photo

2008-03-18 Thread Olaf Meeuwissen
Adolf Winterer writes: > Hello Olaf, > > Am Montag, 17. M?rz 2008 01:19 schrieb Olaf Meeuwissen: > >> Hope this helps, > > It helps a little bit. The question I have to answer is: If I > purchase a V700 Photo, do I get a working device with the epson2 > backend or do I get an expensive, useless b

[sane-devel] Formulardaten

2008-03-18 Thread cgi-mai...@kundenserver.de
=== == Neuer Eintrag === --- -- Formular: 'adddev' --- 1. Your email address: 'mail at test.ws' 2. Manufacturer (e.g. "Mustek