Bug 26286 - [1.3-rc3] syntax error in numeric_compare_eq()
Summary: [1.3-rc3] syntax error in numeric_compare_eq()
Status: RESOLVED FIXED
Alias: None
Product: pm-utils
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 13:33 UTC by Rafał Miłecki
Modified: 2010-02-03 11:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pm-suspend.log (6.38 KB, text/plain)
2010-01-27 13:34 UTC, Rafał Miłecki
Details
Accept underscore as property name (1.00 KB, patch)
2010-01-27 16:38 UTC, Rafał Miłecki
Details | Splinter Review

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.