Discussion: hwclock & /dev/rtc
Afficher un message
Vieux 04/06/2007, 20h00   #2
Bob McGowan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: hwclock & /dev/rtc

Paul Wise wrote:
> Hi all,
>
> [Please CC me, I'm not subscribed]
>
> Can anyone tell me why hwclock --directisa works on this laptop (Dell
> Inspirion) but /dev/rtc does not (linux 2.6.21 from Debian sid)?
>
> # hwclock --directisa --show
> Fri Jun 1 15:36:11 2007 -0.377827 seconds
> # hwclock --show
> select() to /dev/rtc to wait for clock tick timed out
> # lspci | grep ISA
> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
> # lspci -n | grep 00:1f.0
> 00:1f.0 0601: 8086:27b9 (rev 01)
>
> Is there a module udev isn't loading that it should be? Or do I need to
> write a driver for it?
>


$ lsmod|grep rtc
rtc 12372 0

If you get no output, then the rtc driver has not loaded. But you don't
need to write one, try:

modprobe rtc

first. Then, if hwclock works, you may need to add the driver name to
the /etc/modules file.

--
Bob McGowan

  Réponse avec citation
 
Page generated in 0,05080 seconds with 9 queries