Gentoo Archives: gentoo-user

From: Danilo Marcelo <danilo.marcelo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xine - no sound on DVDs - solved (sort of)
Date: Wed, 19 Sep 2007 14:45:50
Message-Id: 8b0d9d410709190731l1eebe8c7n16166689bb0b9726@mail.gmail.com
In Reply to: [gentoo-user] xine - no sound on DVDs - solved (sort of) by Mark Knecht
1 I had the same problem and resolved installing k3b. I think this error
2 occurs because missing plugins. Try to emerge k3b but check flags before.
3
4 2007/9/18, Mark Knecht <markknecht@×××××.com>:
5 >
6 > Hi,
7 > Message is to Randy and others that have been helping me with my
8 > audio problems with xine. This evening I discovered the root cause of
9 > the problem of no sound when playing DVDs in xine. Unfortunately I
10 > don't have a good solution yet. Maybe someone knows how to fix this at
11 > the command line?
12 >
13 > OK, xine does produce sound, but this machine has multiple sound
14 > cards and it's choosing the one that goes to the home theater system,
15 > not the PC's sound card:
16 >
17 > mark@dragonfly ~ $ cat /proc/asound/cards
18 > 0 [ICH5 ]: ICH4 - Intel ICH5
19 > Intel ICH5 with ALC655 at 0xfa081000, irq 21
20 > 1 [default ]: USB-Audio - USB Audio CODEC
21 > Burr-Brown from TI USB Audio CODEC
22 > at usb-0000:00:1d.1-1, full s
23 > mark@dragonfly ~ $
24 >
25 > When I thought of this possibility I turned on the HT receiver,
26 > switched to the correct input and low and behold DVD audio was
27 > playing. Didn't test to see if it's 5.1. The HT receiver is hooked to
28 > the USB device which seems to be marked as 'default'. However hardware
29 > setup hasn't changed and earlier versions of xine went to the internal
30 > card so something has changed.
31 >
32 > I don't see anything in /etc/modules.d/alsa that defines the second
33 > card as default. Does anyone know how Alsa does that?
34 >
35 > It's possible that Alsa getting too cleaver by half and somehow
36 > 'deciding' that the USB interface is more suited to doing 5.1 than the
37 > internal card. If it is then shame on it I say. ;-)
38 >
39 > Two potential solutions come to mind:
40 >
41 > 1) At the xine command line tell it which card to use. I'm looking
42 > through the xine --help listing but heck if I see how to do that.
43 >
44 > 2) Somehow tell also to make card 0 default and see if that fixes the
45 > problem.
46 >
47 > Anyway, so the problem is partially solved. I can go the xine-users
48 > list and see if anyone there has a quick fix for this. At least it's
49 > starting to make some sense.
50 >
51 > Thanks in advance for any ideas.
52 >
53 > Cheers,
54 > Mark
55 >
56 > # Alsa 0.9.X kernel modules' configuration file.
57 > # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-
58 > modules.conf-rc,v
59 > 1.4 2004/11/16 01:31:22 eradicator Exp $
60 >
61 > # ALSA portion
62 > alias char-major-116 snd
63 > # OSS/Free portion
64 > alias char-major-14 soundcore
65 >
66 > ##
67 > ## IMPORTANT:
68 > ## You need to customise this section for your specific sound card(s)
69 > ## and then run `update-modules' command.
70 > ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
71 > ##
72 > ## ALSA portion
73 > alias snd-card-0 snd-intel8x0
74 > options snd-intel8x0 index=0
75 >
76 > alias snd-card-1 snd-usb-audio
77 > options snd-usb-audio index=1
78 >
79 > ## OSS/Free portion
80 > alias sound-slot-0 snd-card-0
81 > alias sound-slot-1 snd-card-1
82 > ##
83 >
84 > # OSS/Free portion - card #1
85 > alias sound-service-0-0 snd-mixer-oss
86 > alias sound-service-0-1 snd-seq-oss
87 > alias sound-service-0-3 snd-pcm-oss
88 > alias sound-service-0-8 snd-seq-oss
89 > alias sound-service-0-12 snd-pcm-oss
90 > ## OSS/Free portion - card #2
91 > alias sound-service-1-0 snd-mixer-oss
92 > alias sound-service-1-3 snd-pcm-oss
93 > alias sound-service-1-12 snd-pcm-oss
94 >
95 > alias /dev/mixer snd-mixer-oss
96 > alias /dev/dsp snd-pcm-oss
97 > alias /dev/midi snd-seq-oss
98 >
99 > # Set this to the correct number of cards.
100 > options snd cards_limit=2
101 > --
102 > gentoo-user@g.o mailing list
103 >
104 >

Replies

Subject Author
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of) Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] xine - no sound on DVDs - solved (sort of) Mark Knecht <markknecht@×××××.com>