lkml.org 
[lkml]   [2005]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RTC Inappropriate ioctl for device
Aurélien GÉRÔME wrote:
> Hi,
>
> Having CONFIG_RTC=y, I tried on x86 the rtctest program found in
> linux-2.6.10/Documentation/rtc.txt. However, it failed at:
>
> ioctl(fd, RTC_UIE_ON, 0);
>
> with:
>
> ioctl: Inappropriate ioctl for device
>
> Did I miss something? Maybe something else conflicts with CONFIG_RTC?
>
> Cheers.

Do you have an HPET timer enabled? That could cause a conflict.

Does /proc/interrupts report rtc interrupts increasing when you
run rtctest?
I.e., does the number of this line increase like this?

8: 131 IO-APIC-edge rtc

rtctest works for me (2.6.11-rc4). Maybe send me the strace
output when you run rtctest and your .config file.
Oh, and your kernel boot log, maybe there are some rtc driver
messages in it.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.058 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site