Bug#494027: why it works on the nslu2
Thanks to Kevin Price who sent me logs from the NSLU2, I know why it
works there.
The difference is that on the NSLU2 USB is a PCI device whereas on my
Orion machine it's not. So on NSLU2 we get:
+ echo usb
++ dirname /sys/devices/pci0000:00/0000:00:01.2/usb1
+ device_path=/sys/devices/pci0000:00/0000:00:01.2
+ '[' /sys/devices/pci0000:00/0000:00:01.2 '!=' /sys ']'
++ readlink -f /sys/devices/pci0000:00/0000:00:01.2/driver
+ driver_path=/sys/bus/pci/drivers/ehci_hcd
+ '[' -e /sys/bus/pci/drivers/ehci_hcd ']'
+++ readlink -f /sys/bus/pci/drivers/ehci_hcd
++ basename /sys/bus/pci/drivers/ehci_hcd
+ module=ehci_hcd
+ '[' -n ehci_hcd ']'
+ force_load ehci_hcd
+ manual_add_modules ehci_hcd
whereas on Orion we get:
+ echo usb
++ dirname /sys/devices/platform/orion-ehci.0/usb1
+ device_path=/sys/devices/platform/orion-ehci.0
+ '[' /sys/devices/platform/orion-ehci.0 '!=' /sys ']'
++ readlink -f /sys/devices/platform/orion-ehci.0/driver
+ driver_path=/sys/bus/platform/drivers/orion-ehci
+ '[' -e /sys/bus/platform/drivers/orion-ehci ']'
+++ readlink -f /sys/bus/platform/drivers/orion-ehci
++ basename /sys/bus/platform/drivers/orion-ehci
+ module=orion-ehci
+ '[' -n orion-ehci ']'
+ force_load orion-ehci
+ manual_add_modules orion-ehci
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: