I've been following this blog for a long time and it seems very good to me, so I decided to put this solution here since I bought this laptop and I found those problems in it when installing Ubuntu 12.04 y Linux Mint 14 I would appreciate the corrections since I am a very newbie in terms of doing tutorials.
Next I will show you how to solve the problems that the Lenovo G480 has with Red wireless and ethernet and for the brightness to work
1-Ethernet solution
First of all we enter our BIOS and put in off the UEFI. Since we are not connected to any network we download this package (build-essential: http://packages.ubuntu.com/precise/build-essential) and then install it on our laptop. In Ubuntu 12.04 it asks us for dependencies dpkg-dev, g ++, gcc, libc6-dev or libc-dev and make. In Linux Mint 14 it does not ask for this after the build-essential package is already installed since we have this installed we proceed to install the following package
Installation is simple. We open a terminal and put:
$ cd Desktop
$ tar -xf compat-wireless-3.5.1-1-snpc.tar.bz2
$ cd compat-wireless-3.5.1-1-snpc
$ ./scripts/driver-select alx
$ make
$ sudo make install
$ sudo modprobe alx
already having this we can connect our network cable without any problem
For Linux Mint 14 the connection by wireless it is only to enter Software Sources and install the proprietary driver. For Ubuntu 12.04 we will do it by terminal with the following:
We check that our card is the Broadcom 14e4: 4727 for that we put the following in the terminal
lspci -nn | grep 0280
Having this, what remains to be done is to place the following:
sudo apt-get install --reinstall bcmwl-kernel-source
and ready we will have wireless connection.
And finally the brightness, for this we enter the file of our grub
sudo gedit /etc/default/grub
sudo nano /etc/default/grub
With either of the two, enter the file
We look for the line that says:
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”
and under it we place the following
GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor"
We update our Grub
sudo update-grub
And in the next we can regulate the brightness of our laptop.
Excellent tutorial for those who present the problem, I congratulate you.
Thanks So and So aka. Dante hehe. Very very good tutor, keep writing.
Very good. If in the end I buy a Lenovo or not 😀
Well yes, when they come standard with Debian or Arch
It's not bad at all!
Regards!
The contribution is appreciated sir, thank you very much, I kept posting 😉
Very good, but if you checked the punctuation it would be more comfortable to read.
And won't it work with the latest version? http://www.orbit-lab.org/kernel/compat-wireless-3.0-stable/v3.6/compat-wireless-3.6.8-1-snpc.tar.bz2
Hello and continuing with this machine and using Ubuntu 12.10 to set the default brightness every time the Lenovo G480 64-bit machine with Intel is turned on, it goes like this
ubuntu 12.10
to set default brightness, on a Lenovo G480 laptop with 64bit intel
enter as root or superuser and write
sudo gedit /etc/rc.local
and just before exit 0
you put the following
echo 652> / sys / class / backlight / intel_backlight / brightness
652 is the level that I set to start with that brightness level because the brightness level with Intel goes from 0 to 4437 this is set before exit 0
save and restart.
this is the path I use on this laptop that has intel
sys / class / backlight / intel_backlight / brightness
thanks gnu / linux
and I wonder, and in fedora how will it be because until now I can't control the brightness of the screen using this same laptop, well if I get the brightness to work but after some reboots it doesn't work anymore and it doesn't control the brightness, some help please in this matter.
Hello desde linux As always, it is a pleasure to be able to write to you.
I have a problem with my Thinpad t410 I have a first generation core i5 vPro processor, 8 hyperx ram at 1600 ghz and a 900gb adata sx250 SSD, well it runs that it is scary I install linux mint xfce and it turns on in 4 seconds. I already did everything I found in the blogs from activating trim with fstab, using partition in ext4, passing the temporary files to the ram and passing the swappiness to 10. but nothing every certain time gives me failure in the dryers when checking in SMART TEST I get flaws in the ECC. Well for now I only use the windows partition because it does not give me errors.
Hi friend Gibran, I don't understand your problem, what do you want to do?
Hello, thank you very much for the instructions. Maybe you can help me when installing compat-wireless-3.5.1-1-snpc. I unzip the folder, run "./scripts/driver-select alx" and then "make" and here is the problem:
«Make -C /lib/modules/3.8.0-27-generic/build M = / home / russian / compat-wireless-3.5.1-1-snpc modules
make [1]: enter the directory "/usr/src/linux-headers-3.8.0-27-generic"
CC [M] /home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.o
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c: In the 'alx_hw_printk' function:
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:124:3: error: implicit declaration of function '__netdev_printk' [-Werror = implicit -function-declaration]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c: On the main level:
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1955:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alx_init_adapter_special'
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:2010:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alx_init_adapter'
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3472:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alx_init'
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3780:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'alx_remove'
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3903:17: error: 'alx_init' was not declared here (not in a function)
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:2: error: implicit declaration of function '__devexit_p' [-Werror = implicit -function-declaration]
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3904:29: error: 'alx_remove' was not declared here (not in a function)
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:135:12: warning: 'alx_validate_mac_addr' is defined but [-Wunused- is not used function]
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:210:12: warning: 'alx_init_hw_callbacks' is defined but [-Wunused- is not used function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1698:12: warning: define 'alx_alloc_all_rtx_queue' but not use [-Wunused- function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1757:13: warning: define 'alx_free_all_rtx_queue' but not use [-Wunused- function]
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1773:12: warning: 'alx_set_interrupt_param' is defined but [-Wunused- is not used function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1824:13: warning: 'alx_reset_interrupt_param' is defined but [-Wunused- is not used function]
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1914:12: warning: 'alx_set_interrupt_mode' is defined but [-Wunused- is not used function]
/home/russian/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:1941:13: warning: 'alx_reset_interrupt_mode' is defined but [-Wunused- is not used function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:2125:12: notice: 'alx_set_register_info_special' is defined but [-Wunused- is not used function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3043:13: warning: 'alx_timer_routine' is defined but [-Wunused- is not used function]
/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.c:3064:13: warning: 'alx_task_routine' is defined but [-Wunused- is not used function]
cc1: some warnings are treated as errors
make [4]: *** [/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx/alx_main.o] Error 1
make [3]: *** [/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros/alx] Error 2
make [2]: *** [/home/ruso/compat-wireless-3.5.1-1-snpc/drivers/net/ethernet/atheros] Error 2
make [1]: *** [_module_ / home / russian / compat-wireless-3.5.1-1-snpc] Error 2
make [1]: exits the directory "/usr/src/linux-headers-3.8.0-27-generic"
make: *** [modules] Error 2 ″
I have followed the instructions in these forums: http://www.forosuse.org/forosuse/showthread.php?t=29916 y http://www.chakra-project.org/bbs/viewtopic.php?id=10514
But I don't really understand how to access the error; I've been looking at the file "alx_main, c" but I don't understand anything. Excuse my ignorance, I am really a linux newbie. I am using linux mint 15 on a Lenovo G480.
From already thank you very much. Regards.
When I get these errors I give them permissions to the folder where the files are contained
how did you install ubuntu on your lenovo?