summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-19 13:40:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-19 13:40:38 +0000
commit41e7a8dc76cc90cc741304a3bbf6188aef135cfa (patch)
treedab892096e71f2dce15e0e43fcf4b6202dd0c015 /perl-install/detect_devices.pm
parentc8ccfa7ac8ed30d2dbe92d0654e5da6ce1e0f365 (diff)
downloaddrakx-41e7a8dc76cc90cc741304a3bbf6188aef135cfa.tar
drakx-41e7a8dc76cc90cc741304a3bbf6188aef135cfa.tar.gz
drakx-41e7a8dc76cc90cc741304a3bbf6188aef135cfa.tar.bz2
drakx-41e7a8dc76cc90cc741304a3bbf6188aef135cfa.tar.xz
drakx-41e7a8dc76cc90cc741304a3bbf6188aef135cfa.zip
- getInputDevices(): keep "Bus=..." for drakx-kbd-mouse-x11
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 249f0df6a..b1e9fc907 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -425,6 +425,7 @@ sub getInputDevices() {
$device = {};
$device->{vendor} = /Vendor=(\w+)/ && $1;
$device->{id} = /Product=(\w+)/ && $1;
+ $device->{bustype} = /Bus=(\w+)/ && $1;
} elsif (/N: Name="(.*)"/) {
my $descr = $1;
$device->{description} = "|$descr";