<span style="font-family: courier new,monospace;">I decided to play with sleep and suspend on my Dell Inspiron 6400...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Most things work, but during recovery from sleep, the screen was</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">still dark/blank. So following the instructions on the quirk site, I tried:
</span><br style="font-family: courier new,monospace;"><pre style="font-family: courier new,monospace;">lshal | grep system.hardware<br><br>and I get:<br></pre><span style="font-family: courier new,monospace;">[root@localhost
log]# lshal | grep system.hardware</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> system.hardware.primary_video.product = 10146 (0x27a2) (int)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> system.hardware.primary_video.vendor = 32902 (0x8086) (int)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> system.hardware.product
= 'MM061' (string)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> system.hardware.serial = '28W6RB1' (string)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> system.hardware.uuid = '44454C4C-3800-1057-8036-B2C04F524231' (string)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
system.hardware.vendor = 'Dell Inc.' (string)</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">So when looking in
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">I see that the section for</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <match key="system.hardware.product" contains="MM061"></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">is contained within a section:</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
<match key="system.hardware.product" prefix="Inspiron"></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
But as you can see my reported system.hardware.product line doesn't</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">contain "Inspiron', let alone as a prefix!
</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">so I created and tested a section, duplicating the existing quirks</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">except without the prefix="Inspiron", and the quirks are now</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">recognized when I do:</span><br style="font-family: courier new,monospace;"><pre style="font-family: courier new,monospace;">lshal | grep quirk<br><br>and when I test 'sleep' on the laptop it now works! :-)
<br><br>So... it seems that some Dell Inspiron 6400's may be reported as<br>'Inspiron MM061' and others are called simply 'MM061'<br></pre><span style="font-family: courier new,monospace;">Given my minimal knowledge of the syntax of the quirks file
<br>and HAL software, I decided to post this message rather<br>than simply submit a git change.<br><br>... Is there a better way to handle this issue given the syntax</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">of the quirks file without having to resort to two 'replicated'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
sections, or should the MM061 quirk simply be moved from</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">within its prefix='Inspiron' qualifier?</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Comments?</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">TIA</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Fulko</span><br style="font-family: courier new,monospace;"><br><br>