LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-21-2007, 01:49 PM   #1
Gargle
LQ Newbie
 
Registered: Jul 2007
Distribution: Slack12
Posts: 10

Rep: Reputation: 0
Smile Screen brightness control function keys not working.


Hi all,
I bought me a new sony viao vgn-n320e laptop.
I have almost everything working beautifully and have just a few issues.
One issue is that under vista,function+alt+f4 or f5 would control the screen brightness
and under slackware 12.0, the keys simply don't work.I wondered is there some module
or driver I need to install to get this working? Or is there some script that could control
the voltage of the screen and let me control the brightness? Also the function keys for
the volume don't work.I can control the volume through alsamixer, but would like to control
it through the function keys.Or I could just add shortcuts from alsamixer onto the keys?

Thanks
 
Old 07-21-2007, 01:57 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
i don't think, that right know there is an easy solution. see http://people.freedesktop.org/~hughsient/quirk for some backgrounds.

however if you want to get your multimedia keys working http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys could be helpful.
 
Old 07-21-2007, 03:57 PM   #3
Gargle
LQ Newbie
 
Registered: Jul 2007
Distribution: Slack12
Posts: 10

Original Poster
Rep: Reputation: 0
Unhappy Screwed?

So I am screwed with getting brightness control?
I think there has to be a fix because I believe that there are other laptops that have this issue.
One thing I know that under windows, there is a utility you need to install to use the function
keys to control the brightness,volume, and whatever other function options it has. Maybe I should
download the windows utility and try to install it through wine? I wish I could fix this, because
at night you really need to lower the brightness down!
 
Old 07-21-2007, 04:34 PM   #4
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
found it:

http://tuxmobil.org/sony.html

there is a program on this site

Last edited by erklaerbaer; 07-21-2007 at 04:37 PM.
 
Old 07-21-2007, 09:02 PM   #5
Gargle
LQ Newbie
 
Registered: Jul 2007
Distribution: Slack12
Posts: 10

Original Poster
Rep: Reputation: 0
Hmm...
Maybe it's possible to get it working.
I found this http://popies.net/sonypi/
Then it said,

Code:
Module use:
-----------

In order to automatically load the sonypi module on use, you can put those
lines in your /etc/modprobe.conf file:

	alias char-major-10-250 sonypi
	options sonypi minor=250

This supposes the use of minor 250 for the sonypi device:

	# mknod /dev/sonypi c 10 250
Then it said to install spicctrl, the command line utility that
could adjust the brightness level, etc.

After that, I ran spicctrl which gave me these options.
Code:
# spicctrl 
Sony Vaio SPIC control program version 1.9, Jun 28, 2005

Usage: spicctrl [COMMAND] [OPTION]...

Commands:
        -a, --getacstatus               get AC adaptor status
        -b, --setbrightness=NUM         set lcd screen brightness (0-255)
        -B, --getbrightness             get lcd screen brightness
        -c, --getbat1capacity           get first battery capacity
        -C, --getbat2capacity           get second battery capacity
        -l, --setbluetoothpower=NUM     set bluetooth device power state (0-1)
        -L, --getbluetoothpower         get bluetooth device power state
        -p, --powerstatus               print out battery summary
        -r, --getbat1remaining          get first battery remaining capacity
        -R, --getbat2remaining          get second battery remaining capacity
        -s, --getbat1status             get first battery status
        -S, --getbat2status             get second battery status
        -f, --setfanspeed=NUM           set fan speed (0-255)
        -F, --getfanspeed               get fan speed
        -T, --gettemperature            get temperature
I ran then
Code:
spicctrl -B
and it gives me this.
Code:
# spicctrl -B
/dev/sonypi: No such file or directory
How can I fix that? I thought sonypi was installed because it came as default
with the kernel since the 2.4.7 kernel. If you guys or gals! could help me
on how to get the /dev/sonypi it would be great because this looks like
my only chance at being about to control the brightness.

Thanks again
 
Old 07-22-2007, 05:59 AM   #6
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
did you insert the module?
modprobe sonypi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VAIO VGN-S5M/S: Memory stick drive & brightness control not working on Suse 10.1 fisayo Linux - Laptop and Netbook 6 01-24-2007 11:00 AM
Function Keys Not Working... lmcilwain Fedora 2 05-27-2006 01:38 PM
Mdk10.1 official: function keys not working Sjonnie48 Mandriva 0 11-03-2005 05:07 AM
screen brightness control arunsri Slackware 4 10-20-2005 03:35 AM
Thinkpad G40 function keys not working mcquay18 Linux - Laptop and Netbook 2 08-14-2004 08:52 AM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration