Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10897 - new ppc faq item: audio cds on powerbook g4
Summary: new ppc faq item: audio cds on powerbook g4
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux PPC Installation Guide (show other bugs)
Hardware: PPC Linux
: Normal enhancement (vote)
Assignee: Rajiv Aaron Manglani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-18 02:22 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2002-11-24 00:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Aaron Manglani (RETIRED) gentoo-dev 2002-11-18 02:22:27 UTC
From: nall <nall@gentoo.org>
To: rajiv@gentoo.org
Date: 26 Oct 2002 23:12:25 -0500


here's something to add to the PPC FAQ if you think it's useful.
nall.

How do I play Audio CDs on my G4 PowerBook?
This machine has no audio connector between the CD-ROM and the soundcard.
Therefore, the audio must be read as data and then piped to the soundcard. This
is possible using xmms and the cdread plugin.

rebuild your kernel with the following options:
// In "ATA/IDE/MFM/RLL Support"
// In "IDE, ATA, and ATAPI Block Devices"
< > Include IDE/ATAPI CDROM support // turn this OFF
<M> SCSI emulation support // compile this as a module

// In "SCSI Support"
<M> SCSI support // compile this as a module
<M> SCSI CD-ROM support // compile this as a module


add append "hdX=ide-scsi" to the kernel image description(s) in /etc/yaboot.conf
NOTE: hdX is the IDE device corresponding to your cd player. (on G4 PowerBooks
this is hdc).

type mkofboot -v to install the new yaboot.conf settings

edit /etc/group add any users that should be able to play CDs to the cdrom group.

reboot -n
NOTE: this will REBOOT your system

chown root.cdrom /dev/scsi/host0/bus0/target0/lun0/cd
chmod 660 /dev/scsi/host0/bus0/target0/lun0/cd
NOTE: make sure this path matches what's present on your machine

emerge xmms xmms-cdread
to play a CD, fire up xmms and enter /dev/cdrom as the file you want to play.
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2002-11-24 00:08:29 UTC
added in cvs. thanks.