All of lore.kernel.org
 help / color / mirror / Atom feed
From: jim.cromie@gmail.com (Jim Cromie)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] hwmon/pc87360 as a platform driver
Date: Fri, 07 Apr 2006 19:32:11 +0000	[thread overview]
Message-ID: <4436BE3B.7090306@gmail.com> (raw)

hi folks,

Ive just made a rough pass thru pc87360, and have converted it
to a non-working, but non-crashing platform_driver that does
at least a little of what it should:

soekris:~# modprobe pc87360
[  964.952000] pc87360: Device 0x09 not activated
[  966.576000] pc87360 pc87360.26144: VLM conversion set to 1s period, 
160us delay
soekris:~#


soekris:~# ls /sys/bus/platform/devices/pc87360.26144/
alarms_in      in1_input   in4_min     in8_input     temp2_input   
temp5_crit
alarms_temp    in1_max     in4_status  in8_max       temp2_max     
temp5_input
bus@           in1_min     in5_input   in8_min       temp2_min     temp5_max
cpu0_vid       in1_status  in5_max     in8_status    temp2_status  temp5_min
driver@        in2_input   in5_min     in9_input     temp3_crit    
temp5_status
hwmon:hwmon0@  in2_max     in5_status  in9_max       temp3_input   
temp6_crit
in0_input      in2_min     in6_input   in9_min       temp3_max     
temp6_input
in0_max        in2_status  in6_max     in9_status    temp3_min     temp6_max
in0_min        in3_input   in6_min     temp1_crit    temp3_status  temp6_min
in0_status     in3_max     in6_status  temp1_input   temp4_crit    
temp6_status
in10_input     in3_min     in7_input   temp1_max     temp4_input   uevent
in10_max       in3_status  in7_max     temp1_min     temp4_max     vrm
in10_min       in4_input   in7_min     temp1_status  temp4_min
in10_status    in4_max     in7_status  temp2_crit    temp4_status


soekris:~# ll /sys/bus/platform/drivers/pc87360/
total 0
--w------- 1 root root 4096 Apr  7 12:08 bind
lrwxrwxrwx 1 root root    0 Apr  7 12:08 module -> 
../../../../module/pc87360/
lrwxrwxrwx 1 root root    0 Apr  7 12:08 pc87360.26144 -> 
../../../../devices/platform/pc87360.26144/
--w------- 1 root root 4096 Apr  7 12:08 unbind



so far so good, but:

soekris:~# sensors -s
No sensors found!
soekris:~#
soekris:~# sensors
No sensors found!


my libsensors is unstable debian package:  libsensors 1:2.10.0-3
That version number looks to contain 2.10.0

Frankly, Im hoping that with 2.10, the user-side just works, but this is 
not the case here.

Any guesses / suggestions as to whats wrong ?
Im continuiing to look at the kernel-side (Im sure Ive got multiple errs 
in there)
Im hoping for some user-side-fu for free ;-)


for anyone reading along, this is a perfect ref:
    
http://lists.lm-sensors.org/pipermail/lm-sensors/2006-February/015180.html

given the wider staging issues, this is arguably a later/lower priority.


tia
jimc


             reply	other threads:[~2006-04-07 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-07 19:32 Jim Cromie [this message]
2006-04-07 19:56 ` [lm-sensors] hwmon/pc87360 as a platform driver Juerg Haefliger
2006-04-07 23:17 ` Jim Cromie
2006-04-08 10:40 ` Jean Delvare
2006-04-09  5:24 ` Juerg Haefliger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4436BE3B.7090306@gmail.com \
    --to=jim.cromie@gmail.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.