From e17fd434232bba39822837d5fa7a11026f4698f1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 24 Aug 2004 03:19:56 +0000 Subject: (usbMice, usbWacom) wacom devices can have 'wacom' as driver --- perl-install/detect_devices.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index dc30060bf..f39c2c883 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -788,9 +788,9 @@ sub matching_type { $type =~ /laptop/i && isLaptop(); } -sub usbMice() { grep { $_->{media_type} =~ /\|Mouse/ && $_->{driver} !~ /Tablet:wacom/ || +sub usbMice() { grep { $_->{media_type} =~ /\|Mouse/ && $_->{driver} !~ /wacom/ || $_->{driver} =~ /Mouse:USB/ } usb_probe() } -sub usbWacom() { grep { $_->{driver} =~ /Tablet:wacom/ } usb_probe() } +sub usbWacom() { grep { $_->{driver} =~ /wacom/ } usb_probe() } sub usbKeyboards() { grep { $_->{media_type} =~ /\|Keyboard/ } usb_probe() } sub usbStorage() { grep { $_->{media_type} =~ /Mass Storage\|/ } usb_probe() } -- cgit v1.2.1