Hw.sensors

hw.sensors
Original author(s)Constantine A. Murenin (2006),
Alexander Yurchenko (2003–2004)
Developer(s)The OpenBSD Project
Initial release25 April 2003; 21 years ago (2003-04-25)
Repository
Written inC
Operating systemOpenBSD, DragonFly
Typesystem monitoring
LicenceISC

The hw.sensors framework is a kernel-level hardware sensors framework originating from OpenBSD, which uses the sysctl kernel interface as the transport layer between the kernel and the userland. As of 2019, the framework is used by over a hundred device drivers in OpenBSD to export various environmental sensors, with temperature sensors being the most common type.[1][2] Consumption and monitoring of sensors is done in the userland with the help of sysctl, systat, sensorsd, OpenBSD NTP Daemon (OpenNTPD, ntpd), Simple Network Management Protocol (snmpd), ports/sysutils/symon and GKrellM.[3][4]

Drivers

In OpenBSD, the framework is integrated with Dell's ESM, Intelligent Platform Management Interface (IPMI) and I2C,[5][6] in addition to several popular Super I/O chips through lm(4).[2]

A major difference compared to other solutions like lm_sensors is simplicity and a works-by-default approach in the drivers, which don't need or support any configurability; no installation or configuration actions are required by the system administrator to get the sensors going.[7][6] This is coupled with a fine-tuned ad-hoc read-only scan procedure on the I2C bus, written by Theo de Raadt in a centralised way with a cache, making it possible to leave it enabled by default at all times, unlike the competing solutions.[7][6][8]

RAID drive sensors

Support for automatic monitoring of RAID drives is also provided through the sensors framework,[5] this concept of sensors of drive type has been backported by NetBSD back into envsys in 2007.[2]

OpenNTPD timedelta sensors

OpenNTPD uses sensors of type timedelta to synchronise time.[9] These are provided by NMEA and other drivers.[10][11]

History

The framework was originally devised in 2003 by Alexander Yurchenko, when he was porting several envsys-based drivers from NetBSD. Instead of porting NetBSD's envsys, a simpler sysctl-based mechanism was developed.[2]

Framework use by the device drivers rose sharply with the release of OpenBSD 3.9. Then, in only 6 months, the number of individual drivers using the framework rose from 9 in OpenBSD 3.8 (released 1 November 2005) to 33 in OpenBSD 3.9 (released 1 May 2006).[2]

As of 23 December 2006, the framework was used by 44 devices drivers. At this time, a patchset was committed converting a simple one-level addressing scheme into a more stable multi-layer addressing.[12][13]

In 2007, the framework was ported to FreeBSD as part of a Google Summer of Code grant. It was adopted by DragonFly BSD later that year.[14] The usability of the sensorsd(8), the sensor monitoring daemon, was vastly improved in 2007, partly via the same GSoC grant.[15]

As of 1 November 2008, the total number of drivers stood at 68 in OpenBSD 4.4; growing by 7 drivers in a 6-month release cycle.[16] This rate of growth, of one new driver per month on average, has been common throughout the history of the framework since OpenBSD 3.9.[2]

The values exported by the drivers through the framework are read-only; however, an external patch exists that implements the fan control functions in both the framework, and in one of the drivers for the most popular family of Super I/O chips. This patchset was provided for both OpenBSD and DragonFly BSD.[17][1]

See also

References

  1. ^ a b Constantine A. Murenin (May 21, 2010). OpenBSD Hardware Sensors — Environmental Monitoring and Fan Control (MMath). University of Waterloo, Waterloo, Ontario, Canada: UWSpace. hdl:10012/5234. Document ID: ab71498b6b1a60ff817b29d56997a418.
  2. ^ a b c d e f Constantine A. Murenin; Raouf Boutaba (March 17, 2009). OpenBSD Hardware Sensors Framework (PDF). AsiaBSDCon 2009 Proceedings, 12–15 March 2009. Tokyo University of Science, Tokyo, Japan (published March 14, 2009). Archived (PDF) from the original on February 21, 2009. Retrieved March 4, 2019. Alt URL
  3. ^ Jeremy Andrews (June 7, 2008). "BSDCan 2008: Hardware Sensors Framework". KernelTrap. Archived from the original on December 18, 2010. Retrieved March 4, 2019.
  4. ^ "gkrellm-server-2.3.10p1 – single process stack of system monitors for GTK+2 (server)". OpenBSD ports. June 1, 2018. Retrieved March 4, 2019.
  5. ^ a b David Gwynne; Marco Peereboom (December 3, 2006). bio and sensors in OpenBSD (PDF). OpenCON 2006, 2–3 December 2006. Courtyard Venice Airport, Venice/Tessera, Italy. Retrieved March 4, 2019.
  6. ^ a b c Ingrid Marson (March 24, 2006). "OpenBSD 3.9 adds sensor framework". ZDNet. Retrieved March 4, 2019.
  7. ^ a b Manolis Tzanidakis (March 28, 2006). "Interview: Theo de Raadt of OpenBSD". Linux.com. Retrieved March 4, 2019.
  8. ^ Theo de Raadt (May 29, 2015). "/sys/dev/i2c/i2c_scan.c". Super User's BSD Cross Reference. Retrieved March 4, 2019.
  9. ^ Henning Brauer (September 3, 2016). "ntpd/sensors.c". Super User's BSD Cross Reference. Retrieved March 4, 2019.
  10. ^ Marc Balmer (March 15, 2007). Support for Radio Clocks in OpenBSD (PDF). AsiaBSDCon 2007 Proceedings, 8–11 March 2007. Tokyo, Japan (published March 10, 2007). Archived (PDF) from the original on August 27, 2008. Retrieved March 4, 2019.
  11. ^ Marc Balmer (January 26, 2019). "/sys/kern/tty_nmea.c". Super User's BSD Cross Reference. Retrieved March 4, 2019.
  12. ^ Constantine A. Murenin (2007). Generalised Interfacing with Microprocessor System Hardware Monitors. Proceedings of 2007 IEEE International Conference on Networking, Sensing and Control, 15–17 April 2007. London, United Kingdom. doi:10.1109/ICNSC.2007.372901. IEEE ICNSC 2007, pp. 901—906.
  13. ^ Constantine A. Murenin (December 30, 2006). Marco Peereboom (ed.). "New two-level sensor API". OpenBSD Journal. Retrieved March 4, 2019.
  14. ^ Constantine A. Murenin (October 14, 2007). "GSoC2007/cnst-sensors". FreeBSD. Retrieved March 4, 2019.
  15. ^ Federico Biancuzzi (November 1, 2007). "Puffy's Marathon: What's New in OpenBSD 4.2". O'Reilly Media. Archived from the original on October 13, 2011. Retrieved March 3, 2019.
  16. ^ Federico Biancuzzi (November 3, 2008). "Source Wars - Return of the Puffy: What's New in OpenBSD 4.4". O'Reilly Media. Archived from the original on May 24, 2012. Retrieved March 3, 2019.
  17. ^ Constantine A. Murenin (March 14, 2010). "Quiet computing with BSD: Fan control with sysctl hw.sensors and lm(4) on OpenBSD and DragonFly BSD". Retrieved March 4, 2019.

Read other articles:

—— Permukiman di Uni Emirat Arab —— Ayal Nasirعيال ناصر Negara Uni Emirat Arab Emirat Dubai Kota Dubai Statistik permukiman Luas 0.17 km² Jumlah penduduk 13,077[1] (2000) Kepadatan penduduk 76,923/km² Permukiman sekitarnya Naif, Al Dhagaya, Al Murar Koordinat 25°16′26″N 55°18′14″E / 25.27388°N 55.30397°E / 25.27388; 55.30397Koordinat: 25°16′26″N 55°18′14″E / 25.27388°N 55.30397°E...

 

Koordinat: 53°47′20″N 2°14′53″W / 53.789°N 2.248°W / 53.789; -2.248 Burnley Burnley Town Hall, Manchester Road Burnley Letak Burnley di Britania Raya Area  1.582 km2 (611 sq mi) [1] Population 73,021 (2001 Census)     - Density  11.955/sq mi (4.616/km2) Ref. grid OS SD836326     - London  181 mi (290 km) SSE  District Burnley County...

 

جهاد صالح معلومات شخصية اسم الولادة جهاد أحمد صالح قاسم  الميلاد 15 مايو 1947   دير دبوان  الوفاة 29 يناير 2023 (75 سنة)   عَمَّان  مواطنة دولة فلسطين  عضو في الاتحاد العام للكتاب والأدباء الفلسطينيين  الحياة العملية المهنة كاتب  اللغة الأم العربية  اللغات ال�...

Javaugues Vue de Javaugues. Administration Pays France Région Auvergne-Rhône-Alpes Département Haute-Loire Arrondissement Brioude Intercommunalité Communauté de communes Brioude Sud Auvergne Maire Mandat Bernard Beaudon 2020-2026 Code postal 43100 Code commune 43105 Démographie Populationmunicipale 178 hab. (2021 ) Densité 26 hab./km2 Géographie Coordonnées 45° 17′ 23″ nord, 3° 28′ 54″ est Altitude Min. 459 mMax. 798 m Supe...

 

Indian actress and dancer of Anglo-Burmese descent HelenHelen in 2019BornHelen Ann Richardson (1938-11-21) 21 November 1938 (age 85)Rangoon, British Burma(present-day Yangon, Myanmar)NationalityBritish Burmese (1938–1946) British Indian (1946–1947) Anglo-Indian (1947–1957) Indian (1957–present)OccupationsActressdancerYears active1951–presentSpouses Prem Narayan Arora ​ ​(m. 1957; div. 1974)​ Salim Khan ​(m. ...

 

Not to be confused with Somali Custodial Corps. Somaliland Custodial CorpsCiidanka Asluubta Somaliland فيلق حراسة صوماليلانديLogo of the Custodial CorpsActive1993-presentCountry SomalilandAllegiance SomalilandBranch Somaliland Armed ForcesTypePrison Service and Military ProvostRoleMilitary PoliceGarrison/HQCustodial Corps Central Command, HargeisaMotto(s)Kahortag iyo U AdeegidColorsGreen and GoldEngagementsSomaliland War of IndependenceCommandersChief of Custodia...

 SosiologiDiagram Analisis Jejaring Sosial Portal Teori dan Sejarah Positivisme · Antipositivisme Fungsionalisme · Teori konflik Strukturalisme · Interaksi simbolik · Jarak menengah · Matematis Teori kritis · Sosialisasi Struktur dan agen Metode penelitian Kuantitatif · Kualitatif Komputasional · Etnografi Topik dan Cabang agama · budaya · demografi ekonomi · hukum · ilmu · industri internet · jejaring sosial · jenis kelamin kejahatan · kelas · keluarga kesehatan · kota...

 

2016年夏季奥林匹克运动会美属萨摩亚代表團美属萨摩亚旗帜IOC編碼ASANOC美屬薩摩亞國家奧林匹克委員會網站oceaniasport.com/index_id_175.html(英文)2016年夏季奥林匹克运动会(里約熱內盧)2016年8月5日至8月21日運動員4參賽項目3个大项旗手开幕式:塔努馬福利·馬列托亞·江布魯特(举重)[1]闭幕式:Benjamin Waterhouse(柔道)[2]历届奥林匹克运动会参赛记录(总结)夏�...

 

هنودمعلومات عامةنسبة التسمية الهند التعداد الكليالتعداد قرابة 1.21 مليار[1][2]تعداد الهند عام 2011ق. 1.32 مليار[3]تقديرات عام 2017ق. 30.8 مليون[4]مناطق الوجود المميزةبلد الأصل الهند البلد الهند  الهند نيبال 4,000,000[5] الولايات المتحدة 3,982,398[6] الإمار...

American actress, comedian (born 1997) This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Sydney Park actress – news · newspapers · books · scholar · JSTOR (August 2022) (Learn how and when to...

 

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)&#...

 

Indian politician (born 1970) For Naveen Kumar Jindal, BJP Delhi leader, see 2022 Muhammad remarks controversy. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) The neutrality of this article is disputed. Relevant discussion may be found on the talk page. Please do not remove this message until conditions to do so are met. (December 2022) (Learn how and when to remove this message) This ar...

Map all coordinates using OpenStreetMap Download coordinates as: KML GPX (all coordinates) GPX (primary coordinates) GPX (secondary coordinates) Town in Queensland, AustraliaChuwarIpswich, QueenslandWelcome to Ipswich sign, 2010ChuwarCoordinates27°34′06″S 152°47′49″E / 27.5683°S 152.7969°E / -27.5683; 152.7969 (Chuwar (town centre))Population2,244 (2016 census)[1] • Density252.1/km2 (653/sq mi)Postcode(s)4306Area8.9...

 

1 канон. Вселенского Второго Собора, Константинопольского, в котором предана анафеме ересь маркеллиан. Греческий манускрипт. Ноябрь 1600 года. Британская библиотека. Маркеллиа́не (др.-греч. μαρκελλιανοί; лат. marcelliani) — последователи религиозного течения в христианстве в ...

 

la Luzègeriou du pâtural grand Le viaduc des Rochers Noirs sur la Luzège. Cours de la Luzège (carte interactive). Caractéristiques Longueur 64,2 km [1] Bassin 437 km2 [1] Bassin collecteur la Dordogne Débit moyen 9,9 m3/s (Soursac) [2] Régime régime pluvio-nival Cours Source sur les pentes du puy Pendu 973 m · Localisation plateau de Millevaches · Altitude 930 m · Coordonnées 45° 35′ 51″ N, 2° 07′ 16″ E Confluence l...

Tan Sri DatukMurphy PakiamUskup Agung Emeritus Kuala Lumpur Motto: Kasih dan Damai[1]TakhtaKeuskupan Agung Kuala Lumpur bahasa Latin: Archidioecesis Kuala LumpurensisAwal masa jabatan29 Mei 2003Masa jabatan berakhir13 Desember 2013PendahuluAnthony Soter FernandezPenerusJulian Leow Beng KimImamatTahbisan imam10 May 1964Tahbisan uskup4 Oktober 1995Informasi pribadiLahir06 Desember 1938 (umur 85)Tapah, Perak, Negara Federasi MelayuKewarganegaraanMalaysiaDenominasiKatolik RomaKed...

 

1897–1958 French colony off the coast of southeast Africa Colony of Madagascar and DependenciesColonie de Madagascar et dépendances (French)Ny zanatanin'i Madagasikara sy ny miankina aminy (Malagasy)1897–1958 Flag Coat of arms Anthem: La MarseillaiseColony of Madagascar and Dependencies in 1930StatusColony of France (1897–1946)Overseas Territory of France (1946–1958)CapitalTananariveCommon languagesFrench · Malagasy · Comorian ·...

 

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne s'appuie pas, ou pas assez, sur des sources secondaires ou tertiaires (octobre 2014). Pour améliorer la vérifiabilité de l'article ainsi que son intérêt encyclopédique, il est nécessaire, quand des sources primaires sont citées, de les associer à des analyses faites par des sources secondaires. Réseau Action ClimatLogo du Réseau Action Climat.HistoireFondation 26 septembre 1996CadreSigle...

В Википедии есть статьи о других людях с фамилией Рамос. Эдсон Ратиньо Общая информация Полное имя Эдсон Рамос да Сильва Родился 31 мая 1986(1986-05-31) (38 лет)Жуан-Песоа, Параиба, Бразилия Гражданство Бразилия Рост 170 см Позиция защитник Информация о клубе Клуб КРБ Клубная карьер�...

 

This article is about the city in the district of Rastatt. For the village in the municipality of Klettgau, see Bühl (Klettgau). This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Bühl Baden – news · newspapers · books · scholar · JSTOR (October 2009) (Learn how and when to remove this message) You can h...