Re: RTC_DRV_CMOS can break userspace interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Garrett <mjg59 <at> srcf.ucam.org> writes:

> 
> On Sun, May 27, 2007 at 06:44:49PM -0700, David Brownell wrote:
> > On Sunday 27 May 2007, Matthew Garrett wrote:
> > > Actually, it seems to be worse than that - the PNP entry for my cmos 
> > > clock doesn't appear to mention an irq, so the wakealarm entry doesn't 
> > > work. I can happily wake it using the /proc/acpi/alarm interface.
> > > 
> > > David, would you be happy with hardcoding the rtc-cmos IRQ to 8 on PCs 
> > > if there's inadequate PNP information available?
> > 
> > That would seem to naturally belong in the PNP code, yes?
> > 
> > Agreed that it seems like it needs to be hardcoded somewhere.
> 
> The PNP code is reporting what's in the tables - I'd be a bit surprised 
> if it special-cased specific devices, but I guess there's an argument 
> for that. All the other machines I've checked report an IRQ, so I guess 
> Apple just didn't take much care in getting this right.
> 
Did you check if there aren't multiple configuration for rtc (one with irq, and
one without it) ?

What's the ouput of 
$ for i in /sys/bus/pnp/devices/*; do if [ "$(cat $i/id)" = PNP0b00 ]; then cat
$i/resources; echo options; cat $i/options; fi; done


Matthieu

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux