About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / powerpc / sound.txt


Based on kernel version 3.9. Page generated on 2013-05-02 23:12 EST.

1	            Information about PowerPC Sound support
2	=====================================================================
3	
4	Please mail me (Cort Dougan, cort@fsmlabs.com) if you have questions,
5	comments or corrections.
6	
7	Last Change: 6.16.99
8	
9	This just covers sound on the PReP and CHRP systems for now and later
10	will contain information on the PowerMac's.
11	
12	Sound on PReP has been tested and is working with the PowerStack and IBM
13	Power Series onboard sound systems which are based on the cs4231(2) chip.
14	The sound options when doing the make config are a bit different from
15	the default, though.
16	
17	The I/O base, irq and dma lines that you enter during the make config
18	are ignored and are set when booting according to the machine type.
19	This is so that one binary can be used for Motorola and IBM machines
20	which use different values and isn't allowed by the driver, so things
21	are hacked together in such a way as to allow this information to be
22	set automatically on boot.
23	
24	1. Motorola PowerStack PReP machines
25	
26	  Enable support for "Crystal CS4232 based (PnP) cards" and for the
27	  Microsoft Sound System.  The MSS isn't used, but some of the routines
28	  that the CS4232 driver uses are in it.
29	
30	  Although the options you set are ignored and determined automatically
31	  on boot these are included for information only:
32	
33	  (830) CS4232 audio I/O base 530, 604, E80 or F40
34	  (10) CS4232 audio IRQ 5, 7, 9, 11, 12 or 15
35	  (6) CS4232 audio DMA 0, 1 or 3
36	  (7) CS4232 second (duplex) DMA 0, 1 or 3
37	
38	  This will allow simultaneous record and playback, as 2 different dma
39	  channels are used.
40	
41	  The sound will be all left channel and very low volume since the
42	  auxiliary input isn't muted by default.  I had the changes necessary
43	  for this in the kernel but the sound driver maintainer didn't want
44	  to include them since it wasn't common in other machines.  To fix this
45	  you need to mute it using a mixer utility of some sort (if you find one
46	  please let me know) or by patching the driver yourself and recompiling.
47	
48	  There is a problem on the PowerStack 2's (PowerStack Pro's) using a
49	  different irq/drq than the kernel expects.  Unfortunately, I don't know
50	  which irq/drq it is so if anyone knows please email me.
51	
52	  Midi is not supported since the cs4232 driver doesn't support midi yet.
53	
54	2. IBM PowerPersonal PReP machines
55	
56	  I've only tested sound on the Power Personal Series of IBM workstations
57	  so if you try it on others please let me know the result.  I'm especially
58	  interested in the 43p's sound system, which I know nothing about.
59	
60	  Enable support for "Crystal CS4232 based (PnP) cards" and for the
61	  Microsoft Sound System.  The MSS isn't used, but some of the routines
62	  that the CS4232 driver uses are in it.
63	
64	  Although the options you set are ignored and determined automatically
65	  on boot these are included for information only:
66	
67	  (530) CS4232 audio I/O base 530, 604, E80 or F40
68	  (5) CS4232 audio IRQ 5, 7, 9, 11, 12 or 15
69	  (1) CS4232 audio DMA 0, 1 or 3
70	  (7) CS4232 second (duplex) DMA 0, 1 or 3
71	  (330) CS4232 MIDI I/O base 330, 370, 3B0 or 3F0
72	  (9) CS4232 MIDI IRQ 5, 7, 9, 11, 12 or 15
73	
74	  This setup does _NOT_ allow for recording yet.
75	
76	  Midi is not supported since the cs4232 driver doesn't support midi yet.
77	
78	2. IBM CHRP
79	
80	  I have only tested this on the 43P-150.  Build the kernel with the cs4232
81	  set as a module and load the module with irq=9 dma=1 dma2=2 io=0x550
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog