can't play Audio CDs with Suse 13.2

Hello, I can’t play audio CDs with a fresh install of openSuse 13.2 x64.

hwinfo for cdrom is:

dad@linux-uc65:~> /usr/sbin/hwinfo --cdrom
33: SCSI 201.0: 10602 CD-ROM (DVD)                              
  [Created at block.249]
  Unique ID: KD9E.j5Yu_GKv0T2
  Parent ID: rKvl.Dh57tzYVWf2
  SysFS ID: /class/block/sr0
  SysFS BusID: 2:0:1:0
  SysFS Device Link: /devices/pci0000:00/0000:00:0f.1/ata3/host2/target2:0:1/2:0:1:0
  Hardware Class: cdrom
  Model: "TSSTcorp CDDVDW SH-S202J"
  Vendor: "TSSTcorp"
  Device: "CDDVDW SH-S202J"
  Revision: "SB02"
  Driver: "pata_via", "sr"
  Driver Modules: "pata_via"
  Device File: /dev/sr0 (/dev/sg3)
  Device Files: /dev/sr0, /dev/cdrom, /dev/cdrw, /dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S202J, /dev/disk/by-path/pci-0000:00:0f.1-ata-1.1, /dev/dvd, /dev/dvdrw
  Device Number: block 11:0 (char 21:3)
  Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
  Drive status: no medium
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #25 (IDE interface)
  Drive Speed: 48

Data discs open with no problem.
Using VLC the following errors occur when trying to open a dvd and audio cd.

Playback failure:
DVDRead could not open the disc "/dev/sr0".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

I have checked users and added cdrom, disk, audio, pulse and video

Any help is appreciated

thanks,

Hi,

If this is a fresh install then you need the multimedia codecs.

https://forums.opensuse.org/entry.php/160-openSUSE-13-2-Multimedia-Guide

or

http://opensuse-guide.org/codecs.php

Hello and thanks. I forgot to mention that I did already add the one-click multimedia. To be safe I just did it again. Using the http://opensuse-guide.org/codecs.php link. I realized I was in LXDE, though that shouldn’t make a difference, so I logged out and into KDE and reinstalled via the one-click. No errors, clean install.

Again, trying to open an audio CD error from VLC is:


Your input can't be opened:
VLC is unable to open the MRL 'cdda:///dev/sr0'. Check the log for details.

Which log is it refering to? What location?

I tried to open a file that contains mp3’s on the computer. It gave the following error:


No suitable decoder module:
VLC does not support the audio or video format "mpga". Unfortunately there is no way for you to fix this.

When I opened the directory and selected one of the mp3 files, Totem opened it looked like it was playing, by the time bar at the bottom of the screen. Looking at VLC, same thing. I didn’t notice that before. The file is playing, but no sound

YaST sound shows Sound Blaster 16PCI confitured.
play test sound does not work (it did two days ago)
enabled pulse audio support
play test sound still does not work
Deleted configuration Sound Blaster, exited YaST sound, came back in and configured using normal
play test sound now works, but no audio from file or audio cd or dvd
Exited YaST, came back and now no test sounds
Note there are no volume settings for the sound card. That screen shows blank
The only setting in Kmixer is volume

Looking at the VLC preferences, the codecs loaded is empty

Years back, had a similar issue and used “MultiMedia Checker or mmcheck - Check Your openSUSE MultiMedia Setup in Just 16 Steps” to work through it. Don’t remember if it just helped diagnose, or fixed it. This post hasn’t been updated since 3/2010. Is it still applicable or would it make things worse?

Any help is still appreciated.

Looked at the sticky “Welcome to Multimedia sub”. Sorry I didn’t do that first. Installed pavucontrol as suggested. Tried to run from menu, errored out. From terminal error said I didn’t have permissions. (directory is set at root/root) Logged in as su and it opened, but with the following errors:

# pavucontrol

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkMisc:xpad is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkMisc:ypad is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkAlignment:bottom-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkAlignment:left-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkAlignment:right-padding is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkContainer:resize-mode is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.

(pavucontrol:10442): GLib-GObject-WARNING **: The property GtkButton:xalign is deprecated and shouldn't be used anymore. It will be removed in a future version.

Under configuration is says “no cards available for configuration”.

I ran the Alsa diagnostic tool. The files are located here.
http://www.alsa-project.org/db/?f=2e48237525b72a02f0d932eb5bf8e879298f6622

thanks

Ran mmcheck and added various missing apps. reran the Alsa diag, here
http://www.alsa-project.org/db/?f=84ca0f32d51b629d756963ce062db3bfe4dddf86

Still the same problem. No sound

VLC on audio cd:

Your input can't be opened:
VLC is unable to open the MRL 'cdda:///dev/sr0'. Check the log for details.

VLC on dvd:

Playback failure:
DVDRead could not open the disc "/dev/sr0".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.

Thanks for any help,

So did you check in Yast to setup sound? Sometimes you will have HDMI sound via the video card and changing the order of the drivers can help. You can alos test the sound there and try it without pulse. IMO pulse is good to have unless it causes a problem. You did not say which desktop but vlc should run on any since it uses it’s own codecs. GO to Yast - software managemnet and check to be sure that all the vlc stuff comes from the same repo and best to be packman

Install the package

vlc-codecs

if it is not installed already.

Thanks for the help. Yes I have been using Yast. After working through all of the mmcheck and then a reboot, the test sound is YaST is back, but the same errors on the various player. OK, now the Yast sound test is dead again.

Had a similar issue many years back. The temporary fix was an alsa restart from terminal. Any thoughts?

Still need some help with this mess. Done everything I can think of.

Have you tried smplayer? Instead of VLC?

Please let me see your repos

zypper lr -d

btw, it was not installed. Did install it, but still no sound.

Hopefully someone will see the issue. Still hoping.

Caf, glad you chimed in, thanks.

There are a couple here that were asked for via one-clicks. I disabled them after they were used. If I need to remove any, please feel free to advise.

Yes, I did also try smplayer, it errors with “++ WARN: error in ioctl CDROMREADTOCHDR: No medium found”
and “Cache fill: 0.00% (0 bytes)”

zypper lr -d
#  | Alias                              | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
---+------------------------------------+------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
 1 | Packman Repository                 | Packman Repository                 | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                            |        
 2 | download.opensuse.org-13.2-non-oss | Update Repository (Non-Oss)        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                                   |        
 3 | download.opensuse.org-non-oss      | Main Repository (NON-OSS)          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                        |        
 4 | download.opensuse.org-oss          | Main Repository (OSS)              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                            |        
 5 | download.opensuse.org-update       | Main Update Repository             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                           |        
 6 | home:Kenzy:packages                | home:Kenzy:packages                | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Kenzy:/packages/openSUSE_13.2/      |        
 7 | home:codeminister                  | home:codeminister                  | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/codeminister/openSUSE_Factory/      |        
 8 | home:kleinrob:tsm                  | home:kleinrob:tsm                  | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/kleinrob:/tsm/openSUSE_13.2/        |        
 9 | libdvdcss repository               | libdvdcss repository               | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.2/                                                |        
10 | nVidia Graphics Drivers            | nVidia Graphics Drivers            | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/13.2/                                           |        
11 | openSUSE-13.2-0                    | openSUSE-13.2-0                    | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-1SanDisk_Cruzer_Glide_2004431831161920F5C4-part2 |        
12 | oracle_virtualbox                  | oracle virtualbox                  | Yes     | Yes     |   99     | rpm-md | http://download.virtualbox.org/virtualbox/rpm/opensuse/12.3                         |        
13 | repo-debug                         | openSUSE-13.2-Debug                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                      |        
14 | repo-debug-update                  | openSUSE-13.2-Update-Debug         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2/                                     |        
15 | repo-debug-update-non-oss          | openSUSE-13.2-Update-Debug-Non-Oss | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2-non-oss/                             |        
16 | repo-source                        | openSUSE-13.2-Source               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/13.2/repo/oss/                     |        
17 | tumbleweed                         | tumbleweed oss                     | Yes     | Yes     |   98     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss                                    |        
18 | tumbleweed_non-oss                 | tumbleweed non-oss                 | Yes     | Yes     |   98     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss                                |        
19 | tumbleweed_update                  | tumbleweed update                  | Yes     | Yes     |   98     | rpm-md | http://download.opensuse.org/update/tumbleweed/   

Why the Tumbleweed repos?

trying to install w32codecs for mplayer. There was a dependancy lib file that I could only find there. Should they be removed or disabled?

Probable the source of the problems. Mixing version is BAD like crossing the streams.

You must have sound working in Yast before you can expect it to works any program.

So tell us of the drivers you see in yast and the hardware you have.

Remove them
w32codecs is really not required
I’m fairly sure it’s not included in my multimedia guide

The trick now is to get you back to a normal state.

Use kde
And open Yast software management
View by repositories and make sure it’s selected to ‘System’ (usually the top of the list and selected by default)
Now scrolling down the list of packages - how many are / have the colour red

OK, 9 are red - libcrystalhd3, libbs2b0, libXxf86dgal, libts-1_0-0, libssh4, libid3tag0, brhl2040lpr, cupswrapperHL2040, libsrdc++

Here is the list of reposits, btw:

 zypper lr -d
#  | Alias                              | Name                               | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
---+------------------------------------+------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
 1 | Packman Repository                 | Packman Repository                 | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.2/                            |        
 2 | download.opensuse.org-13.2-non-oss | Update Repository (Non-Oss)        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/                                   |        
 3 | download.opensuse.org-non-oss      | Main Repository (NON-OSS)          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/                        |        
 4 | download.opensuse.org-oss          | Main Repository (OSS)              | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                            |        
 5 | download.opensuse.org-update       | Main Update Repository             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                           |        
 6 | libdvdcss repository               | libdvdcss repository               | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/13.2/                                                |        
 7 | nVidia Graphics Drivers            | nVidia Graphics Drivers            | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/13.2/                                           |        
 8 | openSUSE-13.2-0                    | openSUSE-13.2-0                    | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-1SanDisk_Cruzer_Glide_2004431831161920F5C4-part2 |        
 9 | oracle_virtualbox                  | oracle virtualbox                  | Yes     | Yes     |   99     | rpm-md | http://download.virtualbox.org/virtualbox/rpm/opensuse/12.3                         |        
10 | repo-debug                         | openSUSE-13.2-Debug                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/13.2/repo/oss/                      |        
11 | repo-debug-update                  | openSUSE-13.2-Update-Debug         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2/                                     |        
12 | repo-debug-update-non-oss          | openSUSE-13.2-Update-Debug-Non-Oss | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/13.2-non-oss/                             |        
13 | repo-source                        | openSUSE-13.2-Source               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/13.2/repo/oss/

I was never able to get any w32 codecs to install btw. They are not there.

Also note, I just logged out of LXDE and into KDE. Right now and anytime I logout or reboot the YaST sound, test sound works. As soon as we try one of the players, it kicks off and there is nothing.

Can you tell me a terminal prompt to use to get you that information? I am not sure which drivers or hardware you are after. Does the alsa diagonstic have that? It is in one of the posts above, if it helps. Please let me know. thanks

Please try doing this:
https://dl.dropboxusercontent.com/u/10573557/Switcher%20Pics/13.1_Packman_Switch_KDE.png

OK, did that.
Checked Yast/sound/options/test sound and got the fanfare.

Opened smplayer - open/disc/audio cd/ nada - same cache fill:0.00% (o bytes)
Oops, something wrong happened (error window)

/usr/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv, -ao pulse, -nokeepaspect -nodr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 25165927 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/dad/.config/smplayer/styles.ass -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 50 -cdrom-device /dev/cdrom -cache 1024 -osdlevel 0 -vf-add screenshot -noslices -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 cdda://1

MPlayer -4.8 (C) 2000-2014 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://1.
ID_CDDA_TRACKS=153
ID_CDDA_TRACK_1_MSF=00:00:00
ID_CDDA_TRACK_2_MSF=00:00:00
ID_CDDA_TRACK_3_MSF=00:00:00
*   thru to*
ID_CDDA_TRACK_152_MSF=00:00:00
ID_CDDA_TRACK_153_MSF=00:00:00
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Found audio CD with 112 tracks.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found


Cache fill:  0.00% (0 bytes)   
Cache fill:  0.00% (0 bytes)   
Cache fill:  0.00% (0 bytes) 
   thru to
Cache fill:  0.00% (0 bytes)   
Cache fill:  0.00% (0 bytes)   
Cache fill:  0.00% (0 bytes)   

Opened VLC player - media/open disc/audio CD (/dev/cdrom)/play - error"
Your input can’t be opened:

VLC is unable to open the MRL 'cdda:///dev/cdrom'. Check the log for details.

Which log is this referring to?

Checked Yast/sound/options/test sound and still have the fanfare.
Disc does not show on any of the file manager apps.

tks

OK
So lets take a different look at this.

  1. Where you have audio files on your HDD filesystem. Does Amarok or VLC play those?

  2. With k3b and an audio CD in, can k3b rip the tracks from the CD?