You are not logged in.

#1 2008-04-07 06:43:48

ibendiben
Member
Registered: 2007-10-10
Posts: 519

udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

During boot when uevents is busy, the backlight or brightness is set to 100.
Is there a way I can set up udev/uevents to make this value 40?
I've looked trough a lot of files trying to locate the setting, but I didn't find anything, the udev files are binaries so I cannot find any code line in there I could change.
udevtrigger -v shows me this line:
/sys/class/backlight/acpi_video0
That is where the setting takes place I assume... But how can I change it?
Should I set up a udev rule for this? How?
100 backlight is much to bright, it hurts your eyes, I'd like to see this setting default to 40 in stead, could this be done?

How can I make the modification of:
/devices/virtual/backlight/acpi_video0/brightness
/sys/class/backlight/acpi_video0/brightness
permanent?

Hope I find any answers!
Thanks in advance...

--Ben

Offline

#2 2008-04-07 07:35:01

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

cat /etc/rc.local

...
# 6 - lets set up LCD
/bin/echo -n 50 >  /sys/class/backlight/acpi_video0/brightness
...

Zygfryd Homonto

Offline

#3 2008-04-07 10:10:23

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

zyghom wrote:

cat /etc/rc.local

...
# 6 - lets set up LCD
/bin/echo -n 50 >  /sys/class/backlight/acpi_video0/brightness
...

Not what I mean, thanks anyways
I know how to set the brightness (after boot), but there is this moment at boot, during uevents, when it's being set. I want to know how I could edit the setting there big_smile

Offline

#4 2008-04-07 10:18:40

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

if you edit files belonging to any package then you will loose it with first upgrade


Zygfryd Homonto

Offline

#5 2008-04-07 12:40:53

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

I know, but is it possible?

Offline

#6 2008-04-08 14:24:09

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

Anyone?

Offline

#7 2008-04-10 16:25:10

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

Not possible?

Offline

#8 2011-01-13 22:28:28

megawebmaster
Member
Registered: 2009-08-12
Posts: 75

Re: udev, uevents and /devices/virtual/backlight/acpi_video0/brightness

I've got the same problem on Dell 1555. I hadn't got it to some complete reinstall, because of failures with linking libraries. I haven't found solution yet... Maybe someone does?

Offline

Board footer

Powered by FluxBB