FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 12-27-2008, 12:27 PM
Moritz Muehlenhoff
 
Default Bug#456339: lm-sensors: couldn't get subfeature on applesmc

On Sun, Jan 13, 2008 at 10:35:43AM +0100, Aurelien Jarno wrote:
> reassign 456339 linux-2.6
> thanks
>
> Filippo Giunchedi a écrit :
> > On Sun, Dec 16, 2007 at 12:50:54AM +0100, Aurelien Jarno wrote:
> >> Could you please try to read the corresponding values from
> >> /sys/class/hwmon/hwmonX/device/ ?
> >
> > hwmon{0,1} is coretemp
> > while hwmon2 is applesmc:
> >
> > godog@clamp:/sys/class/hwmon/hwmon2/device$ cat temp*_input
> > cat: temp10_input: Input/output error
> > 25750
> > cat: temp2_input: Input/output error
> > 40750
> > cat: temp4_input: Input/output error
> > 39250
> > cat: temp6_input: Input/output error
> > 40750
> > cat: temp8_input: Input/output error
> > 40750
> >
>
> It really looks like it is a kernel problem. Reassigning the bug.

Filippo, does this error still occur with more recent kernel versions?

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-27-2008, 09:30 PM
Filippo Giunchedi
 
Default Bug#456339: lm-sensors: couldn't get subfeature on applesmc

On Sat, Dec 27, 2008 at 02:27:42PM +0100, Moritz Muehlenhoff wrote:
[...]
> > It really looks like it is a kernel problem. Reassigning the bug.
>
> Filippo, does this error still occur with more recent kernel versions?

It doesn't, though I'm running 2.6.26.3 with mactel patches (from
https://mactel-linux.svn.sourceforge.net/svnroot/mactel-linux/trunk/kernel )
which contain some changes to applesmc, I can try with a vanilla/debian kernel
in the following days if needed.

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
-- Brian W. Kernighan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-27-2008, 09:44 PM
Moritz Muehlenhoff
 
Default Bug#456339: lm-sensors: couldn't get subfeature on applesmc

On Sat, Dec 27, 2008 at 11:30:45PM +0100, Filippo Giunchedi wrote:
> On Sat, Dec 27, 2008 at 02:27:42PM +0100, Moritz Muehlenhoff wrote:
> [...]
> > > It really looks like it is a kernel problem. Reassigning the bug.
> >
> > Filippo, does this error still occur with more recent kernel versions?
>
> It doesn't, though I'm running 2.6.26.3 with mactel patches (from
> https://mactel-linux.svn.sourceforge.net/svnroot/mactel-linux/trunk/kernel )
> which contain some changes to applesmc, I can try with a vanilla/debian kernel
> in the following days if needed.

That would be nice, since we should make an effort of merging these patches
into mainline and eventually backporting them to the Debian kernel.

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-04-2009, 10:09 AM
Filippo Giunchedi
 
Default Bug#456339: lm-sensors: couldn't get subfeature on applesmc

On Sat, Dec 27, 2008 at 11:30:45PM +0100, Filippo Giunchedi wrote:
> On Sat, Dec 27, 2008 at 02:27:42PM +0100, Moritz Muehlenhoff wrote:
> [...]
> > > It really looks like it is a kernel problem. Reassigning the bug.
> >
> > Filippo, does this error still occur with more recent kernel versions?
>
> It doesn't, though I'm running 2.6.26.3 with mactel patches (from
> https://mactel-linux.svn.sourceforge.net/svnroot/mactel-linux/trunk/kernel )
> which contain some changes to applesmc, I can try with a vanilla/debian kernel
> in the following days if needed.

It does with 2.6.26-1-amd64 (package is at 2.6.26-12)

godog@clamp:/sys/class/hwmon/hwmon2/device$ cat temp*_input
cat: temp10_input: Input/output error
30750
cat: temp2_input: Input/output error
53000
cat: temp4_input: Input/output error
50500
cat: temp6_input: Input/output error
52750
cat: temp8_input: Input/output error
53250
godog@clamp:/sys/class/hwmon/hwmon2/device$ uname -a
Linux clamp 2.6.26-1-amd64 #1 SMP Mon Dec 15 17:25:36 UTC 2008 x86_64 GNU/Linux

but doesn't with 2.6.28 (applesmc moved to hwmon0)

godog@clamp:/sys/class/hwmon/hwmon0/device$ cat temp*_input
53000
30750
54750
53250
51500
51000
58000
55500
52750
52750
godog@clamp:/sys/class/hwmon/hwmon0/device$ uname -a
Linux clamp 2.6.28 #1 SMP Tue Dec 30 16:31:27 CET 2008 x86_64 GNU/Linux
godog@clamp:/sys/class/hwmon/hwmon0/device$

thanks,
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Everyone is entitled to his own opinion, but not his own facts.
-- Daniel Patrick Moynihan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org