Author: pebender
Date: Thu Jul 2 14:10:55 2009
New Revision: 5094
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
Log:
- Updated script to deal with changes in the xf86-video-ati PCI ids format.
Modified:
trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
==============================================================================
---
trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
(original)
+++
trunk/gar-minimyth/script/meta/minimyth/files/generate_udev_rules_minimyth_detect_video.pl
Thu Jul 2 14:10:55 2009
@@ -39,7 +39,7 @@
unlink(qq($tmpfile_pciids_txt));
system(qq(wget
'http://cgit.freedesktop.org/xorg/driver/xf86-video-radeonhd/plain/src/rhd_id.c'
-O $tmpfile_pciids_txt));
-die qq(error: failed to download DRM PCI ids file.\n) if (! -e
$tmpfile_pciids_txt);
+die qq(error: failed to download xf86-video-radeonhd PCI ids file.\n) if
(! -e $tmpfile_pciids_txt);
if (open(FILE, '<', qq($tmpfile_pciids_txt)))
{
my $driver = undef;
@@ -73,13 +73,13 @@
unlink(qq($tmpfile_pciids_txt));
system(qq(wget
'http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/plain/src/radeon_chipinfo_gen.h'
-O $tmpfile_pciids_txt));
-die qq(error: failed to download DRM PCI ids file.\n) if (! -e
$tmpfile_pciids_txt);
+die qq(error: failed to download xf86-video-ati PCI ids file.\n) if (! -e
$tmpfile_pciids_txt);
if (open(FILE, '<', qq($tmpfile_pciids_txt)))
{
my $driver = undef;
while (<FILE>)
{
- if (/^ *RADEONCardInfo +RADEONCards\[\] *= *{/)
+ if (/^ *(static +)?RADEONCardInfo +RADEONCards\[\] *= *{/)
{
$driver = 'radeon';
last;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---