 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

30th March 2008, 12:39 AM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 13

|
|
Wireless doesn't work after resuming from suspend
Howdy,
I have Fedora 8 i386 installed on a Dell XPS M1330 with Intel wireless 4965 AG or AGN Network Connection (rev 61) wifi card.
This only started happening recently, so I can only guess that it's the result of an update.
When I'm done using my laptop, I suspend it by clicking the battery/charge icon near the clock and clicking suspend, or if I'm running on battery I just shut the lid.
When I open the lid the system resumes and after several minutes the network manager still shows a red x
service network restart doesn't get wifi working, I have to reboot the computer.
Occasionally, when I resume from a suspend the wifi will work, but the majority of the time I have to reboot.
This is the dmesg after resuming with the wifi failing to resume:
Quote:
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
ACPI: PCI Interrupt 0000:03:01.1[B] -> GSI 18 (level, low) -> IRQ 22
sd 0:0:0:0: [sda] Starting disk
PM: Finishing wakeup.
Restarting tasks ... done.
usb 2-6: USB disconnect, address 3
usb 2-6: new high speed USB device using ehci_hcd and address 5
usb 2-6: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0a pin config 02214020
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0b pin config 02a19080
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0c pin config 0181304e
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0d pin config 01014010
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0e pin config 01a19040
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0f pin config 01011012
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 10 pin config 01016011
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 11 pin config 40000100
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 12 pin config 40000100
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 13 pin config 40000100
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 14 pin config 40000100
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 21 pin config 01442070
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 22 pin config 40000100
ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 23 pin config 00000000
ADDRCONF(NETDEV_UP): eth0: link is not ready
PCI: Enabling device 0000:0c:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
ADDRCONF(NETDEV_UP): wlan0: link is not ready
uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
usb 7-1: USB disconnect, address 2
usb 7-1: new full speed USB device using uhci_hcd and address 3
usb 7-1: configuration #1 chosen from 1 choice
|
And the /var/log/messages entries
Quote:
Mar 29 18:43:25 ratbook kernel: uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0a pin config 02214020
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0b pin config 02a19080
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0c pin config 0181304e
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0d pin config 01014010
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0e pin config 01a19040
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 0f pin config 01011012
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 10 pin config 01016011
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 11 pin config 40000100
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 12 pin config 40000100
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 13 pin config 40000100
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 14 pin config 40000100
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 21 pin config 01442070
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 22 pin config 40000100
Mar 29 18:43:25 ratbook kernel: ALSA sound/pci/hda/patch_sigmatel.c:1241: hda_codec: pin nid 23 pin config 00000000
Mar 29 18:43:25 ratbook NetworkManager: <info> Waking up from sleep.
Mar 29 18:43:25 ratbook NetworkManager: <info> eth0: Device is fully-supported using driver 'tg3'.
Mar 29 18:43:25 ratbook NetworkManager: <info> Now managing wired Ethernet (802.3) device 'eth0'.
Mar 29 18:43:25 ratbook NetworkManager: <info> Bringing up device eth0
Mar 29 18:43:25 ratbook kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 29 18:43:25 ratbook NetworkManager: <info> Deactivating device eth0.
Mar 29 18:43:25 ratbook acpid: client connected from 2635[0:0]
Mar 29 18:43:25 ratbook NetworkManager: <info> (eth0): exporting device as /org/freedesktop/Hal/devices/net_00_15_c5_81_35_00
Mar 29 18:43:25 ratbook NetworkManager: <info> wlan0: Device is fully-supported using driver 'iwl4965'.
Mar 29 18:43:25 ratbook NetworkManager: <info> wlan0: driver supports SSID scans (scan_capa 0x01).
Mar 29 18:43:25 ratbook NetworkManager: <info> Now managing wireless (802.11) device 'wlan0'.
Mar 29 18:43:25 ratbook NetworkManager: <info> Bringing up device wlan0
Mar 29 18:43:25 ratbook kernel: PCI: Enabling device 0000:0c:00.0 (0000 -> 0002)
Mar 29 18:43:25 ratbook kernel: ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Mar 29 18:43:25 ratbook kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 29 18:43:25 ratbook NetworkManager: <info> Deactivating device wlan0.
Mar 29 18:43:25 ratbook NetworkManager: <WARN> nm_device_802_11_wireless_disable_encryption(): error setting key for device wlan0: No such file or directory
Mar 29 18:43:25 ratbook NetworkManager: <info> (wlan0): exporting device as /org/freedesktop/Hal/devices/net_00_1d_e0_28_bd_cd
Mar 29 18:43:25 ratbook NetworkManager: <info> (eth0) supplicant interface is now in state 2 (from 1).
Mar 29 18:43:25 ratbook NetworkManager: <info> (wlan0) supplicant interface is now in state 2 (from 1).
Mar 29 18:43:25 ratbook kernel: uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. 26).
Mar 29 18:43:25 ratbook kernel: usb 7-1: USB disconnect, address 2
Mar 29 18:43:26 ratbook kernel: usb 7-1: new full speed USB device using uhci_hcd and address 3
Mar 29 18:43:26 ratbook kernel: usb 7-1: configuration #1 chosen from 1 choice
Mar 29 18:43:45 ratbook ntpd[6391]: ntpd 4.2.4p2@1.1495-o Mon Sep 24 14:40:07 UTC 2007 (1)
Mar 29 18:43:45 ratbook ntpd[6392]: precision = 1.000 usec
Mar 29 18:43:45 ratbook ntpd[6392]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Mar 29 18:43:45 ratbook ntpd[6392]: Listening on interface #1 wildcard, ::#123 Disabled
Mar 29 18:43:45 ratbook ntpd[6392]: Listening on interface #2 lo, ::1#123 Enabled
Mar 29 18:43:45 ratbook ntpd[6392]: Listening on interface #3 lo, 127.0.0.1#123 Enabled
Mar 29 18:43:45 ratbook ntpd[6392]: kernel time sync status 0040
Mar 29 18:43:45 ratbook ntpd[6392]: frequency initialized 7.418 PPM from /var/lib/ntp/drift
Mar 29 18:43:45 ratbook ntpd[6392]: getaddrinfo: "0.fedora.pool.ntp.org" invalid host address, ignored
|
Last edited by flakrat; 30th March 2008 at 01:03 AM.
|

30th March 2008, 10:01 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: UK
Posts: 4,345

|
|
Hello flakrat
The "network" service that you are restarting won't have ant effect on NetworkManager. They are two different things.
When it happens again you might want to try:
Code:
service NetworkManager restart
if I read the signs correctly, that unloads the firmware from your card and then starts it from the beginning again
Note that the capitals in NetworkManager are important, networkmanager won't work.
Last edited by bbfuller; 30th March 2008 at 01:13 PM.
|

30th March 2008, 01:03 PM
|
|
Registered User
|
|
Join Date: May 2007
Location: Brisbane, Australia
Age: 43
Posts: 32

|
|
|
I have the same problem. It's not related to Network Manager. Even without it, when I try to raise the interface from command line, it says "No such device".
|

30th March 2008, 01:16 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Location: UK
Posts: 4,345

|
|
Hello pavka
Have you actually had your wireless connecsion working under Linux?
If you have NetworkManager running it will cause problems with running from the command line.
The various methods of controling a wireless card in Fedora should only be used by themselves. In combination they cause problems.
I assume from your post that you have the same 4965 card as the OP.
What does:
and
from a full root command prompt show.
|

30th March 2008, 02:18 PM
|
|
Registered User
|
|
Join Date: May 2007
Location: Brisbane, Australia
Age: 43
Posts: 32

|
|
Yes, the card works - I am connected to the internet with it now (had to restart the PC to get it working again though).
iwconfig says:
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan2 IEEE 802.11 ESSID:"pavka"
Mode:Managed Frequency:2.412 GHz Access Point: 00:12:0E:6C:7A:75
Bit Rate=54 Mb/s Tx-Power=6 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:E0D5-EDB1-C5
Link Quality=95/100 Signal level=-28 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
"iwlist wlan2 scan" says:
Code:
wlan2 Scan completed :
Cell 01 - Address: 00:12:0E:6C:7A:75
ESSID:"pavka"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Channel:1
Quality=55/100 Signal level=-26 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:tsf=000000460e193d45
The card is Belkin, with a Realtek chipset. Shows as RaLink RT2561/RT61 802.11g PCI in "network management". But I don't think it's a problem with the card itself, it some setting that's missing that should tell Fedora to wake it up together with the other devices (btw, I have a similar issue with the IDE disks).
|

30th March 2008, 02:32 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 13

|
|
here's dmesg following a resume from suspend where the wireless card came back online
Quote:
ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
usb 7-1: new full speed USB device using uhci_hcd and address 3
usb 7-1: configuration #1 chosen from 1 choice
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:18:4d:55:3d:68
wlan0: authenticate with AP 00:18:4d:55:3d:68
wlan0: RX authentication from 00:18:4d:55:3d:68 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:18:4d:55:3d:68
wlan0: associate with AP 00:18:4d:55:3d:68
wlan0: RX deauthentication from 00:18:4d:55:3d:68 (reason=6)
wlan0: deauthenticated
wlan0: RX deauthentication from 00:18:4d:55:3d:68 (reason=6)
wlan0: authenticate with AP 00:18:4d:55:3d:68
wlan0: authenticate with AP 00:18:4d:55:3d:68
wlan0: authenticate with AP 00:18:4d:55:3d:68
wlan0: authentication with AP 00:18:4d:55:3d:68 timed out
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:18:f8:b7:b7:e4
wlan0: RX authentication from 00:18:f8:b7:b7:e4 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:18:f8:b7:b7:e4
wlan0: RX AssocResp from 00:18:f8:b7:b7:e4 (capab=0x411 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
|
And var/log/messages shows quite a bit of activity where it is finding and connecting to the network. Next time it happens I'll check iwconfig and iwlist.
|

5th April 2008, 03:30 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 97

|
|
|
I am having the exact same problem with an intel abg card. Everything used to work just find until about a week ago. I assume it's an update also. Has anyone filed a bug in bugzilla yet?
The funny part is I am running Fedora because it's the only distro that had suspend work properly with NetworkManager.
Maybe I should try wicd out and see how that works.
|

6th April 2008, 01:06 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 13

|
|
|
I too have this problem.
My wireless has been working fine but just recently (I too assume it was after an update) it has stopped working after resume.
My laptop is a Dell 9400 and the wireless network card as listed by lspci"
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Some more info:
Before resuming, clicking on the NetworkManager icon I can see mine and my neighbour's networks listed. After resuming, I only see my neighbour's. If I click the "Connect to Other Wireless Network" and manually specify my network it appears to find it but never connects.
Back when it used to work fine, I would sometimes have to wait 30sec - 1min for it to rediscover my network (it is always there immediately after reboot). But other times it would be there immediately after resuming. This seems similar behaviour except that it never finds it. Related?
My laptop has an LED to represent the wi-fi state, this light did not used to light up or flash when the wireless card was active or used. Since the update that caused my 'after suspend' issue the light now turns on when the card is active and flashes during activity.
Long ago I used the ipw3945 drivers from freshrpms and these would activate this light, but when switching to the opensource iwl3945-firmware (currently ver 2.14.1.5-2) this light never worked. This leads me to think that the problem could be caused due to an update to the iwl3945 driver (?)...
I hope we can get it sorted soon, very annoying.. I might roll back to the previous drivers and give them ago.
Cheers,
segfault
|

7th April 2008, 12:43 PM
|
 |
Registered User
|
|
Join Date: Jun 2005
Posts: 47

|
|
|
same problem here
Hi,
I am running a fedora 8 box, with the network manager 0.7.0 on an thinkpad x61, which worked great sofar. but yesterday my wlan refused to work any longer: and i wasn't able to find any wlan's in my surrounding any more.
here's my card
Code:
lspci :
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
iwconfig wlan0 gives me this:
Code:
wlan0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
after this i tried iwlist wlan0 scan:
Code:
wlan0 Interface doesn't support scanning : Network is down
which obivously told me that my wlan is down;
after this i tried ifconfig wlan0 up:
Code:
SIOCSIFFLAGS: Kein passendes Gerät gefunden
which tells me that the device is not found???
whats wrong with it;
thanks in advance
p.s.: there's an led on my laptop which indactes that my wlan is working; but there's also no light there;
Last edited by sup; 7th April 2008 at 12:50 PM.
|

7th April 2008, 11:02 PM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 2

|
|
|
Hi,
I am facing the same problem. The wireless net is connected immediately when I boot my system. But if I resume after either a suspend or a hibernate, I am unable to connect. It shows my home wireless router and even my neighbours, but it does not connect.
Restarting network manager didnt help. Then I followed this approach. I killed nm-applet, restarted network manager and then after some time (a minute or two) then started nm-applet. Then it is connecting most of the time. (Sometimes it even fails) But the entire setup is annoying. Nowadays, I am rather shutting down my laptop (acer aspire 5630) rather than suspending or hibernating...
Is there any better fix than the what I am following?
Thanks
|

8th April 2008, 03:48 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 97

|
|
|
Here's my ugly workaround that's working for me.
When I wake from suspend, I open terminal and su - to root.
I then type:
modprobe -r iwl3945
modprobe -i iwl3945
which basically unloads and reloads the network driver.
Soon as I do that, NetworkManager connects right up.
I want to see if there is some way to incorporate this into my resume from suspend script that runs.
|

8th April 2008, 06:30 AM
|
|
Registered User
|
|
Join Date: Apr 2008
Posts: 2

|
|
|
wow. Plazman's workaround works perfectly. But I do hope this issue is resolved once and for all soon.
|

16th April 2008, 02:36 PM
|
 |
Registered User
|
|
Join Date: Oct 2005
Posts: 45

|
|
|
|

17th April 2008, 09:42 PM
|
|
Registered User
|
|
Join Date: Jan 2008
Posts: 13

|
|
|
thanks ettlz, I just added a comment to the bug
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 10:50 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|