W83L785R Support
Hello,
I'm interested in getting a W83L785R sensor working on my video card. I can read from it fine (I actually patched the SCL/SDA lines from the chip to my motherboard... I was having trouble getting the I2C bus on the video card detected) at address 0x2d.
I see there is already a driver under development for this device, is there any way I can find out the status and/or help?
Thanks,
-Colin
Quoting Colin O'Flynn:
Quoted 4 lines
I'm interested in getting a W83L785R sensor working on my video card. I can read from it fine (I actually patched the SCL/SDA lines from the chip to my motherboard... I was having trouble getting the I2C bus on the video card detected) at address
0x2d.
What video card is it?
Quoted 2 lines
I see there is already a driver under development for this device, is there any way I can find out the status and/or help?
Back in August 2003, Rudolf Marek was working on one.
Rudolf, do you have some working code you would like to share with Colin and the lm_sensors project?
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Hi,
Thanks for the quick response!
Quoted 1 line
Quoted 1 line
What video card is it?
Its a GeForce 5600 MX, made my MSI - Part Number FX5600-VTD256. I've got no idea how the I2C bus gets put on the system normally, no bus was detected. Would the NVidia chip have the I2C controller in it or something? As you can see, I don't know a lot about how I2C works in the computer - in fact I just got lm_sensors working on Thursday!
I ended up lifting the two leads on the SSOP chip that were SCL and SDA, then putting them to the connector on the motherboard with wires...
Quoted 1 line
If you want to test it, Colin, it would be nice.
Alas, I'm using Kernel 2.6.0. It appears that driver was made for 2.4.x kernels (make sense considering it was made before 2.6!). I know very little about linux drivers, so I doubt I will be able to port it. I might try though, I was just comparing the drivers for a 2.6 vs 2.4 to try and figure out what you I've got to do... hmm.
I might end up doing what I am now... just use i2cdump 0 0x2d to read the data... not very nice, but it works!
Regards,
-Colin
Quoted 49 lines · Rudolf Marek
Hello,
I'm very sorry I have been very busy with writing my book. ANd now I'm as exchange student in Sweden so I didnt have time to finish it.
But I have working /proc interface, supporting fan, pwm, temps and
temp_fault.Only thing is missing are voltages monitoring.
This chip is on my motherboard and serving mainly for ASUS Cpu Overheat PRotection. SOit has not connected much things. (no voltages, no FANs) I want to solder PWM outputs and use it for speed regulation.
The driver is for sensors version 2.8.0
ruik$ ls
/proc/sys/dev/sensors/w83785-i2c-1-2d/fan_divfan1 fan2pwm_divpwm1 pwm2 ramtemp_faulttemp1 temp2If you want to test it, Colin, it would be nice.
Most of the files in /proc can be written.
Regards
Rudolf
Quoted 21 lines · Jean Delvare
Quoting Colin O'Flynn:
Quoted 4 lines
I'm interested in getting a W83L785R sensor working on my video card. I can read from it fine (I actually patched the SCL/SDA lines from the chip to my motherboard... I was having trouble getting the I2C bus on the video card detected) at address
0x2d.What video card is it?
Quoted 2 lines
I see there is already a driver under development for this device, is there any way I can find out the status and/or help?
Back in August 2003, Rudolf Marek was working on one.
Rudolf, do you have some working code you would like to share with Colin and the
lm_sensorsproject?Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
Hello,
I'm very sorry I have been very busy with writing my book. ANd now I'm as exchange student in Sweden so I didnt have time to finish it.
But I have working /proc interface, supporting fan, pwm, temps and temp_fault.
Only thing is missing are voltages monitoring.
This chip is on my motherboard and serving mainly for ASUS Cpu Overheat PRotection. SOit has not connected much things. (no voltages, no FANs) I want to solder PWM outputs and use it for speed regulation.
The driver is for sensors version 2.8.0
ruik$ ls /proc/sys/dev/sensors/w83785-i2c-1-2d/fan_div fan1 fan2 pwm_div pwm1 pwm2 ram temp_fault temp1 temp2
If you want to test it, Colin, it would be nice.
Most of the files in /proc can be written.
Regards
Rudolf
Quoted 14 lines · Jean Delvare
Quoting Colin O'Flynn:
Quoted 4 lines
I'm interested in getting a W83L785R sensor working on my video card. I can read from it fine (I actually patched the SCL/SDA lines from the chip to my motherboard... I was having trouble getting the I2C bus on the video card detected) at address
0x2d.What video card is it?
Quoted 2 lines
I see there is already a driver under development for this device, is there any way I can find out the status and/or help?
Back in August 2003, Rudolf Marek was working on one.
Quoted 9 lines
Rudolf, do you have some working code you would like to share with Colin and the
lm_sensorsproject?Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w83784.c
Type: text/x-csrc
Size: 21835 bytes
Desc: here
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040221/7309d94b/w83784.bin
Hi,
Does RivaTV work with 2.6? I get:
Checking for kernel dependancies... not found
*** WARNING:
*** Your kernel dependancies are not set up.
*** Please run "make dep" in /lib/modules/2.6.0-mywin4lin/build
On ./configure, and make dep just says that is no longer neccesary. The RivaTV site doesn't seem to mention anything about 2.6, and make/make install doesn't work properly.
Regards,
-Colin
PS: sensors-detect never did anything before besides detect the one sensor on my motherboard (which works great!), and i2cdetect didn't show the bus, it just did:
[root@localhost rivatv-0.8.3]# i2cdetect
Syntax: i2cdetect I2CBUS
I2CBUS is an integer
i2cdetect -l lists installed busses only
Installed I2C busses:
i2c-1 dummy ISA main adapter ISA
bus algorithm
i2c-0 unknown SMBus I801 adapter at 0400
Algorithm unavailable
The device never came up at address 0x2d (which is its I2C address), until after I patched the device onto the I2C bus on the motherboard (neither of those buses appear to be the video card one...)
PPS: Here is the output of the two commands at any rate:
[root@localhost rivatv-0.8.3]# lspci -v
00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 80f6
Flags: bus master, fast devsel, latency 0
Memory at f4000000 (32-bit, prefetchable) [sizedM]
Capabilities: [e4] #09 [2106]
Capabilities: [a0] AGP version 3.0
00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary , secondary, subordinate, sec-latencyd Memory behind bridge: fc900000-fe9fffff
Prefetchable memory behind bridge: cff00000-efefffff
00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at ef00 [size2]
00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at ef20 [size2]
00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at ef40 [size2]
00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0, IRQ 10
I/O ports at ef80 [size2]
00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0, IRQ 11 Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #0a [20a0]
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary , secondary, subordinate, sec-latencyd
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fea00000-feafffff
00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev
02) (prog-if 8a [Master SecP PriP])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, medium devsel, latency 0
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at fc00 [size]
Memory at 40000000 (32-bit, non-prefetchable) [size=1K]
00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev
02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 5 I/O ports at efe0 [size=8]
I/O ports at efac [size=4]
I/O ports at efa0 [size=8]
I/O ports at efa8 [size=4]
I/O ports at ef60 [size]
00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
Subsystem: Asustek Computer, Inc.: Unknown device 80a6
Flags: medium devsel, IRQ 10
I/O ports at 0400 [size2]
01:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 9126
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 10 Memory at fd000000 (32-bit, non-prefetchable) [sizeM] Memory at d0000000 (32-bit, prefetchable) [size%6M] Expansion ROM at fe9e0000 [disabled] [size8K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80) (prog-if 10 [OHCI])
Subsystem: Asustek Computer, Inc.: Unknown device 808a
Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at feaff800 (32-bit, non-prefetchable) [size=2K] I/O ports at dc00 [size8]
Capabilities: [50] Power Management version 2
02:05.0 Ethernet controller: 3Com Corporation 3c940 1000Base? (rev 12)
Subsystem: Asustek Computer, Inc.: Unknown device 80eb
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 10 Memory at feaf8000 (32-bit, non-prefetchable) [sizeK] I/O ports at d800 [size%6]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
Subsystem: Creative Labs SB Live! 5.1 Model SB0100
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at df80 [size2]
Capabilities: [dc] Power Management version 2
02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev
08)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 64
I/O ports at dfe0 [size=8]
Capabilities: [dc] Power Management version 2
[root@localhost rivatv-0.8.3]# lspci -n
00:00.0 Class 0600: 8086:2578 (rev 02)
00:01.0 Class 0604: 8086:2579 (rev 02)
00:1d.0 Class 0c03: 8086:24d2 (rev 02)
00:1d.1 Class 0c03: 8086:24d4 (rev 02)
00:1d.2 Class 0c03: 8086:24d7 (rev 02)
00:1d.3 Class 0c03: 8086:24de (rev 02)
00:1d.7 Class 0c03: 8086:24dd (rev 02)
00:1e.0 Class 0604: 8086:244e (rev c2)
00:1f.0 Class 0601: 8086:24d0 (rev 02)
00:1f.1 Class 0101: 8086:24db (rev 02)
00:1f.2 Class 0101: 8086:24d1 (rev 02)
00:1f.3 Class 0c05: 8086:24d3 (rev 02)
01:00.0 Class 0300: 10de:0312 (rev a1)
02:03.0 Class 0c00: 1106:3044 (rev 80)
02:05.0 Class 0200: 10b7:1700 (rev 12)
02:0b.0 Class 0401: 1102:0002 (rev 08)
02:0b.1 Class 0980: 1102:7002 (rev 08)
Quoted 21 lines · Jean Delvare
Quoted 6 lines
Did you try
http://rivatv.sourceforge.net/download.htmlIt should have a driver called
i2c-riva
Since some times now, they have a single module for everything (including i2c), so it is called rivatv.
Quoted 2 lines
so you dont need to override the bus.
It will create new bus with hopefully this device too.Yes, it should.
A recent version of sensors-detect *should* also have detected it and suggest that you go and get the above-mentioned module. Colin, didn't that happen? If it did not, please provide the output of lspci -v and lspci -n so that we can add your card to the list.
Thanks.
Hi,
The CVS of RivaTuner works, thanks for the tip! I got it compiled up and inserted the modules - 3 new I2C buses show up in I2C detect, with one of them having two devices on it (one device is the W83L785R - yes!), one having nothing on it, and one having an EEPROM, and a DDC Monitor (from sensors-detect). (this is after I set the W83L785R back on the I2C bus on the video card itself)
So now I have it setup the way it should be (as far as detecting stuff)... BTW I'm going to send all this information to thee nvclock project, he has an overclocking utility and wanted to add the ability to monitor temperatures, etc.
Now just need to get/make the drivers for the W83L785R...
Quoted 2 lines
I2cdetect is a misnomer. It doesn't detect busses, it lists the one that have been registered (i.e. have a driver loaded for them).
Ah OK, thanks for the explanation. So I was using the tools wrong... (as I sorta suspected).
Warm Regards,
-Colin
Hi,
Yup - detects my video card, then goes on later to detect all the devices (made sure to rmmod rivatv first so it would have a fresh start). Including the "to-be-written" driver ;-)
Regards,
-Colin
Quoted 13 lines · Jean Delvare
Quoted 6 lines
The CVS of RivaTuner works, thanks for the tip! I got it compiled up and inserted the modules - 3 new I2C buses show up in I2C detect, with one of them having two devices on it (one device is the W83L785R - yes!), one having nothing on it, and one having an EEPROM, and a DDC Monitor (from sensors-detect). (this is after I set the W83L785R back on the I2C bus on the video card itself)
OK, I've added your PCI ID to the list of cards supported by rivatv to sensors-detect. Can you get it here:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/detect/sensors-detect
and confirm that it now detects it and propose you to load rivatv?Thanks.
I would recommend "w83l784r" for the final name of the driver, and w83l784r and w83l785r for the "kinds", so as not to collide with existing or future products by Winbond.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
Did you try
http://rivatv.sourceforge.net/download.htmlIt should have a driver called
i2c-riva
Since some times now, they have a single module for everything (including i2c), so it is called rivatv.
Quoted 2 lines
so you dont need to override the bus.
It will create new bus with hopefully this device too.
Yes, it should.
A recent version of sensors-detect *should* also have detected it and suggest that you go and get the above-mentioned module. Colin, didn't that happen? If it did not, please provide the output of lspci -v and lspci -n so that we can add your card to the list.
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 1 line
Does RivaTV work with 2.6? I get:
Version 0.8.3 doesn't seem to. CVS, however, could, since there are a lot of comments "support for 2.6.x kernels added" dated November 14th, 2003, in the CVS logs.
I think they should release...
Quoted 4 lines
PS: sensors-detect never did anything before besides detect the one sensor on my motherboard (which works great!), and i2cdetect didn't show the bus, it just did:
(...)
I2cdetect is a misnomer. It doesn't detect busses, it lists the one that have been registered (i.e. have a driver loaded for them).
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
The CVS of RivaTuner works, thanks for the tip! I got it compiled up and inserted the modules - 3 new I2C buses show up in I2C detect, with one of them having two devices on it (one device is the W83L785R - yes!), one having nothing on it, and one having an EEPROM, and a DDC Monitor (from sensors-detect). (this is after I set the W83L785R back on the I2C bus on the video card itself)
OK, I've added your PCI ID to the list of cards supported by rivatv to sensors-detect. Can you get it here:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/detect/sensors-detect
and confirm that it now detects it and propose you to load rivatv?
Thanks.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Did you try
http://rivatv.sourceforge.net/download.html
It should have a driver called
i2c-riva
so you dont need to override the bus.
It will create new bus with hopefully this device too.
Regards
Rudolf
Quoted 84 lines · Colin O'Flynn
Hi,
Thanks for the quick response!
Quoted 1 line
Quoted 1 line
What video card is it?
Its a GeForce 5600 MX, made my MSI - Part Number FX5600-VTD256. I've got no idea how the I2C bus gets put on the system normally, no bus was detected. Would the NVidia chip have the I2C controller in it or something? As you can see, I don't know a lot about how I2C works in the computer - in fact I just got
lm_sensorsworking on Thursday!I ended up lifting the two leads on the SSOP chip that were SCL and SDA, then putting them to the connector on the motherboard with wires...
Quoted 1 line
If you want to test it, Colin, it would be nice.
Alas, I'm using Kernel 2.6.0. It appears that driver was made for 2.4.x kernels (make sense considering it was made before 2.6!). I know very little about linux drivers, so I doubt I will be able to port it. I might try though, I was just comparing the drivers for a 2.6 vs 2.4 to try and figure out what you I've got to do... hmm.
I might end up doing what I am now... just use i2cdump 0
0x2dto read the data... not very nice, but it works!Regards,
-Colin
Quoted 49 lines · Rudolf Marek
Hello,
I'm very sorry I have been very busy with writing my book. ANd now I'm as exchange student in Sweden so I didnt have time to finish it.
But I have working /proc interface, supporting fan, pwm, temps and
temp_fault.Only thing is missing are voltages monitoring.
This chip is on my motherboard and serving mainly for ASUS Cpu Overheat PRotection. SOit has not connected much things. (no voltages, no FANs) I want to solder PWM outputs and use it for speed regulation.
The driver is for sensors version 2.8.0
ruik$ ls
/proc/sys/dev/sensors/w83785-i2c-1-2d/fan_divfan1 fan2pwm_divpwm1 pwm2 ramtemp_faulttemp1 temp2If you want to test it, Colin, it would be nice.
Most of the files in /proc can be written.
Regards
Rudolf
Quoted 21 lines · Jean Delvare
Quoting Colin O'Flynn:
Quoted 4 lines
I'm interested in getting a W83L785R sensor working on my video card. I can read from it fine (I actually patched the SCL/SDA lines from the chip to my motherboard... I was having trouble getting the I2C bus on the video card detected) at address
0x2d.What video card is it?
Quoted 2 lines
I see there is already a driver under development for this device, is there any way I can find out the status and/or help?
Back in August 2003, Rudolf Marek was working on one.
Rudolf, do you have some working code you would like to share with Colin and the
lm_sensorsproject?Thanks.
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/