RE: Kernel interrupts disable at user level - RIGHT/ WRONG - Help

From: Mukund JB.
Date: Tue Dec 20 2005 - 02:05:35 EST



Dear Alan,

I want the contents of A, B, C, D registers of CMOS mapped registers.
But instead the driver gives the details about the bit masks of few of register A, B only.
The others are NOT available.

I would also require to retrieve the day of the week info in RTC information.
I tried the /dev/rtc but I don't get it there.

at the same time, I am able to get the entire CMOS information using the application attached which does not use any driver interface and instead use the ports directly.
But, the application tried to disable the interrupts on the processor.
Suggest me the pros & cons of using this application.

Regards,
Mukund Jampala


-----Original Message-----
From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx]
Sent: Monday, December 19, 2005 11:13 PM
To: Mukund JB.
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Kernel interrupts disable at user level - RIGHT/ WRONG -
Help


On Llu, 2005-12-19 at 17:45 +0530, Mukund JB. wrote:
> Dear Kernel Developers,
>
> I have a requirement of getting the CMOS details at the user level. I have identified the interfaces as /dev/nvram & /dev/rtc.
> But, the complete CMOS details are available to the user Applications as the driver does not provide the suitable interface to get the complete CMOS details.

Then you'll need to enhance the nvram or rtc driver to support the extra
bits you need. What doesn't it provide access to that you require >

Attachment: dmpCmos.c
Description: dmpCmos.c