You are not logged in.

#1 2017-03-09 23:13:08

sickofthesea
New Member
Registered: 2017-03-09
Posts: 3

Suspend issues - HP 2133

Hi,

I'm trying to revive my old HP 2133 netbook with Bunsenlabs. I'm nearly there and so far really happy. I would just like to get suspend/resume working correctly and wonder if anyone has any ideas please.

When selecting suspend from the bl-exit menu it "works". However resume doesn't. The screen comes back on as solid white and then slowly cycles through various solid colours. That's it you can never get back to the desktop and need to hard power cycle.

After playing around I have found that the following command from the package pm-utils works for suspend - 'pm-suspend-hybrid'. It suspends fine and resumes fine.

Is there anyway to adjust settings for the default xfce4-power-manager or whatever is controlling the suspend in Bunsenlab, possibly giving extra parameters to the suspend command? Or possibly how to make pm-utils the default?

I like to write for a while and shut the laptop lid when I take a break, knowing that the laptop will automatically suspend and resume again later - at the moment it does not resume.

Any pointers would be very much appreciated.

Thank you.

Martin

Offline

#2 2017-03-10 07:48:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Suspend issues - HP 2133

First of all, what is your video hardware and which drivers are you using?

lspci -knn | grep -iA2 'vga\|3d'
sickofthesea wrote:

That's it you can never get back to the desktop and need to hard power cycle.

Did you try <Ctrl>+<Alt>+F2?

If your graphics drivers aren't loading you should still be able to access the console.

sickofthesea wrote:

Is there anyway to adjust settings for the default xfce4-power-manager or whatever is controlling the suspend in Bunsenlab, possibly giving extra parameters to the suspend command? Or possibly how to make pm-utils the default?

That is a good question.

Can we see the output of:

systemd-inhibit
xfconf-query -c xfce4-power-manager -l -v

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2017-03-10 16:09:02

sickofthesea
New Member
Registered: 2017-03-09
Posts: 3

Re: Suspend issues - HP 2133

---Mod edit: please use [ code ] tags wink ---

Thank you for the reply. I've posted the outputs detailed at the end of this message.

<Ctrl>+<Alt>+F2 produced a strange result. Something happened in response to the key strokes - the colour cycling stopped, the screen went blank (black) and within ten seconds the backlight switched off and the netbook went back into suspend mode (blue power switch flashing). No flashing cursor or text login prompt appeared as it should have done.

When I was looking for a suitable OS for this low powered netbook, I tried a live version of Android x86. That booted straight into the solid colour screen cycling I'm experiencing on resume and Android x86 could never be used.

At the moment my best bet might be to set xfce4 power manager not to suspend at all and make a short cut to the pm-suspend and just suspend manually. Problems with this netbook and linux are all over the internet but because it is so old and underpowered most of the questions/answers relate to quite old distributions like ubuntu 8.04, etc and are no longer relevant.

Thanks for any help you can give.

Martin

martin@linux-netbook:~$ lspci -knn | grep -iA2 'vga\|3d'
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] [1106:3371] (rev 01)
	Subsystem: Hewlett-Packard Company Device [103c:3030]
02:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g [14e4:4312] (rev 02)

martin@linux-netbook:~$ systemd-inhibit
     Who: NetworkManager (UID 0/root, PID 492/NetworkManager)
    What: sleep
     Why: NetworkManager needs to turn off networks
    Mode: delay

     Who: xfce4-power-manager (UID 1000/martin, PID 1054/xfce4-power-man)
    What: handle-power-key:handle-suspend-key:handle-hibernate-key
     Why: xfce4-power-manager handles these events
    Mode: block

2 inhibitors listed.

martin@linux-netbook:~$ xfconf-query -c xfce4-power-manager -l -v
/xfce4-power-manager/blank-on-ac                        10
/xfce4-power-manager/brightness-on-ac                   60
/xfce4-power-manager/brightness-on-battery              30
/xfce4-power-manager/brightness-switch                  0
/xfce4-power-manager/brightness-switch-restore-on-exit  1
/xfce4-power-manager/critical-power-action              1
/xfce4-power-manager/critical-power-level               5
/xfce4-power-manager/dpms-on-ac-off                     30
/xfce4-power-manager/dpms-on-ac-sleep                   20
/xfce4-power-manager/hibernate-button-action            2
/xfce4-power-manager/inactivity-on-ac                   14
/xfce4-power-manager/inactivity-on-battery              30
/xfce4-power-manager/lid-action-on-ac                   0
/xfce4-power-manager/lid-action-on-battery              1
/xfce4-power-manager/logind-handle-lid-switch           true
/xfce4-power-manager/power-button-action                4
/xfce4-power-manager/show-tray-icon                     1
/xfce4-power-manager/sleep-button-action                1

Last edited by damo (2017-03-10 16:27:10)

Offline

#4 2017-03-10 20:44:19

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Suspend issues - HP 2133

sickofthesea wrote:
martin@linux-netbook:~$ lspci -knn | grep -iA2 'vga\|3d'
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] [1106:3371] (rev 01)

No drivers are loaded for that card but the OpenChrome drivers are notoriously buggy anyway.

Can we see the content of /var/log/Xorg.0.log?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2017-03-10 21:06:50

damo
....moderator....
Registered: 2015-08-20
Posts: 6,111

Re: Suspend issues - HP 2133

Head_on_a_Stick wrote:

Can we see the content of /var/log/Xorg.0.log?

...and please use [ code ] tags for terminal output - it is much easier to read and can be scrolled through smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2017-03-21 23:38:17

sickofthesea
New Member
Registered: 2017-03-09
Posts: 3

Re: Suspend issues - HP 2133

Hi, sorry for not replying sooner.

I have been trying various things and I now don't think this is related to xorg at all and I have been trying everything xorg. I believe it is directly related to upower and how it's all tied in to systemd, freedesktop.org & policykit. Command line tools such as pm-utils works as does uswusp but upower does not. It's near impossible to get rid of upower without messing the whole system up. I can disable all suspend/hibernate with systemctl but odd things then occur when closing the laptop lid, i.e. wireless turns off and doesn't come back on.

The maddening thing with upower is it is what it is. There's no configuration options except to apply patches to the source code. It's not very linuxy. So I have had enough of trying to sort it.

So although I have loved the bunsenlabs experience I think over the next few days I'm going to have to play distro hopping again and try to avoid systemd distros and gain some control back.

Thanks for your help and good luck!

Offline

Board footer

Powered by FluxBB