From 446202f3261911c59e194d9883e4618753a0e5b7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Aug 2012 17:19:15 +0000 Subject: adapt to usbfs death (2/4): if needed, mount /sys/kernel/debug/usb instead of /proc/bus/usb --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 593bc7719..6014c6dc6 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -283,7 +283,7 @@ sub when_load_category { } elsif ($category eq 'bus/usb') { $conf->add_probeall('usb-interface', $name); -f '/sys/kernel/debug/usb/devices' or eval { - require fs::mount; fs::mount::usbfs(''); + require fs::mount; fs::mount::sys_kernel_debug(''); #- ensure keyboard is working, the kernel must do the job the BIOS was doing sleep 4; load("usbhid") if detect_devices::usbKeyboards(); -- cgit v1.2.1