Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2018 03:13:17 +0000
From:      Robert Ames <robertames@hotmail.com>
To:        "O'Connor, Daniel" <darius@dons.net.au>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   RE: Yubico Security Keys
Message-ID:  <SN6PR08MB5070379187FA4800E9B1537EC9020@SN6PR08MB5070.namprd08.prod.outlook.com>
In-Reply-To: <1AEEDB86-DF6B-433B-A413-452F105D9A53@dons.net.au>
References:  <SN6PR08MB50700E8EAFDEDA7646671E6EC9030@SN6PR08MB5070.namprd08.prod.outlook.com>, <1AEEDB86-DF6B-433B-A413-452F105D9A53@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> > On 5 Sep 2018, at 08:33, Robert Ames <robertames@hotmail.com> wrote:
> > FreeBSD sees the device:
> >
> > Sep  4 17:25:13 freebsd kernel: ugen1.4: <Yubico Security Key by Yubico=
> at usbus1
> > Sep  4 17:25:13 freebsd kernel: uhid0 on uhub4
> > Sep  4 17:25:13 freebsd kernel: uhid0: <Yubico Security Key by Yubico, =
class 0/0, rev 2.00/5.02, addr 4> on usbus1
> >
> > So should this just work out of the box or is there something I'm
> > missing?
>
> Hi Robert,
> I don't have any Yubikeys but have you tried checking the permissions of =
/dev/uhid0* and /dev/ugen1.4 (which will be a symlink to usb/1.4.0) ?
> You can chmod them for now and then if that works have a devd conf or dev=
fs rule which sets the permissions appropriately when the device is connect=
ed.
>
> If permissions are the problem it would be nice to see if the error messa=
ge can be improved too :)
>
> --
> Daniel O'Connor

I had done a manual chmod 777 /dev/usb/1.4.0 but had overlooked /dev/uhid0.
Once I did a chmod 777 on that it worked.  Thank you.  Any suggestions on t=
he
best way to add a devd conf or devfs rule for this thing?=



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