Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.

Problem with VAIO-CW2 #66

Open
ghaffarian opened this issue Dec 26, 2012 · 3 comments
Open

Problem with VAIO-CW2 #66

ghaffarian opened this issue Dec 26, 2012 · 3 comments

Comments

@ghaffarian
Copy link

I have a VAIO VPC-CW2 laptop, with Nvidia GT-320M. This module is working partially! It's never working immediately after boot-up, but sometimes specially when not plugged in to a power source, it starts working. I will be glad to help and provide more info to fix this issue. Any help is greatly appreciated.

OS = Ubuntu-12.04 (64-bit)
GPU = NVIDIA GeForce GT-320M
Laptop Model = Sony VAIO VPC-CW2
NVIDIA Driver Version = 295.40 (installed from Ubuntu repos)

@guillaumezin
Copy link
Owner

Does it work with commands like these 👍

echo 50 | sudo tee /sys/class/backlight/nvidia_backlight/brightness
echo 127 | sudo tee /sys/class/backlight/nvidia_backlight/brightness

@ghaffarian
Copy link
Author

Yes, I tested those commands and they affected the screen brightness.
So how to fix it to work with the brightness hot-keys ?!

@austin-1
Copy link

I was having this same problem, sorry nobody has answered it yet.

From my experience, I was able to adjust the brightness with the keys after I manually entered the brightness value in the terminal (but not before doing so). All you have to do is make a simple startup script that "manually" sets the brightness on boot.

To do that:

Open gedit
(assuming you want to start at level 100 or about 80%)
Copy and paste this:

#!/bin/bash
echo 100 | tee /sys/class/backlight/nvidia_backlight/brightness

Save as nvidiablset (or whatever)

Right-click on the file you just saved and go to Properties > Permissions
Check the box "Allow executing file as program"

Then open the terminal and enter these two commands:

sudo cp nvidiablset /etc/init.d/nvidiablset
sudo update-rc.d nvidiablset defaults

Then restart and you should be good to go!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants