Difference between revisions of "Xubuntu PPC issues"
m (New 6,1 datum) |
m (Added Nvidia note) |
||
Line 82: | Line 82: | ||
|- | |- | ||
|| Video:[[#Nvidia|Nvidia]] | || Video:[[#Nvidia|Nvidia]] | ||
− | ||-||-||-||-||Y | + | ||-||-||-||-||[[#Nvidia12inch|Y*]]||-||Y||- ||-|| || || || |
|- | |- | ||
|| Video:[[#Radeon|Radeon]] | || Video:[[#Radeon|Radeon]] | ||
Line 163: | Line 163: | ||
sudo echo blacklist nouveau >> /etc/modprobe.conf | sudo echo blacklist nouveau >> /etc/modprobe.conf | ||
+ | <span id="Nvidia12inch">Note: certain powerbooks (all 12"?) will appear to work correctly without this change, using the default nouveau driver, but will take intolerably long (e.g 7+ minutes) to boot, leaving various nouveau-related errors in the logs (e.g. /var/log/dmesg).</span> | ||
===Radeon=== | ===Radeon=== |
Revision as of 12:57, 22 March 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
G3 | G4 | G5 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
iBook | Titanium | Powerbook (Al) | Mini | Lamp | Tower | iMac | Tower | ||||||
other | |||||||||||||
Video:Rage128 | Y | - | Y | - | - | - | - | - | - | ||||
Video:Nvidia | - | - | - | - | Y* | - | Y | - | - | ||||
Video:Radeon | - | Y | - | Y | - | Y | - | Y | Y | ||||
Audio:snd-aoa | - | Y | Y | Y | |||||||||
Audio:alsamixer | Y | ||||||||||||
Wireless:BCM4306 | Y | ||||||||||||
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 | N | 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
Note: certain powerbooks (all 12"?) will appear to work correctly without this change, using the default nouveau driver, but will take intolerably long (e.g 7+ minutes) to boot, leaving various nouveau-related errors in the logs (e.g. /var/log/dmesg).
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 comment out any snd-aoa* references from blacklist:
sudo sed -i -e "/^snd-aoa/s/^/#/" /etc/modprobe.d/blacklist.local.conf
After reboot, audio device(s) should be recognized.
alsamixer
Defaults for alsamixer are set too low, and sound seems not to work. Need to change master channel defaults?
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 this script. Wifi should then work without rebooting.
Or instead, run the following equivalent 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 to uncomment the line RIGHT_CLICK="-right 29 272":
sudo sed -i "/right 29 272/ s/^# *//" /etc/default/mouseemu
Reboot to enable the new right-click mapping.