Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2018 13:40:22 +0300
From:      Aleksander Matveev <timon@timon.net.nz>
To:        freebsd-usb@freebsd.org
Subject:   Re: usbconfig lack of device or permission
Message-ID:  <84369042-e671-4612-b0af-98ab084b428f@timon.net.nz>
In-Reply-To: <CAD9jf8B58=LPW_RpvQiceSi66dPTwnQyYryPnqtwaqzHD2AMZw@mail.gmail.com>
References:  <CAD9jf8DEXB-KO5s98jSH3Kj-N6jgyhgGvxFoWO-=iTsY-hqoVg@mail.gmail.com> <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> <CAD9jf8B58=LPW_RpvQiceSi66dPTwnQyYryPnqtwaqzHD2AMZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/09/18 1:07 PM, shreyank amartya wrote:
> ls -l /dev/usb output:
> amd@amd-sham:~ % ls -l /dev/usb
> total 0
> crw-------  1 root  operator  0x2c Sep 17 10:01 0.1.0
> crw-------  1 root  operator  0x34 Sep 17 10:01 0.1.1
> crw-------  1 root  operator  0x46 Sep 17 15:31 0.2.0
> crw-------  1 root  operator  0x59 Sep 17 15:31 0.2.1
> crw-------  1 root  operator  0x4b Sep 17 15:31 0.3.0
> crw-------  1 root  operator  0x4f Sep 17 15:31 0.3.1
> crw-------  1 root  operator  0x50 Sep 17 15:31 0.3.2
> crw-------  1 root  operator  0x51 Sep 17 15:31 0.3.3
> crw-------  1 root  operator  0x52 Sep 17 15:31 0.4.0
> crw-------  1 root  operator  0x54 Sep 17 15:31 0.4.1
> crw-------  1 root  operator  0x57 Sep 17 15:31 0.5.0
> crw-------  1 root  operator  0x5e Sep 17 15:31 0.5.1
> crw-------  1 root  operator  0x5f Sep 17 15:31 0.5.2
> crw-------  1 root  operator  0x60 Sep 17 15:31 0.5.3

   Only root has read access to your usb devices. Try executing

chmod 0666 /dev/usb*

   as root. To make changes "persistent", create file /etc/devfs.rules with

[devfsrules_common=7]
add path 'usb/*' mode 0666

   and add

devfs_system_ruleset="devfsrules_common"

   into your /etc/rc.conf

-- 

Aleksandr Matveev





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84369042-e671-4612-b0af-98ab084b428f>