Difference between revisions of "Xubuntu PPC issues"
(Filled in snd-aoa steps) |
m (→snd-aoa) |
||
Line 141: | Line 141: | ||
==Audio== | ==Audio== | ||
===snd-aoa=== | ===snd-aoa=== | ||
+ | (Source: https://wiki.ubuntu.com/PowerPCFAQ#Why_do_I_have_no_sound.3F) | ||
+ | |||
Newer systems (>2005ish?) use audio driver snd-aoa instead of snd-powermac, and it may be incorrectly blacklisted. | Newer systems (>2005ish?) use audio driver snd-aoa instead of snd-powermac, and it may be incorrectly blacklisted. | ||
Revision as of 17:23, 11 February 2013
- Plan of Action for Finalizing the Linux PPC Project
- Fleshing out the Issues Matrix
- Filling in all cells
- Linking to existing documentation
- Identifying and developing documentation and procedures for all known issues
- Validating issues identified
- Developing long-term/robust fixes over hacks
- Developing Mac Build procedures, checklists
Issue Relevance Matrix
G4 | G5 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
iBook | Powerbook | Mini | Lamp | Tower | iMac | Tower | |||||||
4,1 4,2 | other | 3,2 | 3,3
3,4 3,5 |
5,1 | 5,2 | 6,8 | 5,6 | 10,1 10,2 | |||||
Video:Rage128 | Y | - | Y | - | - | - | - | - | - | ||||
Video:Nvidia | - | - | - | - | Y | - | Y | - | - | ||||
Video:Radeon | - | Y | - | Y | - | Y | - | Y | Y | ||||
Audio:snd-aoa | Y | Y | |||||||||||
Wireless:BCM4306 | |||||||||||||
Power:Battery monitor | Y | Y | Y | Y | Y | Y | Y | Y | |||||
Power:CPU scaling/fan control | |||||||||||||
Power:Display sleep/suspend | |||||||||||||
Input:Right-click | Y | Y | Y | Y | Y | Y | Y | Y | |||||
Input:Single-touch scrolling | Y | Y | Y | Y | Y | Y | Y | Y | |||||
Input:Appletouch smoothing | Y |
Video
Rage128
(Source: https://wiki.ubuntu.com/PowerPCFAQ#ATI_Rage_128_cards)
Nvidia
(Source: https://wiki.ubuntu.com/PowerPCFAQ#Nvidia_cards, Linux_PPC_Testing#Video_Drivers_on_12.22_PowerBooks)
Goal: replace xserver-xorg-video-nv package
FOLLOWING METHOD NEEDS VALIDATION:
1) Remove existing version:
sudo apt-get purge xserver-xorg-video-nv
2) Either A) install existing package OR B) recompile
A) Install existing package
- Download pre-compiled driver
- Install it:
???
B) Recompile package
- Temporarily append 2 lines to /etc/apt/sources.list:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old sudo echo deb http://ports.ubuntu.com/ubuntu-ports/ precise universe >> /etc/apt/sources.list sudo echo deb-src http://archive.ubuntu.com/ubuntu precise universe >> /etc/apt/sources.list
- Update build tools:
sudo apt-get update sudo apt-get install build-essential fakeroot dpkg-dev
- Create source dir:
mkdir nv-build cd nv-build apt-get source xserver-xorg-video-nv
- Compile (VERIFY VERSION 2.1.17):
cd xserver-xorg-video-nv-2.1.17 sudo apt-get build-dep xserver-xorg-video-nv dpkg-buildpackage -rfakeroot -b cd .. sudo dpkg -i ./*.deb
- Restore original /etc/apt/sources.list:
sudo mv /etc/apt/sources.list.old /etc/apt/sources.list (sudo apt-get update)?
3) Remove and blacklist nouveau driver:
sudo apt-get remove xserver-xorg-video-nouveau sudo echo blacklist nouveau >> /etc/modprobe.conf
Radeon
(Source: https://wiki.ubuntu.com/PowerPCFAQ#Radeon_cards)
Audio
snd-aoa
(Source: https://wiki.ubuntu.com/PowerPCFAQ#Why_do_I_have_no_sound.3F)
Newer systems (>2005ish?) use audio driver snd-aoa instead of snd-powermac, and it may be incorrectly blacklisted.
To remove any snd-aoa* references from blacklist:
sudo sed -i .backup '/snd-aoa/d' /etc/modprobe.d/blacklist.local.conf
(Original blacklist will be saved as /etc/modprobe.d/blacklist.local.conf.backup)
Wireless
BCM4306
The BCM4306 wireless card is a known troublemaker. However, the b43
driver has vastly improved over the last couple of years and should support this chip without issue. We'll just need to add the appropriate repository. Run the following in a terminal:
sudo -i cat << EOF >> /etc/apt/sources.list.d/b43.list deb http://ports.ubuntu.com/ubuntu-ports/ precise multiverse deb-src http://ports.ubuntu.com/ubuntu-ports/ precise multiverse EOF apt-get update && apt-get purge -y bcmwl-kernel-source broadcom-sta-common broadcom-sta-source apt-get install b43-fwcutter firmware-b43-installer
And reboot the system.
Power
Battery monitor
To enable the battery monitor for the current session:
sudo modprobe pmu_battery
To enable it permanently for all sessions:
sudo echo pmu_battery >> /etc/modules
Then battery monitor should work on reboot.
CPU frequency scaling
(Source: https://wiki.ubuntu.com/PowerPCFAQ#How_can_I_use_powernowd_for_CPU_frequency_scaling.3F)
To reduce CPU power consuption in G3 and G4 laptops, replace the default 'ondemand' kernel governor with 'powernowd'. First, install the powernowd package:
sudo apt-get install laptop-detect wget -P/tmp http://ports.ubuntu.com/ubuntu-ports/pool/universe/p/powernowd/powernowd_1.00-1ubuntu5_powerpc.deb sudo dpkg -i /tmp/powernowd_1.00-1ubuntu5_powerpc.deb
The powernowd package is also available from the Ubuntu Software Center interface.
Finally, disable the ondemand governor:
sudo update-rc.d ondemand disable
Display sleep
Input Devices
Right-click emulation
Ubuntu's default right-click is F12, which is unorthodox and inconvenient. To add the customary MacOSX key control-click, edit the file /etc/default/mouseemu:
sudo nano /etc/default/mouseemu
and uncomment the line
RIGHT_CLICK="-right 29 272"
Reboot to enable the new right-click mapping.