Re: [sane-devel] Raspbian Jessie - scanbd scripting issue

2015-04-01 Thread Wilhelm
Am 31.03.2015 um 18:26 schrieb RainerF:
 Wilhelm,
 
 I wasn't sure what you meant with
 
 Wilhelm Meier-2 wrote
 So please change the bool-expression in this if() to true and test,
 please.
 
 So I commented the outer if statement
 
 // if ((st-opts[si].from_value.num_value == st-opts[si].value.num_value) 
 //   (st-opts[si].to_value.num_value == value)) {
  slog(SLOG_DEBUG, value trigger: numerical);
  st-triggered = true;
  st-triggered_option = si;
  // we need to trigger all waiting threads
  if (pthread_cond_broadcast(st-cv)  0) {
  slog(SLOG_ERROR, pthread_cond_broadcats: this shouln't happen);
  }
 // }
 
 and recompiled. That's working now for all buttons.

Ok, thanks for testing!
I will make a new release in a few days.

 
 Thanks a lot for your efforts!
 
 Kind regards,
 Rainer
 
 View this message in context: Re: Raspbian Jessie - scanbd scripting
 issue
 http://sane.10972.n7.nabble.com/Raspbian-Jessie-scanbd-scripting-issue-tp19611p19625.html
 Sent from the SANE - Dev mailing list archive
 http://sane.10972.n7.nabble.com/SANE-Dev-f3.html at Nabble.com.
 
 


-- 
Wilhelm

-- 
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


Re: [sane-devel] UsbSnoop for Canon DR-C225

2015-04-01 Thread Nicolas Marchildon
Le mar. 31 mars 2015 à 20:55, m. allan noah kitno...@gmail.com a écrit :

 The image format from this machine is nothing like that from the
 DR-C125, and our attempt to descramble it using the same functions fails.


Oh, that's sad.


 Can you get another usb log from windows, but this time with a low
 resolution, color duplex scan, of only the top of the paper? If the
 front side could have RGB written in those colors, and the back side
 could be blank or have black writing, that would help.


I'll do that tomorrow. I have attached what I plan to scan. I assume a
large font is going to make it easier to spot.


rgb.pdf
Description: Adobe PDF document


rgb.odg
Description: application/vnd.oasis.opendocument.graphics
-- 
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

Re: [sane-devel] UsbSnoop for Canon DR-C225

2015-04-01 Thread Nicolas Marchildon
Le mar. 31 mars 2015 à 21:56, Nicolas Marchildon nico...@marchildon.net a
écrit :

 Can you get another usb log from windows, but this time with a low
 resolution, color duplex scan, of only the top of the paper? If the
 front side could have RGB written in those colors, and the back side
 could be blank or have black writing, that would help.


 I'll do that tomorrow. I have attached what I plan to scan. I assume a
 large font is going to make it easier to spot.


I cut the bottom of the sheet off in an attempt to reduce file size, but
it's slightly bigger. I can't go lower than 150 dpi.

https://drive.google.com/file/d/0B1s3C34oDHi5UkowLTVaZDZsSVk/view
-- 
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

Re: [sane-devel] Canon laser multi-functional support: MFNP protocol

2015-04-01 Thread Louis Lagendijk
On Wed, 2015-04-01 at 18:39 +0300, Michael Shigorin wrote:
 Hello Louis,
 
 thank you for the SANE efforts!
 
 
 I've curently got access to a few MFNP capable Canon multifunctionals,
 namely imageRUNNER 1133iF and i-Sensys MF6140dn/MF8540Cdn; these avoid
 any networked scans for me so far (tried both 1.0.24 and today's git
 snapshot), but I've got some debug dumps to start with; 8540 does get
 identified (but fails to scan) while 6140 and 1133 sort of show up
 with get_scanner_id but seem to fail with sanei_bjnp_find_devices.
 
 
 Trying to arrange some kind of development-mode access so I could do
 pcap dumps and provide better feedback, would it be useful to you?
 
 
 
 Note that all three of these MFPs won't scan over USB for me either;
 1133 and some other MF8xxx are marked as untested over at
 http://sane-project.org/sane-mfgs.html#Z-CANON -- my understanding of
 https://lists.alioth.debian.org/pipermail/sane-devel/2011-February/028295.html
  is that your BJNP/MFNP code might be OK for  at least for 8540 with the 
 actual backend needing to be fixed first.
 
 PS: I'm not subscribed to sane-devel@ yet (been lurking via archives
 for years though), will hopefully do as soon as I have access to my
 regular email, and it'd be good to CC the list in the meantime if this
 message is worth replying to.

Hi Mike
Before anything: if scanning over USB  does not work, trying to scan
over the network is bound to fail. Please get the mailing list to help
you with that first. 
for the MF8540 first a question: what did you use to initiate the scan?
It looks as if a scan was not attempted. Please try (over USB):
scanimage  filename
and see what happens. As you saw it is not clear whether the device is
supported with the current pixma backend. Maybe somebody on the list
that knows the backend better than I do can help you with that (the
MF8500 series is listed in pixma_imageclass.c, so it is probably
possible to get it working, I only wrote the networking code).

the ImageRunner 1133 is listed too in the same file, so getting it to
work is probably possible too

The MF6100 series is not listed, but it again might be quite possible to
get it to work.

But again: please get the devices to work over USB first before you
attempt the network. On the list you should be able to get more help. I
only wrote the network code, not the bsckend proper

Kind regards, Louis




-- 
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