* i2c for 2.6.0-test11
@ 2005-05-19 6:24 Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anton A. Korzh @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
? ???, 29.11.2003, ? 20:38, Jean Delvare ?????:
> > sensors gives me segfault:
>
> Should be fixed in current CVS, if you want to give it a try.
> Thanks for reporting.
Yes, it gives no more a segfault but i still have no sensors readings.
sensors-detect gives following positive results:
Driver `lm80' (should be inserted):
Detects correctly:
* Bus `SMBus Via Pro adapter at 5000' (Algorithm unavailable)
Busdriver `i2c-viapro', I2C address 0x2d
Chip `National Semiconductor LM80' (confidence: 3)
Driver `via686a' (should be inserted):
Detects correctly:
* ISA bus, undetermined address (Busdriver `i2c-isa')
Chip `VIA Technologies VT82C686 Integrated Sensors' (confidence: 9)
sensors gives:
[root@pueblo lm_sensors2]# sensors
eeprom-i2c-1-52
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable
eeprom-i2c-1-51
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable
What can you recommend me to do?
I have compiled i2c-dev,i2c-isa,i2c-viapro, all i2c chips(But there are no lm80). Sysfs is mounted to /sys
Thank You for any advance,
Anton
^ permalink raw reply [flat|nested] 4+ messages in thread
* i2c for 2.6.0-test11
2005-05-19 6:24 i2c for 2.6.0-test11 Anton A. Korzh
@ 2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
> sensors-detect gives following positive results:
>
> Driver `lm80' (should be inserted):
> Detects correctly:
> * Bus `SMBus Via Pro adapter at 5000' (Algorithm unavailable)
> Busdriver `i2c-viapro', I2C address 0x2d
> Chip `National Semiconductor LM80' (confidence: 3)
>
> Driver `via686a' (should be inserted):
> Detects correctly:
> * ISA bus, undetermined address (Busdriver `i2c-isa')
> Chip `VIA Technologies VT82C686 Integrated Sensors' (confidence:
> 9)
>
> sensors gives:
> [root@pueblo lm_sensors2]# sensors
> eeprom-i2c-1-52
> Adapter: SMBus Via Pro adapter at 5000
> Algorithm: Unavailable from sysfs
> Memory type: Unavailable
>
> eeprom-i2c-1-51
> Adapter: SMBus Via Pro adapter at 5000
> Algorithm: Unavailable from sysfs
> Memory type: Unavailable
>
>
> What can you recommend me to do?
> I have compiled i2c-dev,i2c-isa,i2c-viapro, all i2c chips(But there
> are no lm80). Sysfs is mounted to /sys
Well, the lm80 driver hasn't been ported to Linux 2.6 yet, so you'll
have to wait. If you are brave, you can port it yourself. I wrote a
guide on how to do this, which should be part of Linux 2.6
Documentation/i2c directory someday (but isn't yet either). I can send
it to you if you want.
As for the via686a, it has been reported that it has to be loaded before
other i2c drivers, or it fails detecting devices. I've experienced this
myself. I've not yet investigated why it behaves that way (mainly
because the via686a chipset I have isn't wired for proper input
measurements). Again, feel free to help if you can, or you'll have to
wait until we find a solution.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
^ permalink raw reply [flat|nested] 4+ messages in thread
* i2c for 2.6.0-test11
2005-05-19 6:24 i2c for 2.6.0-test11 Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
@ 2005-05-19 6:24 ` Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Anton A. Korzh @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
? ???, 01.12.2003, ? 09:20, Jean Delvare ?????:
> > sensors-detect gives following positive results:
> >
> > Driver `lm80' (should be inserted):
> > Detects correctly:
> > * Bus `SMBus Via Pro adapter at 5000' (Algorithm unavailable)
> > Busdriver `i2c-viapro', I2C address 0x2d
> > Chip `National Semiconductor LM80' (confidence: 3)
> >
> > Driver `via686a' (should be inserted):
> > Detects correctly:
> > * ISA bus, undetermined address (Busdriver `i2c-isa')
> > Chip `VIA Technologies VT82C686 Integrated Sensors' (confidence:
> > 9)
> >
> > sensors gives:
> > [root@pueblo lm_sensors2]# sensors
> > eeprom-i2c-1-52
> > Adapter: SMBus Via Pro adapter at 5000
> > Algorithm: Unavailable from sysfs
> > Memory type: Unavailable
> >
> > eeprom-i2c-1-51
> > Adapter: SMBus Via Pro adapter at 5000
> > Algorithm: Unavailable from sysfs
> > Memory type: Unavailable
> >
> >
> > What can you recommend me to do?
> > I have compiled i2c-dev,i2c-isa,i2c-viapro, all i2c chips(But there
> > are no lm80). Sysfs is mounted to /sys
>
> Well, the lm80 driver hasn't been ported to Linux 2.6 yet, so you'll
> have to wait. If you are brave, you can port it yourself. I wrote a
> guide on how to do this, which should be part of Linux 2.6
> Documentation/i2c directory someday (but isn't yet either). I can send
> it to you if you want.
thanks i ll consider about doing it
> As for the via686a, it has been reported that it has to be loaded before
> other i2c drivers, or it fails detecting devices. I've experienced this
> myself. I've not yet investigated why it behaves that way (mainly
> because the via686a chipset I have isn't wired for proper input
> measurements). Again, feel free to help if you can, or you'll have to
> wait until we find a solution.
Do i understand correctly that i need to compile all that i2c stuff in
modules and load via686a module first - that will help?
And is that true that i need either lm80 working either via686a? I need
either ISA either SMbus sensors, or there will be some difference.
Merci de votre assistance,
Anton.
^ permalink raw reply [flat|nested] 4+ messages in thread
* i2c for 2.6.0-test11
2005-05-19 6:24 i2c for 2.6.0-test11 Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Anton A. Korzh
@ 2005-05-19 6:24 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
> > Well, the lm80 driver hasn't been ported to Linux 2.6 yet, so you'll
> > have to wait. If you are brave, you can port it yourself. I wrote a
> > guide on how to do this, which should be part of Linux 2.6
> > Documentation/i2c directory someday (but isn't yet either). I can
> > send it to you if you want.
>
> thanks i ll consider about doing it
You can get the documentation there:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.6/linux-2.6.0-test9-i2c-doc-porting-clients.diff
Additionally, you should get these two patches:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.6/linux-2.6.0-test9-i2c-doc-sysfs-interface.diff
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.6/linux-2.6.0-test9-i2c-doc-writing-clients.diff
These are patches for the latest 2.6.0-test kernels. Apply them and
you'll have up-to-date docs to work with.
Porting drivers isn't really hard, although it helps a lot if you have
already written such a driver. Feel free to ask questions here.
> > As for the via686a, it has been reported that it has to be loaded
> > before other i2c drivers, or it fails detecting devices. I've
> > experienced this myself. I've not yet investigated why it behaves
> > that way (mainly because the via686a chipset I have isn't wired for
> > proper input measurements). Again, feel free to help if you can, or
> > you'll have to wait until we find a solution.
>
> Do i understand correctly that i need to compile all that i2c stuff in
> modules and load via686a module first - that will help?
Yes, this is what I suggested.
> And is that true that i need either lm80 working either via686a? I
> need either ISA either SMbus sensors, or there will be some
> difference.
You probably need only one of them, but having both drivers installed at
the same time won't hurt at all. If I were you, I'd first try to have
the via686a driver to work. If it doesn't provide useful values, this
means that it isn't used, and you'll need the lm80 driver.
Final note, the LM80 chipset is rather hard to detect, so it is possible
that your second chipset isn't a LM80 after all. If you can try Linux
2.4 + i2c patch 2.8.1 + lm_sensors CVS on the same machine, you'd at
least know which driver you really need.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-19 6:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:24 i2c for 2.6.0-test11 Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Anton A. Korzh
2005-05-19 6:24 ` Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.