If you have HP G7061EO laptop that has Atheros AR5007 (AR242x) wireless network adapter follow this procedure to make it work in Ubuntu Hardy 8.04
This is for i386 users. I’m repeating that because you might end up messing your system badly if you have 64bit installation.
- First go to System–>Administration–>Hardware Drivers and disable both selections having Atheros in their description
- Atheros Hardware Access Layer (Hal)
- Atheros driver..
- Then Reboot your system.
Preparing your system
$ sudo apt-get install build-essential
- Then open the terminal from Applications–>Accessories–>Terminal and issue/copy the following commands
$ wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
$ tar xfz madwifi-ng-r2756+ar5007.tar.gz
$ cd madwifi-ng-r2756+ar5007
$ make
$ sudo make install
$ sudo modprobe ath_pci
$ sudo reboot
That’s it! Now your wireless connection should work.
Webcam works out of the box. To test it, give the following command:
$ sudo apt-get install cheese
Cheese program should appear after installation in “start” -> “graphics”.
4.08.2008 at 10:46 |
Hi!
Thanks for a nice guide
Did you get the wireless button and the brightness control working too?
4.08.2008 at 10:54 |
Hi Gustav,
Didn’t bother to dip my head on the issue with the wireless de/activation-button, as it’s not that important anyway. The chip won’t draw so much power anyway
Brightness control is still on the list, trying to figure it out. I’ll make a separate post with the little issues in future.
Thanks for your reply!
4.08.2008 at 11:11 |
I’m now able to control the brightness by keyboard.
I just edited /etc/acpi/video_brightnessup.sh:
#!/bin/bash
CURRENT=$(grep “current:” /proc/acpi/video/OVGA/DD03/brightness |awk ‘{print $2}’)
case “$CURRENT” in
100)
echo -n 100 > /proc/acpi/video/OVGA/DD03/brightness;
;;
90)
echo -n 100 > /proc/acpi/video/OVGA/DD03/brightness;
;;
80)
echo -n 90 > /proc/acpi/video/OVGA/DD03/brightness;
;;
70)
echo -n 80 > /proc/acpi/video/OVGA/DD03/brightness;
;;
60)
echo -n 70 > /proc/acpi/video/OVGA/DD03/brightness;
;;
50)
echo -n 60 > /proc/acpi/video/OVGA/DD03/brightness;
;;
40)
echo -n 50 > /proc/acpi/video/OVGA/DD03/brightness;
;;
30)
echo -n 40 > /proc/acpi/video/OVGA/DD03/brightness;
;;
20)
echo -n 30 > /proc/acpi/video/OVGA/DD03/brightness;
;;
10)
echo -n 20 > /proc/acpi/video/OVGA/DD03/brightness;
;;
0)
echo -n 10 > /proc/acpi/video/OVGA/DD03/brightness;
;;
*)
echo -n 100 > /proc/acpi/video/OVGA/DD03/brightness ;
;;
esac
And the /etc/acpi/video_brightnessdown:
#!/bin/bash
CURRENT=$(grep “current:” /proc/acpi/video/OVGA/DD03/brightness |awk ‘{print $2}’)
case “$CURRENT” in
0)
echo -n 0 > /proc/acpi/video/OVGA/DD03/brightness;
;;
10)
echo -n 0 > /proc/acpi/video/OVGA/DD03/brightness;
;;
20)
echo -n 10 > /proc/acpi/video/OVGA/DD03/brightness;
;;
30)
echo -n 20 > /proc/acpi/video/OVGA/DD03/brightness;
;;
40)
echo -n 30 > /proc/acpi/video/OVGA/DD03/brightness;
;;
50)
echo -n 40 > /proc/acpi/video/OVGA/DD03/brightness;
;;
60)
echo -n 50 > /proc/acpi/video/OVGA/DD03/brightness;
;;
70)
echo -n 60 > /proc/acpi/video/OVGA/DD03/brightness;
;;
80)
echo -n 70 > /proc/acpi/video/OVGA/DD03/brightness;
;;
90)
echo -n 80 > /proc/acpi/video/OVGA/DD03/brightness;
;;
100)
echo -n 90 > /proc/acpi/video/OVGA/DD03/brightness;
;;
*)
echo -n 50 > /proc/acpi/video/OVGA/DD03/brightness ;
;;
esac
But I’m still not able to control it from GNOME.
17.08.2008 at 7:13 |
Your blog is interesting!
Keep up the good work!