Okay. I didn't get any response about using ioctl(), so I'd like to ask
a broader question.
When I cat the rtc in /proc I get this:
:root# cat /proc/driver/rtc
rtc_time : 22:19:50
rtc_date : 2006-08-24
rtc_epoch : 1900
alarm : **:**:**
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : no
update_IRQ : no
periodic_IRQ : no
periodic_freq : 0
batt_status : okay
Does anyone know how to set up the periodic IRQ and periodic frequency
so that a user space program can block on it?
My rtc device looks like this:
:root# ls -l /dev/misc/rtc
crw-rw-r-- 1 root root 10, 135 Dec 31 1969 /dev/misc/rtc
Any pointers at all would really help.
On Tue, 2006-08-22 at 11:25 -0700, Mike Magee wrote:
> I am unable to communicate with /dev/rtc using the ioctl() function
> and I was wondering if someone could help.
>
> I am using the default kernel that comes with the development kit
> (2.4.26-ts11) and I have the SD Card Socket option and the Battery
> Backed Real Time Clock option installed.
> --
> Mike Magee <>
> Remtrol Inc.
--
Mike Magee <>
Remtrol Inc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|