LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2008, 04:09 AM   #1
hydrurga
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Wifi adapter - cannot change settings in /sys


I was wondering whether any of you guys might be able to help with this. I am a Linux newbie...

In order to get wireless to work on my Amilo Li1718 under Puppy 4.1.1 (full hard disk install), I need to load a module called acer-wmi to do two things: (i) enable the wireless adapter, (ii) switch on the PC's wireless button. I therefore run 'modprobe acer-wmi' which appears to work fine and enables the wireless adapter.

The problem is that, in order to switch on the actual button itself, I need to change the contents of a file called 'wireless' created by that module in a /sys subdirectory, using the command 'echo 1 > /sys/devices/platform/acer-wmi/wireless'. Simply, this doesn't work, and any attempts to modify this file fail. In fact, experimentation has shown that I cannot change any file in the /sys branch. Trying to load the module with 'modprobe acer-wmi wireless=1' does not work.

I have searched about and noticed that many people seem to have successfully been able to echo data into files in /sys. Why is it that I can't?

Here is my command sequence:
Quote:
# modprobe acer-wmi

# ls -l /sys/devices/platform/acer-wmi/wireless

-rw-rw-rw- 1 root root 4096 2008-11-28 01:00 /sys/devices/platform/acer-wmi/wireless

#cat /sys/devices/platform/acer-wmi/wireless

0

# echo 1 > /sys/devices/platform/acer-wmi/wireless

# ls -l /sys/devices/platform/acer-wmi/wireless

-rw-rw-rw- 1 root root 0 2008-11-28 01:02 /sys/devices/platform/acer-wmi/wireless

# cat /sys/devices/platform/acer-wmi/wireless

0
Many thanks,

Pete
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi Adapter Identification Mystery Man Programming 1 12-03-2007 05:37 PM
Could it be that my wifi adapter is too old for WPA mamadu.bwana Linux - Wireless Networking 20 10-17-2007 11:33 PM
WiFi adapter complication dingle959 Linux - Hardware 3 03-25-2007 05:27 PM
Integrated WIFI adapter 5had0w Linux - Wireless Networking 1 12-01-2004 10:39 PM
Detect WiFi adapter jeopardyracing Linux - Wireless Networking 2 09-16-2004 01:28 PM


All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration