Bug 26286

Summary: [1.3-rc3] syntax error in numeric_compare_eq()
Product: pm-utils Reporter: Rafał Miłecki <zajec5>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: pm-suspend.log
Accept underscore as property name

Description Rafał Miłecki 2010-01-27 13:33:56 UTC
When I try to suspend in non-KMS I get error in /var/log/pm-suspend.log:

/usr/lib/pm-utils/sleep.d/98-video-quirk-db-handler suspend suspend:/usr/lib/pm-utils/sleep.d/98-video-quirk-db-handler: line 225: ((: 0x10de ==  : syntax error: operand expected (error token is "==  ")
success.
Comment 1 Rafał Miłecki 2010-01-27 13:34:36 UTC
Created attachment 32859 [details]
pm-suspend.log
Comment 2 Rafał Miłecki 2010-01-27 13:54:32 UTC
I've hacked have_nvidia_g80() to echo $system_hardware_primary_video_vendor, this variable is null for me. That causes syntax error in (( ... )) test.
Comment 3 Rafał Miłecki 2010-01-27 16:38:22 UTC
Created attachment 32861 [details] [review]
Accept underscore as property name
Comment 4 Rafał Miłecki 2010-02-03 11:57:12 UTC
Fixed in commit 665bad4f548f19ab8706026c646e44cdab8c37f9 ("fix DMI attribute matching").

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.