| Summary: | k3b cannot find cd in cdburner | ||
|---|---|---|---|
| Product: | [Applications] k3b | Reporter: | John K. Herreshoff <jkherr> |
| Component: | general | Assignee: | Sebastian Trueg <trueg> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
John K. Herreshoff
2006-12-29 16:12:18 UTC
where is the bug? The bug is that even with a blank cd in the burner, the K3b does not find the cd. please run k3b from the console with the cd inserted and send me the output I just e-mailed you the output. Hi. I'm continuing to dive into this machine, and I have bad thoughts about my current install of KDE (3.5.2). For now, please don't spend time on the Plextor drive problem that I am having... For all I know, it is me (broken <sigh>), not your code. When I can get KDE 3.5.5 to build, check and run without problems, I'll try k3b again. I ripped out the old RH-9 install, and just upgraded the system to Slackware 11. I continue to have the problem: k3b cannot deal with the scsi Plextor drives that I have. Does k3b care which drive it finds first? The CD is /dev/cdrom and the writer / burner is the next in the scsi chain. SVN commit 621643 by trueg:
Do not rely on the current profile for no-media detection for two reasons:
1. I encoutered at least one Plextor drive that returns a NO-MEDIA profile for CD-R
2. If there is no media inserted every drive fails the unit ready test. So the profile
is irrelevant in that case anyway.
BUG: 139359
M +4 -10 k3bdevice.cpp
--- trunk/extragear/multimedia/k3b/libk3bdevice/k3bdevice.cpp #621642:621643
@@ -1691,8 +1691,8 @@
cmd[9] = 0; // Necessary to set the proper command length
if( cmd.transport( TR_DIR_READ, profileBuf, 8 ) ) {
- k3bDebug() << "(K3bDevice::Device) GET_CONFIGURATION failed." << endl;
-
+ k3bDebug() << "(K3bDevice::Device) " << blockDeviceName()
+ << " GET_CONFIGURATION failed." << endl;
return MEDIA_UNKNOWN;
}
else {
@@ -1754,15 +1754,9 @@
inf.m_diskState = STATE_NO_MEDIA;
inf.m_mediaType = MEDIA_NONE;
}
- else {
- int profile = currentProfile();
- if( profile == MEDIA_NONE ) {
- inf.m_diskState = STATE_NO_MEDIA;
- inf.m_mediaType = MEDIA_NONE;
- }
- inf.m_currentProfile = profile;
- }
+ inf.m_currentProfile = currentProfile();
+
if( inf.diskState() != STATE_NO_MEDIA ) {
if( readDiscInformation( &data, dataLen ) ) {
|