By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 634 - CDs not correctly recognized by TDE
Summary: CDs not correctly recognized by TDE
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: All Linux
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-11-16 23:22 CST by Kris
Modified: 2013-04-05 15:10 CDT (History)
4 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kris 2011-11-16 23:22:01 CST
When a data CD or DVD is inserted, TDE does not appear to recognize it. There is no autoplay menu, and Konqueror does not show it in the media:/ kio slave. Dolphin doesn't show it under Storage Media.
Comment 1 Kris 2011-11-16 23:25:36 CST
It is possible to mount the CDs using konsole and navigate to the mount directory, but it still does not appear in the media:/ kio slave or in Dolphin's Storage media. Audio CDs seem to play fine in Amarok, and the audiocd:/ kio slave works, but media:/ and Dolphin remain blind.
Comment 2 gcsimon 2011-11-16 23:53:01 CST
I cannot reproduce this Bug.
I am running ubuntu-server 10.04.03 LTS x86 with TDE 3.5.13
Typing "media:/" in konqueror shows correctly my DVD-Burner along with information about the inserted disk.
"media:/sr0" shows the content of the disk - as expected.
Comment 3 Darrell 2011-11-17 12:48:56 CST
There is a configuration file that might be causing this behavior:

$HOME/.trinity/share/config/medianotifierrc

For example:

[Auto Actions]
media/audiocd=#NothinAction
media/blankcd=#NothinAction

Try deleting those types of actions and see if Trinity then presents the popup box.

If that works, then I think we still should address this bug. I don't know of a way to undo that action. That is, there is an option in the Control Center to configure such options manually, but there is no obvious way to undo the action.
Comment 4 Kris 2011-11-17 12:54:33 CST
> $HOME/.trinity/share/config/medianotifierrc

That file does not exist on my system. My "ls -la" output goes from libkleopatrarc to nepomukserverrc, there are no 'm's in between.
Comment 5 Darrell 2011-12-09 21:40:42 CST
Confirmed on Slackware 13.1. I'm using a migrated KDE3 profile and that profile works correctly in KDE3.

Also no icons or popups for USB flash drives. Seems related to bugs 372 and 385.
Comment 6 Darrell 2011-12-20 15:29:53 CST
The primary problem is caused by the default kdebase compile options. The default is no HAL support. I don't know why that is the default. Add the following to the kdebase build options:

-DWITH_HAL=ON

However, at least in Slackware 13.1, with that build option the build will fail because of incorrect header file locations. I submitted a patch in bug report 755.

Enabling HAL support does not resolve bug reports 372, 385, or 392. A device change event is needed to display any device icons on the desktop.

Oddly, the device icon placement is hard-coded to the second horizontal grid row, which is frustrating. That is, even after manually placing a device icon to the desired location, the next device change event moves all the device icons to the second horizontal grid row. Refer to bug report 392.
Comment 7 Kris 2011-12-20 15:40:16 CST
(In reply to comment #6)
> The primary problem is caused by the default kdebase compile options. The
> default is no HAL support. I don't know why that is the default. Add the
> following to the kdebase build options:
> 
> -DWITH_HAL=ON

HAL gets pulled in as a dependency when I install it in Debian Squeeze, so unless it is being manually specify in the build scripts to have apt pull it in regardless of whether or not support was compiled in, I doubt this is the issue.

It does appear to have resolved itself. The only change on my system is the addition of flashplayer-nonfree and sun-java6-* from the Debian Squeeze repos.
Comment 8 Darrell 2011-12-21 23:09:32 CST
I have HAL installed on my system. By adding the -DWITH_HAL=ON option the build process then actually builds HAL support. Before I added that option the build process was ignoring HAL although installed.

I'll guess there is some other method of recognizing device events on Debian/'buntu systems that is different from Slackware. Slackware still uses HAL as the default.
Comment 9 Kris 2011-12-22 12:56:12 CST
Debian uses something else be default, but TDE still requires HAL, hence the work that Serghei (samelian) is doing to replace it. That's why it was pulled in as a dependency when I installed it.

I did confirm that HAL was running before filing this bug. It's possible that I had some interferance from udev or something else, but udev is still running now on my system, and I didn't change it's config.

It's possible this issue was with HAL, I have done a few dist-upgrades, I think HAL was in one of them.

I will try doing a fresh Debian install later on a spare partition later today to see if I can reproduce this again (I could reproduce it when I filed this bug, but I can't reproduce it now).
Comment 10 Kris 2011-12-23 12:55:30 CST
Unfortunately, with the TDE mirrors being down, I can't do a fresh install since I don't have a local copy of the packages.
Comment 11 Darrell 2012-02-04 11:39:15 CST
I don't know for sure what changed, but now when I insert an optical disk I receive the popup asking me what to do. Possibly the addition of HAL and GAMIN support now allows the popup to appear.

Unfortunately, the desktop device icon appears in the second horizontal row. When I manually move the icon to the first vertical row, the popup context menu no longer shows the options to eject, safely remove, or unmount. Those options appear only when I leave the icon in the second horizontal row.
Comment 12 Darrell 2012-03-28 15:16:43 CDT
Does the patch pushed in GIT hash 43bb5b9 resolve this issue? That patch resolved both bug reports 372 and 385. I ran tests today and was having no problems with optical disk device icons or popups.
Comment 13 Darrell 2012-10-11 23:58:09 CDT
I believe this bug report may be closed as resolved. I have not had any problems with optical disks (as stated here) with either a HAL based or TDEHW based build. Problems with kio slaves have been resolved as well in other bug reports.
Comment 14 Darrell 2013-04-05 15:06:25 CDT
Can we close this report as resolved?
Comment 15 Timothy Pearson 2013-04-05 15:10:14 CDT
(In reply to comment #14)
> Can we close this report as resolved?

Yes, everything looks good on this end as well.
Comment 16 Timothy Pearson 2013-04-05 15:10:43 CDT
It would help if the correct drop-down item were selected...

Marking as RESOLVED FIXED.