Keywest detection

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

 



Hi Benjamin, thanks for the fast reply.

> > I would like to add support for the Keywest to our sensors-detect
> > script. I wonder if I should add it to the detectable adapters list
> > or to the undetectable adapters list. Is there any way to detect it?
> > Usually, we detect the adapters by matching a given PCI
> > manufacturer:device ID and function.
> 
> Hrm... On 2.4, it's not that simple, there can be 2 keywest
> controllers, one on the northbridge, one on the southbridge, driving
> various parts.

You don't really help me ;) Does it show in lspci or somewhere else?

> With 2.6, these will be visible in sysfs once i'm done with the
> porting of pmac drivers to the new model.

We don't really care for 2.6 for now. However, I think you tell me the
*driver* will be visible in /sys. What we are after is a way to know
when that driver is useful, before it is loaded.

Our scripts tries to identifiy what is present on i2c busses, so we have
to load i2c bus drivers, such as i2c-keywest, at first. But we don't
want to load all of them "just in case". We prefer being able to detect
them, and load only these drivers.

> I'm not sure I like the idea of having drivers tapping things on those
> i2c busses if those drivers aren't specially designed for the pmacs. I
> hate the idea of something preventing proper cooling of the machine
> and thus causing HW damage, or around those lines...

I'm not sure I understand you at all there. What's the problem? (Please
note that I don't know anything about PPC, I'm just trying to solve some
problem our package has on Linux PPC.)

> > Also, since you seem to have much knowledge about Linux PPC, maybe
> > you could help us on another problem. We have some dump tools that
> > come with the lm_sensors package, and one of them, isadump, doesn't
> > seem to compile on PPC. Could you take a look and tell us if you
> > know how to fix it? Or maybe this tool is of no use on PPC systems?

So, do you have some time for that? It may be easy for you since you
know the PPC world well. Feel free to refuse if you are busy though.

Thanks!

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux