http://bugzilla.kernel.org/show_bug.cgi?id=13121





--- Comment #64 from Alain Tavan <alai...@gmail.com>  2009-08-03 06:31:57 ---
i don't now if i did things right (i don't want to compile the complete kernel,
so i simply modify the video.c file)
i applied the patch on comment 41
also changed the name of the author (to see if the new driver is loaded)
saved
in the directory "/usr/src/linux-source-2.6.31/drivers/acpi/"
i moved the Makefile to Makefile.old

and created a new one with following content


obj-m += video.o

all:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean



then i did a make in the /usr/src/linux-source-2.6.31/drivers/acpi/ directory
(to only build the video.ko driver)


i copy video.ko in /lib/modules/2.6.31-4-generic/kernel/drivers/acpi/ (insmod
is not working because driver is in use)

i reboot and checked if the driver changed with modinfo video
the author name changed (so i guess i'm with the modified driver)

cat /proc/acpi/video/*/*/brightness
<not supported>
<not supported>
<not supported>
<not supported>
<not supported>
r...@ubuntu:/home/alain# echo 3 > /sys/backlight/acpi_video0/brightness
bash: /sys/backlight/acpi_video0/brightness: No such file or directory
r...@ubuntu:/home/alain# cat /proc/acpi/video/*/*/brightness
<not supported>
<not supported>
<not supported>
<not supported>
<not supported>

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to