Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't play audio cds!
Date: Sat, 10 Jan 2009 21:06:12
Message-Id: 1231621564.15011.42.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] Can't play audio cds! by Liviu Andronic
1 On Tue, 2008-10-07 at 09:45 +0300, Liviu Andronic wrote:
2 > On Mon, Oct 6, 2008 at 8:16 PM, Michael Sullivan
3 > <michael@××××××××××××.com> wrote:
4 > > checked the log file, but I couldn't find anything. I couldn't mount my
5 > > CD (in the past this wasn't necessary for audio CDs, but I thought I'd
6 > >
7 > As far as I know, the Linux kernel cannot mount Audio CDs. The one
8 > programme that on my system works with Audio CDs is Gnome-mplayer. You
9 > might also try VLC. Another option is to rip them with Grip.
10 >
11 > Regards,
12 > Liviu
13 >
14
15 I wrote in about this problem awhile ago and never got an answer. This
16 morning I was googling the problem and came across the thread I created
17 on an archive site and looked at it just to see if there was anything
18 I'd missed. There was a reply to it that I hadn't seen before, so I
19 read it. I don't know why I never received the reply, but it suggested
20 using
21
22 mplayer cdda://
23
24 and posting the error messages. I tried it and it works; it plays my
25 audio cd:
26
27 michael@camille ~ $ mplayer cdda://
28 MPlayer dev-SVN-r28058-4.1.2 (C) 2000-2008 MPlayer Team
29 CPU: Intel(R) Celeron(R) CPU 2.66GHz (Family: 15, Model: 4, Stepping: 1)
30 CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
31 Compiled with runtime CPU detection.
32 Can't open joystick device /dev/input/js0: No such file or directory
33 Can't init input joystick
34 mplayer: could not connect to socket
35 mplayer: No such file or directory
36 Failed to open LIRC support. You will not be able to use your remote
37 control.
38
39 Playing cdda://.
40 Found audio CD with 17 tracks.
41
42 Track 1
43 rawaudio file format detected.
44 ==========================================================================
45 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
46 AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio:
47 176400->176400)
48 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
49 ==========================================================================
50 AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
51 Video: no video
52 Starting playback...
53 A: 9.0 (09.0) of 3701.7 ( 1:01:41.7) 8.6%
54
55 MPlayer interrupted by signal 2 in module: play_audio
56 A: 9.0 (09.0) of 3701.7 ( 1:01:41.7) 8.6%
57 Exiting... (Quit)
58
59
60 However, kscd does not. The interface looks like it's playing, but
61 there's no audio output:
62
63 michael@camille ~ $ kscd
64 QWidget::setProperty( "text", value ) failed: property invalid,
65 read-only or does not exist
66 kdecore (KConfigSkeleton): Creating KConfigSkeleton (0x80ed298)
67 kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
68 kdecore (KConfigSkeleton): Creating KConfigSkeleton (0x8109610)
69 kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
70 kscd: Device change: WM_CDIN, /dev/cdrom, , , status: Stopped
71 kscd: Volume change: 100, status: Success
72 michael@camille ~ $ kscd: New discId=3859707153
73 kscd: lookupCDDB() called
74 kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
75 libkcddb: Looking up e60e7511 in CDDB cache
76 kdecore (KConfigSkeleton): Creating KConfigSkeleton (0xbfb4a1f4)
77 kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
78 libkcddb: Loaded CDInfo for e60e7511
79 libkcddb: Found 1 hit(s)
80 kdecore (KConfigSkeleton): KConfigSkeleton::writeConfig()
81 kdecore (KConfigSkeleton): KConfigSkeleton::readConfig()
82
83
84 As far as I can tell, the logs have nothing to say about this problem.
85 Unless I'm looking in the wrong log. I checked /var/log/messages and
86 there is no mention of kscd anywhere. dmesg has the same two lines
87 repeated over and over again:
88
89 i2c-adapter i2c-1: master_xfer[1] R, addr=0x40, len=3
90 i2c-adapter i2c-1: master_xfer[0] W, addr=0x40, len=2
91
92 with one variation at the very top: adapter i2c-1: master_xfer[1] R,
93 addr=0x40, len=2
94
95 If I try to play my CD in VLC, I get this error:
96
97 Your input can't be opened:
98
99 VLC is unable to open the MRL 'cdda:///dev/hda'. Check the log for
100 details.
101
102
103 but I can't find VLC's log file. Can anyone clue me in to where it is?
104
105 I checked /dev/hda (which IS my cd-rom drive):
106
107 camille ~ # ls -l /dev/hda
108 brwxrwxrwx 1 root cdrom 3, 0 Dec 28 15:15 /dev/hda
109
110
111 and I AM in the cdrom group:
112
113 camille ~ # grep cdrom /etc/group
114 cdrom:x:19:michael,haldaemon
115
116
117
118
119 I'm using gnome:
120
121 camille log # emerge -pv gnome
122
123 These are the packages that would be merged, in order:
124
125 Calculating dependencies... done!
126 [ebuild R ] gnome-base/gnome-2.22.3 USE="cdr cups dvdr esd ldap
127 -accessibility -mono" 0 kB
128
129 Total: 1 package (1 reinstall), Size of downloads: 0 kB
130
131
132 Can anyone help me fix this with this new information?
133 -Michael Sullivan-