Author Topic: (Fixed-somewhat) Music CD play is a no-show in 4  (Read 2660 times)

Offline kc1di

  • Sr. Member
  • ****
  • Posts: 483
  • Morse Code early digital communication medium!
Re: Music CD play is a no-show in 4
« Reply #15 on: April 19, 2010, 07:15:16 PM »
Thanks, Dave.
Would you be kind enough to explain creating a symbolic link from /dev/sr0 to /dev/cdrom?  And what is a /dev/sr0?

in a terminal type su <you will be asked for your root passwd>

Then type the command  ln -s /dev/sr0 /dev/cdrom  <enter> <This example is for your first cdrom drive> 
you may get a message that /dev/cdrom exist if so type the following

rm /dev/cdrom <enter>
Then type ln -s /dev/sr0 /dev/cdrom <Enter>  That should create the link and kscd should work after that.
Hope this helps.
dave
Dave KC1DI Living somewhere in Maine USA
Morse Code and early digital mode
John 3:16
Registered Linux User #462608

Offline old_guy

  • Hero Member
  • *****
  • Posts: 705
Re: Music CD play is a no-show in 4
« Reply #16 on: April 19, 2010, 08:05:32 PM »
Still using good OLD Xmms for CD's and most all other music files. Working on new KDE and Gnome after adding xmms-cdread and setting preferences - then play location /dev/cdrom1 (for me).
Earl
Never too old to learn.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #17 on: April 19, 2010, 09:19:28 PM »
Still using good OLD Xmms for CD's and most all other music files. Working on new KDE and Gnome after adding xmms-cdread and setting preferences - then play location /dev/cdrom1 (for me).
Earl

Where, exactly are you setting the play location? I didn't see anything in preferences, so made two desktop buttons/widgets to play CDs from either optical drive.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline old_guy

  • Hero Member
  • *****
  • Posts: 705
Re: Music CD play is a no-show in 4
« Reply #18 on: April 19, 2010, 09:40:30 PM »
old-polack
Options > Preferences > Audio I/O Plugins  > (select)CD Audio Player > Configure > Device: /dev/cdrom1 - OK -Apply
Then when I insert a CD -Play Location /dev/cdrom1
Earl
Never too old to learn.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #19 on: April 19, 2010, 09:55:43 PM »
old-polack
Options > Preferences > Audio I/O Plugins  > (select)CD Audio Player > Configure > Device: /dev/cdrom1 - OK -Apply
Then when I insert a CD -Play Location /dev/cdrom1
Earl

OK. Also added the other drive with the Add Drive button. Now need to test if it plays when inserted in either.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #20 on: April 20, 2010, 07:09:31 AM »
OP, I tried the cli command you posted and I get an error message.  Think it read 'command not found'.
So I must have entered it wrong.  You know from the past, I am totally lost when dealing with the cli.
Guess that's why Microsoft and Apple got away from it years ago.

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #21 on: April 20, 2010, 07:18:18 AM »
Thanks, Dave.
Would you be kind enough to explain creating a symbolic link from /dev/sr0 to /dev/cdrom?  And what is a /dev/sr0?

in a terminal type su <you will be asked for your root passwd>

Then type the command  ln -s /dev/sr0 /dev/cdrom  <enter> <This example is for your first cdrom drive> 
you may get a message that /dev/cdrom exist if so type the following

rm /dev/cdrom <enter>
Then type ln -s /dev/sr0 /dev/cdrom <Enter>  That should create the link and kscd should work after that.
Hope this helps.
dave


Dave, I'm not adept with commands in the terminal.  Just can't 'get it'.  Have tried many times, but everything
I attempt fails.
I followed your instructions, and now none of the programs can access the cdrom, not even vlc that worked before.
So I reinstalled the / partition, hoping that would clear up the matter.  And again, none of the reinstalled apps
can access.  They are KsCD, Amarok, Smplayer & Audacious.
I'm sure it's just a matter of entering the right commands in the terminal, but I just can't do it.
Is there a way to set up the cdrom in PCC or KCC?

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #22 on: April 20, 2010, 09:17:02 AM »
OP, a finally discovered my misstep in konsole.  I entered su and password, not needing to. When I entered the command you gave me at the first prompt, it displayed:

[teddyred@localhost ~]$ ls /dev |grep sr
sr0
sr1

Now if I can just get the cdrom linked to the /dev, it should be accessible.  And not sure how to do that.
Have looked in PCC & KCC but don't see it mentioned.





Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #23 on: April 20, 2010, 09:59:24 AM »
old-polack
Options > Preferences > Audio I/O Plugins  > (select)CD Audio Player > Configure > Device: /dev/cdrom1 - OK -Apply
Then when I insert a CD -Play Location /dev/cdrom1
Earl

OK. I did it your way, so you can try mine. ;D

---------------------------------------- start --------------------------------------------
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=soundwrapper xmms %U /dev/cdrom1
GenericName[en_US]=
GenericName=
Icon=/usr/share/icons/xmms.png
MimeType=
Name[en_US]=xmms CD1
Name=xmms CD1
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=


------------------------------------------ end -------------------------------------------

Copy/paste the above (purple part) into kwrite, be sure to end with a new line, and save it to your desktop as;     

xmms CD.desktop

Right click the icon/widget that is created, and select Properties --> Permissions then check the Is executable box, then click OK.

Put a CD in the tray, close it and click the icon/widget.

Hear pretty music;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #24 on: April 20, 2010, 10:19:41 AM »
Well, OP, I followed your last instructions to a 'T'...........and still no joy!  The xmms icon appeared on the desktop, but will not open.
It just seems KDE4 is not gonna play nice with my hardware.  It's like the apps can't find the cdrom. 
The newer version of KsCD doesn't seem to have a configuration link or I can't find it.
In the older version on 3.5, there was a way to configure it, which I had to do to get to play.
Sorry me and the box are just plumb dumbos!

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #25 on: April 20, 2010, 10:20:54 AM »
OP, a finally discovered my misstep in konsole.  I entered su and password, not needing to. When I entered the command you gave me at the first prompt, it displayed:

[teddyred@localhost ~]$ ls /dev |grep sr
sr0
sr1

Now if I can just get the cdrom linked to the /dev, it should be accessible.  And not sure how to do that.
Have looked in PCC & KCC but don't see it mentioned.


In the terminal become root again. Then enter the following commands.

[root@localhost ~]# cd /dev                                  <Enter>

[root@localhost dev]# ls -l |grep cdrom                         <Enter>

If you get something like the following, the links already exist.

lrwxrwxrwx  1 root   root           3 2010-04-20 10:12 cdrom -> sr0
lrwxrwxrwx  1 root   root           3 2010-04-20 10:13 cdrom1 -> sr1


If you get nothing, then we create the links.

[root@localhost dev]# ln -s sr0 cdrom                     <Enter>

[root@localhost dev]# ln -s sr1 cdrom1                     <Enter>

We verify the links have been made with the command;

[root@localhost dev]# ls -l |grep cdrom                         <Enter>
lrwxrwxrwx  1 root   root           3 2010-04-20 10:12 cdrom -> sr0
lrwxrwxrwx  1 root   root           3 2010-04-20 10:13 cdrom1 -> sr1



At which point you do have links for sure. ;)
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #26 on: April 20, 2010, 10:37:37 AM »
Well, OP, I followed your last instructions to a 'T'...........and still no joy!  The xmms icon appeared on the desktop, but will not open.
It just seems KDE4 is not gonna play nice with my hardware.  It's like the apps can't find the cdrom.  
The newer version of KsCD doesn't seem to have a configuration link or I can't find it.
In the older version on 3.5, there was a way to configure it, which I had to do to get to play.
Sorry me and the box are just plumb dumbos!

That was meant for old_guy, as he already has xmms installed and working. Do you also have xmms installed, along with the xmms-cdread plugin? If you don't, there's nothing there to open. If you use Synaptic to install xmms, and it's plug in, and you have the cdrom and cdrom1 links in place, then the icon/widget should work. :D :D ;)
« Last Edit: April 20, 2010, 10:40:25 AM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #27 on: April 20, 2010, 10:40:02 AM »
I know you're becoming weary of this, cause I sure am!  ;D

Here's the output of the terminal:

[root@localhost dev]#  cd /dev
[root@localhost dev]# ls -l |grep cdrom
lrwxrwxrwx  1 root     root           3 2010-04-20 12:20 cdrom -> sr0
lrwxrwxrwx  1 root     root           3 2010-04-20 12:20 cdrom1 -> sr1
crw-rw----  1 root     cdrom    21,   2 2010-04-20 08:40 sg2
crw-rw----  1 root     cdrom    21,   3 2010-04-20 08:40 sg3

Hopefully this will give you a clue.
As you can see, I have two optical drives.
sr0 I think is the LG dvd/cd drive.
sr1 is the Sony cd drive.
After sending you the last message, I moved the cd from sr0 to sr1 and
could open it with SMPlayer but not KsCD.
And no matter which drive the audio disc is in, the desktop icon doesn't work.

Offline teddyred

  • Sr. Member
  • ****
  • Posts: 337
Re: Music CD play is a no-show in 4
« Reply #28 on: April 20, 2010, 10:43:50 AM »
Well, OP, I followed your last instructions to a 'T'...........and still no joy!  The xmms icon appeared on the desktop, but will not open.
It just seems KDE4 is not gonna play nice with my hardware.  It's like the apps can't find the cdrom.  
The newer version of KsCD doesn't seem to have a configuration link or I can't find it.
In the older version on 3.5, there was a way to configure it, which I had to do to get to play.
Sorry me and the box are just plumb dumbos!

That was meant for old_guy, as he already has xmms installed and working. Do you also have xmms installed, along with the xmms-cdread plugin? If you don't, there's nothing there to open. If you use Synaptic to install xmms, and it's plug in, and you have the cdrom and cdrom1 links in place, then the icon/widget should work. :D :D ;)

OP, I don't have xmms so that explains it.  Is there a way to set up the icon to work with KsCD?

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11688
  • ----IOFLU----
Re: Music CD play is a no-show in 4
« Reply #29 on: April 20, 2010, 11:30:40 AM »
Well, OP, I followed your last instructions to a 'T'...........and still no joy!  The xmms icon appeared on the desktop, but will not open.
It just seems KDE4 is not gonna play nice with my hardware.  It's like the apps can't find the cdrom.  
The newer version of KsCD doesn't seem to have a configuration link or I can't find it.
In the older version on 3.5, there was a way to configure it, which I had to do to get to play.
Sorry me and the box are just plumb dumbos!

That was meant for old_guy, as he already has xmms installed and working. Do you also have xmms installed, along with the xmms-cdread plugin? If you don't, there's nothing there to open. If you use Synaptic to install xmms, and it's plug in, and you have the cdrom and cdrom1 links in place, then the icon/widget should work. :D :D ;)

OP, I don't have xmms so that explains it.  Is there a way to set up the icon to work with KsCD?

It would be easier to install xmms and it's plugin. Besides, xmms is skinable, and the skin pack is on the repo too. KsCD, as I told JohnBoy, is buffalo butt ugly. Hideous would be a compliment to the looks of that beast. I only looked at it for a minute or two, and my eyes are begging me, to be sewn shut.

You now know you have the proper device links, so setting this up shouldn't be that hard. I've used xmms for years, and had it installed on both betas, but didn't have it installed yet on MiniMe, when old_guy's reply reminded me to install it. I'd never used it for CD playing before, as KDE3 tossed CDs at KsCD and it always worked. I used xmms for mp3s and such, until now. When I didn't see a button or menu entry for playing a CD, I made my own buttons for both optical drives. On my machine xmms loads a little slow, in CD playing mode, but once it's up it's great.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...