On Sun, Dec 06, 2015 at 05:23:22PM +, Stuart Henderson wrote:
> The bigger problem is "dual use" devices; e.g. some want UPS to attach
> to upd(4), others want ugen(4) for use with NUT/apcupsd. Your code is
> partially useful for these, but because it just changes things at attach,
> won't surv
On 2015/12/08 20:55, Xiaofan Chen wrote:
> 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 on
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 where they
> don't provide any in
On Sun, December 6, 2015 22:10, Ian Darwin wrote:
>
>
> On 2015-12-06 12:23 PM, Stuart Henderson wrote:
>> On 2015/12/06 06:02, Mickael Torres wrote:
>>> Hello,
>>>
>>> This is a kernel patch plus a utility called ugenctl I use to allow
>>> selected USB devices to attach as ugen(4) instead of their
On 07/12/15(Mon) 22:18, Xiaofan Chen wrote:
> 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
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 where they
don't provide any infrastructure to build a library and suggest that
people copy it to
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
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
On 07/12/15(Mon) 13:19, 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.
That's easy because the uhid(4) driver
On 2015-12-07 12:42, Martin Pieuchot wrote:
On 07/12/15(Mon) 00:36, Mickael Torres wrote:
On 2015-12-06 20:10, Ian Darwin wrote:
>On 2015-12-06 12:23 PM, Stuart Henderson wrote:
>>On 2015/12/06 06:02, Mickael Torres wrote:
>>>Hello,
>>>
>>>This is a kernel patch plus a utility called ugenctl I u
On 07/12/15(Mon) 00:36, Mickael Torres wrote:
> On 2015-12-06 20:10, Ian Darwin wrote:
> >On 2015-12-06 12:23 PM, Stuart Henderson wrote:
> >>On 2015/12/06 06:02, Mickael Torres wrote:
> >>>Hello,
> >>>
> >>>This is a kernel patch plus a utility called ugenctl I use to allow
> >>>selected USB devic
On 2015-12-06 20:10, Ian Darwin wrote:
On 2015-12-06 12:23 PM, Stuart Henderson wrote:
On 2015/12/06 06:02, Mickael Torres wrote:
Hello,
This is a kernel patch plus a utility called ugenctl I use to allow
selected USB devices to attach as ugen(4) instead of their more
specific
driver. My use
On 2015-12-06 20:10, Ian Darwin wrote:
On 2015-12-06 12:23 PM, Stuart Henderson wrote:
On 2015/12/06 06:02, Mickael Torres wrote:
Hello,
This is a kernel patch plus a utility called ugenctl I use to allow
selected USB devices to attach as ugen(4) instead of their more
specific
driver. My use
Hello Stuart,
On 2015-12-06 18:23, Stuart Henderson wrote:
On 2015/12/06 06:02, Mickael Torres wrote:
Hello,
This is a kernel patch plus a utility called ugenctl I use to allow
selected USB devices to attach as ugen(4) instead of their more
specific
driver. My use case is a Microchip "PICkit
On 2015-12-06 12:23 PM, Stuart Henderson wrote:
On 2015/12/06 06:02, Mickael Torres wrote:
Hello,
This is a kernel patch plus a utility called ugenctl I use to allow
selected USB devices to attach as ugen(4) instead of their more specific
driver. My use case is a Microchip "PICkit 2 Microcont
On 2015/12/06 06:02, Mickael Torres wrote:
> Hello,
>
> This is a kernel patch plus a utility called ugenctl I use to allow
> selected USB devices to attach as ugen(4) instead of their more specific
> driver. My use case is a Microchip "PICkit 2 Microcontroller Programmer"
> that attaches as uhid(
Hello,
This is a kernel patch plus a utility called ugenctl I use to allow
selected USB devices to attach as ugen(4) instead of their more specific
driver. My use case is a Microchip "PICkit 2 Microcontroller Programmer"
that attaches as uhid(4), but the command line utility pk2cmd wants a
ud
17 matches
Mail list logo