[sane-devel] Doubt about sane_get_devices

2008-04-27 Thread m. allan noah
On 4/26/08, m. allan noah kitno455 at gmail.com wrote: well, it appears that the sanei_usb support library intentionally does not re-gather the list of devices. This makes sense in the average sane installation, cause dozens of backends each gather the list within a fraction of a second, as

[sane-devel] Doubt about sane_get_devices

2008-04-26 Thread m. allan noah
well, it appears that the sanei_usb support library intentionally does not re-gather the list of devices. This makes sense in the average sane installation, cause dozens of backends each gather the list within a fraction of a second, as the dll backend cycles thru them. in your case, it is the

[sane-devel] Doubt about sane_get_devices

2008-04-26 Thread Francisco Miguel Felix Santini
May be this can help: Is sane-backend installed at /usr or /usr/local/. I ask you this, because it appears that libusb is installed at /usr and sane-backend doesn't or viceversa. I mean Sane Backend is not using all of the libraries from libusb. You sure that both of them are installed at /usr

[sane-devel] Doubt about sane_get_devices

2008-04-26 Thread m. allan noah
On 4/26/08, Francisco Miguel Felix Santini fesm788m at gmail.com wrote: May be this can help: Is sane-backend installed at /usr or /usr/local/. I ask you this, because it appears that libusb is installed at /usr and sane-backend doesn't or viceversa. I mean Sane Backend is not using all of

[sane-devel] Doubt about sane_get_devices

2008-04-25 Thread tobias alarcon
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:

[sane-devel] Doubt about sane_get_devices

2008-04-24 Thread tobias alarcon
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

[sane-devel] Doubt about sane_get_devices

2008-04-24 Thread m. allan noah
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

[sane-devel] Doubt about sane_get_devices

2008-04-24 Thread tobias alarcon
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

[sane-devel] Doubt about sane_get_devices

2008-04-24 Thread m. allan noah
it should, but i take it from your question that it does not? :) allan On 4/24/08, tobias alarcon extobias at gmail.com wrote: 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

[sane-devel] Doubt about sane_get_devices

2008-04-24 Thread m. allan noah
ahh, but you dont just query the list again, you call sane_exit and sane_init first. just call sane_get_devices, and see if that helps. allan On 4/24/08, tobias alarcon extobias at gmail.com wrote: Nop, doesnt work. Maybe im doing something wrong. I got this logs. Log 1 ##Start the