Comment 16 for bug 43572

Revision history for this message
In , Aaron Whitehouse (aaron-whitehouse) wrote :

Stunning - thanks for your help, Michael!

You were correct, that wasn't a root prompt and I needed to use modprobe. Doing
both of those it was reading perfectly (Battery with -b and AC with -a) but I
couldn't change the settings. I got a BIOS password error.

I usually have a primary and admin password on my BIOS and I couldn't get
libsmbios to play nice with it. I was using -p '[PASSWORD]' as a parameter and
it seemed to work ("Using [Password] as password if needed") but it just didn't
work. By removing both my Primary and Admin Passwords (just removing primary
didn't work) it is all working perfectly:

aaron@Zyanya:~$ sudo dellLcdBrightness -a -v 4
Read AC Mode Setting
    current: 7
        min: 0
        max: 7

Write AC Mode Setting
    current: 4
        min: 0
        max: 7

aaron@Zyanya:~$ sudo dellLcdBrightness -b -v 4
Read AC Mode Setting
    current: 4
        min: 0
        max: 7

Write AC Mode Setting
    current: 4
        min: 0
        max: 7