Linux newbie asks about sonypi on laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Collins Richey wrote:

>On 7/30/05, Ralph Loizzo <ralphloizzo@xxxxxxxxxxxxx> wrote:
>  
>
>>Okay.  I've been able to set my laptop's screen brighter by working with
>>the program spicctrl and the sonypi device.
>>
>>But everytime I boot, I login under my username then have to do the
>>following every time...
>>First I go into the bash terminal, then su because I can't do this under
>>my login name
>>
>>mknod /dev/sonypi c 10 250  #because sonypi is not listed in /dev - it
>>disappears everytime I shut down
>>
>>then I type
>>
>>chmod o+w sonypi #because I want to be able under my login name, not
>>root, to set the brightness
>>
>>then i exit su
>>
>>and type spicctrl --setbrightness=150
>>
>>and it works...
>>
>>    
>>
>
>As the following post indicated, you need to learn more about udev and
>how to setup devices using udev.
>
>However, as a workaround, your can put the commands you have to issue
>manually in /etc/rc.d/rc.local and they will be issued each time you
>boot.  Be aware:
>
>1. You don't need sudo for commands in rc.local.
>2. you need to code the absolute pathname to each command.
>
>Try it, and you can forget about the problem until you learn a lot
>more about udev.
>
>  
>
Well I went ahead and changed rc.local instead of rc.sysinit (which i 
had tried before)
and it worked!

I will investigate udev at a later time, but at least now I can see my 
screen!

Thanks to you Collins and also to Shawn

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux