<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.&nbsp; 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;">&nbsp; system.hardware.primary_video.product = 10146&nbsp; (0x27a2)&nbsp; (int)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; system.hardware.primary_video.vendor = 32902&nbsp; (0x8086)&nbsp; (int)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; system.hardware.product
 = &#39;MM061&#39;&nbsp; (string)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; system.hardware.serial = &#39;28W6RB1&#39;&nbsp; (string)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; system.hardware.uuid = &#39;44454C4C-3800-1057-8036-B2C04F524231&#39;&nbsp; (string)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp; system.hardware.vendor = &#39;Dell Inc.&#39;&nbsp; (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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;match key=&quot;system.hardware.product&quot; contains=&quot;MM061&quot;&gt;</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;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;match key=&quot;system.hardware.product&quot; prefix=&quot;Inspiron&quot;&gt;</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&#39;t</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">contain &quot;Inspiron&#39;, 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=&quot;Inspiron&quot;, 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 &#39;sleep&#39; on the laptop it now works!  :-)
<br><br>So... it seems that some Dell Inspiron 6400&#39;s may be reported as<br>&#39;Inspiron MM061&#39; and others are called simply &#39;MM061&#39;<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 &#39;replicated&#39;</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=&#39;Inspiron&#39; 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>