Bug 219294 - No audiocd playable when theres no /dev/cdrom
Summary: No audiocd playable when theres no /dev/cdrom
Status: RESOLVED WORKSFORME
Alias: None
Product: kscd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-19 13:05 UTC by Stephan Karacson
Modified: 2018-11-05 02:49 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Karacson 2009-12-19 13:05:10 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

Using KsCD on my Gentoo with recent udev 146-r1 it refuses to even start a track. I found out that it needs a /dev/cdrom that it can play.
cd /dev/ && ln -s  sr0 cdrom would solve it, but that is a bad hack.
My recent kernel 2.6.31 gives my cdrom the blockdevice /dev/sr0 and udev adds /dev/cdrom1.
KDE-Systemsettings, kscd or amarok don't let me correct this, but it would be nice if kscd&co would detect the audiocd automatically with it's corresponding blockdevicd or just let it set by the user, not by the admin with a dev-hack. Am I wrong that this was the case in kde3?

Interesting is that amarok tells me the numer of tracks (it shows me that it has found the cd) but refuses to start a track.
Comment 1 Gerard82 2010-01-14 17:30:12 UTC
(In reply to comment #0)
> Version:            (using KDE 4.3.3)
> Compiler:          gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4 
> OS:                Linux
> Installed from:    Gentoo Packages
> 
> Using KsCD on my Gentoo with recent udev 146-r1 it refuses to even start a
> track. I found out that it needs a /dev/cdrom that it can play.
> cd /dev/ && ln -s  sr0 cdrom would solve it, but that is a bad hack.
> My recent kernel 2.6.31 gives my cdrom the blockdevice /dev/sr0 and udev adds
> /dev/cdrom1.
> KDE-Systemsettings, kscd or amarok don't let me correct this, but it would be
> nice if kscd&co would detect the audiocd automatically with it's corresponding
> blockdevicd or just let it set by the user, not by the admin with a dev-hack.
> Am I wrong that this was the case in kde3?
> 
> Interesting is that amarok tells me the numer of tracks (it shows me that it
> has found the cd) but refuses to start a track.

I ran into the exact same problem.
Gentoo kernel 2.6.30-r5.
There's no way to configure kscd.
The help handbook is for kde-3.
Gerard.
Comment 2 Raúl 2010-02-07 18:12:12 UTC
Hi:

Same problem here on Debian sid(Linux 2.6.32 + kde 4.3.4 + Qt 4.5.3) KsCD is unable to get the configuration of the CD device correctly, it seems that only /dev/cdrom is hardcoded. It should, at least take the one configured in audiocd kioslave or at best make it automatically guess it.

There are plenty of bugs filed against detecting the right CD device, for instace: https://bugs.kde.org/show_bug.cgi?id=129361 https://bugs.kde.org/show_bug.cgi?id=115177 or https://bugs.kde.org/show_bug.cgi?id=56817

For now the only workaround I have is manually linking /dev/cdrom to the right device.

Regards,
Comment 3 Shannon 2010-02-19 16:18:25 UTC
Same thing here. udev(version 151) puts my drive at /dev/cdrom1 or /dev/dvd1. SystemSettings -> Audio CD's is set to /dev/cdrom1. But I get:

$ kscd
kscd(30473)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-fallenangel/ksycoca4"
Query failed: Cannot open '/dev/cdrom'
This CD was not found.

$ kscd --version
Qt: 4.6.2
KDE Development Platform: 4.4.00 (KDE 4.4.0)
KsCD: 1.5
Comment 4 Andrew Crouthamel 2018-11-02 23:05:59 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Stephan Karacson 2018-11-03 10:44:34 UTC
Im sorry, but this bug seems to have survived it's program.
Gentoo does not supply kscd, kde4 or even qt4 anymore so I currently can't even test it, not on my productive device.
I loved kscd, but now it has been almost 9 years.
It seems not to be ported to kf5 completely?
https://community.kde.org/Applications/17.12_repo_drop_list_kdelibs4#kmouth_.5BDONE.5D
Comment 6 Andrew Crouthamel 2018-11-05 02:49:49 UTC
Thanks for the update!