[sane-devel] scanbd daemon does not load firmware

Wilhelm wilhelm.meier at fh-kl.de
Thu Aug 29 19:33:48 UTC 2013


Am 29.08.2013 16:03, schrieb Ilya V. Ivanchenko:
>> >>  2. When using scanbuttond-backends, fix loading firmware on USB insert.
>>>
>>> what I could imagine is to fix this problem with a special
>>> shell-callback, when scanbd detects a device inserion / removal.
>>
>>Forgot to say: would you like to write a patch for that? I will provide
>>you with the neccessary info to do that. Shouldn't be too much work ;-)
>
> Not a problem. I'm a software/systems engineer, so I know what I (will
> be) doing. Only I have short window before I leave for a business trip.

I just marked the code with four place to insert code to start such a 
callback:

// TODO: call the device insertion / removal callback

(if you use qtcreator you'll quickly find them)


I'm looking forward to your patches ;-)

>
>>>  >>  2. When using scanbuttond-backends, fix loading firmware on USB insert.
>>>  >
>>>  >what I could imagine is to fix this problem with a special
>>>  >shell-callback, when scanbd detects a device inserion / removal.
>>> This is in the nutshell how I patched the problem from udev.
>>
>>yes, but you had to stop / restart the scanbd and that's more a
>>workaround than a solution ...
>
> I agree.
>
> --
> Ilya


-- 
Wilhelm
w.meier at unix.net



More information about the sane-devel mailing list