• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kmilo

i8k.h

Go to the documentation of this file.
00001 /*
00002  * i8k.h -- Linux driver for accessing the SMM BIOS on Dell laptops
00003  *
00004  * Copyright (C) 2001  Massimo Dal Zotto <dz@debian.org>
00005  *
00006  * This program is free software; you can redistribute it and/or modify it
00007  * under the terms of the GNU General Public License as published by the
00008  * Free Software Foundation; either version 2, or (at your option) any
00009  * later version.
00010  *
00011  * This program is distributed in the hope that it will be useful, but
00012  * WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * General Public License for more details.
00015  */
00016 
00017 #ifndef _LINUX_I8K_H
00018 #define _LINUX_I8K_H
00019 
00020 #define I8K_PROC        "/proc/i8k"
00021 #define I8K_PROC_FMT        "1.0"
00022 
00023 #define I8K_BIOS_VERSION    _IOR ('i', 0x80, int)   /* broken: meant 4 bytes */
00024 #define I8K_MACHINE_ID      _IOR ('i', 0x81, int)   /* broken: meant 16 bytes */
00025 #define I8K_POWER_STATUS    _IOR ('i', 0x82, size_t)
00026 #define I8K_FN_STATUS       _IOR ('i', 0x83, size_t)
00027 #define I8K_GET_TEMP        _IOR ('i', 0x84, size_t)
00028 #define I8K_GET_SPEED       _IOWR('i', 0x85, size_t)
00029 #define I8K_GET_FAN     _IOWR('i', 0x86, size_t)
00030 #define I8K_SET_FAN     _IOWR('i', 0x87, size_t)
00031 
00032 #define I8K_FAN_LEFT        1
00033 #define I8K_FAN_RIGHT       0
00034 #define I8K_FAN_OFF     0
00035 #define I8K_FAN_LOW     1
00036 #define I8K_FAN_HIGH        2
00037 #define I8K_FAN_MAX     I8K_FAN_HIGH
00038 
00039 #define I8K_VOL_UP      1
00040 #define I8K_VOL_DOWN        2
00041 #define I8K_VOL_MUTE        4
00042 
00043 #define I8K_AC          1
00044 #define I8K_BATTERY     0
00045 
00046 #endif

kmilo

Skip menu "kmilo"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal