On Sun, 14 May 2006, Bdale Garbee wrote:
> > They add a script detecting the CPU type and automatically loading the
> > right cpufreq_ module. This is the kind of changes that make Ubuntu "just
> > work" that we should really integrate back. Please consider this.
> 
> Someone over there contacted me before they implemented this, or soon
> after.  I'm not happy about the idea of just grabbing this patch as-is,
> despite agreeing that it would be nice for powernowd to "just work".
> That's because I continue to believe that knowledge of processor
> specifics does not belong in a package that lives entirely above a
> well-defined kernel interface that is processor agnostic. 
> 
> The fact that some other processor-specific module must also be loaded
> to make that interface work seems like it should be handled either by
> the kernel packaging, hotplug/udev, or some other package that every
> daemon trying to manage through this interface (powernowd isn't the only
> one, after all!) can depend on, so that this information is captured
> exactly once and as close to the hardware and kernel as possible.
> 
> What do you think?  Am I just being pedantic, or can we come up with a
> better way of providing the saem ultimate functionality to Debian users
> that's a better design for the long term?

There's always room to do things better but in this case I have not enough
knowledge of udev and the like to be able to judge anything. Thus I'm
ccing Marco to have his input as udev maintainer.

Marco, is there a way for udev to detect the kind of processors used and
to load the right module depending on that?

Also I don't know if those modules should be always loaded or if they should be
loaded only when powernowd is installed...

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to