Professional Documents
Culture Documents
PPC Luddite
Those who are late do not get fruit cup.
T h u r s d a y, A u g u s t 1 3 , 2 0 1 5
Following up on my last post where I mentioned compiling a custom kernel to test sound
patches, I can report the patches worked and those of you who have been suffering from that
nasty soundcard detection failure will have restored sound in, I believe, the 4.2 kernel.
However, if you don't want to wait that long, I'm making available the patched Jessie kernel I
compiled on my Sawtooth (download link at bottom).
Actually, the first kernel I compiled was on my G3 iBook, but I compiled it without Altivec
instructions, so that would be kind of useless to G4 owners. So I compiled another one on the
Sawtooth (I didn't want to risk melting my iBook again), and it works fine on all three systems
I've tried it on (G3 iBook, G4 Sawtooth, and G4 Powerbook). It's compiled with all the stock
options; the only modifications are the two patches, this one applied on top of this one, that
fix the sound bug.
So after you download it, open a terminal and use the cd command to change to your
downloads directory:
cd ~/Downloads
Then edit /etc/yaboot.conf, adding this kernel entry on top of the others:
image=/boot/vmlinux.soundfix
label=soundfix
read-only
initrd=/boot/initrd.img.soundfix
Listing it first will keep it as your default kernel even after a software update installs a newer
1 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
kernel. Conversely, if you're through with it being your default, list it somewhere other than
first. As always when changing yaboot.conf, run sudo ybin -v to update the configuration.
Now using this very unofficial kernel brings up thorny security issues: how can you trust it, how
do you know it doesn't have malicious code, etc. However, in the years I've written this blog, I
think I've established that
http://www.mediafire.com/download/cj8h2h4dybg2otm/linux-image-3.16.7-ckt11-
soundfix_1.0_powerpc.deb
sha256: f489a9d2c617fa803bbe44c7913a4540b1705ab3e6da6b149559bddcb3b508ff
Dan at 8:17 AM
Share
32 comments:
Replies
2 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
Juggling 3 OS in my life (OpenBSD, Linux and Mac OS) is hard when one keeps calling
me in my nerd brain. I imagine it's because I know Linux the least of the three, and
want to correct that.
Reply
Replies
initrd.img-linux-image-3.16.7-ckt11-soundfix
and
vmlinux-linux-image-3.16.7-ckt11-soundfix
inside it?
If all those answers are yes, maybe something went wrong with the symlinking. The
symlinks aren't required. You could just put the full filenames in your yaboot entry:
image=/boot/vmlinux-linux-image-3.16.7-ckt11-soundfix
label=soundfix
read-only
initrd=/boot/initrd.img-linux-image-3.16.7-ckt11-soundfix
Did you remember to run sudo ybin -v after editing yaboot.conf? That's a step I often
forget myself.
If the files mentioned above aren't in your /boot directory, then something went wrong
with the dpkg installation.
3 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
If the "soundfix" label doesn't show up when you press tab at the yaboot prompt, then
it means something is misconfigured in yaboot.conf or you didn't run ybin again after
editing it.
Reply
I had a problem very simular to that of Anonymous. Thanks to some of your thoughts, I was able
to puzzle it out, and now have Debian 8.2 with sound on my Powerbook G4 Titanium!
Yep, I did suspect a symlink problem, so I tried simply placing the full
"image=/boot/vmlinux-linux-image-3.16.7-ckt11-soundfix" (and the rest) in my yaboot.conf. No
luck. I still got "no such" response when I typed soundfix in at the second yaboot prompt , though
"soundfix" was clearly listed.
Your suggestion to Anonymous to check the /boot directory to make sure that
"image=/boot/vmlinux-linux-image-3.16.7-ckt11-soundfix" and
vmlinux-linux-image-3.16.7-ckt11-soundfix
were present led me to the solution. My eye had fooled me. I ALMOST had those files, but in a
slightly different form, in my /boot directory.
4 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
So, when I copied THOSE full filemanes into my yaboot.conf file, faithfully followed by ybin -v,
everything worked.
Without your suggestion to check the /boot directory, never would have figured it out. Your work
has made a major difference for me in getting this old Powerbook up and running, so thank you.
Reply
Replies
Reply
Replies
https://wiki.debian.org/PowerPC/FAQ#Why_doesn.27t_my_sound_work.3F
Reply
Replies
5 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
The lockup problems have to do with KMS, which isn't enabled by default on
MintPPC11.
Reply
Replies
http://lxr.free-electrons.com/source/sound/ppc/keywest.c?v=4.2
Did you try running "sudo modprobe snd-aoa-i2sbus" to get alsamixer to load?
I tried "sudo modprobe snd-aoa-i2sbus" as you suggested - but nothing happens after
enter it..
when I "aplay -l" I still have no soundcard found. "uname -a" states: "Debian 4.3.3-5
bpo 8+1 (2016-01-07)
I *believe* (though I'm not certain) Powermac Snapper cards use the snd-powermac
6 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
module. If alsamixer still won't open, you can confirm the module is loaded by running
lsmod and looking for snd-powermac on the list. If it's not there, you can manually
load it with the modprobe command or add snd-powermac into /etc/modules to have
it load on boot.
If on the other hand you need all the snd-aoa-* modules, double check they aren't
blacklisted.
In any event, anytime I could see "Powermac Snapper", all I had to do was open
alsamixer and turn up the volume and PCM level to 75% because they were muted by
default for some reason.
alsamixer opens all the time, if I type 'alsamixer'. But now it contains Powermac
Snapper in the soundcard section and it looks allright to me. Also got headphones,
mic, pcm, and so on. Master volume is not muted (it displays some green '00' instead of
'MM'. But I never touched the PCM volume (it it turned down to zero) I´ll give that a
try, later on. Thanks for helping me out :)
Reply
7 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
At first, i wanto to congratulate you for this great blog. Help me a lot to learn debian, not just
for powerpc machines.
Then i install Whezzy, that works much better. Mouse not "laging" and the laptop not so hot.
Some problem with graphics that i resolved installing your custom kernel. But, not sound!
Any idea what can be?
Agustin
Reply
Replies
There's some extra troubleshooting stuff at the Debian PowerPC FAQ. There's an entry
for sound, another for cpu frequency scaling which might help with the heat, and one
for multi-touch gestures which use the Synaptics driver to improve mouse
performance.
If you have an aluminum Powerbook, you might want to look at the entry "Why are my
laptop's fans in overdrive when I have nothing running?" That also deals with heat
issues.
Reply
8 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
(Lese Datenbank ... 195549 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von linux-image-3.16.7-ckt11-soundfix_1.0_powerpc.deb ...
Examining /etc/kernel/preinst.d/
Done.
Entpacken von linux-image-3.16.7-ckt11-soundfix (1.0) über (1.0) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.7-ckt11-soundfix /boot/vmlinux-
3.16.7-ckt11-soundfix
linux-image-3.16.7-ckt11-soundfix (1.0) wird eingerichtet ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.7-ckt11-soundfix
/boot/vmlinux-3.16.7-ckt11-soundfix
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.7-ckt11-soundfix
/boot/vmlinux-3.16.7-ckt11-soundfix
update-initramfs: Generating /boot/initrd.img-3.16.7-ckt11-soundfix
Consequently my G5 do not boot but runs into open firmware and stops.
Any suggestions?
Reply
Replies
9 di 10 06/05/23, 14:07
PPC Luddite: Debian Kernel With Sound Fix http://ppcluddite.blogspot.com/2015/08/debian-kernel-with-sound-fix...
Oh, right. If you enable Jessie-backports, you can install kernel 4.7:
https://packages.debian.org/jessie-backports/linux-image-4.7.0-0.bpo.1-powerpc
Reply
Enter Comment
‹ Home ›
View web version
Powered by Blogger.
10 di 10 06/05/23, 14:07