mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: dienet <dienet@poczta.fm>
To: linux-kernel@vger.kernel.org
Subject: Intel 3945ABG - problems on 2.6.30.X
Date: Fri, 31 Jul 2009 17:17:25 +0200	[thread overview]
Message-ID: <op.uxxt3bv7wcw97g@t61.dienet.ath.cx> (raw)

Hello

I got 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG  
[Golan] Network Connection (rev 02) in my T61.

I use this acpi script to switch it on and off:

#!/bin/bash

state=`cat /sys/bus/pci/drivers/iwl3945/0000:03:00.0/enable`

if [ "$state" == "1" ]; then

         logger "Wifi off"

         if [ -x /etc/rc.d/rc.inet1 ]; then
                 . /etc/rc.d/rc.inet1 stop
         fi

         echo disable > /proc/acpi/ibm/bluetooth

         /usr/bin/osd.sh "Wifi: [Off]"
else
         logger "Wifi on"

         if [ -x /etc/rc.d/rc.inet1 ]; then
                 . /etc/rc.d/rc.inet1 start
         fi

         if [ -x /etc/rc.d/rc.inet1 ]; then
                 . /etc/rc.d/rc.inet1 eth0_stop
         fi

         echo disable > /proc/acpi/ibm/bluetooth

         /usr/bin/osd.sh "Wifi: [On]"
fi


and it works quite nice on 2.6.29. Value in  
/sys/bus/pci/drivers/iwl3945/0000:03:00.0/enable is changing.
I just want to try this out on some 2.6.30.X. But on 2.6.30.X it don't  
works :/ How should I do it on 2.6.30.X?

I tried to do some echo 0 > enable but with no sucess.

There's one more thing. On 2.6.30.X LED from wifi indicator is not  
blinking when there is wifi traffic.
On 2.6.29 this LED blinks until you do not do supsend-to-ram. After STR it  
do not blinks.

If I need to post some parts of .config (from 2.6.30.X) or any other data,  
just tell me, but I thinkg I configured it out good.

-- 
pozdr0
dienet

"Old C programmers never die. They're just cast into void."

----------------------------------------------------------------------
Wygraj zestaw kosmetykow!
Sprawdz >> http://link.interia.pl/f22ac


             reply	other threads:[~2009-07-31 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31 15:17 dienet [this message]
2009-07-31 16:42 ` Valdis.Kletnieks
2009-08-01  7:26   ` dienet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.uxxt3bv7wcw97g@t61.dienet.ath.cx \
    --to=dienet@poczta.fm \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®