diff options
author | Thierry MERLE <thierry.merle@free.fr> | 2008-01-09 21:33:53 +0100 |
---|---|---|
committer | Thierry MERLE <thierry.merle@free.fr> | 2008-01-09 21:33:53 +0100 |
commit | 99256ac509514ee0e54c0b79ff65389297131fc2 (patch) | |
tree | d165679ebc592d1f71bd1daab6fa2320aad4b16d /v4l/scripts/usbvision.pl | |
parent | e4e5f2db6f6cea9c8661676a30dc40271ae18c2c (diff) | |
download | mediapointer-dvb-s2-99256ac509514ee0e54c0b79ff65389297131fc2.tar.gz mediapointer-dvb-s2-99256ac509514ee0e54c0b79ff65389297131fc2.tar.bz2 |
usbvision: add Pinnacle Studio PCTV USB (NTSC) FM V3
From: Thierry MERLE <thierry.merle@free.fr>
Add the "Pinnacle Studio PCTV USB (NTSC) FM" device.
This is the third occurrence of the same device designation...
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l/scripts/usbvision.pl')
-rwxr-xr-x | v4l/scripts/usbvision.pl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/v4l/scripts/usbvision.pl b/v4l/scripts/usbvision.pl index 3976e8bd1..b31df4f78 100755 --- a/v4l/scripts/usbvision.pl +++ b/v4l/scripts/usbvision.pl @@ -20,13 +20,15 @@ while (<>) { next unless defined($id); - if (/USB_DEVICE.*0x([0-9a-fA-F]*).*0x([0-9a-fA-F]*).*driver_info\s*=\s*([\w\d_]+)/) -{ + if (/USB_DEVICE.*0x([0-9a-fA-F]*).*0x([0-9a-fA-F]*).*/) + { $subvendor=$1; $subdevice=$2; - push @{$data{$3}->{subid}}, "$subvendor:$subdevice"; } - + if(/driver_info\s*=\s*([\w\d_]+)/) + { + push @{$data{$1}->{subid}}, "$subvendor:$subdevice"; + } if (!defined($data{$id}) || !defined($data{$id}->{name})) { $data{$id}->{name} = $1 if (/\.ModelString\s*=\s*\"([^\"]+)\"/); } |