[sane-devel] Device Enemuratuion fails Please help

m. allan noah kitno455 at gmail.com
Wed Dec 3 14:39:10 UTC 2008


it means the backend is being loaded, but it does not find the scanner.

1. Are you doing this as root?
2. Is the device id in /etc/sane.d/hp3900.conf

allan

On Wed, Dec 3, 2008 at 9:33 AM, sidd gautam <siddharth_pnb at hotmail.com> wrote:
> Hi allan,
>
> I did what you advised, the info inside error.log says
>
> [sanei_debug] Setting debug level of hp3900 to 4.
> [hp3900] > sane_init
> [hp3900] > sane_get_devices: 0.
>
> What does this mean.
>
> Thanks,
> Sidd
>
>> Date: Wed, 3 Dec 2008 09:22:36 -0500
>> From: kitno455 at gmail.com
>> To: siddharth_pnb at hotmail.com; sane-devel at lists.alioth.debian.org
>> Subject: Re: [sane-devel] Device Enemuratuion fails Please help
>>
>> 1. please dont change the subject of you replies, it breaks some
>> threaded mail readers.
>> 2. get a debug log: SANE_DEBUG_HP3900=4 scanimage -L 2>error.log
>> and look in error.log for clues
>>
>> allan
>>
>> On Wed, Dec 3, 2008 at 8:10 AM, sidd gautam <siddharth_pnb at hotmail.com>
>> wrote:
>> > Hi kitno455,
>> >
>> > Thanks indeed.
>> >
>> > I typed this commad on Terminal and Message was:
>> >
>> > NO SCANNER WERE IDENTIFIED. IF YOU WERE EXCEPTING SOMETHING
>> > DIFFERENT,check
>> > the scanner is plugged in,turned on and detected by the
>> > scan-finding-scanner
>> > tool.
>> >
>> > Then Again I went to different machine where scanning is working and
>> > typed
>> > the same command on terminal scanimage -L in that machine it showed the
>> > scanner name.
>> >
>> > Please let me know what is missing in my machine, is there any RPM I
>> > have
>> > not installed.
>> >
>> > Thanks in Advance.
>> > Sidd
>> >
>> >> Date: Wed, 3 Dec 2008 07:53:11 -0500
>> >> From: kitno455 at gmail.com
>> >> To: siddharth_pnb at hotmail.com
>> >> Subject: Re: [sane-devel] Device Enemuratuion fails Please help
>> >> CC: sane-devel at lists.alioth.debian.org
>> >>
>> >> does scanimage -L find the scanner?
>> >>
>> >> allan
>> >>
>> >> 2008/12/3 sidd gautam <siddharth_pnb at hotmail.com>:
>> >> > Hi Sir,
>> >> >
>> >> > I am unable to Enemurate the device.
>> >> >
>> >> > My device is Hp Scan 4370.
>> >> >
>> >> > Every time I get std::cerr << "> CSaneWrapper1::EnumerateDevices()
>> >> > fails\n";
>> >> >
>> >> > Please let me know what mistake I have commited.
>> >> >
>> >> > My OS is Fedora 8.0.
>> >> > I have installed
>> >> >
>> >> > libsane-hpaio-2.7.7-6.fc8.i386.rpm,sane-backends-1.0.19-10.fc9.i386.rpm.
>> >> > Is
>> >> > there anything I am missing.
>> >> >
>> >> > bool CSaneWrapper1::EnumerateDevices()
>> >> > {
>> >> > SANE_Status statusCode;
>> >> > statusCode = sane_get_devices(&_device_list, SANE_TRUE);
>> >> >
>> >> > if( statusCode != SANE_STATUS_GOOD )
>> >> > {
>> >> > std::cerr << " CSaneWrapper1::EnumerateDevices() fails\n";
>> >> > return false;
>> >> > }
>> >> > else
>> >> > {
>> >> > int i;
>> >> > for( i = 0; _device_list[i] != NULL; i++ );
>> >> > { _devicecount = i;
>> >> > }
>> >> > std::cerr << " CSaneWrapper1::EnumerateDevices() ELSE Success> \n";
>> >> > }
>> >> > return true;
>> >> > }
>> >> >
>> >> >
>> >> > Thanks in Advance.
>> >> > Sidd
>> >> >
>> >> >
>> >> > --
>> >> > 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"
>> >
>> >
>>
>>
>>
>> --
>> "The truth is an offense, but not a sin"
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list