From owner-freebsd-usb@freebsd.org Sun Sep 16 10:17:44 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 3575C109D4A1 for ; Sun, 16 Sep 2018 10:17:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C716D86126 for ; Sun, 16 Sep 2018 10:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 88E57109D49E; Sun, 16 Sep 2018 10:17:43 +0000 (UTC) Delivered-To: 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 77BDD109D49D for ; Sun, 16 Sep 2018 10:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19CE986124 for ; Sun, 16 Sep 2018 10:17:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 72315229B0 for ; Sun, 16 Sep 2018 10:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8GAHgIM098106 for ; Sun, 16 Sep 2018 10:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8GAHg0G098105 for usb@FreeBSD.org; Sun, 16 Sep 2018 10:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231394] Add USB ID for RT Systems CT62C radio cable Date: Sun, 16 Sep 2018 10:17:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords component Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 16 Sep 2018 10:17:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231394 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |usb@FreeBSD.org Keywords| |patch Component|kern |usb --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Sep 16 21:00:55 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 30AF310AA68F for ; Sun, 16 Sep 2018 21:00:55 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C0A508059B for ; Sun, 16 Sep 2018 21:00:54 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8570C10AA680; Sun, 16 Sep 2018 21:00:54 +0000 (UTC) Delivered-To: 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 744F610AA67E for ; Sun, 16 Sep 2018 21:00:54 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1935F80590 for ; Sun, 16 Sep 2018 21:00:54 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 65B3B27D7F for ; Sun, 16 Sep 2018 21:00:53 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8GL0rZi006941 for ; Sun, 16 Sep 2018 21:00:53 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8GL0rbO006935 for usb@FreeBSD.org; Sun, 16 Sep 2018 21:00:53 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201809162100.w8GL0rbO006935@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: usb@FreeBSD.org Subject: Problem reports for usb@FreeBSD.org that need special attention Date: Sun, 16 Sep 2018 21:00:53 +0000 MIME-Version: 1.0 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: Sun, 16 Sep 2018 21:00:55 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 1 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Mon Sep 17 09:59:55 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 25B191097FC8 for ; Mon, 17 Sep 2018 09:59:55 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 ACBEB75C9B for ; Mon, 17 Sep 2018 09:59:54 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: by mail-ua1-x92d.google.com with SMTP id y10-v6so10155103uao.4 for ; Mon, 17 Sep 2018 02:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4jh/V/Y2hvblWZ54fSCiZra3WyRoMuNXPydUsZXFrDU=; b=Rx0uU2HmvfWa4IUt1KAa+tEJ1rhxkE7tFwKZxC4EAts46ylVNnlWaTP20iPP+QYicY 7jr+stHyZHWJ9rhsOnU96urBC/aNVfwVWervBy7X8ZVKPt4Fa6JLID5gkPHE8WMfb7Kg fVwBQDJGo0lQxi/w5QebZDgj5/LXGHlakprW+A3mXwS0up9Aawc67md8aNFwSGsHuUnI bn/UMfBjdfwTCT7uV86OR5iSdeioqlYV4yjkyePKQV0nlMzkUjsD0xzyESbc6NcwK1Ir jFpU20nnzhSAstg9f9VBGulXYrFYRyx0Z/QtskhS845sl43Vu9L4YgMPLkWpV0p12E+O fswA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4jh/V/Y2hvblWZ54fSCiZra3WyRoMuNXPydUsZXFrDU=; b=Ef56If89RlpeEt7+A4ISelnLDFzKfBfg/nf/M8D/o8ZayGV4qaRRcvxaZqXMc0fvTq pXmMDHCrfydMJrLYGl91rJRn2o0YPN9fyX94AEyjTrvkPlC14h9Pg7v4QQDzHeZgLklG nqxDrf9lHJISqZY9OMZWuxaFKTaVSd2qSEYgrnCf8g/gNxMKmGuu7xrVgVIwDCbcwQcH xzWTFsMuCuFa4dyyJk2S6jFtJ+8Zc44KPEde7I+vtFPSqlahic70MEMYeLW0fse6qRJx uK2BKpt3SxdYicQtat4f+RA+OVjSwdokYb96On8l7JR76zq+Jw1aZGFY/qaTb3ME4SmW 2jzw== X-Gm-Message-State: APzg51DH6ZqiAJDv1wKnf3RR2tmyv6max8iRg+P3sDC+1MoZrIRdQPuV ZKss0fuYqWD4PtdfiIcjuZrB6XzwQ09ClIQHK0SL X-Google-Smtp-Source: ANB0VdbeBx3leYaukzgzDId8oQC1JkNvpozy5QFv3MUOcA88N3doMtjIi7gcaRt0keonbpfbIed/E9x1jJYr0OSIbJo= X-Received: by 2002:a9f:3b69:: with SMTP id j41-v6mr7298793uah.37.1537178394207; Mon, 17 Sep 2018 02:59:54 -0700 (PDT) MIME-Version: 1.0 From: shreyank amartya Date: Mon, 17 Sep 2018 15:29:42 +0530 Message-ID: Subject: usbconfig lack of device or permission To: 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: Mon, 17 Sep 2018 09:59:55 -0000 Hi, I am able to view usb devices with usbconfig when i'm logged in as a root user. But, I'm not able to view any devices when I log in as a user. I have added this user to wheel,operator groups. What am I missing here? Usb devices appear as /dev/ugen0.[1-5]. I ask this because vlc will not run as root and when run as user it gets permission denied when trying to access the usb cam device to capture video. I'm new to FreeBSD. Thanks Shreyank From owner-freebsd-usb@freebsd.org Mon Sep 17 10:02:31 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 6AFFC10981E9 for ; Mon, 17 Sep 2018 10:02:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0EF1D7605F for ; Mon, 17 Sep 2018 10:02:30 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8F8CB260104; Mon, 17 Sep 2018 12:02:22 +0200 (CEST) Subject: Re: usbconfig lack of device or permission To: shreyank amartya , freebsd-usb@freebsd.org References: From: Hans Petter Selasky Message-ID: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> Date: Mon, 17 Sep 2018 12:01:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 17 Sep 2018 10:02:31 -0000 On 9/17/18 11:59 AM, shreyank amartya wrote: > Hi, > > I am able to view usb devices with usbconfig when i'm logged in as a root > user. But, I'm not able to view any devices when I log in as a user. I have > added this user to wheel,operator groups. What am I missing here? > > Usb devices appear as /dev/ugen0.[1-5]. I ask this because vlc will not run > as root and when run as user it gets permission denied when trying to > access the usb cam device to capture video. > > I'm new to FreeBSD. What permissions are on /dev/usb ? ls -l /dev/usb --HPS From owner-freebsd-usb@freebsd.org Mon Sep 17 10:07:24 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 2C199109829B for ; Mon, 17 Sep 2018 10:07:24 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 BC87A7611D for ; Mon, 17 Sep 2018 10:07:23 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: by mail-ua1-x933.google.com with SMTP id y10-v6so10165110uao.4 for ; Mon, 17 Sep 2018 03:07:23 -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=DwJzbgJFuzh2ksqyFAfNkcrHFjvRf27L/HLqc9e/7lo=; b=R7ch7dbcwfduCr9glzTaziZEr4r4WYX5F1pdvloGiQlRZuHq6dVtv7wqTHYtSUC98j m5GS59LwhwaiFu84VgjHE0g0on3aCQARQfHUnOwkQ8WGk4e1KDubHTBxLFPadQ47Bvxy PVeFEy234yaJENHSlaB6XkbslFXYNVgCf/WZMWbmpzLCXi8VR3njOKnJah4tACUeQjyK J42Sl0Gq428cJJeeGH7rPefNEtpkmZgKzLTh4V/VcaGJkqDlAFLT2++ILXZ6QsvJhdDI 5cuWBLjoW44wUZu2pQNAKjjBvSyzVUyA4mfSxQgzkYAcnZE5wUd/P+9libZknG80Woe1 MK3A== 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=DwJzbgJFuzh2ksqyFAfNkcrHFjvRf27L/HLqc9e/7lo=; b=NPXNMCBX0dz8vVLqrx6LSIJ6VybEsQ1gA2Ps611wKvyoeniNn7N9T2rxD9hcziApNI YGdGlxLbtNDqv/CL/8kRQRUyhzxOwJLoJOTACB1xgJ0TI2OJFhjEBgF1OR4jKTc4WrMj eJObT9yoG2QCYARrLWmv+sK+GPweVSuBB8GP59GWDlUqzzpKrYZF5c6zuRjOYo5y/lhK Ezg1AtSAPeOHKwYyt6WdEhe50MNCsn7iy61jlEvxEs+jIhtablIyXaPoz4L5hQKy3uBY oJPvf4RO25c9gKVROieSJBlU4EvJHfKWUkxX4Z4wwmChobq0SgcKnb+XVuGpajCl2vxz O97w== X-Gm-Message-State: APzg51D+maeg4jlRGuBpbChhR6FACrk8Krlqq1FcmplwEm9GnWWwBi2f OZo0bTj9Nj/e/IGoyh1wT1iqM3LREVhtTlcfD6NyARU= X-Google-Smtp-Source: ANB0VdabKFQjFHcmtJi/vJWUM+drX+6IU3xJO6I7IRYVv9hP9Gm/mWScLwJ5BcoctUZi27yaX28Tol+5+vBANHqwg6c= X-Received: by 2002:ab0:54c8:: with SMTP id q8-v6mr7260891uaa.165.1537178843330; Mon, 17 Sep 2018 03:07:23 -0700 (PDT) MIME-Version: 1.0 References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> In-Reply-To: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> From: shreyank amartya Date: Mon, 17 Sep 2018 15:37:11 +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: Mon, 17 Sep 2018 10:07:24 -0000 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 On Mon, Sep 17, 2018 at 3:32 PM Hans Petter Selasky wrote: > On 9/17/18 11:59 AM, shreyank amartya wrote: > > Hi, > > > > I am able to view usb devices with usbconfig when i'm logged in as a root > > user. But, I'm not able to view any devices when I log in as a user. I > have > > added this user to wheel,operator groups. What am I missing here? > > > > Usb devices appear as /dev/ugen0.[1-5]. I ask this because vlc will not > run > > as root and when run as user it gets permission denied when trying to > > access the usb cam device to capture video. > > > > I'm new to FreeBSD. > > What permissions are on /dev/usb ? > > ls -l /dev/usb > > --HPS > From owner-freebsd-usb@freebsd.org Mon Sep 17 10:17:22 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 9442410985F1 for ; Mon, 17 Sep 2018 10:17:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 304D27661E for ; Mon, 17 Sep 2018 10:17:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 73175260104; Mon, 17 Sep 2018 12:17:20 +0200 (CEST) Subject: Re: usbconfig lack of device or permission To: shreyank amartya Cc: freebsd-usb@freebsd.org References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> From: Hans Petter Selasky Message-ID: <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> Date: Mon, 17 Sep 2018 12:16:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 17 Sep 2018 10:17:22 -0000 On 9/17/18 12: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 > And: whoami Try to ktrace usbdump and see where it stops. --HPS From owner-freebsd-usb@freebsd.org Mon Sep 17 10:25:57 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 EA7DB1098894 for ; Mon, 17 Sep 2018 10:25:56 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: from mail-ua1-x936.google.com (mail-ua1-x936.google.com [IPv6:2607:f8b0:4864:20::936]) (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 85D37769C0 for ; Mon, 17 Sep 2018 10:25:56 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: by mail-ua1-x936.google.com with SMTP id h1-v6so10165397uao.8 for ; Mon, 17 Sep 2018 03:25:56 -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=fv8dzPysduFyOj6orw+9LCVbqVs5j+1rl/2S2tTE2xk=; b=rtE5NGTc3zqQfB7CzgKc5BCeadFA2wWIyrCbUdMw37WXPze+xmJYV+XbL9X1WKbFrP F+nKN6wKK4p1NhidMl3CgwuuUtD3e+okRf1yKyTvdNMGLRs0R8TNxaSsowb6s5tIK0sL FCSwP/N7Xtb60qPdApWhuI/CfzP+oXISYItYS+mN0mkGDWo7jTNeX0SeSLWQlpBDfNxm KttU2PJtAe7G8MWs9yn+x9EsgYotryTGN+s51M7mBcwdXKeaN2CR5+iWPqpNgq3X4oEx rR1ylgzt3Z6PVPKv3aY0capT/1zDsN5f7sRm04AVhOmPvNK8J/QV89P9QrOdw49ZK/al OkXA== 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=fv8dzPysduFyOj6orw+9LCVbqVs5j+1rl/2S2tTE2xk=; b=GWL9JGYCfOoKf03iQp/XcklrWQ6IMcDoe7rc6iohR5vghT/akpgSl703znHLIl0dG+ MTL0QGWYzXTC3uVxIT/+CDs+V6GO+NAZ7FeUpUJ13vaNcAZYW8i5QFyhdHM+TUZi7VA5 wDT9jwmdUJv9FnYdL4F+SMStzK2UCWkyxL+hBcWpRV/GlA/ZkyK8LgL549+jRGxsDjZs c5SuI6Lvzbq77GDMs+2yOsADPfTsEZnQJP4UFegr39NQfW1sWbSInzRXk99YTrd7fPa3 xAbjUMK7fzq/JuowgcE4F0foTOYdcAoTfnAjTDQGwp7RjkPCrkfKkhNij9uXCONnpG5Y qxpg== X-Gm-Message-State: APzg51CQCmnGFCcwEjDkPDCJebr5e/C/krHNhzyVH70Dw7RlnkHEJAbd 62R21FUloBbM5TkVnRNmVp+CdHcdC7WuhFiohQ== X-Google-Smtp-Source: ANB0VdZdwJEhYNpzrR2lXgtv15se9lHSXwoKp6Q95j+2Xqe/qaK6lwBpNBi60mHk/IhvCQmO6+oZ0E/69DPADb6emiI= X-Received: by 2002:ab0:5b8a:: with SMTP id y10-v6mr7495022uae.163.1537179956106; Mon, 17 Sep 2018 03:25:56 -0700 (PDT) MIME-Version: 1.0 References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> In-Reply-To: <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> From: shreyank amartya Date: Mon, 17 Sep 2018 15:55:44 +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: Mon, 17 Sep 2018 10:25:57 -0000 amd@amd-sham:~ % whoami amd amd@amd-sham:~ % usbdump -i usbus0 -s 255 -f 5 usbdump: Could not open BPF device: Permission denied On Mon, Sep 17, 2018 at 3:47 PM Hans Petter Selasky wrote: > On 9/17/18 12: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 > > > > And: > whoami > > Try to ktrace usbdump > > and see where it stops. > > --HPS > > From owner-freebsd-usb@freebsd.org Mon Sep 17 11:09:08 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 A9CDC109967E for ; Mon, 17 Sep 2018 11:09:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C2CB77B46 for ; Mon, 17 Sep 2018 11:09:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B90452600C1; Mon, 17 Sep 2018 13:09:05 +0200 (CEST) Subject: Re: usbconfig lack of device or permission To: shreyank amartya Cc: freebsd-usb@freebsd.org References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> From: Hans Petter Selasky Message-ID: <71f67595-45a1-9048-31b8-e32eb3bb74de@selasky.org> Date: Mon, 17 Sep 2018 13:08:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 17 Sep 2018 11:09:08 -0000 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 From owner-freebsd-usb@freebsd.org Mon Sep 17 11:18:37 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 738E51099A35 for ; Mon, 17 Sep 2018 11:18:37 +0000 (UTC) (envelope-from timon@timon.net.nz) Received: from flare.plasmahost.ru (static.155.109.4.46.clients.your-server.de [46.4.109.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF65C77EA3 for ; Mon, 17 Sep 2018 11:18:34 +0000 (UTC) (envelope-from timon@timon.net.nz) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timon.net.nz; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4dBQqdLWJNapwSLtrxBV2p6CTXlMsM4sqUqxnHI13Y8=; b=KjgUevb0aV3zJspm7heKa19JRL Ivo3kTRIQ1PFOctYZ9r+JfOr6MIjx7KjFCbLxrhMQMtuO96A4SYix867Td8Ayyzp4vMw0x0DCqzZn W1WsnGbn0aJ6mxZQKWkjp3b/QNSuAjblcTkckJ86tIsbpzJbiIan7run6oCg4D4K0vK8=; Received: from [185.6.245.156] (helo=t510.timon.net.nz) by flare.plasmahost.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1 (FreeBSD)) (envelope-from ) id 1g1qwk-0004Bd-09 for freebsd-usb@freebsd.org; Mon, 17 Sep 2018 11:40:02 +0100 Subject: Re: usbconfig lack of device or permission To: freebsd-usb@freebsd.org References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> From: Aleksander Matveev Message-ID: <84369042-e671-4612-b0af-98ab084b428f@timon.net.nz> Date: Mon, 17 Sep 2018 13:40:22 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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: Mon, 17 Sep 2018 11:18:37 -0000 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 From owner-freebsd-usb@freebsd.org Mon Sep 17 11:21:31 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 B56911099B8D for ; Mon, 17 Sep 2018 11:21:31 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) (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 4FCDC780FE for ; Mon, 17 Sep 2018 11:21:31 +0000 (UTC) (envelope-from shreyankfbsd@gmail.com) Received: by mail-ua1-x92c.google.com with SMTP id g18-v6so10242066uam.6 for ; Mon, 17 Sep 2018 04:21:31 -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=vxtrTV6+8EYYNvcgi1Nm3VwYiMUXR9NDVNxPY9pOlyQ=; b=XhwlBJgVbofhH2OjwYr0lZUU4ugBTlzuTasyxWnXiCSeMc4lllkPcfXiTRRh9SVAdi pvgGza2roIMD7zhrNAwumxe3dlzlBbVp/VybUxOxMq9/BOgBWmtQ6UR6TFHPr3lDSGCT g2CvfvPGDA5d9cKh7KDBX35+M+pS1xcrSWO6pQyjv4xs0e0+O8eREqfuLXPbNitrnkl6 tet8CvXdxqBJ/ie0SvBb9GGNunyQ2i8p7egrTIc2/ajso/DXyBycAb39RZSIEQ/O2hiA xK4CCIu9krqkkrAqQaWXcfKtq8jnVIXepl+GZcI8zIRQJ/9gxJ0nDr4PA68DJ+55SqsM pqAA== 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=vxtrTV6+8EYYNvcgi1Nm3VwYiMUXR9NDVNxPY9pOlyQ=; b=qz6ZrnsrnWywNQJe9SXalL3jXaR3aaHUrRp2zVVbjFk8PwKZEARzJ6hOQVLe4HDm0c wu+VV9sBpjI7T30hob//n0P23X8vj/WpbjX3+soL1Cnz4l6apLzcOMjbNR9o0X1oG0f8 fmcXEmolh4eNz1r7k+Ag2E13mOZofjy+HINLnpkAyD2bicR1ceUgig58EnZSJSPTp2i8 00ckdBtipHLGu067as0i9QgDtzFjk8v4PnCnO5/naKE6SFaj4syt9nMJXjAdG3k0OH2g dTGEgYZBrj93SBDIMB1wE88VoTP7WOzwvDQ3BZPWASf+HEpYIsNIQ7kT3Fx8Y2BepGPA q3GQ== X-Gm-Message-State: APzg51BGMWAVrKVxXXx9cPLVExjQHykgiYwoqWN3nBPtIDH8hC7PilDe /gHW3kNkv6O4IyjP5HgqMbKXOUM8kL85qe5QNw== X-Google-Smtp-Source: ANB0VdYqKIQbflFSP3VYANhsCla6m3inDMqCtYL9cXFyN1nVRktJwZzIybSS0Km8t5wYBFt1E88AFn3PDSf4K6jIAB8= X-Received: by 2002:ab0:1b93:: with SMTP id k19-v6mr6554799uai.122.1537183290791; Mon, 17 Sep 2018 04:21:30 -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: <71f67595-45a1-9048-31b8-e32eb3bb74de@selasky.org> From: shreyank amartya Date: Mon, 17 Sep 2018 16:51:19 +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: Mon, 17 Sep 2018 11:21:31 -0000 > ^^ 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 > From owner-freebsd-usb@freebsd.org Mon Sep 17 15:23:47 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 B279010A02A7 for ; Mon, 17 Sep 2018 15:23:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB13803B4 for ; Mon, 17 Sep 2018 15:23:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 14C4110A029A; Mon, 17 Sep 2018 15:23:47 +0000 (UTC) Delivered-To: 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 0376E10A0299 for ; Mon, 17 Sep 2018 15:23:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 999A3803B2 for ; Mon, 17 Sep 2018 15:23:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CF15311F08 for ; Mon, 17 Sep 2018 15:23:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8HFNjDa056300 for ; Mon, 17 Sep 2018 15:23:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8HFNj8a056299 for usb@FreeBSD.org; Mon, 17 Sep 2018 15:23:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231394] Add USB ID for RT Systems CT62C radio cable Date: Mon, 17 Sep 2018 15:23:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 17 Sep 2018 15:23:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231394 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Hi, Patch looks good. Is this patch urgent or can it wait until 12-current is unfrozen? --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Sep 17 23:48:12 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 100B210AA305 for ; Mon, 17 Sep 2018 23:48:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9E65571BAA for ; Mon, 17 Sep 2018 23:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 631A810AA304; Mon, 17 Sep 2018 23:48:11 +0000 (UTC) Delivered-To: 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 4FF4010AA303 for ; Mon, 17 Sep 2018 23:48:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DFE3B71BA7 for ; Mon, 17 Sep 2018 23:48:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 3341116495 for ; Mon, 17 Sep 2018 23:48:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8HNmAMC055499 for ; Mon, 17 Sep 2018 23:48:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8HNmAFb055496 for usb@FreeBSD.org; Mon, 17 Sep 2018 23:48:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231394] Add USB ID for RT Systems CT62C radio cable Date: Mon, 17 Sep 2018 23:48:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: darius@dons.net.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Mon, 17 Sep 2018 23:48:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231394 --- Comment #2 from darius@dons.net.au --- Waiting for the thaw is fine, thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= 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 >> > From owner-freebsd-usb@freebsd.org Tue Sep 18 09:00:54 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 83F6710986BB for ; Tue, 18 Sep 2018 09:00:54 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 EEF1D86351 for ; Tue, 18 Sep 2018 09:00:53 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x444.google.com with SMTP id u12-v6so1193799wrr.4 for ; Tue, 18 Sep 2018 02:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=GYBEICeFP8U8b9b6eMU5mSg92Jp6Z503vd07QkQSSYA=; b=Y5OjvO1VE11j5sRgBLgrsEn8vlI+jasPqf/eILXbKkrFmJxF44NLnWW6iopopn51zW 4nP7fDqjouDvyTu4v78Z+WjIfq7VjX9Kmtqqed4WvAORyhD64jzUpvxfZ0PUUAkkBa7A wAQsxRBvZde9MHBt9l6ONX2hFF21JEAPexbDIiDNmD4RQkRqQ0TVw2nZkVx+TaSE8K67 wxrq5xYE2d6yIW/iq7hK69iBaG64reG1Q5sVDtjgDozl6uWfXZuRzkz6NnF5ki2b/F0c fZeIsJHM4oGTz2IUSqusAOkBZuru4CK+EK65wLnV58pgU+BAE4e9OAm/E3LMGZFy+uI4 8Gdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=GYBEICeFP8U8b9b6eMU5mSg92Jp6Z503vd07QkQSSYA=; b=TWUXg1hNN00DFL9zD2yEAyggiKRm4RGvvYVYWNRTKzxMGx0f+TpJA13OkDiFRI55+V W2xdArKF+jb/fO0gcVFs6kF/l+gNRe8EQudF+49sJGYoU+93Mc0D9SzOtDAt5r4/Tar6 y68VUZhU4TEQTaRHPd7RJ0JgqKLEEvUkfPc0f1l8h3Zpjps7SW2Gl8KjWFak+BOJZHvt kpb1m15RSs9WNU+/c5pEj47pwkgYhrsGapi3IuxjiqyY6FSc39zKRBvKvqMcw6vJCDDC R2/LxMe9C6l1p+SMRABd7p7jbW+9LSXUV5vpQoJRON15JrsPg+Bpovu+t1JvHQ8CqV2n IepA== X-Gm-Message-State: APzg51DTi8EZxYJ0b1UOq+ftxCylAG9tdDzo/DSvFSVRbBvOTvbqob/1 x/yRzwMUMXge+7vXels9oYY= X-Google-Smtp-Source: ANB0VdY/WXiWUIIm0KLB+gzZEygW8Tk2oSFEiyOn73uy5Jfv9gebjHKYoWBCTE6vhPjKY2+anVgJmg== X-Received: by 2002:adf:ee86:: with SMTP id b6-v6mr21899675wro.242.1537261252890; Tue, 18 Sep 2018 02:00:52 -0700 (PDT) Received: from ernst.home (p5B02380D.dip0.t-ipconnect.de. [91.2.56.13]) by smtp.gmail.com with ESMTPSA id i4-v6sm13953033wrs.85.2018.09.18.02.00.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 02:00:52 -0700 (PDT) Date: Tue, 18 Sep 2018 11:00:51 +0200 From: Gary Jennejohn To: shreyank amartya Cc: hps@selasky.org, freebsd-usb@freebsd.org Subject: Re: usbconfig lack of device or permission Message-ID: <20180918110051.4904ba9b@ernst.home> In-Reply-To: References: <9a50285b-44a7-d8c2-3c42-ed282b0a408d@selasky.org> <0e799c90-ee0b-3b92-acda-8efee6eedc68@selasky.org> <71f67595-45a1-9048-31b8-e32eb3bb74de@selasky.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 09:00:54 -0000 On Tue, 18 Sep 2018 12:14:29 +0530 shreyank amartya wrote: > 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. > chown is the wrong approach. You need to chmod 660 all the entries under /dev/usb and add yourself to the operator group. This is why adding yourself to the operator group does not normally work: ls -l /dev/usb/* crw------- 1 root operator 0x37 Sep 18 08:43 /dev/usb/0.1.0 crw------- 1 root operator 0x7e Sep 18 08:43 /dev/usb/0.1.1 crw------- 1 root operator 0x8d Sep 18 08:43 /dev/usb/0.2.0 [etc] Only root has read/write permission. The chmod also gives the operator group read/write permission. > 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. > >> -- Gary Jennejohn From owner-freebsd-usb@freebsd.org Wed Sep 19 08:12:41 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 9026A10933AF for ; Wed, 19 Sep 2018 08:12:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2C67576A7A for ; Wed, 19 Sep 2018 08:12:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E5BBB10933AE; Wed, 19 Sep 2018 08:12:40 +0000 (UTC) Delivered-To: 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 D461110933AD for ; Wed, 19 Sep 2018 08:12:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 752DD76A78 for ; Wed, 19 Sep 2018 08:12:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C3D1625537 for ; Wed, 19 Sep 2018 08:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8J8Cdn7064393 for ; Wed, 19 Sep 2018 08:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8J8Cdcf064391 for usb@FreeBSD.org; Wed, 19 Sep 2018 08:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb() Date: Wed, 19 Sep 2018 08:12:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 19 Sep 2018 08:12:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231264 --- Comment #9 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Wed Sep 19 08:11:44 UTC 2018 New revision: 338791 URL: https://svnweb.freebsd.org/changeset/base/338791 Log: MFC r338679: Improve LibUSB debugging by simultaneously allowing both function and transfer prints. Make sure the debug level comes from the correct USB context. Found by: Ludovic Rousseau PR: 231264 Sponsored by: Mellanox Technologies Changes: _U stable/11/ stable/11/lib/libusb/libusb10.h stable/11/lib/libusb/libusb10_io.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Sep 19 08:13:44 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 3AE07109347C for ; Wed, 19 Sep 2018 08:13:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CBA3D76BDD for ; Wed, 19 Sep 2018 08:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 90E3F1093479; Wed, 19 Sep 2018 08:13:43 +0000 (UTC) Delivered-To: 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 7FA521093478 for ; Wed, 19 Sep 2018 08:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20A8376BD6 for ; Wed, 19 Sep 2018 08:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 802362553B for ; Wed, 19 Sep 2018 08:13:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8J8Dgcs065476 for ; Wed, 19 Sep 2018 08:13:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8J8DgqL065475 for usb@FreeBSD.org; Wed, 19 Sep 2018 08:13:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb() Date: Wed, 19 Sep 2018 08:13:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 19 Sep 2018 08:13:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231264 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Wed Sep 19 08:12:41 UTC 2018 New revision: 338792 URL: https://svnweb.freebsd.org/changeset/base/338792 Log: MFC r338679: Improve LibUSB debugging by simultaneously allowing both function and transfer prints. Make sure the debug level comes from the correct USB context. Found by: Ludovic Rousseau PR: 231264 Sponsored by: Mellanox Technologies Changes: _U stable/10/ stable/10/lib/libusb/libusb10.h stable/10/lib/libusb/libusb10_io.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Sep 19 08:14:47 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 3B80910935D8 for ; Wed, 19 Sep 2018 08:14:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BDBD276D9F for ; Wed, 19 Sep 2018 08:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 832AF10935C4; Wed, 19 Sep 2018 08:14:46 +0000 (UTC) Delivered-To: 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 71E2310935C3 for ; Wed, 19 Sep 2018 08:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 122FA76D97 for ; Wed, 19 Sep 2018 08:14:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 70DCD2553E for ; Wed, 19 Sep 2018 08:14:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8J8Ej2o066562 for ; Wed, 19 Sep 2018 08:14:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8J8Ej9j066561 for usb@FreeBSD.org; Wed, 19 Sep 2018 08:14:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 231264] libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb() Date: Wed, 19 Sep 2018 08:14:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Wed, 19 Sep 2018 08:14:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231264 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Wed Sep 19 08:13:58 UTC 2018 New revision: 338793 URL: https://svnweb.freebsd.org/changeset/base/338793 Log: MFC r338679: Improve LibUSB debugging by simultaneously allowing both function and transfer prints. Make sure the debug level comes from the correct USB context. Found by: Ludovic Rousseau PR: 231264 Sponsored by: Mellanox Technologies Changes: _U stable/9/lib/ _U stable/9/lib/libusb/ stable/9/lib/libusb/libusb10.h stable/9/lib/libusb/libusb10_io.c --=20 You are receiving this mail because: You are the assignee for the bug.=