MandrivaUsers.org : ASUS 1215B laptop - suspend/resume + other issues - MandrivaUsers.org

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

ASUS 1215B laptop - suspend/resume + other issues Getting it to play nicely! with Mandriva 2011

#16 User is offline   CxOrg 

  • casual
  • Group: Members
  • Posts: 62
  • Joined: 23-November 09

Posted 25 November 2012 - 07:47 PM

Adding a pm-utils hook for bluetooth to recover correctly.

Having tried a few methods it seems best to work within pm-utils to do this. The hook provided is /usr/lib64/pm-utils/sleep.d/49bluetooth this is best removed as it is actually obsolete and seems to cause the wakeup to fail in conjunction with a new hook which simply closes down bluetooth nicely and starts (re-starts) it on resume:

I've called it 03wake-bt
#!/bin/bash

. "${PM_FUNCTIONS}"

case $1 in
    hibernate|suspend)
        hciconfig hci0 down
        ;;
    thaw|resume)
        hciconfig hci0 down && hciconfig hci0 up
        ;;
    *)  exit $NA ;;
esac


Since it is not part of the distribution I've put it in /etc/pm/sleep.d/

This seems to bring back the BT by stopping and starting it.
0

#17 User is offline   daniewicz 

  • the dude abides
  • Group: Members
  • Posts: 1,897
  • Joined: 01-August 04

Posted 27 November 2012 - 03:49 AM

I admire your diligence. Thanks for documenting your efforts.
0

#18 User is offline   CxOrg 

  • casual
  • Group: Members
  • Posts: 62
  • Joined: 23-November 09

Posted 10 December 2012 - 09:18 AM

This is likely to be the last update here as I've jumped ship and gone for a more up to date KDE distro. After a bit of research I've settled for Sabayon 10 which has KDE 4.9.3 and 3.5.0 kernel. Out of the box it is optimised for AMD 64 hardware with fglrx as standard. It is based on Gentoo which is a much more "hair shirt" basic experience. Sabayon on the other hand provides all the creature comforts of a good desktop distribution.

I now have:
  • Rock solid suspend/resume
  • Generally faster/stable desktop
  • Latest versions of most applications


Small fixes were required for:
  • Added the "modules" file with only the SLEEP_MODULE="uswsusp" to secure good suspend/resume
  • Bluetooth demon not starting at login (rc-update add bluetooth default)
  • USB modeswitch tweaks for the Huawei E353 3G dongle (as for previous Mandriva fix)
  • Sound distortion problems with Skype/Pidgin/Thunderbird - Mostly good now except Skype microphone speech generates background static.
  • OpenVPN Network Manager demon not starting at login - OpenVPN now works again from Networkmanager though the networking interface info is not shown.(/usr/libexec/nm-openvpn-service then rc-update add /usr/libexec/nm-openvpn-service default)


It is best to back up everything from your home folder and allow the installer to reformat the disk. I restored key configurations such as Thunderbird mail, Mozilla Firefox, Pidgin and Skype after install to get back to my working environment more quickly.

The learning process with Mandriva has certainly helped in this move.

I considered moving to Mandriva Rosa 2012 but the release has been too slow. It may well run as well as Sabayon 10 but for now I'll stick with this flavour of Linux.

The only real adjustment is loosing the Draktools collection and having to work with a different package manager. The standard KDE control panels are mostly adequate. Package management seems less user controlled. There is obviosly much magic under the hood of Rigo the GUI package tool, but to see what is going on I find it often easier to work with "equo" from the command line. Care has to be exercised as no warning is given that removing one package may rip out essential parts of KDE!!

When I fully get to grips with the "Gentoo way" where many packages are installed from source and compiled, I may sing its praises. This is slower than pre-compiled .rpm or .deb packages. I will have to examine how the .ebuild system works. The advantage is probably that the app is built on the target machine.

This post has been edited by CxOrg: 10 December 2012 - 10:01 AM

0

#19 Guest_gRUblo_*

  • Group: Guests

Posted 29 December 2012 - 06:09 AM

Извините, что пишу на русском! Подтверждаю, что установка более свежего ядра исправит ошибку ждущего режима (suspend). У меня установлен Debian 6.0.6 amd64, kern 3.6.9, asus 1215b e-450... Всё работает просто замечательно, пользуюсь ждущим режимом (suspend) раз 5 в сутки, уже прошел месяц и ни одного сбоя при выходе из ждущего режима (suspend)... CxOrg, большое спасибо за проделанную работу!!! )))
PS. Когда было установлено ядро 3.2 ждущий режим (suspend) не работал!

Sorry to write in Russian! Certify that the installation of a more recent kernel bug fix standby (suspend). I have installed Debian 6.0.6 amd64, kern 3.6.9, asus 1215b e-450... Everything works just fine, I use standby mode (suspend) times 5 a day, a month has passed and not a single crash when resuming from standby mode (suspend)... CxOrg, many thanks for the work done! )))
PS. When it was established kernel 3.2 standby (suspend) did not work!

This post has been edited by gRUblo: 29 December 2012 - 06:10 AM

0

#20 User is offline   CxOrg 

  • casual
  • Group: Members
  • Posts: 62
  • Joined: 23-November 09

Posted 05 February 2013 - 07:47 AM

Just a note that as of updates to Sabayon 01-02-2013 to userspace the modules file is no longer required. It in fact causes shutdown and wake problems using the "uswsusp" methods apparently.
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users