mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Intel 3945ABG - problems on 2.6.30.X
@ 2009-07-31 15:17 dienet
  2009-07-31 16:42 ` Valdis.Kletnieks
  0 siblings, 1 reply; 3+ messages in thread
From: dienet @ 2009-07-31 15:17 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Intel 3945ABG - problems on 2.6.30.X
  2009-07-31 15:17 Intel 3945ABG - problems on 2.6.30.X dienet
@ 2009-07-31 16:42 ` Valdis.Kletnieks
  2009-08-01  7:26   ` dienet
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2009-07-31 16:42 UTC (permalink / raw)
  To: dienet; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

On Fri, 31 Jul 2009 17:17:25 +0200, dienet said:
> Hello
> 
> I got 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG  

>          echo disable > /proc/acpi/ibm/bluetooth

Was this script designed to nuke wireless and bluetooth both?  The 3945
isn't a Bluetooth devices (at least the one in my laptop isn't, and there's
a seperate spot for a Bluetooth card to plug in)....

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Intel 3945ABG - problems on 2.6.30.X
  2009-07-31 16:42 ` Valdis.Kletnieks
@ 2009-08-01  7:26   ` dienet
  0 siblings, 0 replies; 3+ messages in thread
From: dienet @ 2009-08-01  7:26 UTC (permalink / raw)
  To: s.stepien; +Cc: linux-kernel

On Fri, 31 Jul 2009 18:42:14 +0200, <Valdis.Kletnieks@vt.edu> wrote:

> Was this script designed to nuke wireless and bluetooth both?

Yes. But does it change something?

-- 
pozdr0
dienet

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

----------------------------------------------------------------------
Zostan Dziewczyna lub Chlopakiem lata!
Wygraj skuter >> http://link.interia.pl/f22a7 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-01  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31 15:17 Intel 3945ABG - problems on 2.6.30.X dienet
2009-07-31 16:42 ` Valdis.Kletnieks
2009-08-01  7:26   ` dienet

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®