summaryrefslogtreecommitdiffstats
path: root/Documentation/sound/CMI8338
blob: ba3ca358b339cb0b8cf4c9dac4267882aea9e940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Audio driver for CM8338/CM8738 chips by Chen-Li Tien


HARDWARE SUPPORTED
================================================================================
C-Media CMI8338
C-Media CMI8738
On-board C-Media chips


WHAT'S NEW
================================================================================

  1. Support modem interface for 8738. (select in kernel configuration)
  2. Enable S/PDIF-in to S/PDIF-out (S/PDIF loop).
  3. Enable 4 channels analog duplicate mode on 3 jack or 4 jack
     configuration.


   Be aware: C-Media Electronics Inc. is basically an IC design house,
   and whose development of software drivers is mainly for use by its OEM
   customers in their products. C-Media Electronics Inc. itself does not
   manufacture end-user products, such as PC or sound cards, so it can
   not fully control the drivers provided to consumers. Drivers provided
   at this site, therefore, MAY NOT BE APPLICABLE to all sound cards.
   Drivers you download from this site may function well at certain
   situation, but C-Media Electronics Inc. does not give any guarantee or
   assurances. Please be aware that these drivers might cause some
   technical difficulties when installed


1. Config cm8338 driver by 'make menuconfig' or 'make config' command.

2. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested.

3. Compile the kernel if necessary.

4. Compile the modules by 'make modules'.

5. Install the modules by 'make modules_install'

6. Before first time to run the driver, create module dependency by 'depmod -a'

7. To install the driver, enter 'modprobe cmpci'.


DRIVER PARAMETERS
================================================================================

  Some functions for the cm8738 can be configured in Kernel Configuration
  or modules parameters. Set these parameters to 1 to enable.

  spdif_loop:   Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
                directly.
  four_ch:      Enable 4 channels mode, rear-out or line-in will output
                the same as line-out.
  rear_out:     Enable this if you have independent rear-out jacket on
                your sound card, otherwise line-in will be used as
                rear-out.
  modem:	You will need to set this parameter if you want to use
		the HSP modem. You need install the pctel.o, the modem
		driver itself.

  (You will need to get the pctel driver (binary only) and the support for
  this option from the CMI site. It is not included in the Linux kernel 
  proper as it is non-free).