Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

dimming on ubuntu

  • 09-05-2013 10:05AM
    #1
    Registered Users, Registered Users 2 Posts: 156 ✭✭


    Every time I turn Ubuntu on after it has been suspended the screen is very dim.
    I have created a script to run on start up sudo setpci -s 00:02.0 F4.B= ??, the ?? being a hex number between 00 anf ff to solve it on start up, but it reverts back to the very low dim when I turn on after it is suspended.

    Its an Acer 5738z here is the lspci output

    @Acer-5738:~$ sudo lspci
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
    00:1f.2 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    00:1f.5 IDE interface: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 2 port SATA Controller [IDE mode] (rev 03)
    02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
    04:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)


    any help would be greatly appreciated, I know I can just run this command in terminal every time I turn it back on but there must be an easier way. The GUI for the dimming isn't work at all. When I use the Fn key and the screen dimming arrows that doesn't work either.


Comments

  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    What version of Ubuntu?


  • Registered Users, Registered Users 2 Posts: 156 ✭✭fear corcaigh


    13:4 only happened after update lastweek


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Thats been filed as a bug a few times. Are you using the mainline kernel?


  • Registered Users, Registered Users 2 Posts: 156 ✭✭fear corcaigh


    I am only a newbie really, teaching myself for the last 6 months, not sure what kernel i am using,
    uname -a output here

    Linux Acer-5738 3.8.0-20-generic #31-Ubuntu SMP Mon May 6 17:03:18 UTC 2013 i686 i686 i686 GNU/Linux

    would you recommend using mainline kernal


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Going by this bug report, they suggested going with the mainline kernel which is 3.9, you have 3.8.

    That advice seemed to work for that bug submitter.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 156 ✭✭fear corcaigh


    This didn't solve the problem, can I put my command into a file that is executed when I wake the machine up after its suspended.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Yes, you can place it in /etc/pm/sleep.d and it will be executed on resume.


  • Registered Users, Registered Users 2 Posts: 654 ✭✭✭Wcool


    This might also work for your laptop:

    http://www.reddit.com/r/chrubuntu/comments/1crefd/how_to_get_shortcut_keys_to_work_on_chrubuntu/

    It uses a program called xdotool, maybe you can run that at the right moment


  • Registered Users, Registered Users 2 Posts: 156 ✭✭fear corcaigh


    Problem solved, thanks for the replies and help.

    I installed mainline kernel, sudo apt-get update && sudo apt-get dist-upgrade.
    Even using the Fn key and the arrow keys will adjust the brightness now.


  • Registered Users, Registered Users 2 Posts: 955 ✭✭✭Scruffles


    Problem solved, thanks for the replies and help.

    I installed mainline kernel, sudo apt-get update && sudo apt-get dist-upgrade.
    Even using the Fn key and the arrow keys will adjust the brightness now.
    the function/fn key plus arrows is the standard increase/decrease brightness for acer laptops,am using a acer ferrari 200,with kali linux from a usb stick right now and have the latest ubuntu installed on the HDD in a true crypt partition but do think have got the same dim screen bug issue with ubuntu,pain in the backside sometimes as updating the distro or kernel can cause a failiure to boot if it doesnt agree with the current install.


  • Advertisement
Advertisement