Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Aurélien GÉRÔME
On Tue, Feb 15, 2005 at 08:48:31AM -0800, Randy.Dunlap wrote: > Please add/enable the second line here: > CONFIG_HPET_TIMER=y > # CONFIG_HPET_EMULATE_RTC is not set > > and try it again. It works now. Well, I had not seen "Provide RTC interrupt" in menuconfig... :) Thanks for the tip. Cheers.

Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Randy.Dunlap
Aurélien GÉRÔME wrote: On Mon, Feb 14, 2005 at 07:45:11PM -0800, Randy.Dunlap wrote: 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

Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Aurélien GÉRÔME
On Mon, Feb 14, 2005 at 07:45:11PM -0800, Randy.Dunlap wrote: > 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:

Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Aurélien GÉRÔME
On Mon, Feb 14, 2005 at 07:45:11PM -0800, Randy.Dunlap wrote: 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

Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Randy.Dunlap
Aurélien GÉRÔME wrote: On Mon, Feb 14, 2005 at 07:45:11PM -0800, Randy.Dunlap wrote: 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

Re: RTC Inappropriate ioctl for device

2005-02-15 Thread Aurélien GÉRÔME
On Tue, Feb 15, 2005 at 08:48:31AM -0800, Randy.Dunlap wrote: Please add/enable the second line here: CONFIG_HPET_TIMER=y # CONFIG_HPET_EMULATE_RTC is not set and try it again. It works now. Well, I had not seen Provide RTC interrupt in menuconfig... :) Thanks for the tip. Cheers.

Re: RTC Inappropriate ioctl for device

2005-02-14 Thread Randy.Dunlap
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.

Re: RTC Inappropriate ioctl for device

2005-02-14 Thread Randy.Dunlap
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.

RTC Inappropriate ioctl for device

2005-02-13 Thread Aurélien GÉRÔME
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. signature.asc

RTC Inappropriate ioctl for device

2005-02-13 Thread Aurélien GÉRÔME
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. signature.asc