UbuntuIRC / 2008 /01 /30 /#ubuntu-classroom.txt
niansa
Initial commit
4aa5fce
[10:53] <zLoSteR> hi
[10:53] <zLoSteR> i need little help
[10:56] <Kirrus> Hi zLoSteR
[10:56] <Kirrus> !ask
[10:56] <ubotu> Please don't ask to ask a question, ask the question (all on ONE line, so others can read and follow it easily). If anyone knows the answer they will most likely answer. :-)
[10:56] <Kirrus> !support
[10:56] <ubotu> the official ubuntu support channel is #ubuntu. Also see http://ubuntu.com/support and http://ubuntuforums.org
[10:57] <Kirrus> I'd reccomend you go to #ubuntu, as this channel is not used whilst there are no scheduled sessions active.
=== nalioth__ is now known as nalioth
=== \sh_away is now known as \sh
=== txwikinger2 is now known as txwikinger
=== \sh is now known as \sh_away
=== \sh_away is now known as \sh
[20:32] <drgonzo00000> hey
[20:33] <Jordan_U> drgonzo00000, The misleading part is that you have to remember that it is the shell which writes to the file when you use '>' and the shell is still running as "you", not root
[20:33] <drgonzo00000> I'm the only user. Shouldn't I be root by default?
[20:33] <Jordan_U> drgonzo00000, so even though you are running "echo" as root you are not writing to the file as root
[20:34] <drgonzo00000> okay
[20:34] <Jordan_U> Most definitely not :) ( That is the main reason XP and below is so insecure )
[20:34] <drgonzo00000> so how do i become root
[20:34] <drgonzo00000> use the su command?
[20:35] <Jordan_U> drgonzo00000, You don't need to, the standard solution is to pipe the output to "tee" and have it write to the file
[20:35] <drgonzo00000> so how would it look
[20:35] <Jordan_U> so you would run something like: echo "whatever" | sudo tee /path/to/file
[20:36] <Jordan_U> That will also print whatever you are echoing to the terminal BTW
[20:36] <drgonzo00000> echo 22 > | sudo tee /proc/acpi/video/VGA/LCD/brightness
[20:36] <drgonzo00000> ?
[20:36] <Jordan_U> Looks correct to me
[20:36] <Jordan_U> Wait , no
[20:36] <drgonzo00000> let me try it
[20:36] <drgonzo00000> nm
[20:37] <Jordan_U> drgonzo00000, Get rid of the '>'
[20:37] <drgonzo00000> okay
[20:37] <drgonzo00000> is that because it is redundant
[20:37] <drgonzo00000> because the pipe command takes the place of it?
[20:38] <Jordan_U> drgonzo00000, it's because '>' is what you use to tell the shell to write to a file, but instead you want the shell to pass the output to 'tee'
[20:39] <drgonzo00000> it's still not adjusting my brightness
[20:39] <drgonzo00000> it just prints the # after i try it
[20:40] <Jordan_U> drgonzo00000, What do you mean by your last comment?
[20:40] <drgonzo00000> echo 22 | sudo tee /proc/acpi/video/VGA/LCD/brightness
[20:40] <drgonzo00000> next line: 22
[20:40] <drgonzo00000> and I'm back at the prompt
[20:41] <drgonzo00000> and my brightness is not adjusted
[20:42] <Jordan_U> That is normal, it means that the file was written to successfully ( though unfortunately writing to that file does not change your brightness apparently :( )
[20:42] <drgonzo00000> any other suggestions?
[20:43] <drgonzo00000> the brightness applet slides, but also that doesn't adjust my brightness either
[20:43] <Jordan_U> DreamThief, What model laptop ( I assume this is a laptop, correct ? )
[20:46] <Jordan_U> drgonzo00000, ^^ ( used wrong nick )
[20:47] <drgonzo00000> i have a Toshiba A215-S5818
[20:47] <drgonzo00000> with a Radeon x1200 card
[20:55] <drgonzo00000> it wouldn't be a big deal if my battery lasted more than 2.5 hours, but unfortunately it doesn't
[21:00] <drgonzo00000> Jordan_U: any suggestions?
[21:01] <Jordan_U> !info fnfxd | drgonzo00000 possibly this
[21:01] <ubotu> drgonzo00000 possibly this: fnfxd (source: fnfx): ACPI and hotkey daemon for Toshiba laptops. In component universe, is optional. Version 0.3-12ubuntu2 (gutsy), package size 20 kB, installed size 128 kB (Only available for i386)
[21:01] <Jordan_U> drgonzo00000, BTW, I was just about to say that, without you prompting me :)
[21:02] <drgonzo00000> unfortunately, I've already looked into that program. It won't run on my computer because I have the Phoenix bios instead of the Toshiba bios
[21:03] <Jordan_U> drgonzo00000, I was afraid you would say that
[21:03] <drgonzo00000> yep
[21:03] <drgonzo00000> it's quite an unfortunate situation
[21:04] <Jordan_U> drgonzo00000, Do you have the latest BIOS update?
[21:04] <drgonzo00000> yep
[21:05] <Jordan_U> drgonzo00000, Have you read the exact same page I have :)
[21:05] <Jordan_U> http://slu.ms/articles/toshiba-linux-and-lcd-brightness-2
[21:06] <drgonzo00000> I have looked at that page actually
[21:07] <Jordan_U> drgonzo00000, Have you tried the "Vista specific" updates if there are any?
[21:07] <drgonzo00000> My computer was updated before I got rid of Vista
[21:08] <Jordan_U> drgonzo00000, My guess is that they had a driver hack around a bad ACPI implementation and that the reason it worked for that person in Linux after the update is that they got *some* sense and fixed their ACPI implementation rather than porting their hack to Vista
[21:09] <drgonzo00000> that would make sense
[21:12] <drgonzo00000> it was posted a year ago though so I should have gotten the update as well being that I just bought my laptop about a month ago
[21:14] <Jordan_U> drgonzo00000, Did brightness work in Vista for you?
[21:14] <drgonzo00000> not sure...only kept vista for 3 days
[21:18] <drgonzo00000> Jordan_U: thanks for trying to help me
[21:19] <drgonzo00000> I gotta go write an essay now
=== \sh is now known as \sh_away
=== _bigon is now known as bigon