openSUSE11.0 - Xine Cannot Find CDROM/DVD

After a fresh install of openSUSE11.0 KDE4.1 on my desktop pc I can no longer get kaffeine to directly play a dvd from my cd/dvd drive. I have re-installed all of the recommended codecs and drivers from packman. Kaffeine worked perfectly on the same pc with the same version of SUSE and KDE prior to the re-install. The DVD will play in kaffeine if I select a video file via dolphin which is the only option offered by KDE on inserting the DVD in the drive. I get the error message:

The source can’t be read. Maybe you don’t have enough rights for this, or source doesn’t contain data (e.g. No diskc in drive) (/dev/dvd). No plugin found to handle this resource (dvd://). Details: xine cannot find input plugin for MRL (dvd://).

The same DVD will play directly in VLC without any problem.

I have run the xine-check with the output shown below. Clearly my system doesn’t appear to have either a /dev/cdrom or dev/dvd device, that is, so far as xine is concerned. I followed the hint and set up a symlink as follows: #ln -s hda /dev/dvd. Kaffeine then played the DVD directly from the drive without problem. If I then restart my pc the problem returns unless I again repeat the symlink instruction as super user.

It appears that my pc hasn’t been set up correctly during the automatic SUSE11.0 install process. I would really appreciate some pointers on how to correctly set up SUSE11.0 so that my DVD drive is seen by the xine engine. Thanks.

steve@linux-vy3l:~> xine-check
Please be patient, this script may take a while to run…
good ] you’re using Linux, doing specific tests
good ] looks like you have a /proc filesystem mounted.
good ] You seem to have a reasonable kernel version (2.6.25.16-0.1-default)
good ] intel compatible processor, checking MTRR support
good ] you have MTRR support and there are some ranges set.
good ] found the player at /usr/bin/xine
good ] /usr/bin/xine is in your PATH
hint ] several instances of xine-config found in your PATH
xine-config executables have been found in these places:
/usr/bin/X11/xine-config
/usr/bin/xine-config
This probably means you have several versions of xine-lib installed.
It’s probably best to uninstall all unused xine-libs.
Further tests will use /usr/bin/X11/xine-config.
press <enter> to continue…

good ] plugin directory /usr/lib/xine/plugins/1.24 exists.
good ] found unknown plugin: xineplug_flac.so
good ] found unknown plugin: xineplug_vdr.so
good ] found input plugins
good ] found demux plugins
good ] found decoder plugins
good ] found video_out plugins
good ] found audio_out plugins
[OUCH!!] no skin directory (/usr/share/skins)
The skin-directory doesn’t exist. xine-config claims that there
is a skin directory at /usr/share/skins.
However, there is no such directory.
You probably need to reinstall xine-ui.
press <enter> to continue…

hint ] You don’t have a /dev/cdrom device.
This is the default device that xine uses for playing VCDs or CDs.
You could make your life easier by creating a symlink named /dev/cdrom
pointing to your real CD device (something like /dev/scd0 or /dev/hdc).
If your cdrom device is /dev/hdb (slave ATAPI device on primary bus),
ln -s hdb /dev/cdrom
typed as root will give you the symlink.
Alternatively, you can configure xine to use the real device directly,
using the setup dialog within xine.
press <enter> to continue…

hint ] /dev/dvd is /dev/dvd, not a DVD device
/dev/dvd is the default device that xine uses for playing DVDs.
You could make your life easier by creating a symlink named /dev/dvd
pointing to your DVD device (something like /dev/scd0 or /dev/hdc).
If your DVD-ROM device is /dev/hdb (slave ATAPI device on primary bus),
rm /dev/dvd
ln -s hdb /dev/dvd
typed as root will give you the symlink.
Alternatively, you can configure xine to use the real device directly,
using the setup dialog within xine, but I can’t check your DMA
settings in that case…
press <enter> to continue…

good ] found xvinfo: X-Video Extension version 2.2
hint ] Your X server doesn’t support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you’ll find accelerated X servers on
Signodelostiempos.com U.S. Licansed Online Pharmacy
press <enter> to continue…

hint ] Your X server doesn’t support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you’ll find accelerated X servers on
Signodelostiempos.com U.S. Licansed Online Pharmacy
press <enter> to continue…

hint ] Your X server doesn’t have any XVideo support…
XVideo is an X server extension introduced by XFree86 4.x. This
extension provides access to hardware accelerated color space
conversion and scaling, which gives a great performance boost.
If you have a fast (>1GHz) machine, you may be able to watch all
kinds of video, anyway. You will waste lots of CPU cycles, though…
press <enter> to continue…

I notice that my CDROM/DVD drives (I have 2) do not appear anywhere in YAST I would expect to find them in the hardware section…but there is nothing listed :\

Ok…I am a noob so please forgive me for being stupid. I have solved the problem on kaffeine with a pointer or two from other posts in this section.

I found the following symlinks in my /dev directory:

cdrom3–>hda
dvd2–>hdb

I then amended and saved the settings in kaffeine:

kaffeine->settings->xine engine parameters->media->beginner options->/dev/cdrom3 and /dev/dvd3

It now works…I can play dvd’s and cd’s direct from the drives.

Check that in /dev that the link to the cd is /dev/dvd. I had a similar problem after installing suse11.0, and the link was /dev/dvd1. I just moved /dev/dvd1 to /dev/dvd and kaffeine the worked for me. You have to this every time you restart the PC. If that annoys you you can create a shell script in /etc/init.d to do this for you. You then have to create a link to this in /etc/init.d/rc5.d. it is also good to enable the dma of the cd drive at the same time. My script for init.d was "mv /dev/dvd1 /dev/dvd
mv /dev/dvdrw1 /dev/dvdrw
hdparm -d 1 /dev/hda I named it “hda_dma_setup”
and the link I created in /etc/init.d/rc5.d was “ln -s …/hda_dma_setup S80hda_dma_setup”

Kaffeine handled this for me … But xine did not. No matter, I went to the settings and the media page and set the dvd source to /dev/dvd1.

Been trying OpenSuse 11.1 but DVD/DVD-RW and hard drives not showing up, and when I can get them to show up, I get error message, and I cant access them at all.
Can see and access USB drives with no problem, but not hard drives or DVD drives. Why is this?

Cheers

John