From owner-freebsd-usb@freebsd.org Tue Sep 18 06:44:42 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06E0B10940D5 for ; Tue, 18 Sep 2018 06:44:42 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8015B80B37 for ; Tue, 18 Sep 2018 06:44:41 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: by mail-ua1-x92a.google.com with SMTP id i4-v6so402214uak.0 for ; Mon, 17 Sep 2018 23:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lBg9J3xMSapvY2l8TJvB5UDSH5MSRARzoaxAmi0S52g=; b=EyTdgJ4yUmscAhppErE2ro3ZJoP7IcqdohZ0j6xGYtm4fgb8enIupiukv4doIhmkEB d78G86eK56tymWpfByXIIreyHEdZ9g6TXjaj7wiubZu4atwDda19ceIU0oFE8mqb1elh RqhWLuktK62IJ9LLoz81r36PPYTMge+t8xxKG5Bb8XZOdtwHHww69fkmo9NauLWLmYnx zrc5wwTbnokBq9YTmcRXED02PbGcJTIgnlupLf6WPd5nyfKVtLdhsgJL2nUU39rC8fom 2YRhTLeHDF1vggOpxVgpg2C2pgxJsCbpUTizA/ZJOhZpVTwS8kyisL1/LC+Gsk7AgP/3 68Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lBg9J3xMSapvY2l8TJvB5UDSH5MSRARzoaxAmi0S52g=; b=Gbv2jjnUNNmjneW2L4aGKP2wAezoKSVlISKzELBw0BlVqWRB/4H88qPbsdaz97UPGn T6E25J4ftHUJmVxMuZgLgcb9AFdCrTzZP37A44ZDTVuceQo9Ez4UbyqsAkK9PcN0srWH wZ3cAdVA8d8qojRLth+fdiHy/yX7y9G+8vlKn/AvrNv0ggWyRdf18UwpUhsjrf4Iy3IB I9+RfSfZQw6OV6LisFZ7PBeMR6joMTrjWSWSvRvITB7W+ZCsOLB641CTqGEV5BTdkp4n UcabfhJicG873m4LnsjHZGZkpuMKFePCQQQBDdg6c6S9KszbV/uMVsciWNTTps/zDJlQ r5pg== X-Gm-Message-State: APzg51DJwJN0BAK+vbyosEj5sDUN2uThLmg8grPG2IM4z+W3EsBULLfr 7Co9B9HS9jb/BQAWBKIEfSX2qPkS05d6sCUmp0sY X-Google-Smtp-Source: ANB0VdbmWE8Som/ptdfRKcdcYNKeWwpPrrzdIHakYPRb34fmjW04/ZnCzxZPkPlUn0CoSC8p1dEN9P7KWzA5yKlN0q0= X-Received: by 2002:ab0:54c8:: with SMTP id q8-v6mr8522509uaa.165.1537253080925; Mon, 17 Sep 2018 23:44:40 -0700 (PDT) MIME-Version: 1.0 References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> <71f67595-45a1-9048-31b8-e32eb3bb74de@selasky.org> In-Reply-To: From: shreyank amartya Date: Tue, 18 Sep 2018 12:14:29 +0530 Message-ID: Subject: Re: usbconfig lack of device or permission To: hps@selasky.org Cc: freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 06:44:42 -0000 Okay, so I'm able to use usbconfig once I chown /dev/usb/*. I don't understand why adding my user to operator group is not enough instead of chowning everything. On Mon, Sep 17, 2018 at 4:51 PM shreyank amartya wrote: > > ^^ this is not root :-) > If I log in as root, usbconfig works. I want to make it work when i'm > logged in as a normal user (amd). > > > Expected, unless you chown the packet filtering devices. > Please elaborate on how I can i do this? > > On Mon, Sep 17, 2018 at 4:39 PM Hans Petter Selasky > wrote: > >> On 9/17/18 12:25 PM, shreyank amartya wrote: >> > amd@amd-sham:~ % whoami >> > amd >> ^^ this is not root :-) >> >> > >> > amd@amd-sham:~ % usbdump -i usbus0 -s 255 -f 5 >> > usbdump: Could not open BPF device: Permission denied >> >> Expected, unless you chown the packet filtering devices. >> >> --HPS >> >