DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-12 13:40:02

tbm
Member
Registered: 2008-08-12
Posts: 7

Current git and lm75 driver

Can someone please boot a kernel from current git plus the patch I posted at http://lists.arm.linux.org.uk/lurker/me … 80.en.html
Can you compile the lm75 module into the kernel and see whether it's properly loaded?

Thanks

Offline

 

#2 2008-08-14 00:54:00

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

tbm wrote:

Can someone please boot a kernel from current git

I'll give it a try as soon as I find time. However, last time I checked the orion.git kernel did not correctly initialize the NIC (which works fine with 2.6.25.1) when configured from the kernel command line. An extra ifconfig down, ifconfig up fixed it, though.

Offline

 

#3 2008-08-14 10:44:28

tbm
Member
Registered: 2008-08-12
Posts: 7

Re: Current git and lm75 driver

fonz wrote:

However, last time I checked the orion.git kernel did not correctly initialize the NIC (which works fine with 2.6.25.1) when configured from the kernel command line. An extra ifconfig down, ifconfig up fixed it, though.

If this bug is still there, can you please report it to linux-arm-kernel@lists.arm.linux.org.uk

Offline

 

#4 2008-08-14 22:19:14

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

tbm wrote:

Can you compile the lm75 module into the kernel and see whether it's properly loaded?

Doesn't seem to work.

Code:

root@bob:~# uname -a
Linux bob 2.6.26-rc9 #1 PREEMPT Thu Aug 14 20:53:38 CEST 2008 armv5tel unknown

root@bob:~# zcat /proc/config.gz | grep LM75
CONFIG_SENSORS_LM75=y

root@bob:~# cat /sys/class/i2c-adapter/i2c-0/0-0048/name 
lm75

root@bob:~# ls /sys/class/hwmon/
 (empty)

dmesg attached.


Attachments:
Attachment Icon dmesg.txt, Size: 7,035 bytes, Downloads: 528

Offline

 

#5 2008-08-14 22:20:14

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

... and config.


Attachments:
Attachment Icon config-2.6_orion, Size: 35,504 bytes, Downloads: 473

Offline

 

#6 2008-08-15 10:14:40

tbm
Member
Registered: 2008-08-12
Posts: 7

Re: Current git and lm75 driver

Thanks for trying.

Offline

 

#7 2008-08-15 11:49:03

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

tbm wrote:

Thanks for trying.

I'll do another test tomorrow, with the following patch applied in addition to yours:
http://wwwhephy.oeaw.ac.at/u3w/r/riedel … _hack.diff

Offline

 

#8 2008-08-15 12:07:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

tbm wrote:

Can someone please boot a kernel from current git

Just started to wonder why hvr's patch still applies... With 'current git' do you mean
  linux/kernel/git/nico/orion.git
or
  linux/kernel/git/torvalds/linux-2.6.git
?

I tested the orion.git...

Offline

 

#9 2008-08-16 11:36:14

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Current git and lm75 driver

Ok, retried with Linus' tree. Works fine.

Code:

root@bob:~# uname -a
Linux bob 2.6.27-rc3 #1 PREEMPT Fri Aug 15 11:44:51 CEST 2008 armv5tel unknown

root@bob:~# cat /sys/class/hwmon/hwmon0/device/temp1_input 
43500

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB