Author Topic: Can't bios wakeup with 2.6.38.8 /proc/rtc not enabled  (Read 768 times)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Can't bios wakeup with 2.6.38.8 /proc/rtc not enabled
« on: June 24, 2011, 08:21:14 AM »
I try and write to /proc/driver/rtc to set wakeup of the system (here to use MythTV) - but get the error: "no such file or catalogue"

I was able to write to /proc/driver/rtc in earlier kernels but I need to use the new kernel.

Does anyone know if rtc is enabled in the kernel config for 2.6.38.8 (i.e. if Device drivers->Real time clock is enabled in kernel Config)?

I once investigated the issue for 2.6.26:

Quote
After going through the entire .config for the kernels 2.6.26 and 2.6.27 (this took a while, but was -very- interesting), the /proc/driver/rtc in Device drivers->Real time clock is not enabled (with an asterisk). Enabling this and building the kernel gave access to /proc/driver/rtc.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4001
Re: Can't bios wakeup with 2.6.38.8 /proc/rtc not enabled
« Reply #1 on: June 24, 2011, 05:11:18 PM »
Try grep 'RTC' /usr/src/kernel-devel-`uname -r`/.config.

On 2.6.38.7-pclos1.bfs I see:
Code: [Select]

CONFIG_RTC_INTF_SYSFS=y
# CONFIG_RTC_INTF_PROC is not set

Could that be the answer?

Anything useful in /sys/devices/isa/power/?

« Last Edit: June 24, 2011, 05:13:44 PM by kjpetrie »
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf