Announcement

Collapse
No announcement yet.

Multimedia Problem: Maybe you don't have enough rights...(e.g: no disc in drive)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multimedia Problem: Maybe you don't have enough rights...(e.g: no disc in drive)

    If you get something like this:



    Xine Message - Kaffeine Player

    The source can't be read.

    Maybe you don't have enough rights for this, or source doesn't contain data (e.g: no disc in drive). (/dev/dvd)

    Check your dvd. Konsole:
    Code:
    ls -l /dev/dvd*
    lrwxrwxrwx 1 root root 4 2008-04-09 17:50 /dev/dvd2 -> scd0
    lrwxrwxrwx 1 root root 4 2008-04-09 17:50 /dev/dvdrw2 -> scd0
    Problem could be that media players are looking /dev/dvd => "The source can't be read" error.


    This could be related to the Deja Vu


    You could:

    K > Multimedia > Kaffeine

    Kaffeine > Settings > Xine Engine Parameters > media (Beginner Options)

    There is: dvd.device, device used for DVD playback. default is /dev/dvd, change it to the /dev/dvd2


    Same thing with the other players (mplayer...)


    Or simply make symlinks /1/

    Konsole:
    Code:
    sudo ln -s /dev/dvd2 /dev/dvd
    sudo ln -s /dev/dvdrw2 /dev/dvdrw
    so now:

    Konsole:
    Code:
    ls -l /dev/dvd*
    lrwxrwxrwx 1 root root 9 2008-04-09 18:22 /dev/dvd -> /dev/dvd2
    lrwxrwxrwx 1 root root 4 2008-04-09 17:50 /dev/dvd2 -> scd0
    lrwxrwxrwx 1 root root 11 2008-04-09 18:22 /dev/dvdrw -> /dev/dvdrw2
    lrwxrwxrwx 1 root root 4 2008-04-09 17:50 /dev/dvdrw2 -> scd0

    Permanent fix

    If you make symlinks to the /dev folder they will be erased when you turn the power off.

    Kubuntu use udev. udev wiki:
    udev is the device manager for the Linux 2.6 kernel series. Its primary function is managing device nodes in /dev. It is the successor of devfs and hotplug, which means that it handles the /dev directory and all user space actions when adding/removing devices, including firmware load....
    man udev
    man udev

    UDEV(7) udev UDEV(7)

    NAME
    udev - dynamic device management

    DESCRIPTION
    udev provides a dynamic device directory containing only the files for
    actually present devices. It creates or removes device node files in
    the /dev directory, or it renames network interfaces.
    ...
    CONFIGURATION
    All udev configuration files are placed in /etc/udev/*. Every file
    consists of a set of lines of text. All empty lines or lines beginning
    with ´#´ will be ignored.
    ...
    /etc/udev/rules.d/70-persistent-cd.rules have lines:
    Code:
    ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0", SYMLINK+="dvd2", ENV{GENERATED}="1"
    ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:09.0-scsi-1:0:0:0", SYMLINK+="dvdrw2", ENV{GENERATED}="1"
    Pressing Alt + F2 and kdesudo kate /etc/udev/rules.d/70-persistent-cd.rules

    Changing "dvd2" and "dvdrw2" to the "dvd" and "dvdrw". Restarting.

    Code:
    ls -l /dev/dvd*
    is now:
    lrwxrwxrwx 1 root root 4 2008-04-09 22:56 /dev/dvd -> scd0
    lrwxrwxrwx 1 root root 4 2008-04-09 22:56 /dev/dvdrw -> scd0

    /1/ Symbolic link
    http://en.wikipedia.org/wiki/Symbolic_link


    man ln:
    NAME
    ln - make links between files

    -s, --symbolic
    make symbolic links instead of hard links
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: Multimedia Problem: Maybe you don't have enough rights...(e.g: no disc in drive)

    I have libdvdcss and all of the win32 codecs installed. I have every piece of software I need to play DVDs. Then I came across this thread thinking it would finally solve my problem. I followed two of the three instructions above (not the permanent fix) and it's still a no-go. I'm still getting the "no rights/no disc in drive" message. It wants to install the libdvdcss codec (which I already have installed). Once I go through the installation and try to play it, it goes back to install it again. It's locked in a loop.

    In Settings>xine engine parameters>beginner options (decoder)> I have usr/lib/codecs as the external path to Win32 codecs. Is there another setting that should be used instead?

    Comment


      #3
      Re: Multimedia Problem: Maybe you don't have enough rights...(e.g: no disc in dr

      I have libdvdcss and all of the win32 codecs installed.
      Do you have ?:
      libdvdread3 - library for reading DVDs
      and
      libdvdcss2 - Simple foundation for reading DVDs - runtime libraries


      Is there another setting that should be used instead?
      Maybe this helps: Topic: DVD playback fails even with all codecs etc installed

      - Testing media players directly, should start to play DVD or give meaningful error message. That "The source can't be read / do you have enough rights" isn't really helping .


      There are hardware / kernel problems with the Hardy Heron : Topic: CD / DVD reading problem

      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Multimedia Problem: Maybe you don't have enough rights...(e.g: no disc in drive)

        I got this problem too, but I find that it is due to lack of memory, I run Kubuntu on a 440M machine playing DVD always a problem, I reboot and it works again for a while until other apps eat up resource.
        Do you Yahoo ? No I hiccup only :P

        Comment

        Working...
        X