PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 25, 2012, 08:49:38 AM


Login with username, password and session length


Pages: [1] 2 3   Go Down
  Print  
Author Topic: [SOLVED] Sleep mode problems....  (Read 1211 times)
jmm
Jr. Member
**
Offline Offline

Posts: 38


« on: January 30, 2012, 08:33:40 PM »

Wireless will not restart after waking from sleep mode.  I have to restart computer for wireless signal to be recognized.  Any ideas?

Thanks for your help.
Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #1 on: January 31, 2012, 03:58:33 AM »

Not much information....  Huh

What wireless card are you using?
Is your PCLinuxOS installation completely up to date (and which version and desktop environment (KDE, LXDE, ....?) are you using?
Logged
jmm
Jr. Member
**
Offline Offline

Posts: 38


« Reply #2 on: January 31, 2012, 05:15:22 AM »

RTL8191 SEvA Wireless LAN Controller is modem

KDE Fresh Install as of yesterday...Should I install LXDE as alternative and see if same issue happens with sleep mode?

Thanks for the assistance.
Logged
MtnMan
Sr. Member
****
Offline Offline

Posts: 256

Aged to perfection


« Reply #3 on: January 31, 2012, 09:54:49 AM »

Wireless will not restart after waking from sleep mode.  I have to restart computer for wireless signal to be recognized.  Any ideas?

Thanks for your help.
RTL8191 SEvA Wireless LAN Controller is modem

KDE Fresh Install as of yesterday...Should I install LXDE as alternative and see if same issue happens with sleep mode?

Thanks for the assistance.

jmm> I too would be interested to know if there is a solution to this.  I have both KDE and LXDE and use a wired connection.  Sometimes on resume the network does not connect and I just open the Network Center and click connect to solve the issue.  A reboot sounds extreme and would seem unnecessary - have you tried the Network Center to make the connection?

Maybe someone higher up on the food chain will drop in with a suggestion.
Logged

I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin
jmm
Jr. Member
**
Offline Offline

Posts: 38


« Reply #4 on: January 31, 2012, 11:13:16 AM »

MtnMan, have tried re-establishing connection through network center unsuccessfully.   Restart is the only option coming out of sleep mode.  Any help with this would be appreciated.
Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #5 on: January 31, 2012, 11:39:01 AM »

Your fresh KDE install is fully up-to-date (with Synaptic)?

Normally, pm-utils is installed...
=> I did a little search on internet, and apparently the Realtek cards can be reactivated by unloading and loading the kernel module (after suspend for example)...

Quote
If you know which modules could cause such issues, adding a SUSPEND_MODULES config to /etc/pm/config.d/modules of the form

SUSPEND_MODULES="uhci_hd button ehci_hd"

should cause these modules to be specifically unloaded before suspend and reloaded after resume.

Maybe we can get it to work that way....? (now the only thing that has to be done is finding the name of the specific module)
Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #6 on: January 31, 2012, 11:48:53 AM »

We can get the needed information via this post:
http://www.pclinuxos.com/forum/index.php?topic=56672.0

I'd first try it the GUI way (as explained in the linked post):
Quote
You can also check in PCLinuxOS Control Center (PCC), if your wireless card is recongnized+loaded modul. Press on pcc icon
or hit Alt+F2 and type pcc. Than click on Hardware/Browse and configure hardware


Locate on the left side your wireless card. Click on it and you'll get needed informations:


As you can see in my case, my wifi card was recognized (PRO/Wireless 3945ABG [Golan] Network Connection) and loaded modul is iwl3945.
Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #7 on: January 31, 2012, 01:39:21 PM »

Please search the module in PCLinuxOS Control Center as asked in previous post
for your wireless card....

Otherwise, if you want it the terminal way:
Code:
cat /etc/modprobe.conf


EDIT: or maybe there is some option in your BIOS, but I doubt about that....  Wink
Logged
jmm
Jr. Member
**
Offline Offline

Posts: 38


« Reply #8 on: January 31, 2012, 01:50:38 PM »

I think this is what you asked for...Huh  Thanks again.


cat /etc/modprobe.conf
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ohci_hcd; /sbin/modprobe ehci_hcd; /bin/true
alias wlan0 r8192se_pci
alias sound-slot-0 unknown
alias eth0 r8169
alias sound-slot-1 snd-hda-intel
options snd_hda_intel index=1
options snd-ac97-codec power_save=0
alias pci:v000010ECd00008171sv0000103Csd00001467bc02sc80i00 r8192se_pci
alias snd-1 snd-hda-intel
Logged
rubentje1991
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 2052


Rubenum Parvus MCMXCI


« Reply #9 on: January 31, 2012, 04:16:29 PM »

I think this is what you asked for...Huh  Thanks again.


cat /etc/modprobe.conf
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ohci_hcd; /sbin/modprobe ehci_hcd; /bin/true
alias wlan0 r8192se_pci
alias sound-slot-0 unknown
alias eth0 r8169
alias sound-slot-1 snd-hda-intel
options snd_hda_intel index=1
options snd-ac97-codec power_save=0
alias pci:v000010ECd00008171sv0000103Csd00001467bc02sc80i00 r8192se_pci
alias snd-1 snd-hda-intel


I hope I'm going to tell the right thing now.... if not we'll correct it later (it won't break your install or so, no worries - except if you're doing yet 10 other rare things at the same time  Cheesy Cool)

Press <Alt><F2>, and in the krunner that appears, enter: "kdesu dolphin" (without quotes)
=> put in the root password when prompted

Navigate to the main directory (the root dir), and then go to following path:
/etc/pm/config.d/
In that directory, please make a new file, named config (for example, normally it doesn't exist yet I think)...
=> in that file, copy paste the following line:
Quote
SUSPEND_MODULES="rtl8192se_pci"

=> I'm still not sure about the name of the module (because I'm not an expert in this commands)
I'll try to ask it a bit more detailed...
When opening PCLinuxOS Control Center (the grey circle with the crossed tools inside on the bar at the bottom of the screen), and going to "Hardware", and then selecting "Browse and configuring hardware"
=> please select the wireless card you have (maybe under Ethernet Devices or something like that), and look in the main window at what's defined as "module".....

So, you may indeed just try the directions above, or first get sure about the module which is activated for your wireless card (sorry that this is taking so long - maybe someone else would have helped you much faster  Roll Eyes)

Please let us know the results  Wink
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4112

Have a nice ... night!


« Reply #10 on: January 31, 2012, 04:44:55 PM »

=> in that file, copy paste the following line:
Quote
SUSPEND_MODULES="rtl8192se_pci"

=> I'm still not sure about the name of the module (because I'm not an expert in this commands)

Look fine, except for a little typo: the module name is r8192se_pci (without the "tl")   Wink

copy and paste the following instead:
Quote
SUSPEND_MODULES="r8192se_pci"

AS

Logged
jmm
Jr. Member
**
Offline Offline

Posts: 38


« Reply #11 on: January 31, 2012, 06:02:43 PM »

AS and rubentje1991:  Thank you so much for your help.  the line I pasted into new config file is below.  Yes, AS was correct as the right name of the module is below.  Unfortunately, I still have to do a restart after I return from sleep mode as no wireless signals are recognized.  On restart, it is recognized great.  Out of sleep and hibernate, nothing.  If you have any more ideas they would be welcomed.  Again, thank you for your time.

SUSPEND_MODULES="r8192se_pci"
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4112

Have a nice ... night!


« Reply #12 on: January 31, 2012, 06:08:21 PM »

AS and rubentje1991:  Thank you so much for your help.  the line I pasted into new config file is below.  Yes, AS was correct as the right name of the module is below.  Unfortunately, I still have to do a restart after I return from sleep mode as no wireless signals are recognized.  On restart, it is recognized great.  Out of sleep and hibernate, nothing.  If you have any more ideas they would be welcomed.  Again, thank you for your time.

SUSPEND_MODULES="r8192se_pci"

... Hmmm ... try the following, after return from sleep, open a terminal and su to root:
Code:
modprobe  -r  r8192se_pci
modprobe  r8192se_pci
service  network  restart
Logged
jmm
Jr. Member
**
Offline Offline

Posts: 38


« Reply #13 on: January 31, 2012, 06:30:08 PM »

AS, does this tell you anything?  Thanks again.


Password:
[root@localhost ~]# modprobe  -r  r8192se_pci
[root@localhost ~]# modprobe  r8192se_pci
[root@localhost ~]# service  network  restart
Shutting down interface eth0:                                      [  OK  ]
Shutting down loopback interface:                                  [  OK  ]
Bringing up loopback interface:                                    [  OK  ]
Bringing up interface eth0:                                        [  OK  ]
Bringing up interface wlan0:  RTNETLINK answers: Operation not possible due to RF-kill
RTNETLINK answers: Operation not possible due to RF-kill
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Network is down.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Network is down.
Could not set interface wlan0 flags: Operation not possible due to RF-kill
Failed to initialize driver interface
Sorry, there is already an instance of ifplugd for wlan0 running.
                                                                   [FAILED]
Logged
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4112

Have a nice ... night!


« Reply #14 on: January 31, 2012, 06:41:02 PM »

AS, does this tell you anything?  Thanks again.


Password:
[root@localhost ~]# modprobe  -r  r8192se_pci
[root@localhost ~]# modprobe  r8192se_pci
[root@localhost ~]# service  network  restart
Shutting down interface eth0:                                      [  OK  ]
Shutting down loopback interface:                                  [  OK  ]
Bringing up loopback interface:                                    [  OK  ]
Bringing up interface eth0:                                        [  OK  ]
Bringing up interface wlan0:  RTNETLINK answers: Operation not possible due to RF-kill
RTNETLINK answers: Operation not possible due to RF-kill
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Network is down.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Network is down.
Could not set interface wlan0 flags: Operation not possible due to RF-kill
Failed to initialize driver interface
Sorry, there is already an instance of ifplugd for wlan0 running.
                                                                   [FAILED]

Yes!  Cheesy  your device don't come up because it has been switched off. There is an utility in repo: rfkill, install it if not already installed, then try:
Code:
rfkill list

should report something like:

Quote
0: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: dell-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

supposing you wireless card is listed as device 0 (zero) and is blocked, the following command should unblock it:
Code:
rfkill unblock 0
Logged
Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM