Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2017 07:33:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 220127] USB devices sometimes(!) not seen at boot time
Message-ID:  <bug-220127-17@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220127

            Bug ID: 220127
           Summary: USB devices sometimes(!) not seen at boot time
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: guru@unixarea.de

This is on CURRENT (r314251, amd64) on an Acer C720 Chromebook. I have two =
USB
devices (small sticks designed to hold a GnuPG CCID cards, see
https://gnupg.org/howtos/card-howto/en/smartcard-howto-single.html#id2503306
)which both show the following problem:

steps to reproduce
1. power-off the system
2. insert the USB device (the stick) into any USB port of the machine
3. power-on and let the system boot

Sometimes (statistically in two of three boots) the USB device is not seen =
by
the kernel, i.e. it takes 2-3 reboots to get it seen.

When the device was seen during boot, one can withdraw it and re-attach it
again. It is always seen again and works fine with the pcscd, the card daem=
on
from ports.

When the device was NOT seen during boot, it does not help to re-attach. It=
 is
never seen by the kernel. Only re-boot helps.

When the device is seen, it shows the following lines during boot:

dmesg:

ugen0.2: <HID Global OMNIKEY 6121 Smart Card Reader> at usbus0, cfg=3D0 md=
=3DHOST
spd=3DFULL (12Mbps) pwr=3DON (100mA)

ugen0.2: <Identiv uTrust 3512 SAM slot Token> at usbus0

The latter shows, when it was seen on boot, the following usbconfig output:

# usbconfig dump_device_desc

ugen0.2: <Identiv uTrust 3512 SAM slot Token> at usbus0, cfg=3D0 md=3DHOST =
spd=3DFULL
(12Mbps) pwr=3DON (76mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0200=20
  bDeviceClass =3D 0x0000  <Probed by interface class>
  bDeviceSubClass =3D 0x0000=20
  bDeviceProtocol =3D 0x0000=20
  bMaxPacketSize0 =3D 0x0008=20
  idVendor =3D 0x04e6=20
  idProduct =3D 0x5816=20
  bcdDevice =3D 0x0202=20
  iManufacturer =3D 0x0001  <Identiv>
  iProduct =3D 0x0002  <uTrust 3512 SAM slot Token>
  iSerialNumber =3D 0x0005  <55511514602745>
  bNumConfigurations =3D 0x0001=20



There is another issue, maybe related to this one here
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219220 which should be =
closed
in favor of this new one or resolved later, when this one here is solved.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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