Announcement

Collapse
No announcement yet.

Changed motherboard now no amarok

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

    Changed motherboard now no amarok

    Just a few days ago I changed my motherboard and everything seems to function except amarok and K3b to some extent. Here's what happens when I insert a cd into my cdrom (the same used on my old board) the KDE Daemon will come up and ask "open in new window", "play with amarok", etc. If I choose Play with amarok the playlist will open and everything looks fine. However, when I press play or try to play any track the message "Error loading media: no suitable input plugin. This often means the url's protocol is not supported. Network failures are other possible causes.".
    I did an upgrade (not version) and can now play cds with Kaffiene.

    Another seemingly related problem is that I cannot play encrypted DVDS with any other application other than Kaffeine , it was not this way before the Motherboard change. I have all win32 codecs, Libdvdcss2, etc., just somehow I have lost the link?

    Finally, K3b will stop midway when backing up a newer jacket type DVD. It seems to normally perform half the backup then the cdrom opens, closes, and the second half is backed up. In this case at the mid point the cd will stop and not open just saying something like "reloading media" but never does.

    By the way, the reason I just don't reinstall everything is because I have spent months tweaking and really like what I have.
    It is Gusty 7.10. The motherboard is: DP35DP w/Q6700. The cdrom is an LG --HL-DT-ST DVDRAM
    GSA-H22L
    Thanks in advance for any suggestions.

    #2
    Re: Changed motherboard now no amarok

    if the new motherboard is the same as the old one
    then there is no evident explanation for what you're seeing.
    on the contrary, if the new motherboard is different
    (i.e., it has different devices on it), it may simply be
    that you need different drivers.

    now...
    of course you could try and check one thing at a time
    (e.g., with sudo lshw and lsmod, etc.)
    but i bet it'll be a lot easier (and faster) to re-install the os.

    do you know how to go about this without losing your data?
    gnu/linux is not windoze

    Comment


      #3
      Re: Changed motherboard now no amarok

      Thanks for responding Jankushka!

      I tried sudo lslw and my cdrom was listed. So I tried a sudo apt-get remove --purge amarok with some progress. Now cds will still not play when the daemon prompts me, but if I open the files with Dolphin and select actions>play audio cd with amarok the playlist will be "populated" and finally begin to play. Funny how the link to the daemon does not function?

      Comment


        #4
        Re: Changed motherboard now no amarok

        alright, then...
        let's check the following:

        the relevant service desktop file for dolphin:
        Code:
        root> ls -l /usr/share/apps/d3lphin/servicemenus/amarok_play_audiocd.desktop
        -rw-r--r-- 1 root root 2028 2008-06-11 15:56 /usr/share/apps/d3lphin/servicemenus/amarok_play_audiocd.desktop
        
        root> grep Exec /usr/share/apps/d3lphin/servicemenus/amarok_play_audiocd.desktop
        Exec=amarok --cdplay %u
        same for the konqueror's:
        Code:
        root> ls -l /usr/share/apps/konqueror/servicemenus/amarok_play_audiocd.desktop
        -rw-r--r-- 1 root root 1855 2008-06-11 16:13 /usr/share/apps/konqueror/servicemenus/amarok_play_audiocd.desktop
        
        root> grep Exec /usr/share/apps/konqueror/servicemenus/amarok_play_audiocd.desktop
        Exec=bash kubuntu-media-amarok %u
        now...
        kubuntu-media-amarok is /usr/bin/kubuntu-media-amarok
        which contains the following:
        Code:
        root> cat /usr/bin/kubuntu-media-amarok
        #!/bin/bash
        
        DEVICE=$@
        
        if [ -n "$DEVICE" ];then
            if [ ${DEVICE:0:7} = "audiocd" ]; then
                amarok --cdplay ${DEVICE#*=}
            elif [ ${DEVICE:0:1} = "/" ]; then
                amarok --cdplay `dcop kded mediamanager fullList | grep -B1 $DEVICE | head -n1`
            else
                amarok --cdplay /dev/cdrom
            fi
        else
            amarok --cdplay /dev/cdrom
        eventually check the logical names associated with your cd/dvd in lshw.
        then make sure that the necessary links still point to the right device file.
        in my case it's /dev/scd0...
        Code:
        root> ls -ld /media/cd*
        lrwxrwxrwx 1 root root  6 2007-04-28 18:48 /media/cdrom -> cdrom0
        drwxr-xr-x 2 root root 4096 2007-04-28 18:48 /media/cdrom0
        
        root> ls -l /dev/cdrom*
        lrwxrwxrwx 1 root root 4 2008-06-10 10:25 /dev/cdrom -> scd0
        hth
        gnu/linux is not windoze

        Comment


          #5
          Re: Changed motherboard now no amarok

          Thanks again jankushka!

          Everything is the same as your posting until I get to:

          ls -ld /media/cd* then I get:

          lrwxrwxrwx 1 root root 6 2007-12-27 16:23 /media/cdrom -> cdrom0
          drwxr-xr-x 2 root root 4096 2007-12-27 16:23 /media/cdrom0
          drwxr-xr-x 2 root root 4096 2007-12-27 16:23 /media/cdrom1

          There's possibly something wrong here since I'm only using one cdrom but I did have two before the change.

          Also at ls -l /dev/cdrom* I have:

          -su: root: command not found

          Thanks.
          I ran ls -l /dev/cdrom* not as root and got this response:

          lrwxrwxrwx 1 root root 4 2008-06-11 18:54 /dev/cdrom2 -> scd0

          Comment


            #6
            Re: Changed motherboard now no amarok

            oh, good...
            this should fix things, then:
            Code:
            sudo ln -s /dev/scd0 /dev/cdrom
            and you can also probably get rid of /media/cdrom1 and /dev/cdrom2 with
            Code:
            sudo rm /media/cdrom1 /dev/cdrom2
            but i would just leave them there.
            they'll do no harm, anyway.
            gnu/linux is not windoze

            Comment


              #7
              Re: Changed motherboard now no amarok

              Thanks again jankushka!

              We're close I think.
              sudo ln -s /dev/scd0 /dev/cdrom worked perfectly, however it seems to be temporary. When I power down and restart The link is not retained and I have run sudo ln -s /dev/scd0 /dev/cdrom
              again.
              Perhaps this can be run as some sort of script at startup, which I don't think I know how to do either.

              Thanks again.

              Update: I decided to try to repair the DVD end of this situation and found this post
              http://kubuntuforums.net/forums/inde...opic=3093102.0

              This fixed my DVD problem and as I looked at the contents of the "70-persistent-cd.rules" file I saw that I had two entries for my drive, one for cdrom and one for cdrom2. By changing cdrom2 & cdromrw2 to cdrom & cdromrw all is well.

              Thanks again jankuska for pointing me in the right direction!

              Comment


                #8
                Re: Changed motherboard now no amarok

                case closed, then.
                wery well.
                8)
                gnu/linux is not windoze

                Comment

                Working...
                X