Commit Graph
376 Commits
Author SHA1 Message Date
Mark D. Studebaker 8a7d9d7d07 add support for Asus ASB100 Bach. Patch from
"Mark M. Hoffman" <mhoffman@lightlink.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1486 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-04 19:01:35 +00:00
Albert Cranford bd6a9d2af1 Removed unused variable tmpstatus in pcf8574_write.
Corrected if (*nrels_mag = 1) to if (*nrels_mag == 1) in pcf8574_write.
ACC 29jul02


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1472 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-30 03:06:39 +00:00
Albert Cranford a1cb4f5b03 Compiler warning about uninitialized values. Initialized.
ACC 29jul02


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1471 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-30 03:02:37 +00:00
Albert Cranford 5f66e08cf8 Compile warnings uninitialized variables. Initialize to 0.
ACC 29jul02


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1470 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-30 03:00:22 +00:00
Albert Cranford 80e7d3a840 Compiling lm92 in the kernel results in undefined reference to sensors_lm92_init
Remove static from definition of sensors_lm92_init.
ACC 29Jul02


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1469 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-30 02:56:21 +00:00
Mark D. Studebaker 550ca6ca2c fix driver name in struct i2c_driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1466 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-26 00:56:54 +00:00
Mark D. Studebaker 30220d235e implement pwm enable
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1462 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-18 02:56:06 +00:00
Abraham van der Merwe 9d559f9ce1 Only use __exit in 2.4.xx and later kernels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1457 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-15 10:08:40 +00:00
Abraham van der Merwe 6b65a1d7b3 Now I also know what PROC_REAL_INFO operation means.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1448 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-12 08:26:16 +00:00
Abraham van der Merwe 70677ba796 libsensors support (untested). also, I haven't added anything to
sensors-detect yet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1441 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-10 11:57:13 +00:00
Abraham van der Merwe 15fd257b64 Changed scaling of /proc temperature entries to be 10^4 (i.e. accurate to
four decimal places).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1440 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-10 08:46:50 +00:00
Mark D. Studebaker 35c1e0d40f fix compile warning
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1436 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-10 01:32:23 +00:00
Abraham van der Merwe 97d966fb75 Real-time clock driver for Dallas Semiconductor DS1307 chip. This just
provides and API for NVRAM and RTC drivers to sit on top of this. An example
of drivers that uses this API are the Frodo RTC and NVRAM drivers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1433 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-09 12:45:08 +00:00
Abraham van der Merwe 73af6c49fc Changes lm92_init() and lm92_exit() to sensors_...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1432 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-09 10:05:04 +00:00
Abraham van der Merwe 1416083125 Support for pre-2.6.4 i2c.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1431 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-09 10:03:22 +00:00
Abraham van der Merwe 128cdbf1f1 Changed the source to comply a bit more to the lm_sensors2 project standards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1429 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-08 09:04:45 +00:00
Mark D. Studebaker 81a7bd8025 reassign address on write to /proc
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1426 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-06 01:36:04 +00:00
Mark D. Studebaker 2a5816a24c fix 'make install' which I broke
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1425 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-06 00:49:13 +00:00
Mark D. Studebaker e7c892b496 add lm92, vt1211, smsc47m1, i2c-savage4, pcf8574, pcf8591
to mkpatch


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1423 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-05 18:05:46 +00:00
Mark D. Studebaker 9863015017 printk
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1421 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-04 17:15:28 +00:00
Mark D. Studebaker 7c7eb71409 prep for separate vt8231 recognition
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1420 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-04 17:14:52 +00:00
Abraham van der Merwe e3c2328a04 Support for National Semiconductor LM92 Temperature sensor.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1419 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-04 14:27:29 +00:00
Mark D. Studebaker 406a7deeb8 vt1211 update; move calculations from driver to sensors.conf
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1417 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-07-02 03:08:02 +00:00
Mark D. Studebaker 3e65c375be initial support for Via VT1211 super i/o with sensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1409 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-30 20:28:08 +00:00
Mark D. Studebaker 927aae8b81 Initialize temp1-3 to "comparator" mode so that the ALARM
indication will always be valid; it won't be cleared forever by
      reading the register. Do this by setting temp1_hyst to 127
      and programming register 4C which sets it for temps 2 and 3.
      Don't print hyst. value for temp1 in 'sensors' if == 127.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1407 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-29 02:46:51 +00:00
Mark D. Studebaker 1c990e4d35 (mds)+1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1406 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-28 02:55:49 +00:00
Mark D. Studebaker 13cbd37834 add superio_exit
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1403 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-28 02:22:00 +00:00
Mark D. Studebaker ea0fbfcad7 returned address bug - thanks Dori
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1402 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-24 02:28:41 +00:00
Mark D. Studebaker ff0ed21e8f cleanup
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1398 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-16 18:30:54 +00:00
Mark D. Studebaker 37cbcbe5ad add smsc47m1 fan driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1397 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-16 18:27:35 +00:00
Mark D. Studebaker c382a5ca7a export EDID info to /proc
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1396 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-15 17:10:19 +00:00
Mark D. Studebaker ef8ce903f3 add smbus-arp
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1393 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 03:28:00 +00:00
Mark D. Studebaker e2a6466a4d start of a demonstration ARP client.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1392 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-12 02:54:24 +00:00
Mark D. Studebaker e0a1889044 add multiple VRM support to adm1025
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1383 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-07 02:58:43 +00:00
Mark D. Studebaker 72c05c05dd add support for 8231
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1378 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-05-27 21:14:10 +00:00
Mark D. Studebaker 93022bef6c add programmable VRM support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1355 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-23 02:47:18 +00:00
Mark D. Studebaker 39cc76464b for kernels 2.4+, install modules to kernel/drivers/[i2c,sensors]
instead of misc, and delete old modules in misc. This will prevent
      duplicate modules.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1351 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-04-20 02:50:37 +00:00
Mark D. Studebaker 3152ddbeee blacklist 645 as recommended by
"Mark M. Hoffman" <mhoffman@lightlink.com>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1327 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-27 02:36:04 +00:00
Mark D. Studebaker f3beaa1809 rename /proc entries from "data16-31" to simply "10" (hex)
which is shorter, simpler, easier to use in scripts,
      and the best reason is that it's alphabetical so that
      "cat *" output is in the correct order.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1321 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-16 16:33:57 +00:00
Mark D. Studebaker 0442f73da9 (mds)
From:        Aurelien Jarno <aurelien@aurel32.net>

Hello,

I have to use the pcf8574 chip with my I2C interface, however, the pcf8574
drivers in lm-sensors is a bit basic. It supposes the pin P1 is used as an
input and the others pin as outputs.

Attached is a patch which corrects that, providing to files in /proc
interface, one for writting, the other for reading. It also modifies a bit
the driver to support the pcf8574a (it is a pcf8574 with a different address
range), and add a documentation file in doc/chips.

The patch also includes some cosmetic changes in the pcf8591 driver I wrote
previously, that is to say it modify the chip name in some places I had
forgotten to change when I made a copy/paste from another driver.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1318 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-10 23:15:12 +00:00
Mark D. Studebaker 877bf15087 THIS_MODULE patch for kernel 2.2.18 from
Jean Delvare <delvare@ensicaen.ismra.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1317 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 22:36:26 +00:00
Mark D. Studebaker cdb6353de6 add 735 to blacklist
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1316 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 21:33:02 +00:00
Mark D. Studebaker 115f2db300 add force_subclients parameter which allows moving subclients
to different addresses; this allows initialization of two
      clients on the same i2c bus by preventing subclient address
      conflicts at 0x48 and 0x49.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1312 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 16:36:54 +00:00
Mark D. Studebaker eaf609b21d add /proc entries for bytes 128-255; patch from
Jean Delvare <delvare@ensicaen.ismra.fr>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1310 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-02-09 16:33:33 +00:00
Philip Edelbrock 4cd4f15116 (Phil) Added a patch from Stephen Davies <steve@daviesfam.org> for
s-video out support and typical DVD resolutions for PAL and NTSC.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1298 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-29 19:25:37 +00:00
Mark D. Studebaker 117f27c098 clarify operation of in0-2; rename /proc entries to standard in0-3.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1297 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-25 03:01:14 +00:00
Mark D. Studebaker 91b1af9cce add MODULE_LICENSE
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1289 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-13 16:59:19 +00:00
Mark D. Studebaker 13d35fc36f standardize /proc ain1,2,fan -> in6,7,fan1
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1288 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-13 16:44:05 +00:00
Dan Eaton f6d20d4a25 (dan) Corrected bug in writing of external temp threshold.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1286 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-12 05:00:41 +00:00
Mark D. Studebaker b51767b170 fixed initial limit settings for in0, in1, in5 - tkt #788
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1285 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-12 03:33:28 +00:00