Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ac97 [2014/06/15 10:14]
ac97 [2022/04/16 12:22] (current)
Line 1: Line 1:
 +==== 0000:00:1f.5 [[Multimedia audio controller]]: [[Intel]] Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02) ====
  
 +  root@ubuntu:~ # uname -a
 +  Linux ubuntu 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux
 +
 +  root@ubuntu:~ # lspci
 +  ...
 +  0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
 +  ...
 +  root@ubuntu:~ # lspci -n
 +  ...
 +  0000:00:1f.5 0401: 8086:24d5 (rev 02)
 +  ...
 +
 +It seems that SPDIF output is not working on ubuntu hoary while it did on [[Ubuntu]] warty ?
 +
 +  * http://opensrc.org/alsa/index.php?page=intel8x0
 +  * http://alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&card=i820&chip=i820&module=intel8x0
 +  * http://www.xy1.org/debian-user@lists.debian.org/msg28073.html
 +  * http://www.linuxquestions.org/questions/history/270323
 +
 +  modprobe snd_intel8x0
 +
 +  root@ubuntu:~ # cat /proc/asound/version
 +  Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
 +  Compiled on Apr  5 2005 for kernel 2.6.10-5-386.
 +
 +  root@ubuntu:~ # cat /proc/asound/oss/sndstat
 +  Sound Driver:3.8.1a-980706 (ALSA v1.0.6 emulation code)
 +  Kernel: Linux ubuntu 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686
 +  Config options: 0
 +
 +  Installed drivers:
 +  Type 10: ALSA emulation
 +
 +  Card config:
 +  Intel ICH5 with AD1985 at 0xfebff800, irq 17
 +
 +  Audio devices:
 +  0: Intel ICH5 (DUPLEX)
 +
 +  Synth devices: NOT ENABLED IN CONFIG
 +
 +  Midi devices: NOT ENABLED IN CONFIG
 +
 +  Timers:
 +  7: system timer
 +
 +  Mixers:
 +  0: Analog Devices AD1985
 +
 +  root@ubuntu:~ # cat /proc/asound/ICH5/codec97#0/ac97#0-0*
 +  0-0/0: Analog Devices AD1985
 +
 +  Revision         : 0x03
 +  Compat. Class    : 0x00
 +  Subsys. Vendor ID: 0xffff
 +  Subsys. ID       : 0xffff
 +
 +  Capabilities     : -headphone out-
 +  DAC resolution   : 20-bit
 +  ADC resolution   : 16-bit
 +  3D enhancement   : No 3D Stereo Enhancement
 +
 +  Current setup
 +  Mic gain         : +0dB [[+0dB]]
 +  POP path         : pre 3D
 +  Sim. stereo      : off
 +  3D enhancement   : off
 +  Loudness         : off
 +  Mono output      : MIX
 +  Mic select       : Mic1
 +  ADC/DAC loopback : off
 +  Double rate slots: 7/8
 +  Extended ID      : codec=0 rev=0 AMAP LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
 +  Extended status  : SPCV LDAC SDAC CDAC SPDIF=3/4 SPDIF VRA
 +  PCM front DAC    : 44100Hz
 +  PCM Surr DAC     : 44100Hz
 +  PCM LFE DAC      : 44100Hz
 +  PCM ADC          : 8000Hz
 +  SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
 +
 +                     Gain     Inverted  Buffer delay  Location
 +  Master Out       :   0.0 dBV    -      16/fs         Rear I/O Panel
 +  AUX Out          :   0.0 dBV    -      16/fs         Rear I/O Panel
 +  Center/LFE Out   :   0.0 dBV    -      16/fs         Rear I/O Panel
 +  Mic 1            :   0.0 dBV    -      16/fs         Rear I/O Panel
 +  Mic 2            :   0.0 dBV    -      16/fs         Rear I/O Panel
 +  Line In          :   0.0 dBV    -      16/fs         Rear I/O Panel
 +
 +
 +
 +  AD18XX configuration
 +  Unchained        : 0x1000,0x0000,0x0000
 +  Chained          : 0x0000,0x0000,0x0000
 +  0:00 = 0090
 +  0:02 = 9f9f
 +  0:04 = 0909
 +  0:06 = 801f
 +  0:08 = 0000
 +  0:0a = 801e
 +  0:0c = 801f
 +  0:0e = 801f
 +  0:10 = 9f9f
 +  0:12 = 0909
 +  0:14 = 0000
 +  0:16 = 9f9f
 +  0:18 = 0909
 +  0:1a = 0000
 +  0:1c = 0000
 +  0:1e = 0000
 +  0:20 = 0400
 +  0:22 = 0000
 +  0:24 = 0000
 +  0:26 = 000f
 +  0:28 = 03c7
 +  0:2a = 05c5
 +  0:2c = ac44
 +  0:2e = ac44
 +  0:30 = ac44
 +  0:32 = 1f40
 +  0:34 = 0000
 +  0:36 = 9f80
 +  0:38 = 9f9f
 +  0:3a = 2824
 +  0:3c = 0000
 +  0:3e = 0000
 +  0:40 = 0000
 +  0:42 = 0000
 +  0:44 = 0000
 +  0:46 = 0000
 +  0:48 = 0000
 +  0:4a = 0000
 +  0:4c = 0000
 +  0:4e = 0000
 +  0:50 = 0000
 +  0:52 = 0000
 +  0:54 = 0000
 +  0:56 = 0000
 +  0:58 = 0000
 +  0:5a = 0000
 +  0:5c = 0000
 +  0:5e = 0000
 +  0:60 = 8080
 +  0:62 = 0000
 +  0:64 = 0000
 +  0:66 = 0000
 +  0:68 = 0000
 +  0:6a = 0000
 +  0:6c = 0000
 +  0:6e = 0000
 +  0:70 = 0000
 +  0:72 = 0004
 +  0:74 = 1201
 +  0:76 = 7c28
 +  0:78 = 0008
 +  0:7a = 0000
 +  0:7c = 4144
 +  0:7e = 5375
 +
 +
 +==== alsa ====
 +
 +<code>
 +  root@ubuntu:~ # ls -lR /proc/asound
 +  /proc/asound:
 +total 1
 +dr-xr-xr-x  9 root root 0 2005-05-01 23:16 card0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 cards
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 devices
 +lrwxrwxrwx  1 root root 5 2005-05-01 23:16 ICH5 -> card0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 modules
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 oss
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 pcm
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 seq
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 timers
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 version
 +
 +  /proc/asound/card0:
 +total 0
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 codec97#0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 id
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 intel8x0
 +  *rw-r--r--  1 root root 0 2005-05-01 23:16 oss_mixer
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm0c
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm0p
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm1c
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm2c
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm3c
 +dr-xr-xr-x  3 root root 0 2005-05-01 23:16 pcm4p
 +
 +  /proc/asound/card0/codec97#0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 ac97#0-0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 ac97#0-0+regs
 +
 +  /proc/asound/card0/pcm0c:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *rw-r--r--  1 root root 0 2005-05-01 23:16 oss
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm0c/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/card0/pcm0p:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *rw-r--r--  1 root root 0 2005-05-01 23:16 oss
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm0p/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/card0/pcm1c:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *rw-r--r--  1 root root 0 2005-05-01 23:16 oss
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm1c/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/card0/pcm2c:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm2c/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/card0/pcm3c:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm3c/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/card0/pcm4p:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +dr-xr-xr-x  2 root root 0 2005-05-01 23:16 sub0
 +
 +  /proc/asound/card0/pcm4p/sub0:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 hw_params
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 info
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 prealloc
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 status
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sw_params
 +
 +  /proc/asound/oss:
 +total 0
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 devices
 +  *r--r--r--  1 root root 0 2005-05-01 23:16 sndstat
 +
 +  /proc/asound/seq:
 +total 0
 +
 +
 +==== [[Kernel]] ====
 +
 +  root@ubuntu:~ # cat /etc/modules
 +  # /etc/modules: kernel modules to load at boot time.
 +  #
 +  # This file contains the names of kernel modules that should be loaded
 +  # at boot time, one per line. Lines beginning with "#" are ignored.
 +  ide-cd
 +  ide-disk
 +  ide-generic
 +  lp
 +  mousedev
 +  psmouse
 +  pppoatm
 +  # those modules are loaded explicity on boot, others automagickly
 +
 +  root@ubuntu:~ # lsmod
 +  Module                  Size  Used by
 +  nls_cp437               5888  1
 +  ntfs                   97136  1
 +  ipv6                  229504  8
 +  proc_intf               4100  0
 +  freq_table              4100  0
 +  cpufreq_userspace       4572  0
 +  cpufreq_ondemand        6172  0
 +  cpufreq_powersave       1920  0
 +  video                  16260  0
 +  sony_acpi               6280  0
 +  pcc_acpi               11264  0
 +  button                  6800  0
 +  battery                10244  0
 +  container               4608  0
 +  ac                      4996  0
 +  usbhid                 29376  0
 +  sk98lin               149216  0
 +  speedtch               12680  0
 +  firmware_class          9728  1 speedtch
 +  usb_atm                14640  2 speedtch
 +  snd_intel8x0           29984  2
 +  snd_ac97_codec         64608  1 snd_intel8x0
 +  snd_pcm_oss            47652  1
 +  snd_mixer_oss          16768  2 snd_pcm_oss
 +  snd_pcm                84872  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
 +  snd_timer              23300  1 snd_pcm
 +  snd                    50276  6   snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 +  soundcore               9824  3 snd
 +  snd_page_alloc          9604  2 snd_intel8x0,snd_pcm
 +  i2c_i801                8076  0
 +  i2c_core               21264  1 i2c_i801
 +  hw_random               5524  0
 +  ehci_hcd               29444  0
 +  uhci_hcd               30224  0
 +  usbcore               107384  6 usbhid,speedtch,usb_atm,ehci_hcd,uhci_hcd
 +  shpchp                 86116  0
 +  pci_hotplug            30512  1 shpchp
 +  intel_mch_agp          10000  0
 +  intel_agp              20636  1
 +  agpgart                31784  2 intel_mch_agp,intel_agp
 +  floppy                 54864  0
 +  pcspkr                  3816  0
 +  rtc                    12216  0
 +  md                     43856  0
 +  dm_mod                 53116  1
 +  capability              5000  0
 +  evdev                   9088  0
 +  commoncap               7808  1 capability
 +  tsdev                   7488  0
 +  pppoatm                 6272  1
 +  ppp_generic            27668  5 pppoatm
 +  slhc                    7040  1 ppp_generic
 +  psmouse                19336  0
 +  mousedev               11160  1
 +  parport_pc             34372  1
 +  lp                     10792  0
 +  parport                33480  2 parport_pc,lp
 +  ide_cd                 38532  0
 +  cdrom                  36508  1 ide_cd
 +  ext3                  120968  1
 +  jbd                    54168  1 ext3
 +  ide_generic             1664  0
 +  piix                    9988  1
 +  ide_disk               18176  5
 +  ide_core              118988  4 ide_cd,ide_generic,piix,ide_disk
 +  unix                   26164  722
 +  thermal                13576  0
 +  processor              22708  1 thermal
 +  fan                     4612  0
 +  fbcon                  34048  0
 +  font                    8448  1 fbcon
 +  bitblit                 5120  1 fbcon
 +  vesafb                  6948  0
 +  cfbcopyarea             3968  1 vesafb
 +  cfbimgblt               3072  1 vesafb
 +  cfbfillrect             3584  1 vesafb
 +
 +on [[Knoppix]] :
 +
 +  i810_audio             25208   1
 +  ac97_codec             11916   0  [[i810_audio]]
 +  soundcore               3428   2  [[i810_audio]]
 +
 +
 +  root@ubuntu:~ # lspci
 +  0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
 +  0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
 +  0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
 +  0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
 +  0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
 +  0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
 +  0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
 +  0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
 +  0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
 +  0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
 +  0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
 +  0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
 +  0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [[Radeon 9800 Pro]]
 +  0000:01:00.1 Display controller: ATI Technologies Inc Radeon R350 [[Radeon 9800 Pro]] (Secondary)
 +  0000:02:05.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [[Marvell]] (rev 12)
 +
 +  root@ubuntu:~ # lspci -n
 +  0000:00:00.0 0600: 8086:2570 (rev 02)
 +  0000:00:01.0 0604: 8086:2571 (rev 02)
 +  0000:00:1d.0 0c03: 8086:24d2 (rev 02)
 +  0000:00:1d.1 0c03: 8086:24d4 (rev 02)
 +  0000:00:1d.2 0c03: 8086:24d7 (rev 02)
 +  0000:00:1d.3 0c03: 8086:24de (rev 02)
 +  0000:00:1d.7 0c03: 8086:24dd (rev 02)
 +  0000:00:1e.0 0604: 8086:244e (rev c2)
 +  0000:00:1f.0 0601: 8086:24d0 (rev 02)
 +  0000:00:1f.1 0101: 8086:24db (rev 02)
 +  0000:00:1f.3 0c05: 8086:24d3 (rev 02)
 +  0000:00:1f.5 0401: 8086:24d5 (rev 02)
 +  0000:01:00.0 0300: 1002:4e48
 +  0000:01:00.1 0380: 1002:4e68
 +  0000:02:05.0 0200: 10b7:1700 (rev 12)
 +
 +  root@ubuntu:~ # lspci
 +  0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03)
 +  0000:00:01.0 PCI bridge: Intel Corp. Mobile Memory Controller Hub PCI Express Port (rev 03)
 +  0000:00:1b.0 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
 +  0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
 +  0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
 +  0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
 +  0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
 +  0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
 +  0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d4)
 +  0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
 +  0000:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
 +  0000:00:1f.2 IDE interface: Intel Corp. 82801FBM (ICH6M) SATA Controller (rev 04)
 +  0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
 +  0000:01:01.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
 +  0000:01:01.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
 +  0000:01:01.3 Unknown mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI Two-Port  PHY/Link-Layer Cont. an
 +  0000:01:02.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
 +  0000:01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
 +  0000:03:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 3150
 +
 +</code>
 +
 +
 +===== MORE =====
 +
 +@TaG: [[ALSA]] [[SPDIF]]
 +
 +<html>
 +<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/14723686&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true"></iframe></html>
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki