OpenFSG

A forum where users help other users with troubleshooting their Freecom NAS device
It is currently Wed Apr 23, 2014 15:41

All times are UTC + 1 hour




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Mon Oct 02, 2006 20:14 
Offline
Regular User
Regular User

Joined: Tue Apr 11, 2006 20:01
Posts: 13
Hi,

finally i was able to get Debian running on the FSG.

Can anybody tell me how the LED's, buttons, and the EL-ring can be used or is this also "top secret" like the fan controling?

Greets SkySurfer


Top
 Profile  
 
 Post subject: Buttons LEDs etc
PostPosted: Wed Oct 04, 2006 11:08 
Offline
Site Admin
Site Admin
User avatar

Joined: Mon Oct 17, 2005 23:41
Posts: 956
Location: Eindhoven
Hi,

what info do you need? I have no problems with giving out hardware info. Even the fan stuff is out there. Somewhere :roll:

Kind regards,
Robert

_________________
FSG WLAN Firmware 4.4.5, FNSA 1.72, DT fw 4.3.8, VT fw 4.4.5


Top
 Profile  
 
 Post subject: Re: Buttons LEDs etc
PostPosted: Thu Oct 05, 2006 00:32 
Offline
VIP Expert
VIP Expert
User avatar

Joined: Fri Jul 21, 2006 14:46
Posts: 255
Location: Adelaide, Australia
rbar wrote:
Hi,

what info do you need? I have no problems with giving out hardware info. Even the fan stuff is out there. Somewhere :roll:

Kind regards,
Robert


I really need the fan info. That's the one thing which is preventing me from keeping the FSG3 turned on and active as a development platform. The current fan control is just too binary and too noisy when it's binary "1" :-) We need a fixed half-speed, or a smoother continuously variable transition between fan speed (not sure if that is possible with the hardware, which is why I'm looking for the hardware info).

Actually, the most useful thing would be the source code for the fan daemon, but I am aware that Freecom has no obligation to provide that (as I doubt it is GPL'd, and it's a stand-alone daemon so it falls under the mere-aggregation clause of the GPL and is not infected) - it would simply be a great community gesture if they did :-)

-- Rod


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 07:02 
Offline
Regular User
Regular User

Joined: Tue Apr 11, 2006 20:01
Posts: 13
Hi Robert,

it would be nice to know through which device they are controlled.
And if there is already a free driver for it.

As far as I know it uses Hotplug?
But with Hotplug from Debian there is no reaction.
So it need to be modified?

Greets SkySurfer


Top
 Profile  
 
 Post subject: FSG fan
PostPosted: Mon Oct 16, 2006 08:09 
Offline
First timer
First timer

Joined: Thu Jun 08, 2006 10:13
Posts: 5
Hello developers,

concerning the fan. It is controlled by the "fand" daemon. If you don't
run it. You gain absolute control over the fan. You really do not need
the source code of "fand", believe me. It is a very simple program
that only reads and writes /proc entries.

The real code for that is in the kernel. The fan is connected to the
"PWM1" pin of the monitor chip W83782D.

To know how fast the fan should run, read the temperatures:

cat /proc/sys/dev/sensors/w83782d-i2c-0-28/temp1
cat /proc/sys/dev/sensors/w83782d-i2c-0-28/temp2
cat /proc/sys/dev/sensors/w83782d-i2c-0-28/temp3

The last number of the output is the temperature in degree Celsius.
Compare them with the ones on the "Hardware->Fan Control" page.

To get the fan speed:

cat /proc/sys/dev/sensors/w83782d-i2c-0-28/fan1

Again the last number is the speed in rpm. Compare it with
the one on the "Hardware->Fan Control" page.

To change the fan speed, first read it:

cat /proc/sys/dev/sensors/w83782d-i2c-0-28/pwm1

The first number ist the PWM level. Type:

echo "0 1 1" > /proc/sys/dev/sensors/w83782d-i2c-0-28/pwm1

to switch the fan off. Type:

echo "255 1 1" > /proc/sys/dev/sensors/w83782d-i2c-0-28/pwm1

to put it to full speed (9000rpm). And type:

echo "50 1 1" > /proc/sys/dev/sensors/w83782d-i2c-0-28/pwm1

to get a moderate (silent) speed.

That's all to report about. Have fun and good luck !

Bye,
Michael


Top
 Profile  
 
 Post subject: FSG fan with kernel 2.6
PostPosted: Mon Oct 16, 2006 08:17 
Offline
First timer
First timer

Joined: Thu Jun 08, 2006 10:13
Posts: 5
Hello again,

I have forgotten to tell you that the fan infos above are only for
kernel 2.4 !

In kernel 2.6 you need to use the sysfs:

cat /sys/class/i2c-dev/i2c-0/device/0-0028/temp1_input
cat /sys/class/i2c-dev/i2c-0/device/0-0028/temp2_input
cat /sys/class/i2c-dev/i2c-0/device/0-0028/temp3_input

for the temperatures (values must be devided by 1000 to get the
temperature in degree Celsius).

cat /sys/class/i2c-dev/i2c-0/device/0-0028/fan1_input

for the fan speed, and finally

cat /sys/class/i2c-dev/i2c-0/device/0-0028/pwm1

for the PWM level.

Bye,
Michael


Top
 Profile  
 
 Post subject: Re: FSG fan
PostPosted: Mon Oct 16, 2006 13:25 
Offline
VIP Expert
VIP Expert
User avatar

Joined: Fri Jul 21, 2006 14:46
Posts: 255
Location: Adelaide, Australia
mmar wrote:
Hello developers,

concerning the fan. It is controlled by the "fand" daemon. If you don't
run it. You gain absolute control over the fan. You really do not need
the source code of "fand", believe me. It is a very simple program
that only reads and writes /proc entries.

The real code for that is in the kernel. The fan is connected to the
"PWM1" pin of the monitor chip W83782D.
...
That's all to report about. Have fun and good luck !


Thanks Michael! That's exactly the type of information I was looking for.

Can you tell us whether the CASEOPEN# input and/or the BEEP/GPO# output of the W83782D are connected to anything (e.g. one of the buttons on the front, or perhaps available on one of the internal connectors) ?

Thanks again,

-- Rod


Top
 Profile  
 
 Post subject: W83782D
PostPosted: Tue Oct 17, 2006 11:54 
Offline
First timer
First timer

Joined: Thu Jun 08, 2006 10:13
Posts: 5
Hello,

the pins CASEOPEN# and BEEP/GPO# are not in use and are NOT
connected to any connector. BEEP/GPO# is connected to an beeper
that is not placed in the mass production samples.

Bye,
Michael


Top
 Profile  
 
 Post subject: Re: W83782D
PostPosted: Tue Oct 17, 2006 13:22 
Offline
VIP Expert
VIP Expert
User avatar

Joined: Fri Jul 21, 2006 14:46
Posts: 255
Location: Adelaide, Australia
mmar wrote:
Hello,

the pins CASEOPEN# and BEEP/GPO# are not in use and are NOT
connected to any connector. BEEP/GPO# is connected to an beeper
that is not placed in the mass production samples.

Bye,
Michael


Excellent. That means that the pad for BEEP/GPO# may be accessible for someone who wants to solder on a general purpose output :-)

Thanks again for the information, Michael. Based on your fan information yesterday, my FSG-3 is now running 24x7 in the lounge room, and I have used that fact to finish the development of the optware packages bootstrap script.

-- Rod


Top
 Profile  
 
PostPosted: Wed Feb 21, 2007 14:10 
Offline
Active member
Active member

Joined: Mon May 22, 2006 16:51
Posts: 59
SkySurfer wrote:
Hi,

finally i was able to get Debian running on the FSG.

Can anybody tell me how the LED's, buttons, and the EL-ring can be used or is this also "top secret" like the fan controling?


Now that we know how to control the fan via /sys, does anyone know how to control buttons and LEDs? I.e., to bind custom actions/programs/scripts to each button, and to be able to power on/off the LEDs?

_________________
Software deployment with Samba
http://wpkg.org


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 23, 2007 22:33 
Offline
Regular User
Regular User

Joined: Fri Aug 17, 2007 11:43
Posts: 36
Location: Madrid - España
Helo developers...I've been searching for some info about some commands to turn off or turn on the fan of me fsg-3 (I have the 4.2.7 version).
I have being reading this thead but in my fsg I don't have the proper directory ... Do you know the commands to change the speed of the fan?
Sorry about my english and thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 27, 2007 14:23 
Offline
Site Admin
Site Admin
User avatar

Joined: Mon Oct 17, 2005 23:41
Posts: 956
Location: Eindhoven
Hi u,

try login in as root, then you will see the directories.

Kind regards,
Robert

_________________
FSG WLAN Firmware 4.4.5, FNSA 1.72, DT fw 4.3.8, VT fw 4.4.5


Top
 Profile  
 
 Post subject: Re: Buttons LEDs etc
PostPosted: Mon Oct 01, 2007 02:40 
Offline
First timer
First timer

Joined: Tue Jul 25, 2006 16:03
Posts: 3
Location: Linares
rbar wrote:
Hi,

what info do you need? I have no problems with giving out hardware info. Even the fan stuff is out there. Somewhere :roll:

Kind regards,
Robert


Hi rbar,

I have Debian installed too in one of my FSG, and I'd like to be able to turn on and off the leds.

Is it possible?

thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 09, 2007 09:46 
Offline
Site Admin
Site Admin
User avatar

Joined: Mon Oct 17, 2005 23:41
Posts: 956
Location: Eindhoven
Hi Pakillo,

absolutely.

Do a search, all the info on how to do it should be out there.

Kind regards,
Robert

_________________
FSG WLAN Firmware 4.4.5, FNSA 1.72, DT fw 4.3.8, VT fw 4.4.5


Top
 Profile  
 
PostPosted: Fri Jul 06, 2012 06:15 
Offline
First timer
First timer

Joined: Fri Jul 06, 2012 06:09
Posts: 1
You really do not need
the source code of "fand", believe me. It is a very simple program
that only reads and writes /proc entries.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

{ ASACP_CREDITS } Powered by phpBB® Forum Software © phpBB Group