device filtering support

Pete Batard pete at akeo.ie
Sun Feb 5 08:28:37 EST 2012


On 2012.02.05 09:29, Xiaofan Chen wrote:
> Interestingly, Pete was against the idea of using a Windows
> service.

Requires administrative privileges (elevation) on Windows, and we are a 
user level library, so there's no way we can use a service.

> But that is actually quite close to his current idea
> of spawning a new process.

Yes, because that's the next best thing, considering that you guys are 
adamant there must not be any kind of potentially polluting transfer, 
and I see the idea of using the libusbK enum approach is libusb(x) 
ludicrous because it restricts us way too much. If there's no 
compromising possible, then the _only_ solution left is the one that 
solves the issue that both parties want to see solved.

My preferred idea was pretty much to go with creating a thread on init, 
but you guys still didn't seem to see it as acceptable, so I had to go 
further (and I also saw some advantages in going this direction).
 From where I stand, it can only be compromise or process. And I tend to 
like the idea of avoiding compromise better, where possible.

Regards,

/Pete



More information about the libusbx mailing list