Bug#499556: [Pkg-utopia-maintainers] Bug#499556: hal-info: quirks for Dell X200

2008-10-09 Thread Karl Chen
 On 2008-10-08 15:14 PDT, Michael Biebl writes:

Michael Karl Chen wrote:
 Package: hal-info Version: 20080508+git20080601-1 Severity:
 normal Tags: patch
 
 
 After suspending on a Dell (Latitude) X200 laptop with
 kernel 2.6.26, the display is not properly restored on
 resume.
 
 quirk-vbe-post and quirk-vbemode-restore are needed.
 
 The FDI file isn't matching the rules for X200 for my
 laptop.  There is a rule that would match
 system.hardware.product Latitude X200, but my
 system.hardware.product is just X200.

Michael There is an entry for X200:

Michael match key=system.hardware.product
Michael contains_outof=C400;C840;D500;D505;D800;X200
Michael merge key=power_management.quirk.vbe_post
Michael type=booltrue/merge merge
Michael key=power_management.quirk.vbestate_restore
Michael type=booltrue/merge /match

Michael lshal | grep quirk should list them

The FDI file isn't matching the rules for X200 for my laptop.
There is a rule that would match system.hardware.product Latitude
X200, but my system.hardware.product is just X200.

Did you miss the above sentence, or do you mean that your version
of that file is different from mine?  

The rule you quoted is the same as in mine, but it's also inside a
match key=system.hardware.product prefix=Latitude clause.

(I believe the Dell Latitude X* series is different from the other
laptops branded Dell Latitude because the X series was actually
done by Samsung.)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#499556: [Pkg-utopia-maintainers] Bug#499556: hal-info: quirks for Dell X200

2008-10-08 Thread Michael Biebl
Karl Chen wrote:
 Package: hal-info
 Version: 20080508+git20080601-1
 Severity: normal
 Tags: patch
 
 
 After suspending on a Dell (Latitude) X200 laptop with
 kernel 2.6.26, the display is not properly restored on
 resume.
 
 quirk-vbe-post and quirk-vbemode-restore are needed.
 
 The FDI file isn't matching the rules for X200 for my
 laptop.  There is a rule that would match
 system.hardware.product Latitude X200, but my
 system.hardware.product is just X200.

There is an entry for X200:

match key=system.hardware.product
contains_outof=C400;C840;D500;D505;D800;X200
merge key=power_management.quirk.vbe_post type=booltrue/merge
merge key=power_management.quirk.vbestate_restore
type=booltrue/merge
/match

lshal | grep quirk
should list them


 
 This patch (plus a workaround to an issue with pm-utils, see
 bug #499442) works for me, though you may want to refactor
 the existing rule(s).
 

We currently have a very unfortunate situation wrt. to Intel graphics
cards. According to one of the kernel hackers, mjg59, Intel graphics
drivers no longer need quirks with kernel = 2.6.26 and will actually
fail to resume if you apply any quirks. That's why we filter out the
quirks in pm-utils.
As it turns out, this strategy does not seem to work for all laptops.
Either way (filtering out or not), we will break resume on certain laptops.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature