Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 20:08:49 +0200
From:      Jan Behrens <jbe-mlist@magnetkern.de>
To:        CeDeROM <CeDeROM@tlen.pl>
Cc:        "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
Subject:   Re: USB reset fails when using a LimeSDR Mini on FreeBSD
Message-ID:  <20200625200849.6af81489a80c2f97d4f89ee6@magnetkern.de>
In-Reply-To: <CAM8r67DFFeFCHMh6mAxw=x2LKYnFGwasOLgceo-EQSMOvMHbeg@mail.gmail.com>
References:  <20200625121052.e9f7e7cbeb68fad264ec80a9@magnetkern.de> <CAM8r67DFFeFCHMh6mAxw=x2LKYnFGwasOLgceo-EQSMOvMHbeg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jun 2020 14:31:21 +0200
CeDeROM <CeDeROM@tlen.pl> wrote:

> Hello Jan :-)
> 
> Are you sure you have the correct permissions to read/write /dev/usb* devices?

Yes, I manually gave me access by using chown after plugging the device
in.

> 
> Assuming you are already in the operator group:
> 
>  ***/etc/devfs.rules:
>  [localrules=10]
>         add path 'ugen*' mode 0660 group operator
>         add path 'usb/*'  mode 0660 group operator
>         add path 'usb' mode 0770 group operator
> 
>  ***/etc/rc.conf:
>         devfs_system_ruleset="localrules"

Thank you for these explanations, that will be better than always
calling chown manually :-)

The problem with resetting the device via libusb still persists, see my
other mails.

> 
> 
> Best regards :-)
> Tomek
> 
> -- 
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
> 

Regards,
Jan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200625200849.6af81489a80c2f97d4f89ee6>