Re: ugenctl for attaching USB devices to ugen instead of their specific driver

2015-12-08 Thread Xiaofan Chen
On Mon, Dec 7, 2015 at 10:43 PM, Stuart Henderson wrote: > On 2015/12/07 22:11, Xiaofan Chen wrote: >> Not so sure if there is a port of hidapi under OpenBSD. >> Ref: http://www.signal11.us/oss/hidapi/ > > It isn't ported to OpenBSD, and it's one of those projects

Re: ugenctl for attaching USB devices to ugen instead of their specific driver

2015-12-07 Thread Xiaofan Chen
On Mon, Dec 7, 2015 at 7:42 PM, Martin Pieuchot wrote: > I'd really prefer a solution that doesn't need any button. In other > words to always be able to use your device from userland if the kernel > is not using it. > > One way would be to always attach a ugen(4) driver to every USB device, > I

Re: ugenctl for attaching USB devices to ugen instead of their specific driver

2015-12-07 Thread Xiaofan Chen
On Mon, Dec 7, 2015 at 8:19 PM, Mickael Torres wrote: > > Actually the device attaches as uhid. I don't know which kind of transfer > is used, I'll have to look into this, but the soft (pk2cmd) uses libusb > and only works when the device is attached as ugen. pk2cmd is only for PICkit 2 which is

libusb-1.0 and libusbx under OpenBSD

2012-05-30 Thread Xiaofan Chen
In case you do not notice this, libusb-1.0.9 release support OpenBSD thanks to the great work of Martin Pieuchot. You are welcome to try it. http://www.libusb.org/wiki/libusb-1.0 http://git.libusb.org/?p=libusb.git;a=tree;f=libusb/os libusb-1.0 and libusb-compat should be in OpenBSD port system as

Re: libusb-1.0 and libusbx under OpenBSD

2012-05-30 Thread Xiaofan Chen
On Thu, May 31, 2012 at 9:34 AM, Xiaofan Chen wrote: > In case you do not notice this, libusb-1.0.9 release > support OpenBSD thanks to the great work of Martin Pieuchot. > You are welcome to try it. > http://www.libusb.org/wiki/libusb-1.0 > http://git.libusb.org/?p=libusb.git;a=t