[PATCH] Add f75375s driver

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

 



Hi Riku,

> Thanks for your time reviewing and testing the driver.
No problem. Without the driver i would't be able to manage the temperature/fan speed of my pc, so i have to thank you for your work.

> > Another problem is still the value of tempX_max_hyst, the value is always
> > zero. If i read sysfs direct i get following output:
> > root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-2/2-002d# cat
> > temp1_max_hyst
> > 0
> > root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-2/2-002d# cat
> > temp2_max_hyst
> > 0

> What value are you setting it to?
> thecus-1:/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e# cat temp1_max_hyst
> 55000
> thecus-1:/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e# echo 55 >
> temp1_max_hyst
> thecus-1:/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e# cat temp1_max_hyst
> 0
> ALL6500:/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e# echo 61000 >
> temp1_max_hyst
> ALL6500:/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e# cat temp1_max_hyst
> 61000

> So it appears to work as expected. According to sysfs-interface temp*
> should report and accept millidegrees or millivolts. We are outputting
> millidegrees.

OK, this was my fault if i set the value by hand i could also see the value using 'cat temp1_max_hyst' and sensors, i thought there would be an automatic entry i can read out.
What does this value exactly stand for, is it usefull for sensors or just a value i can read out using sensors?

Another problem i forget in my last mail. I don't know what's the reason, but if i do the following:
root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-1/1-002d# cat fan1_min
i got following output:
<output>
root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-1/1-002d# cat fan1_min
Segmentation fault
root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-1/1-002d#
Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] CPU:    0

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] CPU:    0

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] EIP is at show_fan_min+0x2c/0x50 [f75375s]

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] EIP is at show_fan_min+0x2c/0x50 [f75375s]

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] eax: 0016e360   ebx: 00000000   ecx: 00000000   edx: 00000000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] eax: 0016e360   ebx: 00000000   ecx: 00000000   edx: 00000000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] esi: db7b2000   edi: c0367514   ebp: dd948e80   esp: d82b9f38

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] esi: db7b2000   edi: c0367514   ebp: dd948e80   esp: d82b9f38

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] ds: 007b   es: 007b   ss: 0068

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] ds: 007b   es: 007b   ss: 0068

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Process cat (pid: 11063, threadinfo=d82b8000 task=dba09ad0)

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Process cat (pid: 11063, threadinfo=d82b8000 task=dba09ad0)

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Stack: c136f640 0fa5bacc 080550d4 e1381360 dd948e80 c0228e7d ddab7668 d657f7e0

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Stack: c136f640 0fa5bacc 080550d4 e1381360 dd948e80 c0228e7d ddab7668 d657f7e0

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]        c0196410 00001000 08054000 d657f7f4 e13841a0 c3cc12c0 cc29eae0 08054000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]        c0196410 00001000 08054000 d657f7f4 e13841a0 c3cc12c0 cc29eae0 08054000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]        d82b9fa4 00001000 c0158c9c d82b9fa4 c01963a0 cc29eae0 fffffff7 08054000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]        d82b9fa4 00001000 c0158c9c d82b9fa4 c01963a0 cc29eae0 fffffff7 08054000

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Call Trace:

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000] Call Trace:

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <e1381360> show_fan_min+0x0/0x50 [f75375s]  <c0228e7d> dev_attr_show+0x1d/0x30

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <e1381360> show_fan_min+0x0/0x50 [f75375s]  <c0228e7d> dev_attr_show+0x1d/0x30

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <c0196410> sysfs_read_file+0x70/0x154  <c0158c9c> vfs_read+0xbc/0x180

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <c0196410> sysfs_read_file+0x70/0x154  <c0158c9c> vfs_read+0xbc/0x180

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <c01963a0> sysfs_read_file+0x0/0x154  <c0159101> sys_read+0x41/0x70

Message from syslogd at pc at Sat Jul  7 18:56:41 2007 ...
pc kernel: [17200023.168000]  <c01963a0> sysfs_read_file+0x0/0x154  <c0159101> sys_read+0x41/0x70

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000]  <c0102dbb> sysenter_past_esp+0x54/0x79

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000]  <c0102dbb> sysenter_past_esp+0x54/0x79

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000] Code: 89 ce 53 83 ec 0c 8b 5a 14 e8 21 fd ff ff 31 c9 0f b7 84 58 bc 01 00 00 66 83 f8 ff 74 11 ba 60 e3 16 00 0f b7 c8 89 d0 c1 fa 1f <f7> f9 89 c1 89 34 24 89 4c 24 08 c7 44 24 04 15 1e 38 e1 e8 bc

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000] Code: 89 ce 53 83 ec 0c 8b 5a 14 e8 21 fd ff ff 31 c9 0f b7 84 58 bc 01 00 00 66 83 f8 ff 74 11 ba 60 e3 16 00 0f b7 c8 89 d0 c1 fa 1f <f7> f9 89 c1 89 34 24 89 4c 24 08 c7 44 24 04 15 1e 38 e1 e8 bc

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000] EIP: [pg0+552657804/1069069312] show_fan_min+0x2c/0x50 [f75375s] SS:ESP 0068:d82b9f38

Message from syslogd at pc at Sat Jul  7 18:56:42 2007 ...
pc kernel: [17200023.168000] EIP: [pg0+552657804/1069069312] show_fan_min+0x2c/0x50 [f75375s] SS:ESP 0068:d82b9f38

root at pc:/sys/devices/pci0000:00/0000:00:01.1/i2c-1/1-002d#
</output>

Maybe you can try to do the same on your machine, maybe the problem is related to my chip/pc?

best regards
christian.

       
---------------------------------
 BE A BETTER WELTENBUMMLER: Jetzt Frage stellen und einen von 44 iPods gewinnen! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070707/2300bb5b/attachment.html 


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

  Powered by Linux