Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reloj hardware no funciona con kernel 3.12
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Tue Nov 26, 2013 7:31 pm    Post subject: Reloj hardware no funciona con kernel 3.12 Reply with quote

En una actualización rutinaria del kernel me ha dejado de funcionar el soporte para el reloj hardware. Ahora mismo estoy con gentoo-sources 3.12 pero en versiones inferiores me pasa lo mismo.

Code:
hwclock --debug
hwclock from util-linux 2.24
hwclock: cannot open /dev/rtc: No such file or directory
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.

Normalmente selecciono estas opciones
Code:
Device Drivers -->
  [*]Character Devices -->
    [*]Enhanced Real-Time Clock Support


Pero dicha opción no está disponible porque está activada la opcion CONFIG_RTC_LIB.
La opción CONFIG_RTC_LIB está activada porque también lo está la opción CONFIG_X86 que no se por qué se activa o cómo desactivarla.

¿alguna pista?
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Tue Nov 26, 2013 10:10 pm    Post subject: Reply with quote

Por lo que he podido entender en la documentación del kernel 3.12 deberias tener creado un dispositivo /dev/rtc1 ( quizá otro/s rtc2/3/...). Esa es la nueva interfaz al reloj hardware.

El programa hwclock espera encontrar /dev/rtc y como no está, falla.

Se puede solucionar creando un enlace simbólico rtc a rtc1. Parece ser que esta tarea la hacen las versiones mas modernas de udev.
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Nov 27, 2013 11:26 am    Post subject: Reply with quote

Quote:
cannot open /dev/rtc: No such file or directory


por si acaso, tienes CONFIG_RTC_INTF_DEV y CONFIG_RTC_DRV_CMOS en tu kernel ?

saluetes
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Sat Nov 30, 2013 11:50 pm    Post subject: Reply with quote

Me faltaba RTC_INTF_DEV. Muchas gracias :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum