[sane-devel] Has anyone managed to get Snapscan backend working with FreeBSD 8.0 (which uses libusb)?

m. allan noah kitno455 at gmail.com
Fri Jan 29 14:15:56 UTC 2010


On Thu, Jan 28, 2010 at 4:11 PM, Oliver Schwartz <Oliver.Schwartz at gmx.de> wrote:
> Hi all,
>
> On 28.01.2010 at 14:39 m. allan noah wrote:
>
>> I would do both- process ID combined with a hash of the device name,
>
> I believe that would defeat the purpose. The whole point of the mutex is to protect the USB device from simultaneous access from two processes, e.g. the reader process and the main process. If the key to create the mutex is different in both processes they end up with different mutexes and the USB device is unprotected.

right.

> Anyway, I've commited a hash function now. The new code should also work on FreeBSD 8.0. If anyone can try it, I'd be much obliged.


I did not see any commit message. did you git push?

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



More information about the sane-devel mailing list