Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: 1 ... 151 152 [153] 154 155 ... 158
2281
FWIW I just tested with a HP Deskjet 2050 and scanning works via USB with this device too.

2282
Yes, send me the output of scanimage -help -d hpaio://....... and I've have a crack at updating scanner.dat

2283
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 18, 2013, 07:54:34 am »
Mine using this test.cmd:

set beginlibpath=c:\sane\lib;
set SANE_DEBUG_MUSTEK_USB=255
set SANE_DEBUG_SANEI_USB=255
set sane_config_dir=\sane\etc\sane.d
scanimage -v  >output.pnm 2>debugoutput.txt

return debugoutput.txt in attachment and a size 0  output.pnm
output.pnm came from  scanimage > output.pnm (your last with libusb logging enable)
Regards

Same as before:
libusb: 0.001000 debug [os2_get_device_list] 0 devices detected

Which is weird, as you can see the scanner with scanimage -L and with lsusb

Seems there is something weird with USB or usbcalls on your system

2284
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 17, 2013, 11:14:09 pm »
Quote
Any change of a debug log from 1.0.22? Might also be worth sending you a scanimage.exe with libusb logging enabled....
I have attached the relevant portion of the debugoutput.txt from 1.00.22.
Yes, please send me a scanimage.exe with libusb logging enabled.

http://smedley.id.au/tmp/scanimage-logging.zip

2285
HI Gabriele,

C:\sane>hp-mkuri -b 1 -d 3
hp:/usb/Photosmart_C4100_series?serial=MY759J14HV04J7
hpaio:/usb/Photosmart_C4100_series?serial=MY759J14HV04J7

(it's an old Photosmart C4180 AllInOne). Tested a couple of colour scans and works fine, thanks a lot!!!
Can someone suggest me a good frontend for scanimage? Is Tame still a good option or something QT-based appeared in the meantime?

By the way (and knowing that I'm going against the flow): root directory is becoming a bit crowded with \cups, \gs, \gutenprint and now \hplib and \sane around, would be great being able to install CUPS and Sane with RPM :-)

Per the readme, hplip doesn't need to be in root.  Edit %ETC%\hplip.conf and move it wherever you like. Likewise, I'm certain /sane doesn't need to be in root.

For printing to your C4100, are you using hplip or gutenprint? I'll try get the hplip printing backend from 3.13.3 put together over the weekend - then you could remove /gutenprint too.

For frontends, I think Tame is still the best bet, although you'll need an updated scanner.dat. I'm not aware of any Qt Sane frontends.

Thanks for testing!

Paul

2286
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 17, 2013, 11:42:53 am »
Quote
The log shows: [genesys] attach: found Canon flatbed scanner LiDE 210 at libusb:001:001
I don't seen any scan attempt. What command line was used?

I used d:\sane23\scanimage -L >output.pnm 2>debugoutput.txt

Quote
To try a scan, just try: scanimage > output.pnm

[D:\sane23]scanimage > output.pnm
scanimage: open of device genesys:libusb:001:001 failed: Invalid argument

That failed so I used:

@echo off
setlocal
set beginlibpath=d:\sane23\lib;
set SANE_CONFIG_DIR=d:\sane23\etc\sane.d
set SANE_DEBUG_GENESYS=255
set SANE_DEBUG_SANEI_USB=255
rem - d:\sane23\scanimage -L >output.pnm 2>debugoutput.txt
d:\sane23\scanimage >output.pnm 2>debugoutput.txt
endlocal
exit

This gives "sanei_usb_control_msg: libusb complained: Input/output error" always at the same spot when I try again after unplug/replug of the scanner. This is different from your earlier sane-1.0.22-os2-20120131.zip product which allows me to actual obtain a scan.

Interesting. Any change of a debug log from 1.0.22? Might also be worth sending you a scanimage.exe with libusb logging enabled....

2287
Hi All,

As a result of my port of libusb-1.0 to OS/2, I have now managed to scan using USB with a HP Photosmart 7510 multi-function device.

An experimental build of hpaio.dll is now available from http://smedley.id.au/tmp/hpaio-3.13.3-os2-20130517.zip

I can successfully scan using both the network and usb connections.

Please read the readme.os2 for details on how to configure this.

Cheers,

Paul

2288
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 17, 2013, 05:38:21 am »
Hi Ivan,

using scanimage --mode color --resolution 300 I got the attached output - converted to jpg to take up less space.

Using --format tif produces the expected tif file output and all the resolutions work

I used the page I did because it represents the type of pages I have to copy and sometimes OCR.  In fact I'm quite pleased with the results, thank you.

I notice there are a lot of options in the epson2 backend listed as [inactive], will any of these be made active in the future?

Thanks for the feedback. IN terms of the [inactive] options in the epson2 backend, that's a question for the Sane guys - I jsut pored it to OS/2 :)

Cheers,

Paul.

2289
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 10:10:22 pm »
I used the following to obtain debugoutput.txt from my CanoScan LiDE 210 scanner. 
And it reports that the scanner is not configured:

Can you confirm this is with:
12/05/13  10:01       5,769,032           0  scanimage.exe

Yes, that is the one I used. However, I shot myself in the foot :( since I had the scanner attached to my own usbecd.sys device driver at the same time. That driver never issues a set configuration request by itself although it always sets a flag that it has done so upon device attachment. Without that driver the scanner is configured.

The log shows:
[genesys] attach: found Canon flatbed scanner LiDE 210 at libusb:001:001

I don't seen any scan attempt. What command line was used?

To try a scan, just try:
scanimage > output.pnm

If it fails:
@echo off
setlocal
set beginlibpath=d:\sane23\lib;
set SANE_CONFIG_DIR=d:\sane23\etc\sane.d
set SANE_DEBUG_GENESYS=255
set SANE_DEBUG_SANEI_USB=255
d:\sane23\scanimage  >output.pnm 2>debugoutput.txt
endlocal
exit

2290
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 10:06:58 pm »
Hi Ivan,

Paul, just doing scanimage >output.pnm on my Epson 640U produces a black and white scan - just readable, would create problems with OCR.

Yup - that's OK - so the scanner works?

try something like:
scanimage -mode color -resolution 300 -x 210 -y 297 > output.pnm

I think the default with the epson2 backend is for lineart mode.
scanimage --help -d epson2 will show you all the options for controlling the scanner backend.

2291
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 11:18:05 am »
I used the following to obtain debugoutput.txt from my CanoScan LiDE 210 scanner. 
And it reports that the scanner is not configured:

Can you confirm this is with:
12/05/13  10:01       5,769,032           0  scanimage.exe

2292
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 04:23:05 am »
Paul, here are the outputs from my usb scanner.

out.pnm shows:
device `epson2:libusb:001:001' is a Epson Perfection640 flatbed scanner

so this is the result of scanimage -L?

try scanimage > output.pnm and see if the scanner fires up.

2293
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 04:20:10 am »
This is the output
scanimage >output.pnm 2>debugoutput.txt

Interesting - despite the previous log showing the scanner was detected:
[sanei_usb] sanei_usb_init: Looking for libusb-1.0 devices
[sanei_usb] sanei_usb_init: found 0 devices


Does lsusb see the scanner?

2294
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 16, 2013, 04:17:48 am »
Paul, do you mean that bluetooth may be ported to os/2 ecomstation?
It may be possible. Of course, whether this means bluetooth keyboards/mice can be supported, remains to be seen.

2295
Applications / Re: libusb-1.0 port to OS/2 - help needed
« on: May 15, 2013, 11:50:47 am »
Hmmmmmm this could be interesting: https://code.google.com/p/btstack/
"Bluetooth for All!
The aim of this project is to support devices for which the OS either does not provide a Bluetooth Stack or the available stack is severely limited (e.g., on the iPhone - more than 2.5 million installations). In addition, BTstack is well suited for small, resource-constraint devices such as 8 or 16 bit embedded systems as it is highly configurable and comes with an ultra small memory footprint. A minimal configuration for an SPP server on a MSP430 can run in 32 kB FLASH and only 4 kB of RAM.

On larger POSIX systems, it provides a user-space daemon that connects to the Bluetooth modules via different Bluetooth HCI transport layers (e.g., HCI H4 UART and H5 the "Tree-Wire" protocol). Multiple applications can communicate with this daemon over different inter-process communication methods.

On embedded systems, a minimal run loop implementation allows to use BTstack without a Real Time OS (RTOS). If a RTOS is already used, BTstack can be integrated and run as a single thread. The source repository provides ports for different MSP430 development boards. Other platforms can be targeted by providing the necessary UART, CPU, and CLOCK implementations, see MSP430GettingStarted and EmbeddedSystems. Get the documentation for embedded systems: BTstack Manual v1.0.

Implementation of the Bluetooth 4.0 Low Energy specification has started and BTstack can be operated both as a single mode or a dual mode stack, see BLE.

For starters, look at the Wiki pages for an Architecture overview and the little GettingStarted example for iOS.

Quite a while ago, BTstack was presented at the Google Open Source Jam in Zurich with a focus on the iPhone.

BTstack is available under a dual license. The code provided in this repository allows for non-commercial use. Commercial use is provided by BlueKitchen GmbH."

Pages: 1 ... 151 152 [153] 154 155 ... 158