lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 13 Feb 2009 19:59:16 +0100
From:	Peter Feuerer <peter@...e.net>
To:	Matthew Garrett <mjg59@...f.ucam.org>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Acer Aspire One fan control

Matthew Garrett writes:

> That depends on how you're doing it. Is the code available somewhere? 

Just cleaned up the code and released it on my homepage, you can download 
it from: http://piie.net/files/acerhdf_kmod-0.2.tar.gz

> If 
> these io ports are also used by the firmware then you'll need to find 
> ACPI methods to call to perform the fan control. 

I get the temperature by calling ec_read(0x58) and can read/write the state 
of the fan by ec_write to / ec_read from 0x55. Actually I don't know if 
those embedded controller registers are used by the firmware. How can I find 
it out?

> If there aren't any 
> then it's not safe to have a driver to do this.

I think there should not be a problem when calling ec_write and ec_read 
from my kernel module, as those functions are atomic. Or am I wrong?

--peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ