PDA

View Full Version : Audio CDs only work in non-KDE apps



abalone
Sep 1st 2011, 05:32 AM
I can't use audio CDs (data CDs are fine) in KDE-based apps. The Plasma Device Notifier doesn't "see" them. They do show up in Dolphin, but appear empty/broken/unmountable (size unknown). Non-KDE apps like the Sound-Juicer or Asunder rippers work immediately and as expected. Any ideas?

buzzmandt
Sep 1st 2011, 09:53 AM
have you tried kscd?

abalone
Sep 1st 2011, 10:27 AM
kscd gets the correct track list, but won't play or seek.

oshunluvr
Sep 1st 2011, 11:48 PM
any logged errors? Try inserting a CD and looking at the output of dmesg in a terminal. Also helpful error output can be obtained by launching an app from within a terminal.

abalone
Sep 2nd 2011, 09:11 AM
dmesg:

[ 423.379981] Buffer I/O error on device sr0, logical block 8
[ 423.450118] sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 423.450125] sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 423.450130] sr 1:0:0:0: [sr0] Add. Sense: Illegal mode for this track
[ 423.450138] sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 02 00
[ 423.450146] end_request: I/O error, dev sr0, sector 64
[ 423.450151] Buffer I/O error on device sr0, logical block 8

(repeats)

Edit: Doesn't something like that *always* show up for "non-filesystem" CDs, even if there aren't any problem? Can't quite remember.

--------------------

kscd:

(nothing)

--------------------

Dolphin:

Advanced probing on /dev/sr0 failed while reading block size

(repeats)

--------------------

soundKonverter WORKS:

Checking /dev/scd0 for cdrom...
Testing /dev/scd0 for SCSI/MMC interface
SG_IO device: /dev/sr0

CDROM model sensed sensed: TSSTcorp CDDVDW SH-S202J SB02

Checking for SCSI emulation...
Drive is ATAPI (using SG_IO host adaptor emulation)

Checking for MMC style command set...
Drive is MMC style
DMA scatter/gather table entries: 1
table entry size: 524288 bytes
maximum theoretical transfer: 222 sectors
Setting default read size to 27 sectors (63504 bytes).

Verifying CDDA command set...
Expected command set reads OK.

--------------------

Clementine:

Device added: "Gio/unmounted/154847376"
Mount/unmount error: Location is not mountable
Mount/unmount error: Location is not mountable
Mount/unmount error: Location is not mountable

--------------------

K3b WORKS:

command: "READ TOC/PMA/ATIP (43)"
errorcode: "70"
sense key: "ILLEGAL REQUEST (5)"
asc: "24"
ascq: "0"
k3b(4935) K3b::Device::Device::readTocPmaAtip: (K3b::Device::Device) "/dev/sr0" : READ TOC/PMA/ATIP length det failed.
k3b(4935) K3b::Device::Device::readTocPmaAtip: (K3b::Device::Device) "/dev/sr0" : READ TOC/PMA/ATIP invalid length returned: 4
k3b(4935) K3b::Device::Device::readRawToc: Session | ADR | CONTROL| TNO | POINT | Min | Sec | Frame | Zero | PMIN | PSEC | PFRAME |
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | a0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | a1 | 0 | 0 | 0 | 0 | 12 | 0 | 0 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | a2 | 0 | 0 | 0 | 0 | 57 | 13 | 15 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 5 | 2 | 2 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 9 | 9 | 42 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 13 | 21 | 7 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 17 | 48 | 25 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 23 | 30 | 37 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 7 | 0 | 0 | 0 | 0 | 26 | 45 | 40 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 8 | 0 | 0 | 0 | 0 | 31 | 45 | 47 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | 9 | 0 | 0 | 0 | 0 | 34 | 57 | 52 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | a | 0 | 0 | 0 | 0 | 41 | 56 | 67 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | b | 0 | 0 | 0 | 0 | 46 | 35 | 52 |"
k3b(4935) K3b::Device::Device::readRawToc: " 1 | 1 | 0 | 0 | c | 0 | 0 | 0 | 0 | 50 | 20 | 35 |"
k3b(4935) K3b::Device::Device::rawTocDataWithBcdValues: (K3b::Device::Device) found invalid bcd values. No bcd toc.
k3b(4935) K3b::Device::Device::readRawToc: "/dev/sr0" : setting last sector of last track to 257339
k3b(4935) K3b::Device::ScsiCommand::debugError: (K3b::Device::ScsiCommand) failed:
command: "READ TOC/PMA/ATIP (43)"
errorcode: "70"
sense key: "ILLEGAL REQUEST (5)"
asc: "24"
ascq: "0"
k3b(4935) K3b::Device::Device::readTocPmaAtip: (K3b::Device::Device) "/dev/sr0" : READ TOC/PMA/ATIP length det failed.
k3b(4935) K3b::Device::Device::readTocPmaAtip: (K3b::Device::Device) "/dev/sr0" : READ TOC/PMA/ATIP invalid length returned: 4
k3b(4935) K3b::Device::CdText::setRawPackData: (K3b::Device::CdText) zero-sized CD-TEXT: 0
k3b(4935) K3b::Device::DeviceManager::printDevices: Devices:
------------------------------
k3b(4935) K3b::Device::DeviceManager::printDevices: Blockdevice: "/dev/sr0"
Vendor: "TSSTcorp"
Description: "CDDVDW SH-S202J"
Version: "SB02"
Write speed: 22160
Profiles: "dvd-ROM, DVD-R sequentieel, DVD-R Dual Layer sequentieel, DVD-R Dual Layer Jump, dvd-RAM, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, cd-ROM, CD-R, CD-RW"
Read Cap: "dvd-ROM, dvd-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer sequentieel, DVD-R Dual Layer Jump, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+RW Dual Layer, DVD+R Dual Layer, cd-ROM, CD-R, CD-RW"
Write Cap: "dvd-R, DVD-R sequentieel, DVD-R Dual Layer, DVD-R Dual Layer Jump, DVD-RW, DVD-RW met beperkte overschrijving, DVD-RW sequentieel, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW"
Writing modes: "SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Beperkt overschrijven, Layer Jump"
------------------------------
k3b(4935) K3b::TitleLabel::updatePositioning: 22 22
k3b(4935) K3b::PlacesModel::slotDevicesChanged:
k3b(4935)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory!
k3b(4935)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory!
k3b(4935)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory!
k3b(4935)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory!
k3b(4935) K3b::FileTreeView::setSelectedUrl:
k3b(4935) K3b::PlacesModel::expandToUrl: KUrl("file:///mnt/collect/")
k3b(4935) K3b::PlacesModel::expandToUrl: KUrl("file:///mnt/collect") will be expanded.
k3b(4935) K3b::FileTreeView::slotExpandUrl:
k3b(4935) K3b::DirView::showUrl: KUrl("file:///mnt/collect/")
k3b(4935) K3b::DirView::slotDirActivated: KUrl("file:///mnt/collect/")
k3b(4935) K3b::FileView::setUrl: KUrl("file:///mnt/collect/")
k3b(4935) K3b::FileTreeView::setSelectedUrl:
k3b(4935) K3b::PlacesModel::expandToUrl: KUrl("file:///mnt/collect/")
k3b(4935) K3b::PlacesModel::expandToUrl: KUrl("file:///mnt/collect") will be expanded.
k3b(4935) K3b::FileTreeView::slotExpandUrl:
k3b(4935) K3b::CDDB::CDDBJob::start:
k3b(4935) KCDDB::MusicBrainzLookup::cacheFiles: Cache files found: 4
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
k3b(4935) K3b::SystemProblemDialog::checkSystem: (K3b::Core) System problems:
k3b(4935) K3b::SystemProblemDialog::checkSystem: - none -
Advanced probing on /dev/sr0 failed while reading block size
Advanced probing on /dev/sr0 failed while reading block size
k3b(4935) KSambaSharePrivate::testparmParamValue: Running testparm ("-d0", "-s", "--parameter-name", "usershare path")

--------------------

asunder WORKS:

(nothing)

abalone
Sep 2nd 2011, 10:21 PM
So I take it this isn't happening to anyone else here?

abalone
Sep 4th 2011, 07:12 PM
I reinstalled from a fresh 11.10 beta CD.
Now the Device Notifier sees audio CDs, but as "CD-ROM" and with the only option being "Play Audio CD with Amarok". (I don't have Amarok...)
Dolphin still doesn't know what to do with audio CDs.
Clementine doesn't see them at all now.
soundKonverter and k3B still work.

abalone
Sep 5th 2011, 07:42 AM
The floppy disk drive isn't visible or usable either... that might be related or not

sixthwheel
Sep 6th 2011, 01:25 AM
So I take it this isn't happening to anyone else here?


It's happening here as well, but this is nothing new. I never had any luck playiong CD's with Amarok, or Clementine.
Usually the first thing I do is install KSCD, but this time it isn't working either.


kscd gets the correct track list, but won't play or seek.
Same here.

abalone
Sep 6th 2011, 01:37 AM
What about the Device Notifier widget and Dolphin's/Konqueror's audiocd:/ thingie?

sixthwheel
Sep 6th 2011, 01:45 AM
What about the Device Notifier widget and Dolphin's/Konqueror's audiocd:/ thingie?

The device notifier pops up when inserting an audio CD, and gives me a choice of playing the CD with Amarok.
Same problem in Dolphin.
I get 2 folders.
Full CD
Information.
Clicking on Full CD does nothing.
Clicking on Information gives me 2 text files, when clicked on I get an error saying these files do not exist

abalone
Sep 6th 2011, 01:56 AM
Thanks. It's exactly the same for me. It wasn't like that before, though. (Before what? I'm not sure.)

sixthwheel
Sep 6th 2011, 02:01 AM
While you're here, could you click on my username and see if my e-mail adress is showing?
If it is it's a problem

Snowhog
Sep 6th 2011, 02:17 AM
Just ensure that in your Personal CP that under Account Related Settings that Hide email address from public? is checked.

sixthwheel
Sep 6th 2011, 02:20 AM
Just ensure that in your Personal CP that under Account Related Settings that Hide email address from public? is checked.

That's the problem, it is checked, and yet it is showing up under my username

Snowhog
Sep 6th 2011, 02:21 AM
You are not considered "the public" and every registered member can see their own email address.

abalone
Sep 9th 2011, 11:46 AM
I'd like some help/suggestions for filing a bug report about this (not too familiar with the procedure). What project should I pick, kdemultimedia?

sixthwheel
Sep 10th 2011, 08:05 PM
I can't use audio CDs (data CDs are fine) in KDE-based apps. The Plasma Device Notifier doesn't "see" them. They do show up in Dolphin, but appear empty/broken/unmountable (size unknown). Non-KDE apps like the Sound-Juicer or Asunder rippers work immediately and as expected. Any ideas?


Ok, I think I got it figured out (somewhat).

system settings-hardware-multimedia-audio cd's.

"specify cd device. ..change the /dev/cdrom to /dev/sr0 if you only have one cd/dvd drive. if you have more then one just specify which one you want to use for audio cd playback.

/dev/sr0..../dev/sr1 and so on.

I got kscd working, and it is now showing up in Asunder. I have removed Amarok so I can't say anything about that.
Still not showing up in Dolphin

sixthwheel
Sep 10th 2011, 08:21 PM
Also got it working in VLC.
On the menu bar.
Media-open disk
check "audio cd"
"disk device"..enter your cd drive. /dev/sr0

abalone
Sep 10th 2011, 08:35 PM
Weird... because /dev/cdrom is just a link to /dev/sr0 here. Anyway, kscd works now, although it segfaults immediately if no CD is inserted. I hadn't tried VLC before but it works, too. And it was always working in some other not-so-KDE-integrated applications (Asunder, Sound-Juicer, even k3B and soundKonverter).

The main issue I had and still have is with Device Notifier and Dolphin not quite knowing what to do with audio CDs. They do seem to "find" the discs, they just don't get anything useful out of them (CDDB-wise, audio-track-wise, etc.)

sixthwheel
Sep 10th 2011, 08:53 PM
The main issue I had and still have is with Device Notifier and Dolphin not quite knowing what to do with audio Cd

Still the same here. :-\

abalone
Sep 23rd 2011, 08:32 PM
Here's my inexpert bug report:
https://bugs.launchpad.net/ubuntu/+source/kdemultimedia/+bug/857736