Package: module-init-tools
Version: 3.4-1
Severity: wishlist
Tags: patch

Hi,

quoting Alan Stern from linux-usb[1]:

  The issue is quite simple.  On systems with both an EHCI controller and
  either UHCI or OHCI, the ehci-hcd driver should always be loaded before
  either uhci-hcd or ohci-hcd. If it is loaded after then problems can ensue,
  because devices which were connected through the UHCI or OHCI controller
  will automatically be disconnected when ehci-hcd loads.

I propose a quick workaround for the issue in the attached patch, but I am
reporting this as a wishlist because the solution needs some more discussion.
I don't even know if this is more suited to udev, but I had to start from
somewhere :)

In the related thread[2] they say that this simple fix is overkill because it
will load ehci-hcd even on systems without the hardware it is needed for. I
agree, of course, but I don't know how to load it conditionally _before_ the
hardware is detected by udev and co.

Any advice?

Thanks,
   Antonio Ospite

[1] http://marc.info/?l=linux-usb&m=122201117032726
[2] http://marc.info/?t=122047563500001

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (600, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-rc6 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages module-init-tools depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

module-init-tools recommends no packages.

module-init-tools suggests no packages.

-- no debconf information
--- /dev/null   2008-09-24 10:23:09.585091748 +0200
+++ /etc/modprobe.d/usb 2008-09-22 09:44:50.000000000 +0200
@@ -0,0 +1,2 @@
+install uhci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install 
uhci-hcd
+install ohci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install 
ohci-hcd

Reply via email to