Code: Select all
acpi_osi=linux acpi_backlight=vendor
Code: Select all
acpi_osi=linux acpi_backlight=vendor
Code: Select all
/boot/vmlinuz-3.11.0-12-generic root=UUID=(DisinclinedToType) ro quiet splash acpi_osi=linux acpi_backlight=vendor $vt_handoff
Code: Select all
acpi_listen
Code: Select all
sony/hotkey SNC 00000001 00000010
sony/hotkey SNC 00000001 0000003b
sony/hotkey SNC 00000001 00000011
sony/hotkey SNC 00000001 0000003b
Code: Select all
gksu gedit /etc/acpi/events/sony-brightness-up
Code: Select all
sudo service acpid restart
I did everything you detailed including the acpid restart (which if memory serves generated a couple of lines saying it was stopping and then starting).JeremyB wrote:Have you restarted the computer or at least restarted apcid withCan you open the files created and paste what is there? I was hoping my old Sony Vaio would have the issue with mint, no such luck, as all hotkeys worked and so did the brightnessCode: Select all
sudo service acpid restart
OK, here goes.Sgt Peppermint wrote:I did everything you detailed including the acpid restart (which if memory serves generated a couple of lines saying it was stopping and then starting).JeremyB wrote:Have you restarted the computer or at least restarted apcid withCan you open the files created and paste what is there? I was hoping my old Sony Vaio would have the issue with mint, no such luck, as all hotkeys worked and so did the brightnessCode: Select all
sudo service acpid restart
Did a reboot as well.
Will post copies of the files a little later...
Code: Select all
event=sony/hotkey SNC 00000001 00000010
action=/etc/acpi/brightdown.sh
Code: Select all
event=sony/hotkey SNC 00000001 00000011
action=/etc/acpi/brightup.sh
Code: Select all
#!/bin/bash
curr=`cat /sys/class/backlight/intel_backlight/actual_brightness`
if [ $curr -gt 11 ]; then
curr=$((curr-11));
echo $curr > /sys/class/backlight/intel_backlight/brightness;
fi
Code: Select all
#!/bin/bash
curr=`cat /sys/class/backlight/intel_backlight/actual_brightness`
if [ $curr -lt 117 ]; then
curr=$((curr+11));
echo $curr > /sys/class/backlight/intel_backlight/brightness;
fi
Does the echo > /sys/class/backlight/intel_backlight/brightness still work to change. I know you tried echo 8 before and it worked. If you go to /sys/class/backlight/intel_backlight/ in file manager you should be able to see what the current brightness and max_brightness settings are as it should be shown on the icon for the files. I am using my smartphone and dont have access to a pc with linucSgt Peppermint wrote:OK, here goes.Sgt Peppermint wrote:I did everything you detailed including the acpid restart (which if memory serves generated a couple of lines saying it was stopping and then starting).JeremyB wrote:Have you restarted the computer or at least restarted apcid withCan you open the files created and paste what is there? I was hoping my old Sony Vaio would have the issue with mint, no such luck, as all hotkeys worked and so did the brightnessCode: Select all
sudo service acpid restart
Did a reboot as well.
Will post copies of the files a little later...
/etc/acpi/events/sony-brightness-down/etc/acpi/events/sony-brightness-upCode: Select all
event=sony/hotkey SNC 00000001 00000010 action=/etc/acpi/brightdown.sh
/etc/acpi/brightdown.shCode: Select all
event=sony/hotkey SNC 00000001 00000011 action=/etc/acpi/brightup.sh
/etc/acpi/brightup.shCode: Select all
#!/bin/bash curr=`cat /sys/class/backlight/intel_backlight/actual_brightness` if [ $curr -gt 11 ]; then curr=$((curr-11)); echo $curr > /sys/class/backlight/intel_backlight/brightness; fi
As I mentioned, I copied and pasted your text so there wouldn't be any keying errors.Code: Select all
#!/bin/bash curr=`cat /sys/class/backlight/intel_backlight/actual_brightness` if [ $curr -lt 117 ]; then curr=$((curr+11)); echo $curr > /sys/class/backlight/intel_backlight/brightness; fi
Yes the echo command still works - I have it in a document on my desktop and the first thing I do when I log in is paste it into a terminal window in order to avoid eye strain. Maybe even sunburn.JeremyB wrote:Does the echo > /sys/class/backlight/intel_backlight/brightness still work to change. I know you tried echo 8 before and it worked. If you go to /sys/class/backlight/intel_backlight/ in file manager you should be able to see what the current brightness and max_brightness settings are as it should be shown on the icon for the files. I am using my smartphone and dont have access to a pc with linuc
Yes, in the grub edit linux lineSgt Peppermint wrote:Will try them later. Presumably these are all put in the same place I put the acpi... thing before?JeremyB wrote:A few more to try during boot from a backlight troubleshooting guide
Reboot with kernel parameter video.use_bios_initial_backlight=0 and make a comment on if you can now alter the backlight with hotkeys or a brightness applet.
+ * Reboot with just kernel parameter video.use_bios_initial_backlight=0 and make a comment on if you can now alter the backlight with hotkeys or a brightness applet.
+ * Reboot with just kernel parameter video.use_native_backlight=1 and and make a comment on if you can now alter the backlight with hotkeys or a brightness applet.
Another one is acpi.brightness_enable=1 acpi_backlight=vendor
You are using mint 16 mate? I tried the live dvd for 16 cinnamon on my vaio but my vaio had win vista originally.
That is for a backlit keyboards unfortunately, after trying to change the brightness trySgt Peppermint wrote:Looks like I edited my previous post whilst you were replying to it!
I'd tried the first two of those previously with no joy; tried the acpi ones just now but still all i get is the icon bar moving with no effect on the actual brightness.
In the acpi folder there is a file called asus-keyboard-backlight.sh with two associated files for light up/down in the events folder. Are they of any use? No idea where they came from - they were part of the install.
Code: Select all
cat /var/log/Xorg.0.log | tail
Code: Select all
dmesg | tail
Code: Select all
/etc/acpi/brightdown.sh
#!/bin/bash
curr=`cat /sys/class/backlight/acpi_video0/actual_brightness`
if [ $curr -gt 1 ]; then
curr=$((curr-1));
echo $curr > /sys/class/backlight/acpi_video0/brightness;
fi
Code: Select all
/etc/acpi/brightup.sh
#!/bin/bash
curr=`cat /sys/class/backlight/acpi_video0/actual_brightness`
if [ $curr -lt 10 ]; then
curr=$((curr+1));
echo $curr > /sys/class/backlight/acpi_video0/brightness;
fi
cat /var/log/Xorg.0.log | tail resulted in:JeremyB wrote:That is for a backlit keyboards unfortunately, after trying to change the brightness tryandCode: Select all
cat /var/log/Xorg.0.log | tail
to see if any errors are being generatedCode: Select all
dmesg | tail
Code: Select all
[ 254.237] (II) intel(0): EDID vendor "SEC", prod id 14657
[ 254.237] (II) intel(0): Printing DDC gathered Modelines:
[ 254.237] (II) intel(0): Modeline "1600x900"x0.0 107.62 1600 1648 1680 1888 900 902 908 950 -hsync -vsync (57.0 kHz eP)
[ 254.606] (II) intel(0): EDID vendor "SEC", prod id 14657
[ 254.606] (II) intel(0): Printing DDC gathered Modelines:
[ 254.606] (II) intel(0): Modeline "1600x900"x0.0 107.62 1600 1648 1680 1888 900 902 908 950 -hsync -vsync (57.0 kHz eP)
[ 254.859] (II) intel(0): EDID vendor "SEC", prod id 14657
[ 254.859] (II) intel(0): Printing DDC gathered Modelines:
[ 254.859] (II) intel(0): Modeline "1600x900"x0.0 107.62 1600 1648 1680 1888 900 902 908 950 -hsync -vsync (57.0 kHz eP)
[ 328.354] (II) XKB: reuse xkmfile /var/lib/xkb/server-14B7503D830F6433941F279130885A2D664E08AA.xkm
Code: Select all
[ 15.736530] ppdev: user-space parallel port driver
[ 17.056417] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.240366] r8169 0000:0e:00.0 eth0: link down
[ 17.240398] r8169 0000:0e:00.0 eth0: link down
[ 17.240428] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.240744] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 18.849466] r8169 0000:0e:00.0 eth0: link up
[ 18.849474] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 33.342510] init: anacron main process (1114) killed by TERM signal
[ 35.544468] UDF-fs: INFO Mounting volume 'Mar 02 2014', timestamp 2014/03/02 20:28 (103c)
I've edited the files and rebooted. Still struggling...JeremyB wrote:If nothing else, we can try modifying the bash scripts to use the acpi_video0 backlightand the other one changed toCode: Select all
/etc/acpi/brightdown.sh #!/bin/bash curr=`cat /sys/class/backlight/acpi_video0/actual_brightness` if [ $curr -gt 1 ]; then curr=$((curr-1)); echo $curr > /sys/class/backlight/acpi_video0/brightness; fi
Code: Select all
/etc/acpi/brightup.sh #!/bin/bash curr=`cat /sys/class/backlight/acpi_video0/actual_brightness` if [ $curr -lt 10 ]; then curr=$((curr+1)); echo $curr > /sys/class/backlight/acpi_video0/brightness; fi
Code: Select all
#!/bin/bash
max=`cat /sys/class/backlight/acpi_video0/max_brightness`
curr=`cat /sys/class/backlight/acpi_video0/actual_brightness`
if [ $curr -lt $max ]; then
curr=$((curr+1));
echo $curr > /sys/class/backlight/acpi_video0/brightness;
fi
Code: Select all
#!/bin/bash
curr=`cat /sys/class/backlight/acpi_video0/actual_brightness`
if [ $curr -gt 1 ]; then
curr=$((curr-1));
echo $curr > /sys/class/backlight/acpi_video0/brightness;
fi
Code: Select all
chmod +x brightness_up.sh
chmod +x brightness_down.sh
gksudo pluma /etc/rc.local
Code: Select all
chmod a+w /sys/class/backlight/*/brightness
Code: Select all
./brightness_down.sh
Code: Select all
./brightness_up.sh
Code: Select all
chmod a+w /sys/class/backlight/*/brightness