Re: USB devices sometimes not seen at boot time

2017-06-30 Thread Matthias Apitz
El día viernes, junio 30, 2017 a las 08:34:21a. m. +0200, Matthias Apitz 
escribió:

> Hi,
> 
> Thanks for the hint. I disabled the three entries for uhci, ohci and ehci:
> 
> # USB support
> options USB_DEBUG   # enable debug msgs
> # deviceuhci# UHCI PCI->USB interface
> # deviceohci# OHCI PCI->USB interface
> # deviceehci# EHCI PCI->USB interface (USB 2.0)
> device  xhci# XHCI PCI->USB interface (USB 3.0)
> device  usb # USB Bus (required)
> device  ukbd# Keyboard
> device  umass   # Disks/Mass storage - Requires scbus 
> and da
> 
> and maybe this will help already. I will let you know and update the PR
> later the day.

The new kernel detects fine the uTrust Token on USB:

$ dmesg | egrep 'ugen|uhub|xhci|ehci'
xhci0:  mem 0xe050-0xe050 at 
device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0x
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:  at usbus0
ugen0.3:  at usbus0
ugen0.4:  at usbus0

Thanks again.

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


signature.asc
Description: PGP signature


[Bug 220127] USB devices sometimes(!) not seen at boot time

2017-06-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220127

--- Comment #2 from Matthias Apitz  ---

I followed a hints from Hans (HPS) and removed the conflicting USB devices from
the kernel, esp. the EHCI device.

> Thanks for the hint. I disabled the three entries for uhci, ohci and ehci:
> 
> # USB support
> options USB_DEBUG   # enable debug msgs
> # deviceuhci# UHCI PCI->USB interface
> # deviceohci# OHCI PCI->USB interface
> # deviceehci# EHCI PCI->USB interface (USB 2.0)
> device  xhci# XHCI PCI->USB interface (USB 3.0)
> device  usb # USB Bus (required)
> device  ukbd# Keyboard
> device  umass   # Disks/Mass storage - Requires scbus 
> and da
> 
> and maybe this will help already. I will let you know and update the PR
> later the day.

The new kernel now detects fine the uTrust Token on USB:

$ dmesg | egrep 'ugen|uhub|xhci|ehci'
xhci0:  mem 0xe050-0xe050 at
device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0x
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:  at usbus0
ugen0.3:  at usbus0
ugen0.4:  at usbus0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: USB devices sometimes not seen at boot time

2017-06-30 Thread Hans Petter Selasky

On 06/30/17 12:30, Matthias Apitz wrote:

El día viernes, junio 30, 2017 a las 08:34:21a. m. +0200, Matthias Apitz 
escribió:


Hi,

Thanks for the hint. I disabled the three entries for uhci, ohci and ehci:

# USB support
options USB_DEBUG   # enable debug msgs
# deviceuhci# UHCI PCI->USB interface
# deviceohci# OHCI PCI->USB interface
# deviceehci# EHCI PCI->USB interface (USB 2.0)
device  xhci# XHCI PCI->USB interface (USB 3.0)
device  usb # USB Bus (required)
device  ukbd# Keyboard
device  umass   # Disks/Mass storage - Requires scbus 
and da

and maybe this will help already. I will let you know and update the PR
later the day.


The new kernel detects fine the uTrust Token on USB:

$ dmesg | egrep 'ugen|uhub|xhci|ehci'
xhci0:  mem 0xe050-0xe050 at 
device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0x
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:  at usbus0
ugen0.3:  at usbus0
ugen0.4:  at usbus0



OK, nice to know. We might want to delay the attachment of the 
ehci/ohci/uhci drivers after xhci by default if this is a widespread issue.


--HPS

___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Re: USB devices sometimes not seen at boot time

2017-06-30 Thread Matthias Apitz
On Friday, 30 June 2017 12:46:06 CEST, Hans Petter Selasky 
 wrote:

On 06/30/17 12:30, Matthias Apitz wrote:
El día viernes, junio 30, 2017 a las 08:34:21a. m. +0200, 
Matthias Apitz escribió:



Hi,

Thanks for the hint. I disabled the three entries for uhci, 
ohci and ehci:


# USB support
options USB_DEBUG   # enable debug msgs
# deviceuhci# UHCI PCI->USB interface
# deviceohci# OHCI PCI->USB interface
# deviceehci# EHCI PCI->USB 
interface (USB 2.0)
device  xhci# XHCI PCI->USB 
interface (USB 3.0)

device  usb # USB Bus (required)
device  ukbd# Keyboard
device  umass   # Disks/Mass storage 
- Requires scbus and da


and maybe this will help already. I will let you know and update the PR
later the day.


The new kernel detects fine the uTrust Token on USB:

$ dmesg | egrep 'ugen|uhub|xhci|ehci'
xhci0:  mem 
0xe050-0xe050 at device 20.0 on pci0

xhci0: 32 bytes context size, 64-bit DMA
xhci0: Port routing mask set to 0x
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:  at usbus0
ugen0.3:  at usbus0
ugen0.4:  at usbus0



OK, nice to know. We might want to delay the attachment of the 
ehci/ohci/uhci drivers after xhci by default if this is a widespread issue.




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

matthias



--
Sent from my Ubuntu phone
http://www.unixarea.de/
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"