Subject: USB access web browser - Devuan ASCII

From: Michaela Merz <[email-masked]>
Date: Sun, 31 May 2020 15:23:17 -0500

Package: Firefox-esr
Version: 68.8esr-1-deb9u1

This is not necessarily only about the package as indicated above, it
concerns all browsers (Firefox 76.0.1), Firefox-ESR, Chromium can't access
USB key,

OS: Devuan ASCII on a Lenovo T460 (Debian 4.9.189-3+deb9u2)

Hello everybody:

I am using Yubico USB keys for 2FA, no problems on Debian. The keys are
reported correctly (and identical) on Debian and Devuan:

May 31 13:28:24 ElaTop kernel: [41890.395484] usb 1-6: new full-speed USB
device number 16 using xhci_hcd
May 31 13:28:24 ElaTop kernel: [41890.536956] usb 1-6: New USB device
found, idVendor=1050, idProduct=0120
May 31 13:28:24 ElaTop kernel: [41890.536959] usb 1-6: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
May 31 13:28:24 ElaTop kernel: [41890.536960] usb 1-6: Product: Security
Key by Yubico
May 31 13:28:24 ElaTop kernel: [41890.536962] usb 1-6: Manufacturer: Yubico
May 31 13:28:24 ElaTop kernel: [41890.538193] hid-generic
0003:1050:0120.000D: hiddev0,hidraw0: USB HID v1.10 Device [Yubico Security
Key by Yubico] on usb-0000:00:14.0-6/input0
May 31 13:28:24 ElaTop mtp-probe: checking bus 1, device 16:
"/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
May 31 13:28:24 ElaTop mtp-probe: bus: 1, device: 16 was not an MTP device

However, no browser seems to be able to access the keys. I have had no
problems with Debian (Debian 4.9.168-1+deb9u5) .

Thanks for Devuan.

---

From: Tito <[email-masked]>
Date: Mon, 1 Jun 2020 07:52:49 +0200

On 5/31/20 10:23 PM, Michaela Merz wrote:
> This is not necessarily only about the package as indicated above, it concerns all browsers (Firefox 76.0.1), Firefox-ESR, Chromium can't access USB key,
> 
> I am using Yubico USB keys for 2FA, no problems on Debian. The keys are reported correctly (and identical) on Debian and Devuan:
> 
> May 31 13:28:24 ElaTop kernel: [41890.395484] usb 1-6: new full-speed USB device number 16 using xhci_hcd
> May 31 13:28:24 ElaTop kernel: [41890.536956] usb 1-6: New USB device found, idVendor=1050, idProduct=0120
> May 31 13:28:24 ElaTop kernel: [41890.536959] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> May 31 13:28:24 ElaTop kernel: [41890.536960] usb 1-6: Product: Security Key by Yubico
> May 31 13:28:24 ElaTop kernel: [41890.538193] hid-generic 0003:1050:0120.000D: hiddev0,hidraw0: USB HID v1.10 Device [Yubico Security Key by Yubico] on usb-0000:00:14.0-6/input0
> May 31 13:28:24 ElaTop mtp-probe: checking bus 1, device 16: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6"
> However, no browser seems to be able to access the keys. I have had no problems with Debian (Debian 4.9.168-1+deb9u5) .
> 
> Thanks for Devuan.
> 

Hi,
on the Yubiko website I read:

Linux: Requires current CCID and USB libraries (updated within the last 2 years).

so please check if they are installed.

To me these 2 packages look promising:

libacsccid1 - PC/SC driver for ACS USB CCID smart card readers
libccid - PC/SC driver for USB CCID smart card readers

Otherwise compare the packages installed on debian with the ones installed on devuan
with something like  (untested):

dpkg --get-selections > list1.txt

dpkg --get-selections > list2.txt

diff -uNp list1.txt list2.txt

Hope this helps,
tito

_______________________________________________
devuan-dev internal mailing list
[email-masked]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev

---

From: Michaela Merz <[email-masked]>
Date: Mon, 1 Jun 2020 14:04:57 -0500

Hello:

I just installed Devuan Beowulf and the reported problem did not reappear.
I will be filing new bugs though :)

Thanks,
Michaela

---

From: Mark Hindley <[email-masked]>
Date: Tue, 24 Jan 2023 18:24:00 +0000

>    I just installed Devuan Beowulf and the reported problem did not

Closing as fixed.

Mark