Closed inickvel closed 13 years ago
Hello. Try out r470_r420 branch:
git clone git://github.com/xonatius/samsung-backlight.git
cd samsung-backlight
git checkout r470_r420
make
sudo make install
Please send feedback about it.
Does not work.
[nick@samsung backlightfixed]$ git clone git://github.com/xonatius/samsung-backlight.git
Cloning into samsung-backlight...
remote: Counting objects: 229, done.
remote: Compressing objects: 100% (132/132), done.
remote: Total 229 (delta 139), reused 158 (delta 96)
Receiving objects: 100% (229/229), 39.70 KiB | 28 KiB/s, done.
Resolving deltas: 100% (139/139), done.
[nick@samsung backlightfixed]$ cd samsung-backlight
[nick@samsung samsung-backlight]$ dir
Makefile README samsung-backlight.c
[nick@samsung samsung-backlight]$ git checkout r470_r420
Branch r470_r420 set up to track remote branch r470_r420 from origin.
Switched to a new branch 'r470_r420'
[nick@samsung samsung-backlight]$ make
make -C /lib/modules/2.6.38-ARCH/build M=/home/nick/Downloads/backlightfixed/samsung-backlight
make[1]: Вход в каталог /usr/src/linux-2.6.38-ARCH' LD /home/nick/Downloads/backlightfixed/samsung-backlight/built-in.o CC [M] /home/nick/Downloads/backlightfixed/samsung-backlight/samsung-backlight.o Building modules, stage 2. MODPOST 1 modules CC /home/nick/Downloads/backlightfixed/samsung-backlight/samsung-backlight.mod.o LD [M] /home/nick/Downloads/backlightfixed/samsung-backlight/samsung-backlight.ko make[1]: Выход из каталога
/usr/src/linux-2.6.38-ARCH'
[nick@samsung samsung-backlight]$ sudo make install
Пароль:
mkdir -p /lib/modules/uname -r
/kernel/drivers/staging/samsung-laptop
cp samsung-backlight.ko /lib/modules/uname -r
/kernel/drivers/staging/samsung-laptop/
depmod -a
[nick@samsung samsung-backlight]$ sudo modprobe samsung-backlight
FATAL: Error inserting samsung_backlight (/lib/modules/2.6.38-ARCH/extra/samsung-backlight.ko): No such device
[nick@samsung samsung-backlight]$
dmesg: [ 833.584055] samsung_backlight: found laptop model 'R470/R420'
Its working. I just copy samsung-backlight-.ko into /lib/modules/2.6.38-ARCH/extra/ directory manually
$ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40](rev 07) 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42](rev 07) 00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43](rev 07) 00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937](rev 03) 00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938](rev 03) 00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939](rev 03) 00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c](rev 03) 00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e](rev 03) 00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940](rev 03) 00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944](rev 03) 00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946](rev 03) 00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934](rev 03) 00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935](rev 03) 00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936](rev 03) 00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a](rev 03) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448](rev 93) 00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919](rev 03) 00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929](rev 03) 00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930](rev 03) 02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR5001 Wireless Network Adapter [168c:001c](rev 01)
$dmidecode -s system-product-name R470/R420