Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] Gentoo + HDMI+ HDA Intel = no sound

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

[Solved] Gentoo + HDMI+ HDA Intel = no sound

  • Quote

Post by MorningWood » Sat Oct 29, 2011 8:49 am

Hey guys,
I have my Gentoo/XBMC setup working pretty well with the exception of one large kink; no audio through HDMI.
I'm running everything on a first generation aTV and according to most of the how-to guides audio through HDMI isn't possible but I've done some research and noticed some people got it working with Alsa-Drivers but I am using the gentoo- sources 3.1.0 kernel with alsa modules already compiled in so I was wondering if anyone had any other way to get sound through HDMI.
I have read the guides and the xbmc/gentoo/atv forums but either I'm too dense or this is a very isolated scenario.

Any help would be greatly appreciated. Here are my outputs:

aplay -L

Code: Select all

null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889A Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889A Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, HDMI 0
    HDMI Audio Output

/etc/asound.conf

Code: Select all

pcm.!default { 
    type hw 
    card 0 
    device 3 
} 
ctl.!default { 
    type hw 
    card 0 
    device 3 
} 

cat /proc/asound/cards

Code: Select all

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x22300000 irq 22


cat /proc/asound/oss/sndstat

Code: Select all

Sound Driver:3.8.1a-980706 (ALSA v1.0.24 emulation code)
Kernel: Linux localhost 3.1.0-gentoo #2 Fri Oct 28 20:16:13 EDT 2011 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
HDA Intel at 0x22300000 irq 22

Audio devices:
0: ALC889A Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Silicon Image SiI1390 HDMI
dmesg

Code: Select all

Initializing cgroup subsys cpu
Linux version 3.1.0-gentoo (root@localhost) (gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) ) #2 Fri Oct 28 20:16:13 EDT 2011
Disabled fast string operations
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000100 - 000000000008f000 (usable)
 BIOS-e820: 000000000008f000 - 0000000000090000 (ACPI NVS)
 BIOS-e820: 0000000000090000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000a0000 - 00000000000c0000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000025b0000 (usable)
 BIOS-e820: 00000000025b0000 - 0000000002601000 (reserved)
 BIOS-e820: 0000000002601000 - 000000000f171000 (usable)
 BIOS-e820: 000000000f171000 - 000000000f372000 (ACPI NVS)
 BIOS-e820: 000000000f372000 - 000000000febd000 (usable)
 BIOS-e820: 000000000febd000 - 000000000febf000 (ACPI NVS)
 BIOS-e820: 000000000febf000 - 000000000fec0000 (ACPI data)
 BIOS-e820: 000000000fec0000 - 000000000feef000 (ACPI NVS)
 BIOS-e820: 000000000feef000 - 000000000fef1000 (usable)
 BIOS-e820: 000000000fef1000 - 000000000feff000 (ACPI data)
 BIOS-e820: 000000000feff000 - 000000000ff00000 (usable)
 BIOS-e820: 000000000ff00000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000f00f8000 - 00000000f00f9000 (reserved)
 BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
 BIOS-e820: 00000000fffa0000 - 00000000fffd0000 (reserved)
Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
DMI 2.4 present.
DMI: Apple Inc. AppleTV1,1/Mac-F4228DC8, BIOS    ATV11.88Z.00DA.B04.0912220919 12/22/09
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
last_pfn = 0xff00 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
  00000-9FFFF write-back
  A0000-BFFFF uncachable
  C0000-CFFFF write-protect
  D0000-DFFFF uncachable
  E0000-FFFFF write-protect
MTRR variable ranges enabled:
  0 base 0FFE00000 mask FFFE00000 write-protect
  1 base 000000000 mask FF0000000 write-back
  2 base 00FF00000 mask FFFF00000 uncachable
  3 disabled
  4 disabled
  5 disabled
  6 disabled
  7 disabled
PAT not supported by CPU.
initial memory mapped : 0 - 01800000
Base memory trampoline at [c009c000] 9c000 size 12288
init_memory_mapping: 0000000000000000-000000000ff00000
 0000000000 - 0000400000 page 4k
 0000400000 - 000fc00000 page 2M
 000fc00000 - 000ff00000 page 4k
kernel direct mapping tables up to ff00000 @ 17fb000-1800000
ACPI: RSDP 000f8000 00024 (v02 APPLE )
ACPI: XSDT 0fefd1c0 00064 (v01 APPLE   Apple00 000000DA      01000013)
ACPI: FACP 0fefb000 000F4 (v03 APPLE   Apple00 000000DA Loki 0000005F)
ACPI: DSDT 0fef4000 02BE5 (v01 APPLE   AppleTV 00010001 INTL 20050309)
ACPI: FACS 0fec0000 00040
ACPI: HPET 0fefa000 00038 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: APIC 0fef9000 00068 (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: MCFG 0fef8000 0003C (v01 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: ASF! 0fef7000 000A0 (v32 APPLE   Apple00 00000001 Loki 0000005F)
ACPI: SSDT 0fef2000 001A6 (v01 APPLE   Cpu0Ist 00003000 INTL 20050309)
ACPI: SSDT 0fef3000 00158 (v01 APPLE   Cpu0Cst 00003001 INTL 20050309)
ACPI: SSDT 0fef1000 004DC (v01 APPLE     CpuPm 00003000 INTL 20050309)
ACPI: Local APIC address 0xfee00000
255MB LOWMEM available.
  mapped low ram: 0 - 0ff00000
  low ram: 0 - 0ff00000
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  Normal   0x00001000 -> 0x0000ff00
Movable zone start PFN for each node
early_node_map[7] active PFN ranges
    0: 0x00000010 -> 0x0000008f
    0: 0x00000090 -> 0x000000a0
    0: 0x00000100 -> 0x000025b0
    0: 0x00002601 -> 0x0000f171
    0: 0x0000f372 -> 0x0000febd
    0: 0x0000feef -> 0x0000fef1
    0: 0x0000feff -> 0x0000ff00
On node 0 totalpages: 64509
free_area_init_node: node 0, pgdat c137a6e4, node_mem_map cfcbd200
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3951 pages, LIFO batch:0
  Normal zone: 478 pages used for memmap
  Normal zone: 60048 pages, LIFO batch:15
Using APIC driver default
ACPI: PM-Timer IO Port: 0x408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x8086a201 base: 0xfed00000
nr_irqs_gsi: 40
PM: Registered nosave memory: 000000000008f000 - 0000000000090000
PM: Registered nosave memory: 00000000000a0000 - 00000000000c0000
PM: Registered nosave memory: 00000000000c0000 - 0000000000100000
PM: Registered nosave memory: 00000000025b0000 - 0000000002601000
PM: Registered nosave memory: 000000000f171000 - 000000000f372000
PM: Registered nosave memory: 000000000febd000 - 000000000febf000
PM: Registered nosave memory: 000000000febf000 - 000000000fec0000
PM: Registered nosave memory: 000000000fec0000 - 000000000feef000
PM: Registered nosave memory: 000000000fef1000 - 000000000feff000
Allocating PCI resources starting at 10000000 (gap: 10000000:e00f8000)
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 63999
Kernel command line: video=vesafb root=/dev/hda4
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Initializing CPU#0
Memory: 251576k/261120k available (2300k kernel code, 6460k reserved, 1274k data, 320k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffa3000 - 0xfffff000   ( 368 kB)
    vmalloc : 0xd0700000 - 0xfffa1000   ( 760 MB)
    lowmem  : 0xc0000000 - 0xcff00000   ( 255 MB)
      .init : 0xc137e000 - 0xc13ce000   ( 320 kB)
      .data : 0xc123f079 - 0xc137d900   (1274 kB)
      .text : 0xc1000000 - 0xc123f079   (2300 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:288
CPU 0 irqstacks, hard=cf80a000 soft=cf810000
Extended CMOS year: 2000
Console: colour dummy device 80x25
console [tty0] enabled
hpet clockevent registered
Fast TSC calibration using PIT
Detected 1000.184 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 2001.71 BogoMIPS (lpj=3333946)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Disabled fast string operations
mce: CPU supports 5 MCE banks
CPU0: Thermal monitoring enabled (TM1)
CPU: Genuine Intel(R) processor              1.00GHz stepping 08
ACPI: Core revision 20110623
Performance Events: p6 PMU driver.
... version:                0
... bit width:              32
... generic registers:      2
... value mask:             00000000ffffffff
... max period:             000000007fffffff
... fixed-purpose events:   0
... event mask:             0000000000000003
Enabling APIC mode:  Flat.  Using 1 I/O APICs
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
PM: Registering ACPI NVS region at 8f000 (4096 bytes)
PM: Registering ACPI NVS region at f171000 (2101248 bytes)
PM: Registering ACPI NVS region at febd000 (8192 bytes)
PM: Registering ACPI NVS region at fec0000 (192512 bytes)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xf0000000-0xffffffff] (base 0xf0000000)
PCI: not using MMCONFIG
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Added _OSI(Module Device)
ACPI: Added _OSI(Processor Device)
ACPI: Added _OSI(3.0 _SCP Extensions)
ACPI: Added _OSI(Processor Aggregator Device)
ACPI: EC: Look up EC in DSDT
[Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
ACPI: Interpreter enabled
ACPI: (supports S0 S4)
ACPI: Using IOAPIC for interrupt routing
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xf0000000-0xffffffff] (base 0xf0000000)
PCI: MMCONFIG at [mem 0xf0000000-0xffffffff] reserved in ACPI motherboard resources
PCI: MMCONFIG for 0000 [bus00-3f] at [mem 0xf0000000-0xf3ffffff] (base 0xf0000000) (size reduced!)
PCI: Using MMCONFIG for extended config space
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
pci_root PNP0A08:00: host bridge window [io  0x0000-0x0cf7]
pci_root PNP0A08:00: host bridge window [io  0x0d00-0xffff]
pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A08:00: host bridge window [mem 0x10000000-0xfebfffff]
pci 0000:00:00.0: [8086:27a0] type 0 class 0x000600
pci 0000:00:01.0: [8086:27a1] type 1 class 0x000604
pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
pci 0000:00:01.0: PME# disabled
pci 0000:00:07.0: [8086:27a3] type 0 class 0x001101
pci 0000:00:07.0: reg 10: [mem 0x22304000-0x22304fff]
pci 0000:00:1b.0: [8086:27d8] type 0 class 0x000403
pci 0000:00:1b.0: reg 10: [mem 0x22300000-0x22303fff 64bit]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: [8086:27d0] type 1 class 0x000604
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1d.0: [8086:27c8] type 0 class 0x000c03
pci 0000:00:1d.0: reg 20: [io  0x2020-0x203f]
pci 0000:00:1d.7: [8086:27cc] type 0 class 0x000c03
pci 0000:00:1d.7: reg 10: [mem 0x22305000-0x223053ff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1e.0: [8086:2448] type 1 class 0x000604
pci 0000:00:1f.0: [8086:27b9] type 0 class 0x000601
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0680 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 1640 (mask 000f)
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 4 PIO at 0300 (mask 001f)
pci 0000:00:1f.1: [8086:27df] type 0 class 0x000101
pci 0000:00:1f.1: reg 10: [io  0x2058-0x205f]
pci 0000:00:1f.1: reg 14: [io  0x2064-0x2067]
pci 0000:00:1f.1: reg 18: [io  0x2050-0x2057]
pci 0000:00:1f.1: reg 1c: [io  0x2060-0x2063]
pci 0000:00:1f.1: reg 20: [io  0x2040-0x204f]
pci 0000:00:1f.3: [8086:27da] type 0 class 0x000c05
pci 0000:00:1f.3: reg 20: [io  0xefa0-0xefbf]
pci 0000:01:00.0: [10de:01d7] type 0 class 0x000300
pci 0000:01:00.0: reg 10: [mem 0x21000000-0x21ffffff]
pci 0000:01:00.0: reg 14: [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:01:00.0: reg 1c: [mem 0x20000000-0x20ffffff 64bit]
pci 0000:01:00.0: reg 30: [mem 0xfffe0000-0xffffffff pref]
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0:   bridge window [mem 0x20000000-0x21ffffff]
pci 0000:00:01.0:   bridge window [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:02:00.0: [14e4:4328] type 0 class 0x000280
pci 0000:02:00.0: reg 10: [mem 0x22200000-0x22203fff 64bit]
pci 0000:02:00.0: reg 18: [mem 0x22000000-0x220fffff 64bit pref]
pci 0000:02:00.0: supports D1 D2
pci 0000:00:1c.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0:   bridge window [mem 0x22200000-0x222fffff]
pci 0000:00:1c.0:   bridge window [mem 0x22000000-0x220fffff 64bit pref]
pci 0000:03:03.0: [10ec:8139] type 0 class 0x000200
pci 0000:03:03.0: reg 10: [io  0x1000-0x10ff]
pci 0000:03:03.0: reg 14: [mem 0x22100000-0x221000ff]
pci 0000:03:03.0: supports D1 D2
pci 0000:03:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:03:03.0: PME# disabled
pci 0000:00:1e.0: PCI bridge to [bus 03-03] (subtractive decode)
pci 0000:00:1e.0:   bridge window [io  0x1000-0x1fff]
pci 0000:00:1e.0:   bridge window [mem 0x22100000-0x221fffff]
pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7] (subtractive decode)
pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
pci 0000:00:1e.0:   bridge window [mem 0x10000000-0xfebfffff] (subtractive decode)
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.RP01._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
 pci0000:00: Unable to request _OSC control (_OSC support mask: 0x09)
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 11 12 14 15) *0, disabled.
vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:01:00.0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
reserve RAM buffer: 000000000008f000 - 000000000008ffff 
reserve RAM buffer: 00000000025b0000 - 0000000003ffffff 
reserve RAM buffer: 000000000f171000 - 000000000fffffff 
reserve RAM buffer: 000000000febd000 - 000000000fffffff 
reserve RAM buffer: 000000000fef1000 - 000000000fffffff 
reserve RAM buffer: 000000000ff00000 - 000000000fffffff 
cfg80211: Calling CRDA to update world regulatory domain
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 comparators, 64-bit 14.318180 MHz counter
Switching to clocksource hpet
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp 00:00: [bus 00-ff]
pnp 00:00: [io  0x0000-0x0cf7 window]
pnp 00:00: [io  0x0cf8-0x0cff]
pnp 00:00: [io  0x0d00-0xffff window]
pnp 00:00: [mem 0x000a0000-0x000bffff window]
pnp 00:00: [mem 0x000c0000-0x000c3fff window]
pnp 00:00: [mem 0x000c4000-0x000c7fff window]
pnp 00:00: [mem 0x000c8000-0x000cbfff window]
pnp 00:00: [mem 0x000cc000-0x000cffff window]
pnp 00:00: [mem 0x000d0000-0x000d3fff window]
pnp 00:00: [mem 0x000d4000-0x000d7fff window]
pnp 00:00: [mem 0x000d8000-0x000dbfff window]
pnp 00:00: [mem 0x000dc000-0x000dffff window]
pnp 00:00: [mem 0x000e0000-0x000e3fff window]
pnp 00:00: [mem 0x000e4000-0x000e7fff window]
pnp 00:00: [mem 0x000e8000-0x000ebfff window]
pnp 00:00: [mem 0x000ec000-0x000effff window]
pnp 00:00: [mem 0x000f0000-0x000fffff window]
pnp 00:00: [mem 0x10000000-0xfebfffff window]
pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
pnp 00:01: [mem 0xf0000000-0xf3ffffff]
pnp 00:01: [mem 0xfed14000-0xfed17fff]
pnp 00:01: [mem 0xfed18000-0xfed18fff]
pnp 00:01: [mem 0xfed19000-0xfed19fff]
pnp 00:01: [mem 0xfed1c000-0xfed1ffff]
pnp 00:01: [mem 0xfed20000-0xfed8ffff]
system 00:01: [mem 0xf0000000-0xf3ffffff] could not be reserved
system 00:01: [mem 0xfed14000-0xfed17fff] has been reserved
system 00:01: [mem 0xfed18000-0xfed18fff] has been reserved
system 00:01: [mem 0xfed19000-0xfed19fff] has been reserved
system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
system 00:01: [mem 0xfed20000-0xfed8ffff] has been reserved
system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:02: [io  0x0000-0x001f]
pnp 00:02: [io  0x0081-0x0091]
pnp 00:02: [io  0x0093-0x009f]
pnp 00:02: [io  0x00c0-0x00df]
pnp 00:02: [dma 4]
pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active)
pnp 00:03: [mem 0xff000000-0xffffffff]
pnp 00:03: Plug and Play ACPI device, IDs INT0800 (active)
pnp 00:04: [irq 0 disabled]
pnp 00:04: [irq 8]
pnp 00:04: [mem 0xfed00000-0xfed003ff]
system 00:04: [mem 0xfed00000-0xfed003ff] has been reserved
system 00:04: Plug and Play ACPI device, IDs PNP0103 PNP0c01 (active)
pnp 00:05: [io  0x00f0]
pnp 00:05: [irq 13]
pnp 00:05: Plug and Play ACPI device, IDs PNP0c04 (active)
pnp 00:06: [io  0x002e-0x002f]
pnp 00:06: [io  0x004e-0x004f]
pnp 00:06: [io  0x0061]
pnp 00:06: [io  0x0063]
pnp 00:06: [io  0x0065]
pnp 00:06: [io  0x0067]
pnp 00:06: [io  0x0070]
pnp 00:06: [io  0x0080]
pnp 00:06: [io  0x0092]
pnp 00:06: [io  0x00b2-0x00b3]
pnp 00:06: [io  0x0680-0x06ef]
pnp 00:06: [io  0x0800-0x080f]
pnp 00:06: [io  0x0810-0x0817]
pnp 00:06: [io  0x0400-0x047f]
pnp 00:06: [io  0x0500-0x053f]
pnp 00:06: [io  0x1640-0x164f]
pnp 00:06: disabling [io  0x1640-0x164f] because it overlaps 0000:00:1e.0 BAR 7 [io  0x1000-0x1fff]
system 00:06: [io  0x0680-0x06ef] has been reserved
system 00:06: [io  0x0800-0x080f] has been reserved
system 00:06: [io  0x0810-0x0817] has been reserved
system 00:06: [io  0x0400-0x047f] has been reserved
system 00:06: [io  0x0500-0x053f] has been reserved
system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
pnp 00:07: [io  0x0070-0x0077]
pnp 00:07: Plug and Play ACPI device, IDs PNP0b00 (active)
pnp: PnP ACPI: found 8 devices
ACPI: ACPI bus type pnp unregistered
pci 0000:01:00.0: no compatible bridge window for [mem 0xfffe0000-0xffffffff pref]
PCI: max bus depth: 1 pci_try_num: 2
pci 0000:00:1c.0: BAR 7: assigned [io  0x3000-0x3fff]
pci 0000:01:00.0: BAR 6: can't assign mem pref (size 0x20000)
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:01.0:   bridge window [mem 0x20000000-0x21ffffff]
pci 0000:00:01.0:   bridge window [mem 0x10000000-0x1fffffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0:   bridge window [io  0x3000-0x3fff]
pci 0000:00:1c.0:   bridge window [mem 0x22200000-0x222fffff]
pci 0000:00:1c.0:   bridge window [mem 0x22000000-0x220fffff 64bit pref]
pci 0000:00:1e.0: PCI bridge to [bus 03-03]
pci 0000:00:1e.0:   bridge window [io  0x1000-0x1fff]
pci 0000:00:1e.0:   bridge window [mem 0x22100000-0x221fffff]
pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:01.0: setting latency timer to 64
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7]
pci_bus 0000:00: resource 5 [io  0x0d00-0xffff]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:00: resource 7 [mem 0x10000000-0xfebfffff]
pci_bus 0000:01: resource 1 [mem 0x20000000-0x21ffffff]
pci_bus 0000:01: resource 2 [mem 0x10000000-0x1fffffff 64bit pref]
pci_bus 0000:02: resource 0 [io  0x3000-0x3fff]
pci_bus 0000:02: resource 1 [mem 0x22200000-0x222fffff]
pci_bus 0000:02: resource 2 [mem 0x22000000-0x220fffff 64bit pref]
pci_bus 0000:03: resource 0 [io  0x1000-0x1fff]
pci_bus 0000:03: resource 1 [mem 0x22100000-0x221fffff]
pci_bus 0000:03: resource 4 [io  0x0000-0x0cf7]
pci_bus 0000:03: resource 5 [io  0x0d00-0xffff]
pci_bus 0000:03: resource 6 [mem 0x000a0000-0x000bffff]
pci_bus 0000:03: resource 7 [mem 0x10000000-0xfebfffff]
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 256 bytes, default 64
apm: BIOS not found.
microcode: CPU0 sig=0x6d8, pf=0x8, revision=0x21
microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
NTFS driver 2.1.30 [Flags: R/W].
msgmni has been set to 491
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler cfq registered (default)
intel_rng: FWH not detected
vesafb: mode is 1280x720x32, linelength=5120, pages=1800
vesafb: scrolling: redraw
vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
vesafb: framebuffer at 0x10028000, mapped to 0xd0780000, using 7200k, total 7232k
Console: switching to colour frame buffer device 160x45
fb0: VESA VGA frame buffer device
Uniform Multi-Platform E-IDE driver
piix 0000:00:1f.1: IDE controller (0x8086:0x27df rev 0x02)
pci 0000:00:1f.1: power state changed by ACPI to D0
pci 0000:00:1f.1: power state changed by ACPI to D0
pci 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
piix 0000:00:1f.1: 100% native mode on irq 18
    ide0: BM-DMA at 0x2040-0x2047
    ide1: BM-DMA at 0x2048-0x204f
Probing IDE interface ide0...
hda: FUJITSU MHW2040AT, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
Probing IDE interface ide1...
Refined TSC clocksource calibration: 1000.035 MHz.
Switching to clocksource tsc
ide0 at 0x2058-0x205f,0x2066 on irq 18
ide1 at 0x2050-0x2057,0x2062 on irq 18
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
Probing IDE interface ide2...
ide2 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide3...
ide3 at 0x170-0x177,0x376 on irq 15
ide-gd driver 1.18
hda: max request size: 512KiB
hda: 78140160 sectors (40007 MB) w/2048KiB Cache, CHS=16383/255/63
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 hda5
8139too: 8139too Fast Ethernet driver 0.9.28
8139too 0000:03:03.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
8139too 0000:03:03.0: eth0: RealTek RTL8139 at 0xd0730000, 00:17:f2:f9:6a:05, IRQ 20
i8042: PNP: No PS/2 controller found. Probing ports directly.
i8042: No controller found
mousedev: PS/2 mouse device common for all mice
cpuidle: using governor ladder
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Registering the dns_resolver key type
Using IPI Shortcut mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (hda4): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) readonly on device 3:4.
Freeing unused kernel memory: 320k freed
udevd[535]: starting version 171
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
ACPI: Power Button [PWRB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
ACPI: Power Button [PWRF]
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: using broken periodic workaround
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 256 is not supported
ehci_hcd 0000:00:1d.7: irq 21, io mem 0x22305000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.1.0-gentoo ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
Linux agpgart interface v0.103
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 21, io base 0x00002020
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 3.1.0-gentoo uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: acpi_idle registered with cpuidle
Marking TSC unstable due to TSC halts in idle
Switching to clocksource hpet
usb 2-1: new low speed USB device number 2 using uhci_hcd
snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
snd_hda_intel 0000:00:1b.0: setting latency timer to 64
usb 2-1: New USB device found, idVendor=045e, idProduct=00cb
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: Microsoft Basic Optical Mouse v2.0 
usb 2-1: Manufacturer: Microsoft 
input: Microsoft  Microsoft Basic Optical Mouse v2.0  as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input2
generic-usb 0003:045E:00CB.0001: input,hidraw0: USB HID v1.11 Mouse [Microsoft  Microsoft Basic Optical Mouse v2.0 ] on usb-0000:00:1d.0-1/input0
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usb 2-2: new low speed USB device number 3 using uhci_hcd
hda_codec: ALC889A: SKU not ready 0x400000f0
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input3
wl: module license 'MIXED/Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
wl 0000:02:00.0: enabling device (0000 -> 0002)
wl 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
wl 0000:02:00.0: setting latency timer to 64
INFO @wl_cfg80211_attach : Registered CFG80211 phy
HDMI status: Codec=1 Pin=3 Presence_Detect=0 ELD_Valid=0
eth1: Broadcom BCM4328 802.11 Hybrid Wireless Controller 5.100.82.112
input: HDA Intel HDMI/DP as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
usb 2-2: New USB device found, idVendor=05ac, idProduct=8241
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: IR Receiver
usb 2-2: Manufacturer: Apple Inc.
apple 0003:05AC:8241.0002: hiddev0,hidraw1: USB HID v1.11 Device [Apple Inc. IR Receiver] on usb-0000:00:1d.0-2/input0
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
nvidia 0000:01:00.0: setting latency timer to 64
vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
NVRM: loading NVIDIA UNIX x86 Kernel Module  285.05.09  Fri Sep 23 18:53:08 PDT 2011
Real Time Clock Driver v1.12b
EXT3-fs (hda4): using internal journal
Adding 1472508k swap on /dev/hda5.  Priority:-1 extents:1 across:1472508k 
8139too 0000:03:03.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context

lspci

Code: Select all

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:07.0 Performance counters: Intel Corporation Device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)
02:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 01)
03:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Sorry for the wall of text but I like to display as much info as possible so everything is out in the open.
If any other files or outputs are necessary, please let me know.
Thank you!
Last edited by MorningWood on Tue Jan 24, 2012 6:36 pm, edited 1 time in total.
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Sat Oct 29, 2011 11:16 pm

Try this. Grab a cd track, let it be wav format and have a sample rate of 44100 or 48000. hdmi tvs may not play all sample rates (mine doesn't). The bitrate is something else doesn't matter here.

Find a device:

Code: Select all

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
try each sub device for a hit

Code: Select all

aplay -D plughw:1,7 track.wav
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Sat Oct 29, 2011 11:51 pm

whig,
I grabbed a track via random google search.

Found the devices

Code: Select all

aplay -l
played the test track by running

Code: Select all

 aplay -D plughw:0,0 track.wav
Playing WAVE 'track.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

aplay -D plughw:0,1 track.wav
Playing WAVE 'track.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo


 aplay -D plughw:0,3 track.wav
Playing WAVE 'track.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
but didn't hear a thing. :(
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Sun Oct 30, 2011 5:45 am

No error message, no sound: are your volumes up?

Code: Select all

alsamixer -c 0
(0 id the default anyway) Enable the outputs with m key, raise them up. aplay error messages would indicate a bigger problem, so you're doing not so bad.
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Sun Oct 30, 2011 6:05 am

whig wrote:No error message, no sound: are your volumes up?

Code: Select all

alsamixer -c 0
(0 id the default anyway) Enable the outputs with m key, raise them up. aplay error messages would indicate a bigger problem, so you're doing not so bad.
I raised the volume on the TV as loud as it could go thinking maybe it's just a low volume bug (was really hoping it wouldn't randomly start working and kill the tv speakers :p) and here's a screenshot of my alsamixer:

http://i.imgur.com/DnFLw.png


here is the output of aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Shouldn't HDMI be associated with Nvidia?
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Sun Oct 30, 2011 8:26 am

You are loading the nvidia binary driver, I didn't see that before |:)

The aplay -l ought to list the nvidia output. But your card is a 7300? That can't do vdpau for one thing, and I don't know about hdmi audio to be sure.

Also required is nvidia-hdmi _alsa_ support. I'll think about this take a look at this in the meantime.
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Sun Oct 30, 2011 9:33 am

whig wrote:You are loading the nvidia binary driver, I didn't see that before |:)

The aplay -l ought to list the nvidia output. But your card is a 7300? That can't do vdpau for one thing, and I don't know about hdmi audio to be sure.

Also required is nvidia-hdmi _alsa_ support. I'll think about this take a look at this in the meantime.
Yeah, I was afraid of that. I've read several posts noting that nvidia drivers have since disabled audio over HDMI (at least for this card) but most of them are from 2009, so I'm hoping there might have been a change since then. The device in question is a first generation Apple TV and I posted on the atv-bootloader google groups and the gentleman that helped me setup the kernel also noted that he has audio over HDMI working but he's using the nouveau drivers. Could this have some bearing on the situation?

Also, I'm sorry you lost me with the nvidia-hdmi _alsa_ support.
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

  • Quote

Post by DawgG » Sun Oct 30, 2011 2:58 pm

i just got this to work with the guide from nvidia (link in whig's post) - just make sure you strictly follow everything in there. My setup is a little different from yours but similar:
  • VGA compatible controller: nVidia Corporation GT218 [NVS 3100M] (rev a2)
    nvidia binary driver
    pulseaudio (configured as in the nvidia-howto)
make sure the nvidia binary driver is loaded; the tv is plugged in before x starts and you use the correct devicenames for alsa/pulse (mine are a little different from the ones in the howto). using /etc/asound.conf messed up alsa so i decided to use pulseaudio and it works; to play a movie on tv with hdmi sound i configure pulseaudio with pavucontrol and use mplayer -ao pulse <file>
Also, I'm sorry you lost me with the nvidia-hdmi _alsa_ support.
this is in the kernel-settings for alsa: go to device-drivers -> sound -> alsa -> PCI devices -> Intel HD Audio and there you activate everything you need (or maybe just everything to make sure). i think there it's best to use modules where possible.

even though Free Software is much better than binary bull the nouvau driver is not likely to support hdmi output with sound yet: http://nouveau.freedesktop.org/wiki/FeatureMatrix

GOOD LUCK!
DUMM KLICKT GUT.
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Sun Oct 30, 2011 4:59 pm

DawgG wrote:i just got this to work with the guide from nvidia (link in whig's post) - just make sure you strictly follow everything in there. My setup is a little different from yours but similar:
  • VGA compatible controller: nVidia Corporation GT218 [NVS 3100M] (rev a2)
    nvidia binary driver
    pulseaudio (configured as in the nvidia-howto)
make sure the nvidia binary driver is loaded; the tv is plugged in before x starts and you use the correct devicenames for alsa/pulse (mine are a little different from the ones in the howto). using /etc/asound.conf messed up alsa so i decided to use pulseaudio and it works; to play a movie on tv with hdmi sound i configure pulseaudio with pavucontrol and use mplayer -ao pulse <file>
Also, I'm sorry you lost me with the nvidia-hdmi _alsa_ support.
this is in the kernel-settings for alsa: go to device-drivers -> sound -> alsa -> PCI devices -> Intel HD Audio and there you activate everything you need (or maybe just everything to make sure). i think there it's best to use modules where possible.

even though Free Software is much better than binary bull the nouvau driver is not likely to support hdmi output with sound yet: http://nouveau.freedesktop.org/wiki/FeatureMatrix

GOOD LUCK!
DawgG,
Thank you for the feedback!
In regards to hdmi audio, the Intel HD Audio module is decked out with all the options enabled. I keep getting lost in the constant reference to Nvidia/Intel.
I am slowly reading over the guide as it's pretty lengthy and I do not want to make any mistakes. Hopefully my next post will be that of happiness. :lol:
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Sun Oct 30, 2011 6:54 pm

Good luck. The _alsa_ support I was referring to is indeed provided by CONFIG_SND_HDA_CODEC_HDMI in the kernel. I was stung by it some time ago - my new GF210 had the nvidia binary which did the display okay, but vanilla kernel.org didn't have that hda support for the GF210 until later. I patched.
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Sat Nov 05, 2011 5:14 am

so apparently Audio over HDMI in regards to this application is just not possible. At one time it was, but that was a rather dated Nvidia driver on an old kernel. What I'm trying to do right now is get video out via HDMI (which has been accomplished) while getting audio out with rca (not so much).

I'm following this page:
http://code.google.com/p/atv-bootloader ... udioDriver

but between the fact that I'm in over my head, the page is for Ubuntu, and is pretty dated....progress has been slow.

Any words of wisdom?


Also, according to this and a few other pages, apparently adding said option to either /etc/modprobe.d/options /etc/modprobe.d/alsa.conf or /etc/modprobe.d/alsa-base will get RCA audio out working without the need for a patch but none of these files are present and creating them does nothing. :/
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Sat Nov 05, 2011 8:38 am

RCA - is that normal intel hda motherboard audio? Your above commands listed it and showed it playing that way without error (no speaker plugged in?) Does your system already do

Code: Select all

dmesg | grep hda_codec
hda_codec: Detected AppleTV RealTek Subsystem ID
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Tue Jan 24, 2012 4:00 am

whig wrote:RCA - is that normal intel hda motherboard audio? Your above commands listed it and showed it playing that way without error (no speaker plugged in?) Does your system already do

Code: Select all

dmesg | grep hda_codec
hda_codec: Detected AppleTV RealTek Subsystem ID
I know this reply is long overdue but I had given up on this project for a while and basically just had the apple tv laying around my bedroom. I've missed having a dedicated media device so I'm right on the brink of just wiping and restoring the default setup. However, I've gotten this far and have invested way more time than I want to admit to so I'd love to at least get sound out via RCA so thank you for your help guys and any additional help would be greatly appreciated.

To respond to the above comment, yes, my system already does.
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Tue Jan 24, 2012 8:27 am

Your aplay -l shows the devices which is a start. But the listing on my pc shows the kernel module too. This could be your alsa-utils are old or that your cards lack kernel support. lspci -k to check.

Once the device and sub-device numbers are known, and are not 0, create an /etc/asound.conf

Code: Select all

pcm.!default {
  type hw
  card 0
  device 1
}
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Tue Jan 24, 2012 5:27 pm

whig, thank you once again for your ongoing support. Here is the output of the lspci -k command:
http://i.imgur.com/dFqsa.png

So at this point would I create an /etc/asound.conf configuration consisting of the following:

Code: Select all

pcm.!default { 
  type hw 
  card 0 
  device 1b
}

?

Pardon me if this is a silly question; I'm a bit rusty from my hiatus.
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Tue Jan 24, 2012 6:13 pm

YES!!!! I got audio through my tv with rca. So audio IS working. Thank you so much whig!
Now if I could figure out how to configure it to work in xbmc.

E: Works perfectly through my receiver as well.
Ran aplay -D plughw:0,0 test.wav in x11.

If anyone knows anything in regards to xbmc audio settings your expertise would be appreciated here. I think what I would need to configure would be the audio output device and set a custom device but I don't know what to put.
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Tue Jan 24, 2012 6:31 pm

Congrats! The alsa numbers don't need to be specified if they are the default 0. Sometimes udev will load them in random mucking up the order. That's before the alsa service starts too.

You can mark this thread as [solved]
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Tue Jan 24, 2012 6:36 pm

whig wrote:Congrats! The alsa numbers don't need to be specified if they are the default 0. Sometimes udev will load them in random mucking up the order. That's before the alsa service starts too.

You can mark this thread as [solved]
Thanks whig. Would you have any idea as to how to go about getting audio working in xbmc?

Going to try hw:0,1

E: Apparently today was a good day for aTV tweaking.
Tried. hw:0,1 didn't work.
tried hw:0 and currently enjoying some music. So glad I didn't give up. Once again THANK YOU WHIG. :D
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Wed Jan 25, 2012 12:11 am

Cheers. I don't know anything about xbmc though. That might be better answered in a new post with that key word in the title. I thought about sox but that would just pipe recorders to a playback device, not playback to another playback(?) Alsa can duplicate out streams to another device. It isn't used much because the clocks are different and the streams get out of sync. It might work in your case who knows. I haven't tried it. Search the alsa home page if you want to go down that path.
Top
Post Reply

19 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic