I have done a weeks worth of googling in an attempt to make the backlight keyword work on this. ive researched ACPI as well as the script out there for
G73 keyboard backlight scripts
http://forum.notebookreview.com/linux-compatibility-software/451594-asus-rog-g73-ubuntu-2.html
i get this error when i run the script from allurgroceries
root@jedi-debian:/home/jedi/Desktop# /etc/acpi/asus-kb-brightness-down.sh
cat: /sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/brightness: No such file or directory
/etc/acpi/asus-kb-brightness-down.sh: line 4: % 128: syntax error: operand expected (error token is "% 128")
/etc/acpi/asus-kb-brightness-down.sh: line 5: [: -gt: unary operator expected
the problem i THINK is that i dont have /sys/devices/platform/asus_laptop/leds/asus::kbd_backlight/brightness?
what can i do about it?
im running a G53SW-XN1
-
-
ALLurGroceries Vegan Vermin Super Moderator
The SW requires the newer asus-wmi driver. Those scripts are for the older asus-laptop module which uses acpi hotkeys. The ACPI hotkeys just plain don't exist with the SW bios... The last model that used acpi was the JW.
The last time I looked the backlight hotkey handler for asus-wmi didn't work yet and the patches hadn't been pulled into 3.1-rc. I just took another quick look and I couldn't find any update on the status of these patches for 3.1. See: acpi4asus - Bug #159: ASUS G73-SW Keyboard leds are not working. - dev.iksaif.net
This is the thread you need to see: http://forum.notebookreview.com/asu...3-asus-wmi-linux-driver-i-need-your-help.html
Read it backwards. -
follow instructions on how to compile my first kernal!!
now i am rebooting... i am however worried about the nvidia
root@jedi-debian:/home/jedi/Downloads# dpkg -i linux-image-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64.deb linux-headers-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64.deb
(Reading database ... 143407 files and directories currently installed.)
Preparing to replace linux-image-2.6.39-rc6 2.6.39-rc6-10.00.Custom (using linux-image-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64.deb) ...
Examining /etc/kernel/preinst.d/
Done.
Unpacking replacement linux-image-2.6.39-rc6 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
Preparing to replace linux-headers-2.6.39-rc6 2.6.39-rc6-10.00.Custom (using linux-headers-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64.deb) ...
Unpacking replacement linux-headers-2.6.39-rc6 ...
.
Setting up linux-image-2.6.39-rc6 (2.6.39-rc6-10.00.Custom) ...
Hmm. There is a symbolic link /lib/modules/2.6.39-rc6/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/2.6.39-rc6/build
Hmm. The package shipped with a symbolic link /lib/modules/2.6.39-rc6/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.39-rc6/source
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
dkms: running auto installation service for kernel 2.6.39-rc6:
nvidia (195.36.31)...failed.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
update-initramfs: Generating /boot/initrd.img-2.6.39-rc6
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-2.6.39-rc6
Found initrd image: /boot/initrd.img-2.6.39-rc6
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
Found Ubuntu 11.10 (11.10) on /dev/sda1
done
Setting up linux-headers-2.6.39-rc6 (2.6.39-rc6-10.00.Custom) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.39-rc6 /boot/vmlinuz-2.6.39-rc6
dkms: running auto installation service for kernel 2.6.39-rc6:
nvidia (195.36.31)...failed. -
it didnt let me boot..
gives me error
setpci: warning: no devices selected for "f4.b=ff".
/etc/rc.local 14: cannot create /sys/kernel/debug/asus-nb-wmi/dev_id: directory nonexistent
startpar: services returned failure: rc.local ... failed..
i have both headers and source in home/jedi/Downloads/ folder
and used command sudo dpkg -i lin*.deb -
ALLurGroceries Vegan Vermin Super Moderator
Why are you using such an old kernel?
2.6.39-rcX is earlier than the kernel your distro shipped with..
There is no need to build a kernel anyway - 11.10 shipped with the patches discussed in that thread above.
You shouldn't be using an older kernel than the distro shipped with. You can use either 3.0.5 or 3.1-rc10 (the latest rc) if you are intent on building your own. I would go with 3.1-rcX if you are going thru the effort, since it may have some updated support for your machine.
Here's my 3.1-rc10 config: config-3.1.0-rc10.txt -
hahah im such a noob!
"There is no need to build a kernel anyway - 11.10 shipped with the patches discussed in that thread above."
I ran 11.1 and the brightness was not fixed. i updated all my files that is why i tried debian.
i actually like debian a lot more than ubuntu so that is why im trying to make it work!!
now to figure out how to use 3.0.5 kernal for my debian cause it looks like im on 2.6.
how do i get the 3.1 kernal and how do i use your config file if you dont mind
downloading 3.1.0 rc10 kernals -
ALLurGroceries Vegan Vermin Super Moderator
Oh, ok. I figured you were on ubuntu for some reason. Sorry.
To get the latest kernel, you need git installed:
Code:sudo apt-get install git-core
Code:git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Code:cd linux-2.6 cp ~/Downloads/config-3.1.0-rc10.txt .config
Code:make oldconfig time fakeroot make-kpkg --initrd kernel_image kernel_headers
You might just have a problem with your /etc/rc.local from the errors, I'm not exactly sure what your previous steps were that got you here.
Anyway 2.6.39-rcX is old... don't use it. -
edit.. im following your commands!
the only thing i changed in rc.local was the
options registrydword enable brightness=1 -
ALLurGroceries Vegan Vermin Super Moderator
Hm not sure how you got there either
Try the apt-get -f install
If it wants to rip out anything besides your linux-image-3.1 package then cancel it (say N)
Where did you get that 3.1 kernel package from? -
i edited it out because i scraped them
i got them from Index of /~kernel-ppa/mainline/v3.1-rc10-oneiric
but decided against it and am following your guide.
currently cloning using git -
ALLurGroceries Vegan Vermin Super Moderator
Ah ok.
Yeah that'll take a few minutes. -
30% done lol.... ffs this wireless.
if i take your config, does it also get your applications?
will i retain compiz? should i remove compiz? haha -
ALLurGroceries Vegan Vermin Super Moderator
No the config concerns just the kernel build.
It won't affect compiz or anything.
Although I have no idea if the latest nvidia driver works on 3.1-rcX. If you didn't install the proprietary nvidia driver, it'll run fine on nouveau (the default driver).
Your graphics probably won't work on the new kernel until you get the latest installer (285.05.09) from here:
Current NVIDIA Linux graphics driver releases - nV News Forums
I wrote an extensive guide here:
http://forum.notebookreview.com/lin...rietary-nvidia-binary-blob-driver-debian.html -
you are a king among men. i took your nvidia installation advice before and will do it again! ill give you an update when i can. thank you sir!
-
ALLurGroceries Vegan Vermin Super Moderator
Alright I'll check back in a bit. The kernel build should only take you around 15 minutes.
-
root@jedi-debian:/home/jedi/Downloads/linux-2.6# time fakeroot make-kpkg --initrd kernel_image kernel_headers
/usr/bin/fakeroot: line 176: make-kpkg: command not found
real 0m0.027s
user 0m0.024s
sys 0m0.028s
it made old config which i held enter down then it went to this error -
ALLurGroceries Vegan Vermin Super Moderator
apt-get install kernel-package
-
its installing so slow, i feel like it is not using my whole cpu.
im on drivers/net -
ALLurGroceries Vegan Vermin Super Moderator
You can hit ctrl+c to cancel the build... it should not be taking that long.
Try it with 8 jobs instead:
Code:time fakeroot make-kpkg -j8 --initrd kernel_image kernel_headers
-
-j16 and im already done. restarting wish me luck!
-
nothing happened when i rebooted
-
ALLurGroceries Vegan Vermin Super Moderator
You installed the .deb packages?
-
there are 2 new .deb
this is my downloads folder.
i finished the last command you gave me and i believe that it formed
linux-headers-3.1.0-0301rc10_3.1.0-0301rc10.201110190851_all.deb
and linux-image-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb
im $ sudo dpkg -i to both the files now
linux-2.6
linux-headers-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64
linux-headers-3.1.0-0301rc10_3.1.0-0301rc10.201110190851_all.deb
linux-headers-3.1.0-0301rc10-generic_3.1.0-0301rc10.201110190851_amd64.deb
linux-headers-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb
linux-image-2.6.39-rc6_2.6.39-rc6-10.00.Custom_amd64
linux-image-3.1.0-0301rc10-generic_3.1.0-0301rc10.201110190851_amd64.deb
linux-image-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb
NVIDIA-Linux-x86_64-285.05.09.run -
ALLurGroceries Vegan Vermin Super Moderator
it's not that headers deb, it's this one:
linux-headers-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb
and
linux-image-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb -
root@jedi-debian:/home/jedi/Downloads# sudo dpkg -i linux-headers-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb
(Reading database ... 180862 files and directories currently installed.)
Preparing to replace linux-headers-3.1.0-rc10+ 3.1.0-rc10+-10.00.Custom (using linux-headers-3.1.0-rc10+_3.1.0-rc10+-10.00.Custom_amd64.deb) ...
Unpacking replacement linux-headers-3.1.0-rc10+ ...
Setting up linux-headers-3.1.0-rc10+ (3.1.0-rc10+-10.00.Custom) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.1.0-rc10+ /boot/vmlinuz-3.1.0-rc10+
dkms: running auto installation service for kernel 3.1.0-rc10+:
nvidia (195.36.31)...failed.
dkms: WARNING: linux headers are missing, which may explain the above failures.
please install the linux-headers-3.1.0-rc10+ package to fix this.
root@jedi-debian:/home/jedi/Downloads# -
ALLurGroceries Vegan Vermin Super Moderator
That's fine, you didn't uninstall your nvidia-glx package like my guide said
You don't have to, but on the next upgrade it might break.
Just make sure your nvidia installer is extracted and ready to go after your reboot. -
4 new menu items
2 are kernal panics.
2 are recovery modes
im so close! -
ALLurGroceries Vegan Vermin Super Moderator
What does it say before kernel panic... something about cannot find root?
-
ALLurGroceries Vegan Vermin Super Moderator
Double posting to get your attention (not supposed to but...)
Crap dude. You can't run linux kernel 3.0 or 3.1 on debian squeeze. Sorry about that.
You either have to upgrade to testing (wheezy) or try another distro.
It's an in-place upgrade to get to wheezy, just edit your /etc/apt/sources.list as root and change everything that says squeeze to wheezy. Then do:
apt-get update
and if that goes ok you can do the actual upgrade:
apt-get dist-upgrade
Sorry about that, I should've caught that detail earlier.
Anyway I checked all the git commits for 3.1-rc and there is nothing about asus-wmi or keyboard lights... so while you're better off than before for hardware support, it's not going to fix your main gripe.
If you get on a kernel that's 2.6.39 or newer, you can run this workaround to get the lights on:
http://forum.notebookreview.com/asu...ux-driver-i-need-your-help-5.html#post7376714 -
so do everything we did before but for 2.6.39 then run the commands on page 5 of that link?
-
ALLurGroceries Vegan Vermin Super Moderator
You can build it yourself or see the bottom of this post...
To build it yourself:
Use this tarball for 2.6.39.4 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.4.tar.bz2
You can use my config from 2.6.39 which is here:
config-3.1.0-rc10.txt
I'm not 100% sure if that will boot either, without adding backports to your sources.list. Try it and if it panics you can install what you need from backports:
Instructions
--
There is a .39 kernel in backports anyway here:
Debian -- Details of package linux-image-2.6.39-bpo.2-amd64 in squeeze-backports
So you could start from there if you wanted. Follow the instructions link above and then:
Code:apt-get -t squeeze-backports install linux-image-2.6.39-bpo.2-amd64 linux-headers-2.6.39-bpo.2-amd64
-
Hey,
Does anyone have problems with keyboard under Linux?
I am using Gentoo on my G53SW and tried whole bunch of kernels and the laptop PS/2 keyboard is not detected at boot time.
Usually I have to reboot like 10 times till the keyboard is detected, or plug in external USB keyboard.
ASUS rog G53 with Ubuntu 11,10 AND Debian 6.0.3
Discussion in 'Linux Compatibility and Software' started by entropy101, Oct 19, 2011.