Re: [PATCH linux-acpi] Correct wakeup set error and append a new column PCI ID

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: <linux-acpi@...>, <linux-kernel@...>, <lenb@...>, <acpi-bugzilla@...>
Date: Tuesday, January 1, 2008 - 10:03 pm

On Wed, 2008-01-02 at 00:20 +0100, Pavel Machek wrote:
A user uses device bus id like 'C093' to enable or disable wakeup of the
device, for example

echo "C093" > /proc/acpi/wakeup

but i think "c093" should also be ok. i.e.

"echo 'c093' > /proc/acpi/wakeup" should have the same result as "echo
'C093' > /proc/acpi/wakeup".

That is to say, it should be case-insensitive.
Not at all, i didn't find any userland application
assumes /proc/acpi/wakeup must be that kind of format.

In fact, /proc output is always changing. :-)
PCI ID can be gotten from sysfs, but it is a unique identifier for a
device, a user can get device name from /usr/share/hwdata/pci.ids in any
dstribution by PCI ID, he/she is unnecessary to use bus number to get
device name, bus number is platform-specific, but PCI ID is
platform-independent.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH linux-acpi] Correct wakeup set error and append a..., Yi Yang, (Tue Jan 1, 10:03 pm)
Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup, Thomas Renninger, (Wed Mar 19, 9:06 am)
Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup, Matthew Garrett, (Thu Jan 10, 6:30 am)
[PATCH] ACPI: fix processor limit set error, Yi Yang, (Mon Jan 7, 11:21 pm)