Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2017 14:43:16 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        <freebsd-usb@freebsd.org>
Subject:   Re: USB devices sometimes not seen at boot time
Message-ID:  <0184a9f0-ce77-46d3-a4a5-defe7ef33e4c@unixarea.de>
In-Reply-To: <ba6624bb-526b-b9ae-6c87-29d9de077049@selasky.org>
References:  <20170629194658.GA2488@c720-r314251> <11fac898-a4bc-8337-2d84-8777d136c7e0@selasky.org> <20170630063421.GB10425@c720-r314251> <20170630103003.GA2372@c720-r314251>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 30 June 2017 12:46:06 CEST, Hans Petter Selasky=20
<hps@selasky.org> wrote:
> On 06/30/17 12:30, Matthias Apitz wrote:
>> El d=C3=ADa viernes, junio 30, 2017 a las 08:34:21a. m. +0200,=20
>> Matthias Apitz escribi=C3=B3:
>>=20
>>> Hi,
>>>
>>> Thanks for the hint. I disabled the three entries for uhci,=20
>>> ohci and ehci:
>>>
>>> # USB support
>>> options         USB_DEBUG               # enable debug msgs
>>> # device                uhci            # UHCI PCI->USB interface
>>> # device                ohci            # OHCI PCI->USB interface
>>> # device                ehci            # EHCI PCI->USB=20
>>> interface (USB 2.0)
>>> device          xhci                    # XHCI PCI->USB=20
>>> interface (USB 3.0)
>>> device          usb                     # USB Bus (required)
>>> device          ukbd                    # Keyboard
>>> device          umass                   # Disks/Mass storage=20
>>> - Requires scbus and da
>>>
>>> and maybe this will help already. I will let you know and update the PR
>>> later the day.
>>=20
>> The new kernel detects fine the uTrust Token on USB:
>>=20
>> $ dmesg | egrep 'ugen|uhub|xhci|ehci'
>> xhci0: <Intel Panther Point USB 3.0 controller> mem=20
>> 0xe0500000-0xe050ffff at device 20.0 on pci0
>> xhci0: 32 bytes context size, 64-bit DMA
>> xhci0: Port routing mask set to 0xffffffff
>> usbus0 on xhci0
>> ugen0.1: <0x8086 XHCI root HUB> at usbus0
>> uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
>> uhub0: 13 ports with 13 removable, self powered
>> ugen0.2: <SunplusIT Inc HD WebCam> at usbus0
>> ugen0.3: <vendor 0x0489 product 0xe056> at usbus0
>> ugen0.4: <Identiv uTrust 3512 SAM slot Token> at usbus0
>>=20
>=20
> OK, nice to know. We might want to delay the attachment of the=20
> ehci/ohci/uhci drivers after xhci by default if this is a widespread issue.=

>=20

If you want me to test some patch/changes, just let me know.

matthias



--=20
Sent from my Ubuntu phone
http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0184a9f0-ce77-46d3-a4a5-defe7ef33e4c>