Welcome, Guest. Please login or register.
April 17, 2014, 20:31:37 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Configuring Pardus
| | |-+  IPW2200 led
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: IPW2200 led  (Read 1279 times)
Klenje
Pardus fellow craft
**
Posts: 32


View Profile
« on: March 18, 2007, 13:37:22 PM »

Hi, I can activate the led of my wireless card by doing
Code:
echo "1" >>/sys/bus/pci/drivers/ipw2200/0000:06:03.0/led

But at every reboot the default value is restored  :?
Do you know why?
Logged
benvdh
Pardus fellow craft
**
Posts: 65


View Profile
« Reply #1 on: March 18, 2007, 15:45:51 PM »

The reason why this value is being restored after a reboot is probably because the default value in some config file is set to zero as a default value. The value you are changing is probably a value in a file system that is being setup every time you boot. So Here's what happens:

1. Default config is read from some config file
2. /sys file system is created
3. Default option is set to zero

If you want to change this, you will have to change the config file, where the default value is set. I don't really know where this value is set, so can't help you any further, but that's an explanation of what happens.

Regards,

Ben
Logged
Jan Gnodde
Global Moderator
Pardus Guru
*****
Gender: Male
Posts: 397


View Profile WWW
« Reply #2 on: March 20, 2007, 19:03:27 PM »

Quote from: "Klenje"
Code:
echo "1" >>/sys/bus/pci/drivers/ipw2200/0000:06:03.0/led

You can put this command in the file /etc/conf.d/local.start to automagicly execute it at every boot.

Jan.
Logged
jnmbk
Pardus Developer
Pardus Master
*****
Posts: 174


View Profile
« Reply #3 on: March 21, 2007, 09:24:13 AM »

Here's a solution:
http://bugs.pardus.org.tr/show_bug.cgi?id=5280
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!