[sane-devel] fujitsu scanner owners needed
On Thu, Sep 4, 2008 at 12:28 PM, m. allan noah kitno455 at gmail.com wrote: On Thu, Sep 4, 2008 at 11:11 AM, extobias extobias at gmail.com wrote: m. allan noah-3 wrote: On 6/7/08, spammed spammed at get2net.dk wrote: On Mon, 2008-06-02 at 09:48 -0400, m. allan noah wrote: In the past few weeks, I have made several updates to the fujitsu sane backend. I don't really have a good list of testers, so I am putting out a call for all fujitsu backend users to please try the current version from SANE CVS. I have done some testing with my fi-5110-EOX and scanimage. The backend+scanimage is from CVS as of 5 June. Particular areas to watch out for: 1. JPEG output is now possible, but will only work with scanimage from cvs, or some other sane 1.1 compliant frontend JPEG output works fine. I?s the compression done by the scanner or the backend? the scanner itself. it appears that every fi-series Fujitsu might be able to do this. 2. The mechanism for determining the color interlace mode is now automatic, so please see if color scans look weird, particularly if the scanner has done a color scan in windows without being power cycled. Not really tested, but no problems observed. if a non-jpeg color scan looks ok, then that is all the testing we need really. ?[...] 4. the scanner device is now named 'fujitsu:model:serial' instead of the system provided name, if the scanner supports serial number detection. please verify that the new name actually matches your scanner :) Model and serial is correct. cool. ~anoah/fujitsu/ 5. initialization code has changed somewhat, the backend should find scanners if they are plugged in after the front-end starts (requires custom daemon frontend to test, I dont know of any in the wild) Not tested, would need instructions... right- i don't actually have a frontend that does this, so lets not worry about it. I have one, and works. but take more time to scan. Sometime it never come back. I also tested with the old snap i have (2008-05-08) and work really nice. can you get a debug log of the backend in action when the slowness occurs? yeap, but seems like problem only happen when i plug the scanner and press scan button immediately. If i wait 3 o 4 second before pressed no problem at all. I just wait then. this is the log anyway. [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589323 re:422 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_read: start [fujitsu] read_from_buffer: start [fujitsu] read_from_buffer: si:0 to:589745 tx:589534 re:211 bu:211 pa:211 [fujitsu] read_from_buffer: finish [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: finish 0 [fujitsu] sane_read: finish 0 [fujitsu] sane_get_parameters: start [fujitsu] sane_get_parameters: started, copying to caller [fujitsu] sane_get_parameters: scan_x=1688, Bpl=211, depth=1 [fujitsu] sane_get_parameters: scan_y=2795, frame=0, last=1 [fujitsu] sane_get_parameters: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: cancelling [fujitsu] scanner_control: start [fujitsu] scanner_control: function 4 [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] scanner_control: success, tries 1, ret 0 [fujitsu] scanner_control: finish [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish [fujitsu] sane_cancel: start [fujitsu] check_for_cancel: start [fujitsu] check_for_cancel: already cancelled [fujitsu] check_for_cancel: finish 2 [fujitsu] sane_cancel: finish 6. please test page-width and page-height support, it seems that some cheaper scanners don't work. ?[...] Known issues: ?[...] 2. page-width and page-height don't seem to work for the fi-5110EOX, needs software emulation ?As previously found, page-width is ignored. I am all set to test any improvements on this front :-) right. going to need to simulate in software for your machine. i wonder how many others have the same problem? Im using fi-5120c and works fine, the only condition is that i have to set first page-* before setting tl-* and bt-* options. yes- the page-* params control the maximum ranges for tl-* and br-* The page-height option works as expected in combination with dfdetect=Length except that dfdiff seems to be fixed at 10mm. odd. do you get an error when you set the other lengths? A long page (paper jam) occurring as the last sheet of a batch is detected only on the next invocation of scanimage. (May be a limitation of the scanner's detection mechanism, or a scanimage issue?) hmm, i need to look into that. it is possible that the scanner does not report the error to us until after the page is fully sent, so ?t?here is no way to inform the front-end. Some additional observations about this scanner, for the record: -
[sane-devel] Doubt about sane_get_devices
Nop, doesnt work. Maybe im doing something wrong. I got this logs. Log 1 ##Start the program with scanner disconnected [sanei_debug] Setting debug level of fujitsu to 30. [fujitsu] sane_init: start [fujitsu] sane_init: fujitsu backend 1.1.59, from sane-backends 1.1.0-cvs [fujitsu] sane_init: finish [fujitsu] sane_get_devices: start [fujitsu] find_scanners: start [fujitsu] find_scanners: reading config file fujitsu.conf [fujitsu] find_scanners: setting buffer-size to 65536 [fujitsu] find_scanners: looking for 'scsi FUJITSU' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1041' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1042' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1095' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1096' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1097' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ad' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ae' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10af' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e0' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e1' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e2' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e7' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10f2' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10fe' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1135' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x114d' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1155' [fujitsu] find_scanners: found 0 scanner(s) [fujitsu] find_scanners: finish [fujitsu] sane_get_devices: finish ##Connect scanner and wait a seconds, query list [fujitsu] sane_exit: start [fujitsu] sane_exit: finish [sanei_debug] Setting debug level of fujitsu to 30. [fujitsu] sane_init: start [fujitsu] sane_init: fujitsu backend 1.1.59, from sane-backends 1.1.0-cvs [fujitsu] sane_init: finish [fujitsu] sane_get_devices: start [fujitsu] find_scanners: start [fujitsu] find_scanners: reading config file fujitsu.conf [fujitsu] find_scanners: setting buffer-size to 65536 [fujitsu] find_scanners: looking for 'scsi FUJITSU' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1041' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1042' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1095' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1096' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1097' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ad' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ae' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10af' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e0' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e1' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e2' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e7' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10f2' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10fe' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1135' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x114d' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1155' [fujitsu] find_scanners: found 0 scanner(s) [fujitsu] find_scanners: finish [fujitsu] sane_get_devices: finish [fujitsu] sane_exit: start [fujitsu] sane_exit: finish Log 2 [doors at localhost ~]$ export SANE_DEBUG_FUJITSU=30 [doors at localhost ~]$ doors [sanei_debug] Setting debug level of fujitsu to 30. [fujitsu] sane_init: start [fujitsu] sane_init: fujitsu backend 1.1.59, from sane-backends 1.1.0-cvs [fujitsu] sane_init: finish [fujitsu] sane_get_devices: start [fujitsu] find_scanners: start [fujitsu] find_scanners: reading config file fujitsu.conf [fujitsu] find_scanners: setting buffer-size to 65536 [fujitsu] find_scanners: looking for 'scsi FUJITSU' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1041' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1042' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1095' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1096' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x1097' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ad' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10ae' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10af' [fujitsu] find_scanners: looking for 'usb 0x04c5 0x10e0' [fujitsu] attach_one: start [fujitsu] attach_one: looking for 'libusb:003:003' [fujitsu] connect_fd: start [fujitsu] connect_fd: opening USB device [fujitsu] wait_scanner: start [fujitsu] do_usb_cmd: start [fujitsu] cmd: writing 31 bytes, timeout 500 [fujitsu] cmd: [fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [fujitsu] cmd: wrote 31 bytes, retVal 0 [fujitsu] stat: reading 13 bytes, timeout 500 [fujitsu] stat: [fujitsu] 000: 53 00 00 00 00 00 00 00 00 00 00 00 00 [fujitsu] stat: read 13 bytes, retVal 0 [fujitsu] do_usb_cmd: finish [fujitsu] wait_scanner: finish [fujitsu] connect_fd: finish [fujitsu] init_inquire: start [fujitsu]
[sane-devel] Doubt about sane_get_devices
Hi all Im just wanna know if this function retrives the list of devices at every moment. Let me explain, i launch my program with the scanner disconected, then i conect it and call this function. Doc say This function can be called repeatedly to detect when new devices become available but this is not my case, i get a null pointer. thanks in advance Tobias.
[sane-devel] Doubt about sane_get_devices
So in the fujitsu backend should work? On Thu, Apr 24, 2008 at 3:43 PM, m. allan noah kitno455 at gmail.com wrote: this depends entirely on the backend. i have tried to make sure that the backends i maintain will re-find scanners at every call, but other backends may not. allan On 4/24/08, tobias alarcon extobias at gmail.com wrote: Hi all Im just wanna know if this function retrives the list of devices at every moment. Let me explain, i launch my program with the scanner disconected, then i conect it and call this function. Doc say This function can be called repeatedly to detect when new devices become available but this is not my case, i get a null pointer. thanks in advance Tobias. -- 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] fujitsu 5120c problem with usb address
no, its mandriva 2008.0 with kernel 2.6.22.12 On Tue, Mar 25, 2008 at 10:52 PM, m. allan noah kitno455 at gmail.com wrote: are you running fedora? allan On 3/25/08, tobias alarcon extobias at gmail.com wrote: Hi all, Me again, this time its really strange problem When i connect the usb, and run scanimage -L fujitsu:libusb:005:002 but when i run my front-end i get this message from /var/log/syslog Mar 25 15:36:33 localhost kernel: usb 3-3: USB disconnect, address 2 Mar 25 15:36:48 localhost kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3 Mar 25 15:36:48 localhost kernel: usb 3-3: configuration #1 chosen from 1 choice Mar 25 15:37:10 localhost kernel: ppdev0: no associated port! so my program it never able to find the scanner. And every time i run happen the same, with a diferent usb address. It happen on two diferent computer with the same version of sane-backend (1.0.18) with two diferent scanner (same model obviously) i really don't know what could be. I read on the internet and some people say it can be the firmware? i really don't know. Please any help will be apreciated. thanks Tobias -- 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] fujitsu 5120c problem with usb address
On Wed, Mar 26, 2008 at 9:00 AM, m. allan noah kitno455 at gmail.com wrote: are you using mandriva's sane package? what version? do you get the same problem if you install sane from our source instead? yes, its 1.0.18. I install 1.0.18 and 1.0.19 from source and the problem remains thanks allan
[sane-devel] fujitsu 5120c problem with usb address
nop, still happen with scanimage or another frontend. I update the kernel but nothing change. I unplugged the scanner for a few minutes, and works fine for a while. but then the usb address change always i try to scan. i just don?t know what to do. tobias. On Wed, Mar 26, 2008 at 12:08 PM, m. allan noah kitno455 at gmail.com wrote: if you run scanimage repeatedly, this does not happen, but if you run 'your frontend' it does? allan On Wed, Mar 26, 2008 at 10:48 AM, tobias alarcon extobias at gmail.com wrote: On Wed, Mar 26, 2008 at 9:00 AM, m. allan noah kitno455 at gmail.com wrote: are you using mandriva's sane package? what version? do you get the same problem if you install sane from our source instead? yes, its 1.0.18. I install 1.0.18 and 1.0.19 from source and the problem remains thanks allan -- The truth is an offense, but not a sin
[sane-devel] fujitsu 5120c problem with usb address
nop I will give you more details, so if you can help i will really apreciated When i stop the power cycle of the scanner, everything goes fine for about 15 min then also if i don?t stop to scan pages still works So the problem begin when stop scaning. The usb address change with no reason (i don?t disconnect the cable) and don't have any suspend mode on usb devices. if i call scanimage or my application why the address does not update if both call sane_init() at start? So if a repeatedly call sane_open() this way the scanner belive is been used for some application? do you thing this could work? well thanks in advance. Tobias. pd: also have a fujitsu 4110cu. i thing going to write my first backend lol. On Wed, Mar 26, 2008 at 2:20 PM, m. allan noah kitno455 at gmail.com wrote: i have never seen such a thing. does your OS turn on usb suspend? allan On Wed, Mar 26, 2008 at 1:03 PM, tobias alarcon extobias at gmail.com wrote: nop, still happen with scanimage or another frontend. I update the kernel but nothing change. I unplugged the scanner for a few minutes, and works fine for a while. but then the usb address change always i try to scan. i just don?t know what to do. tobias. On Wed, Mar 26, 2008 at 12:08 PM, m. allan noah kitno455 at gmail.com wrote: if you run scanimage repeatedly, this does not happen, but if you run 'your frontend' it does? allan On Wed, Mar 26, 2008 at 10:48 AM, tobias alarcon extobias at gmail.com wrote: On Wed, Mar 26, 2008 at 9:00 AM, m. allan noah kitno455 at gmail.com wrote: are you using mandriva's sane package? what version? do you get the same problem if you install sane from our source instead? yes, its 1.0.18. I install 1.0.18 and 1.0.19 from source and the problem remains thanks allan -- The truth is an offense, but not a sin -- The truth is an offense, but not a sin
[sane-devel] fujitsu 5120c problem with usb address
Hi all, Me again, this time its really strange problem When i connect the usb, and run scanimage -L fujitsu:libusb:005:002 but when i run my front-end i get this message from /var/log/syslog Mar 25 15:36:33 localhost kernel: usb 3-3: USB disconnect, address 2 Mar 25 15:36:48 localhost kernel: usb 3-3: new high speed USB device using ehci_hcd and address 3 Mar 25 15:36:48 localhost kernel: usb 3-3: configuration #1 chosen from 1 choice Mar 25 15:37:10 localhost kernel: ppdev0: no associated port! so my program it never able to find the scanner. And every time i run happen the same, with a diferent usb address. It happen on two diferent computer with the same version of sane-backend (1.0.18) with two diferent scanner (same model obviously) i really don't know what could be. I read on the internet and some people say it can be the firmware? i really don't know. Please any help will be apreciated. thanks Tobias
[sane-devel] fujitsu fi-5120c fail on scan after cancel a job
Hi all, iam having a problem with this scanner. Everthing goes fine on scanning, but when a try to scan after calling sane_cancel() can't open the scanner this is what debur say [fujitsu] sane_start: start [fujitsu] scanner_control: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] scanner_control: finish [fujitsu] calculateDerivedValues: start [fujitsu] xres=200, tlx=0, brx=10224, pw=10200, maxx=10624 [fujitsu] yres=200, tly=0, bry=13200, ph=13200, maxy=40800 [fujitsu] xres=200, tlx=0, brx=10224, pw=10200, maxx=10624 [fujitsu] yres=200, tly=0, bry=13200, ph=13200, maxy=40800 [fujitsu] calculateDerivedValues: finish [fujitsu] setup_buffers: start [fujitsu] setup_buffers: finish [fujitsu] set_window: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] set_window: finish [fujitsu] object_position: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] wait_scanner: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] wait_scanner: finish [fujitsu] object_position: finish [fujitsu] start_scan: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: start [fujitsu] do_usb_cmd: finish [fujitsu] sense_handler: start [fujitsu] Sense=0x5, ASC=0x26, ASCQ=00, EOM=1, ILI=0, info= [fujitsu] Illegal request: invalid field in parm list [fujitsu] Offending byte is 00 [fujitsu] start_scan: finish [fujitsu] sane_start: ERROR: cannot start_scan [fujitsu] do_cancel: start [fujitsu] do_cancel: finish and return from sane_start with SANE_STATUS_INVAL but i don't change anything from before scan parameters thanks in advance Tobias.
[sane-devel] HP 3055 crash on sane_close
Hi, I'm working with a hp 3055 all-in-one. It?s works fine but when i call sane_close() for third time i get a sigsegv also happen when sane_start() return SANE_STATUS_DEVICE_BUSY and then i try to close the device. this is the output *** glibc detected *** /home/tobias/main : munmap_chunk(): invalid pointer: 0xb74e7502 *** === Backtrace: = /lib/i686/libc.so.6(cfree+0x1bb)[0xb741513b] /usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_close+0xdf)[0xb578f09f] any help will be appreciated. Tobias
[sane-devel] sane_cancel on HP 5590
On Wed, Feb 27, 2008 at 9:31 AM, Ilia Sotnikov hostcc at gmail.com wrote: On Tue, Feb 26, 2008 at 9:41 PM, m. allan noah kitno455 at gmail.com wrote: sane_cancel is meant to be called asynchronously, so it probably should not send any commands to the scanner. sane_read should probably check a 'no longer scanning' flag, and do whatever cleanup is required. take it away Ilia :) I agree, the sane_cancel() function from the backend doesn't fully conform to SANE standard - it tries to send cancel command to the scanner IMMEDIATELY. I am trying to cancel a page scan. so i call sane_cancel while scanning is in progress but the application get stuck on the next sane_read, instead of return SANE_STATUS_CANCELLED Fixing the synchronous nature of the backend's sane_cancel() function could make the whole picture cleaner and should be done to follow the SANE standard. However, while experimenting with the scanner I noticed that it's very sensitive to data reading. When only partial data was read from the device and a command then sent to it the device was hanging in most cases. At this moment, you should avoid calls to sane_cancel() while working with such a scanner. Or, if that's somewhat urgent for you, I could prepare the patch. If you could make a patch that will be really help. meanwhile i don't use this function. Thanks I think that device internals is rather simple in terms of functionality to reduce production prices. The same decision could be made from looking to the command set and to the absence of paper sensor on the ADF unit. That said, office / workgroup HP scanning devices are not perfect from technical point of view. -- Ilia Sotnikov
[sane-devel] sane_cancel on HP 5590
Hi all, I am trying to cancel a page scan. so i call sane_cancel while scanning is in progress but the application get stuck on the next sane_read, instead of return SANE_STATUS_CANCELLED this its what i get from debugging [hp5590] sane_hp5590_read, length 850, left 538900 [hp5590] hp5590_read [hp5590] hp5590_bulk_read [hp5590] hp5590_bulk_read: USB-in-USB: not enough data in buffer available (available: 602, requested: 850) [hp5590] hp5590_bulk_read: USB-in-USB: total pages done: 8 [hp5590] hp5590_bulk_read: USB-in-USB: sending USB-in-USB bulk flags [hp5590] hp5590_bulk_read: USB-in-USB: checking confirmation for bulk flags [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack: USB-in-USB: accepted [hp5590] hp5590_bulk_read: USB-in-USB: sending control msg for bulk [hp5590] hp5590_bulk_read: USB-in-USB: checking if control msg was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack: USB-in-USB: accepted [hp5590] hp5590_bulk_read: USB-in-USB: bulk reading 65536 bytes [hp5590] sane_hp5590_cancel [hp5590] hp5590_low_free_bulk_read_state [hp5590] hp5590_low_free_bulk_read_state: USB-in-USB: freeing bulk read state [hp5590] hp5590_stop_scan [hp5590] hp5590_cmd: USB-in-USB: command : 011b [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_control_msg: USB-in-USB: sending control msg [hp5590] hp5590_control_msg: USB-in-USB: checking acknowledge for control message [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack: USB-in-USB: accepted [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack: USB-in-USB: accepted [hp5590] hp5590_control_msg: USB-in-USB: getting response [hp5590] hp5590_control_msg: USB-in-USB: invalid response received (needed , got 00e3) thanks in advance Tobias
[sane-devel] HP 5580 suport
Hi all i got a new scanner Hp 5590. I try to test with scanimage -T -v and say that there is no scanner found but with sane-find-scanner i get found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x1705 [hp scanjet scanner], chip=HP5550/5590/7650) at libusb:005:006 im usin sane 1.0.19. thanks Tobias
[sane-devel] HP 5580 suport
I download sane-backends-1.0.19.tar.gz and install it. and run like you said. It works fine. I wonder why doesn't work with rpm package. thanks. On Thu, Feb 21, 2008 at 2:39 PM, m. allan noah kitno455 at gmail.com wrote: clue? yes. run the command i told you, with the 5590 in it. allan On Thu, Feb 21, 2008 at 12:11 PM, tobias alarcon extobias at gmail.com wrote: i get this when with scanimage -L root at localhost ~]# scanimage -L [sanei_debug] Setting debug level of hp to 20. [hp] sane_init called [hp] hp_init: global.is_up = 1 [hp] sane_init will finish with Success [hp] sane_get_devices called [hp] hp_read_config: hp backend v1.06/$Revision: 1.21 $ starts reading config file [hp] hp_read_config: processing line #scsi HP [hp] hp_read_config: processing line # Uncomment the following if you have Error during device I/O on SCSI [hp] hp_read_config: processing line # option dumb-read [hp] hp_read_config: processing line # [hp] hp_read_config: processing line # The usual place for a SCSI-scanner on Linux [hp] hp_read_config: processing line #/dev/scanner [hp] hp_read_config: processing line # [hp] hp_read_config: processing line # USB-scanners supported by the hp-backend [hp] hp_read_config: processing line # HP ScanJet 4100C [hp] hp_read_config: processing line usb 0x03f0 0x0101 [hp] hp_read_config: processing line # HP ScanJet 5200C [hp] hp_read_config: processing line usb 0x03f0 0x0401 [hp] hp_attach_matching_devices: usb attach matching usb 0x03f0 0x0101 [hp] hp_read_config: processing line # HP ScanJet 62X0C [hp] hp_read_config: processing line usb 0x03f0 0x0201 [hp] hp_attach_matching_devices: usb attach matching usb 0x03f0 0x0401 [hp] hp_read_config: processing line # HP ScanJet 63X0C [hp] hp_read_config: processing line usb 0x03f0 0x0601 [hp] hp_attach_matching_devices: usb attach matching usb 0x03f0 0x0201 [hp] hp_read_config: processing line [hp] hp_read_config: processing line # Uncomment the following if your scanner is connected by USB, [hp] hp_read_config: processing line # but you are not using libusb [hp] hp_read_config: processing line # /dev/usb/scanner0 [hp] hp_read_config: processing line # option connect-device [hp] hp_read_config: attach usb 0x03f0 0x0601 [hp] hp_attach_matching_devices: usb attach matching usb 0x03f0 0x0601 [hp] hp_read_config: reset to default config [hp] sane_get_devices will finish with Success No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). [hp] sane_exit called [hp] hp_destroy: global.is_up = 0 [hp] sane_exit will finish any clue? -- The truth is an offense, but not a sin
[sane-devel] Problem running as normal user
Hi, i have a problem running as normal user. When i call sane_open it return a null SANE_Handler. this doesn't happen as root (it work fine) Also i can detect the scanner as normal user and scan with scanimage. So i thing it not problem with permissions Any help will be apreciated. Tobias
[sane-devel] Problem running as normal user
On Feb 18, 2008 11:00 AM, m. allan noah kitno455 at gmail.com wrote: SANE_Handle is opaque, you should not try to interpret its value as a pointer. what status code do you get? i get a SANE_STATUS_IO_ERROR. allan On Feb 18, 2008 8:45 AM, tobias alarcon extobias at gmail.com wrote: Hi, i have a problem running as normal user. When i call sane_open it return a null SANE_Handler. this doesn't happen as root (it work fine) Also i can detect the scanner as normal user and scan with scanimage. So i thing it not problem with permissions Any help will be apreciated. Tobias -- 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