Skip to contentSkip to conversation

rtdm, rtc and printk driver.

Xenomai-core Nicolas BLANCHARD 2 participants 2 messages Feb 23, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I've write a little rtdm driver to r/w RealTimeClock on rtc146818 chipset.
I also use this driver to write kernel message from user-space (printk).

In attachment you can find an archive with the driver and an example of use (just code).
to compil, you must change kernel sources directory (KERNELSOURCEDIR flag).

It Based on code of Jan Kiszka found in http://www.captain.at/

I hope it could be interesting.
All feedback are welcome.

(linux 2.6.19.2, xeno 2.3, hal 1.6-03)

blanchard nicolas

#1 lore raw
Quoted 4 lines · Nicolas BLANCHARD

Hello,

I've write a little rtdm driver to r/w RealTimeClock on rtc146818 chipset.

/me not having done much with rtc (hmm, a lot of years back on PCs, I think): can this chip be found in normal PC hardware? Or is it only on specific embedded boards? (Means: can I actually play with your driver? :) )

Quoted 8 lines

I also use this driver to write kernel message from user-space (printk).

In attachment you can find an archive with the driver and an example of use (just code).
to compil, you must change kernel sources directory (KERNELSOURCEDIR flag).

Quoted 5 lines

It Based on code of Jan Kiszka found in http://www.captain.at/

I hope it could be interesting.
All feedback are welcome.

You will get it. Thanks for sharing your code!

Jan