Re: [RFC] [PATCH] panasonic-laptop.c: add support for CD power management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karthik,

karthik.g.krishnan@xxxxxxxxx said:
> To an end user, writing "0" to enable the device & "1" to disable it
> sounds counter-intuitive, especially when the sysfs entry is called
> "cdpower". Is there a reason to not flip that?

/me goes off to look at how other people do it...  sony-laptop uses "1"
for on and "0" for off, so I guess you're right.  Not sure what I was
thinking there, I'll flip it in the final version of the patch.  Thanks!

Which brings me to a related question someone here may be able to
answer:  Which bit of userspace would be responsible for managing the
drive's power state?  To me the most intuitive automatic mode of
operation would be that the system powers off the drive after some time
iff there is no medium in the drive.

On these laptops there is no need to actually power the drive back up,
since it will do so automatically if a user attempts to insert a disc.

-mato
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux