|
|
发表于 2004-12-30 15:53:26
|
显示全部楼层
MDK默认是有那个文件的阿,莫非是你重新编译了内核?
可以重新编译内核在Character devices 中选中下面的选项
也可以先试着自己创建:mknod /dev/rtc c 10 135
chmod a+rw /dev/rtc
Generic /dev/rtc emulation
│ 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. │
│ │
│ |
|