From 4c11c11f94e94c387628371a19b9a13afc0f781a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Aug 2012 17:19:11 +0000 Subject: adapt to usbfs death (1/4): check for /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 c4c03fb34..593bc7719 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -282,7 +282,7 @@ sub when_load_category { eval { load('sd_mod') }; } elsif ($category eq 'bus/usb') { $conf->add_probeall('usb-interface', $name); - -f '/proc/bus/usb/devices' or eval { + -f '/sys/kernel/debug/usb/devices' or eval { require fs::mount; fs::mount::usbfs(''); #- ensure keyboard is working, the kernel must do the job the BIOS was doing sleep 4; -- cgit v1.2.1