Re: Providing access to USB devices

2018-09-20 Thread John Nemeth
On Sep 20, 10:49am, Martin Husemann wrote: } On Thu, Sep 20, 2018 at 10:41:01AM +0200, Pierre Pronchery wrote: } > Would it make sense to create a _usb group, and setting the permissions } > of /dev/ugen* and maybe also /dev/usb* to mode 0660 root:_usb? } > } > With this we should also be able to

Re: Providing access to USB devices

2018-09-20 Thread Michael van Elst
khor...@defora.org (Pierre Pronchery) writes: >> And I bet Jason would now chime in and talk about a aproper devfs ;-) >That would be my favourite option actually :) devfs wouldn't solve the issue. You still need a way to authenticate and grant privileges. -- --

Re: Providing access to USB devices

2018-09-20 Thread Pierre Pronchery
Hi Martin, tech-userlevel@, On 20/09/2018 10:49, Martin Husemann wrote: > On Thu, Sep 20, 2018 at 10:41:01AM +0200, Pierre Pronchery wrote: >> Would it make sense to create a _usb group, and setting the permissions >> of /dev/ugen* and maybe also /dev/usb* to mode 0660 root:_usb? >

Re: Providing access to USB devices

2018-09-20 Thread Martin Husemann
On Thu, Sep 20, 2018 at 10:41:01AM +0200, Pierre Pronchery wrote: > Would it make sense to create a _usb group, and setting the permissions > of /dev/ugen* and maybe also /dev/usb* to mode 0660 root:_usb? > > With this we should also be able to run services like pcscd (from > pkgsrc) without requi

Providing access to USB devices

2018-09-20 Thread Pierre Pronchery
Hi tech-userlevel@, I just realized that on my regular system, I modified the permissions for the ugen(4) device nodes to allow my regular user to access them: # ls -l /dev/ugen0.00 crw-rw 1 root wheel 64, 0 Dec 22 2014 /dev/ugen0.00 With this, I am generally able