[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#728936: Bugs #728936, #730789, #731939 are duplicates: no USB input in debian-installer due to missing ohci-pci



Control: tags 728936 d-i
Control: tags 730789 d-i
Control: severity 728936 serious
Control: severity 730789 serious
Control: severity 731939 serious
Justification: installation not possible with USB keyboard in OHCI port

Hi all,

On 12.12.2013 19:57, Ben Hutchings wrote:
On Thu, Dec 12, 2013 at 06:11:12PM +0100, Andreas Cadhalpun wrote:
I noticed one difference between my and Manfred's setup to Jason's:
It seems USB input works now on Intel hardware (hadn't worked in the
past), but not on AMD hardware (and also not on PowerPC).

I seriously doubt that this is the important difference.  These bugs
are probably duplicates of #730789: the OHCI driver (ohci-pci,
previously called ohci-hcd) is missing.  I believe that breaks:
>
> - All devices in USB 1.x ports (except in systems with UHCI)
> - Low speed and full speed devices in USB 2.0 ports
>
> But these should still work:
>
> - High speed devices in USB 2.0 ports (handled by ehci-pci)
> - All devices in USB 3.0 ports (handled by xhci)
>
> Keyboards and mice are generally low speed or full speed, but a
> keyboard with a built-in hub might be high speed.
Ben, I think we both are right, but your observation is more helpful for solving this bug. According to Wikipedia only Intel and VIA use UHCI and all the other (including AMD and PowerPC) use OHCI.

I tested five different machines (all Intel, as I currently don't have access to other machines) and indeed all have UHCI. The USB keyboard I used is a Logitech DeLuxe 250. I don't know, whether that is low, full or high speed, but it works with all USB ports/drivers I tested, including uhci_hcd, ehci-pci and xhci_hcd, for example:

# lspci -knn | grep -Ei "usb|hci"
00:1d.0 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 [8086:27c8] (rev 01)
	Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 [8086:27c9] (rev 01)
	Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 [8086:27ca] (rev 01)
	Kernel driver in use: uhci_hcd
00:1d.3 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 [8086:27cb] (rev 01)
	Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller [8086:27cc] (rev 01)
	Kernel driver in use: ehci-pci
03:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller [1912:0014] (rev 03)
	Kernel driver in use: xhci_hcd
05:01.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 46) Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044]
	Kernel driver in use: firewire_ohci

(The OHCI here is a firewire driver (not USB) so this is not related.)

I don't know, how many OHCI USB ports are currently in use, but I think that this is not a negligible number, so this bug deserves severity serious, since installation is impossible with USB keyboard in an OHCI port. Since I am not sure, which package needs fixing, I do not (yet) merge the bugs. Is it that the OHCI USB driver is missing in the kernel (in which case it would be a linux bug), or is it just not included in the installer (which would make this a bug in debian-installer)?

One thing that I do not understand: What happened on Manfred's machine? He has an Intel PC, so there should be no OHCI around, but still the USB keyboard did not work in the past, although it works fine now. (see bug #715408) To clarify this, Manfred, could you please boot the current testing installer in expert mode and after choosing the language and setting the keyboard layout, switch to the console and report us the output of the following command:
# lspci -knn | grep -Ei "usb|hci"
If you still have the installer that failed, please do the same for this installer.

Best regards,
Andreas


Reply to: