You are not logged in.
Pages: 1
Hi there!
This is my first post in the forum, so first of all I wanna thank all the people who are maintaining this project. It's amazing!!
I'm trying to put my system sleep using rtcwake. Every instruction that I'm giving has the same output:
[c]:~# rtcwake -s 60
rtcwake: /dev/rtc not enabled for wakeup events[/c]
It seems that /dev/rtc exists, but no /dev/rtc0. I've even tried:
[c]:~# rtcwake -d /dev/rtc0 -m mem -s 60
rtcwake: can't open '/dev/rtc0': No such file or directory[/c]
I don't know how to enable the /dev/rtc. Does anybody has a clue? The rtc driver seems to be good configured to me...but maybe I'm missing something. I'm no Linux expert:
[c]:~# cat /proc/driver/rtc
rtc_time : 20:42:13
rtc_date : 2013-04-19
rtc_epoch : 1900
alarm : 00:00:00
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : no
update_IRQ : no
periodic_IRQ : no
periodic_freq : 1024
batt_status : okay[/c]
I'm running SliTaz installed in a hdd using the slitaz-4.0-core.iso. If you need details of the hardware, just tell me.
Thanks once again
Offline
Looks like an issue I ran into recently.
You can create the device manually:
# mknod /dev/rtc0 c 254 0
The numbers are significant, and presumably correct.
If you run into troubles do a google search on mknod /dev/rtc0
/emgi
Offline
Hi emgi, thanks for helping.
I created the device as you said:
[c]# mknod /dev/rtc0 c 254 0[/c]
The first try give me unfortunately the same result:
[c]# rtcwake -m mem -s 60
rtcwake: /dev/rtc not enabled for wakeup events[/c]
So I thought that it uses /dev/rtc per default, but even giving the device flag seems to run into troubles.
[c]# rtcwake -d /dev/rtc0 -m mem -s 60
rtcwake: can't open '/dev/rtc0': No such device or address[/c]
But the new device really exists
[c]# ls -l /dev/rtc0
crw-r--r-- 1 root root 254, 0 Apr 20 09:23 /dev/rtc0[/c]
as does the /dev/rtc
[c]# ls -l /dev/rtc
crw------- 1 root root 10, 135 Apr 20 09:24 /dev/rtc[/c]
Maybe I should somehow enable the /dev/rtc to be able to recieve wakeup events. But I have sincerely no idea if that is even possible or not.
Thanks again
weilah
Offline
No ideas there?
thanks
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]