Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - G index

CONFIG_GEN_RTC: Generic /dev/rtc emulation

General informations

The Linux kernel configuration item CONFIG_GEN_RTC has multiple definitions:

Generic /dev/rtc emulation found in arch/m68k/Kconfig

The configuration item CONFIG_GEN_RTC:

Help text

If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you will get access to the real time clock (or hardware clock) built into your computer.

It reports status information via the file /proc/driver/rtc and its behaviour is set by various ioctls on /dev/rtc. If you enable the "extended RTC operation" below it will also provide an emulation for RTC_UIE which is required by some programs and may improve precision in some cases.

To compile this driver as a module, choose M here: the module will be called genrtc. To load the module automatically add 'alias char-major-10-135 genrtc' to your /etc/modules.conf

Generic /dev/rtc emulation found in drivers/char/Kconfig

The configuration item CONFIG_GEN_RTC:

Help text

If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you will get access to the real time clock (or hardware clock) built into your computer.

It reports status information via the file /proc/driver/rtc and its behaviour is set by various ioctls on /dev/rtc. If you enable the "extended RTC operation" below it will also provide an emulation for RTC_UIE which is required by some programs and may improve precision in some cases.

To compile this driver as a module, choose M here: the module will be called genrtc.

Use the platform RTC operations from user space found in arch/powerpc/platforms/Kconfig

The configuration item CONFIG_GEN_RTC:

Help text

This option provides backwards compatibility with the old gen_rtc.ko module that was traditionally used for old PowerPC machines. Platforms should migrate to enabling the RTC_DRV_GENERIC by hand replacing their get_rtc_time/set_rtc_time callbacks with a proper RTC device driver.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - G index

Automatically generated (in year 2017) with gen-web-lkddb.py in lkddb-sources.