| Summary: | CD/DVD notifications are inconsistent | ||
|---|---|---|---|
| Product: | TDE | Reporter: | f_ii <f_ii> |
| Component: | system | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, darrella, f_ii, kb9vqf |
| Priority: | P5 | ||
| Version: | 3.5.13 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2014 | ||
| Attachments: | Dolphin showing no cd/dvd item when should (CD is ready to use) | ||
(In reply to comment #0) Sorry for English typos... - CD/DVD notification does not work properly. + CD/DVD notifications do not work properly. -USB devices when plugged in causes to appear dialog with actions properly. +USB devices when plugged in cause to appear dialog with actions properly. -Unfortunatelly my DVD drive does invoke that action dialog. DVD drive and -medium are fina as I'm able to mount the CD/DVD manually as root using mount +Unfortunatelly my DVD drive does *NOT* invoke that action dialog. DVD drive and +medium are just fine as I'm able to mount the CD/DVD manually as root using mount without any problem. Created attachment 1063 [details]
Dolphin showing no cd/dvd item when should (CD is ready to use)
TDE R14.0.0 contains a complete rewrite of the media manager and does not rely on HAL. I suspect many of the problems you are seeing might be due to HAL malfunctioning on newer systems, so TDE R14.0.0 might resolve this report. Are you able to test TDE R14.0.0 on your system? The OP cited the problem as applying to 3.5.13. I am seeing the same problem in a very recent R14. I haven't tested CD/DVDs in a while so I don't know when this problem started. Not long ago I had no problems with physical CDs/DVDs. If you want I'll start a new report. The problem is one of those that should block R14 from being released because too many people depend upon the notification popups. I have checked medianotifierrc and I do not have anything there that would prevent the CD/DVD popups from appearing. I have tested with both a data CD and a video DVD and have tested on two different machines. No popup. :-( Your current tdelibs build includes GIT hash d6816283, correct? >Your current tdelibs build includes GIT hash d6816283, correct?
Nope. I will rebuild and test again, but I am seeing the following:
* Popups for optical disks appear only once. Ejecting and closing the tray results in no subsequent popup. I have to restart the Trinity session to see another popup, and again, only once.
* Video DVD, Data DVD, Data CD: the popup incorrectly says: "Medium Type Unmounted Hard Disk Volume." Based upon tdebase/tdeioslave/media/mimetypes, probably should say "Unmounted DVD," or "Unmounted CD-ROM," respectively.
Sounds exactly like what I was experiencing (a regression) before d6816283. :-) I rebuilt tdelibs with commit d6816283. Popups now appear more than once without restarting the session. CDs/DVDs are now (sort of) identified correctly. I wrote "sort of" because when I inserted a populated CD-RW, the popup identified the disk as "Unmounted CD Writer." Kind of weird English. :-) I would expect something like "Unmounted CD-RW" or "Unmounted Writable CD." The desktop icon label showed the name of the disk. When I inserted a blank CD-RW, the popup identified the media type as "Blank CD," but the desktop icon was labeled "Blank CDRW." When I inserted a blank DVD+RW, the popup identified the media type as "Unknown," but the desktop icon was labeled "Blank DVDRW." When I inserted a populated data DVD+RW, the popup identified the media type as "Unmounted DVD." Made sense. When I inserted commercial video DVDs, the popup identified the media type as "Unmounted DVD" rather than something like "DVD Video Disk." None of these are blockers but perhaps the could we do better with consistency? Video DVDs (commercial or not!) are now detected properly. I don't have as BluRay disk or drive (due to both mandatory AACS and the availability of cheap hard drives for long-term data storage I boycotted the medium from its inception), so I can't test or fix support for BluRay video disks. Someone else could probably fix the detection fairly easily, and I would push such a patch to GIT with no problems. :-) >Video DVDs (commercial or not!) are now detected properly.
This seems related to bug report 1612.
Here is what I see with a rebuilt tqt3/tdelibs/tdebase as of only an hour ago:
Blank CD-RW
===========
Notification popup: "Medium type: Blank CD" <--- close enough?
Desktop icon: Devices: gold cdwriter unmounted
Desktop icon text: "Blank CD-RW"
Blank DL DVD+R
==============
Notification popup: "Medium type: Unknown" <--- Incorrect
Desktop icon: Mimetypes: "Empty" <--- Incorrect
Desktop icon label: "Blank Dual Layer DVD+R"
Blank DL DVD+RW
===============
Notification popup: "Medium type: Unknown" <--- Incorrect
Desktop icon: Mimetypes: "Empty" <--- Incorrect
Desktop icon label: "Blank DVD+RW"
Just a guess: I suspect MOUNT_SUFFIX is not being defined correctly in tdebase/tdeioslave/media/mediamanager/tdehardwarebackend.cpp. I seem to remember this working in hal based systems (tdebase/tdeioslave/media/mediamanager/halbackend.cpp). Not defining MOUNT_SUFFIX would leave the mimetype unknown, which would affect the labels and icons. (In reply to Darrell from comment #8) > I wrote "sort of" because when I inserted a populated CD-RW, the popup > identified the disk as "Unmounted CD Writer." Kind of weird English. :-) I > would expect something like "Unmounted CD-RW" or "Unmounted Writable CD." > The desktop icon label showed the name of the disk. This is trivial to fix; the incorrect strings are contained within the desktop files in tdebase/tdeioslave/media/mimetypes/ and can be edited quite easily. I just need to know what the correct phrase would be to replace the current one. As an aside, the German i18n strings (the only non-English i18n strings in those files) also say something equivalent to "unmounted CD burner" so they would need to be fixed as well. I'm working on the other faults now. MOUNT_SUFFIX is properly defined, so no problem there; I am attempting to trace the problem. (In reply to Timothy Pearson from comment #12) > (In reply to Darrell from comment #8) > > I wrote "sort of" because when I inserted a populated CD-RW, the popup > > identified the disk as "Unmounted CD Writer." Kind of weird English. :-) I > > would expect something like "Unmounted CD-RW" or "Unmounted Writable CD." > > The desktop icon label showed the name of the disk. > > This is trivial to fix; the incorrect strings are contained within the > desktop files in tdebase/tdeioslave/media/mimetypes/ and can be edited quite > easily. I just need to know what the correct phrase would be to replace the > current one. As an aside, the German i18n strings (the only non-English > i18n strings in those files) also say something equivalent to "unmounted CD > burner" so they would need to be fixed as well. Even worse, there are a couple of files ("cdwriter_mounted.desktop" and "cdwriter_unmounted.desktop") with full i18n translations that all map to the incorrect phrasing. I wonder if we should deleted all the translations or just keep them with the bad phrasing and a FIXME? (In reply to Darrell from comment #10) > >Video DVDs (commercial or not!) are now detected properly. > This seems related to bug report 1612. > > Here is what I see with a rebuilt tqt3/tdelibs/tdebase as of only an hour > ago: > > Blank CD-RW > =========== > Notification popup: "Medium type: Blank CD" <--- close enough? > Desktop icon: Devices: gold cdwriter unmounted > Desktop icon text: "Blank CD-RW" > > Blank DL DVD+R > ============== > Notification popup: "Medium type: Unknown" <--- Incorrect > Desktop icon: Mimetypes: "Empty" <--- Incorrect > Desktop icon label: "Blank Dual Layer DVD+R" > > Blank DL DVD+RW > =============== > Notification popup: "Medium type: Unknown" <--- Incorrect > Desktop icon: Mimetypes: "Empty" <--- Incorrect > Desktop icon label: "Blank DVD+RW" This part of the bug only affected certain blank media types (due to a stupid copy+paste problem when originally writing the media backend) and should now be fixed in GIT hash 226c78e. Can you test and confirm? Changing to NEEDINFO as I need to know the correct strings to use in the popup notification. My suggestion is "Mounted CD-R(W)" but I would like approval from another project member before changing this. As far as I can test, the problems affecting blank optical disks are resolved. Commit 830ebe6f resolved the incorrect icon for DVDs. (In reply to Darrell from comment #16) > As far as I can test, the problems affecting blank optical disks are > resolved. > > Commit 830ebe6f resolved the incorrect icon for DVDs. Any thoughts on the new text strings as mentioned in Comment 15? I'd like to fix those and close out this bug if possible. Thanks! >Any thoughts on the new text strings as mentioned in Comment 15?
No, because I have not followed this bug report closely. To what strings are you referring? If you are referring to the translations, I don't know what to do. I don't see how we can be held responsible for translations with no translators helping. English will have to be the default.
Has the original report been resolved?
Media tdeioslave modified to properly distinguish between CD-R and CD-RW disks in GIT hash d922703. Popups should now be consistent. I have updated as many translations as I could at the same time, however a few will still translate to an approximation of "Unmounted CD-Writer" until updated by an appropriate translator. Thanks for reporting! |
Description of problem: CD/DVD notification does not work properly. USB devices when plugged in causes to appear dialog with actions properly. Unfortunatelly my DVD drive does invoke that action dialog. DVD drive and medium are fina as I'm able to mount the CD/DVD manually as root using mount without any problem. Konqueror's storage media or Control Center's Storage devices do not show the CDROM listed. My /etc/fstab generated by anaconda looks like this: UUID=af2...1 / ext4 defaults 1 1 UUID=f76...a swap swap defaults 0 0 I believe this should be fine, correct? When I look into dmesg output I can see this: [ 420.862531] cdrom: sr0: mrw address space DMA selected [ 420.930018] ISO 9660 Extensions: Microsoft Joliet Level 3 [ 420.953925] ISO 9660 Extensions: RRIP_1991A [ 420.954087] SELinux: initialized (dev sr0, type iso9660), uses genfs_contexts /var/log/messages do not show anything related. HAL seems to be running: [root@localhost ~]# ps auxw | grep hal 68 1221 0.0 0.2 118928 5160 ? Ssl 09:56 0:00 /usr/sbin/hald --daemon=no --use-syslog root 1222 0.0 0.0 110448 1396 ? Sl 09:56 0:00 hald-runner root 1252 0.0 0.0 38836 1300 ? S 09:56 0:00 hald-addon-input: Listening on /dev/input/event9 /dev/input/event4 /dev/input/event2 /dev/input/event0 /dev/input/event1 /dev/input/event7 68 1266 0.0 0.0 18232 1056 ? S 09:56 0:00 /usr/libexec/hald-addon-acpi Selinux do not block anything (no AVCs). No related errors in ~/.xsession-errors Listing hardware show that DVD/CDROM is there (lshw below) On desktop no icon with CDROM (before after inserting media). I played a bit with Control Center -> Hardware -> Storage Media -> Advanced options (for instance Mount automatically having no effect) Version-Release number of selected component (if applicable): trinity-tdebase-3.5.13.1-1.fc17.opt.x86_64 fedora-release-17-1.noarch How reproducible: 100% Steps to Reproduce: 1. login into TDE session 2. Insert CD/DVD 3. Nothing happens, no notification Actual results: No notification when new CD/DVD ready to use. Expected results: Notification when new CD/DVD ready to use (as in case of USB mass storage device). Additional info: [root@localhost ~]# lshw -dump - localhost.localdomain description: Low Profile Desktop Computer product: HP Compaq dc7700 Small Form Factor (ET090AV) vendor: Hewlett-Packard serial: CZC7342SW6 width: 64 bits capabilities: smbios-2.4 dmi-2.4 vsyscall32 configuration: boot=normal chassis=low-profile family=103C_53307F sku=ET090AV uuid=71335609-A451-DC11-BBDA-C41E5CDA001C *-core description: Motherboard product: 0A54h vendor: Hewlett-Packard physical id: 0 serial: CZC7342SW6 *-firmware description: BIOS vendor: Hewlett-Packard physical id: 1 version: 786E1 v03.07 date: 08/11/2011 size: 128KiB capacity: 960KiB capabilities: pci pnp upgrade shadowing cdboot bootselect edd int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot zipboot biosbootspecification netboot *-cpu:0 description: CPU product: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz vendor: Intel Corp. physical id: 5 bus info: cpu@0 version: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz slot: XU1 PROCESSOR size: 2400MHz capacity: 2400MHz width: 64 bits clock: 1066MHz capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow cpufreq configuration: cores=2 enabledcores=2 threads=2 *-cache:0 description: L1 cache physical id: 7 slot: L1 Cache size: 64KiB capacity: 64KiB capabilities: burst internal write-through data *-cache:1 description: L2 cache physical id: 8 slot: L2 Cache size: 4MiB capacity: 4MiB capabilities: burst internal write-back unified *-cpu:1 DISABLED description: CPU [empty] vendor: Intel physical id: 6 slot: XU2 PROCESSOR *-memory:0 description: System Memory physical id: 38 slot: System board or motherboard *-bank:0 description: DIMM DDR2 Synchronous 667 MHz (1.5 ns) product: HYMP512U64CP8-Y5 vendor: JEDEC ID:AD 00 00 00 00 00 00 00 physical id: 0 serial: 62600000 slot: XMM1 size: 1GiB width: 64 bits clock: 667MHz (1.5ns) *-bank:1 description: DIMM DDR2 Synchronous [empty] vendor: JEDEC ID: physical id: 1 slot: XMM2 *-bank:2 description: DIMM DDR2 Synchronous 667 MHz (1.5 ns) product: HYMP512U64CP8-Y5 vendor: JEDEC ID:AD 00 00 00 00 00 00 00 physical id: 2 serial: 67200000 slot: XMM3 size: 1GiB width: 64 bits clock: 667MHz (1.5ns) *-bank:3 description: DIMM DDR2 Synchronous [empty] vendor: JEDEC ID: physical id: 3 slot: XMM4 *-memory:1 UNCLAIMED description: Flash Memory physical id: 39 slot: System board or motherboard capacity: 1MiB *-bank UNCLAIMED description: Chip FLASH Non-volatile physical id: 0 slot: SYSTEM ROM size: 1MiB width: 2 bits *-memory:2 UNCLAIMED physical id: 0 *-memory:3 UNCLAIMED physical id: 2 *-pci description: Host bridge product: 82Q963/Q965 Memory Controller Hub vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 02 width: 32 bits clock: 33MHz *-pci:0 description: PCI bridge product: 82Q963/Q965 PCI Express Root Port vendor: Intel Corporation physical id: 1 bus info: pci@0000:00:01.0 version: 02 width: 32 bits clock: 33MHz capabilities: pci pm msi pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:40 memory:f1000000-f31fffff ioport:e8000000(size=136314880) *-display description: VGA compatible controller product: NV44 [Quadro NVS 285] vendor: nVidia Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=nouveau latency=0 resources: irq:16 memory:f1000000-f1ffffff memory:e8000000-efffffff memory:f2000000-f2ffffff memory:f0000000-f001ffff *-communication description: Communication controller product: 82Q963/Q965 HECI Controller vendor: Intel Corporation physical id: 3 bus info: pci@0000:00:03.0 version: 02 width: 64 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: driver=mei latency=0 resources: irq:42 memory:f0425900-f042590f *-network description: Ethernet interface product: 82566DM Gigabit Network Connection vendor: Intel Corporation physical id: 19 bus info: pci@0000:00:19.0 logical name: em1 version: 02 serial: 00:1c:c4:1e:5c:da size: 100Mbit/s capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.0.0-k duplex=full firmware=1.1-0 ip=192.168.3.101 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s resources: irq:43 memory:f0400000-f041ffff memory:f0424000-f0424fff ioport:1100(size=32) *-usb:0 description: USB Controller product: 82801H (ICH8 Family) USB UHCI Controller #4 vendor: Intel Corporation physical id: 1a bus info: pci@0000:00:1a.0 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:20 ioport:1120(size=32) *-usb:1 description: USB Controller product: 82801H (ICH8 Family) USB UHCI Controller #5 vendor: Intel Corporation physical id: 1a.1 bus info: pci@0000:00:1a.1 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:21 ioport:1140(size=32) *-usb:2 description: USB Controller product: 82801H (ICH8 Family) USB2 EHCI Controller #2 vendor: Intel Corporation physical id: 1a.7 bus info: pci@0000:00:1a.7 version: 02 width: 32 bits clock: 33MHz capabilities: pm debug ehci bus_master cap_list configuration: driver=ehci_hcd latency=0 resources: irq:22 memory:f0425000-f04253ff *-multimedia description: Audio device product: 82801H (ICH8 Family) HD Audio Controller vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 02 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:44 memory:f0420000-f0423fff *-pci:1 description: PCI bridge product: 82801H (ICH8 Family) PCI Express Port 1 vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: 02 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:41 ioport:2000(size=4096) memory:f8000000-f81fffff ioport:f8200000(size=2097152) *-usb:3 description: USB Controller product: 82801H (ICH8 Family) USB UHCI Controller #1 vendor: Intel Corporation physical id: 1d bus info: pci@0000:00:1d.0 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:20 ioport:1160(size=32) *-usb:4 description: USB Controller product: 82801H (ICH8 Family) USB UHCI Controller #2 vendor: Intel Corporation physical id: 1d.1 bus info: pci@0000:00:1d.1 version: 02 width: 32 bits clock: 33MHz capabilities: uhci bus_master configuration: driver=uhci_hcd latency=0 resources: irq:21 ioport:1180(size=32) *-usb:5 description: USB Controller product: 82801H (ICH8 Family) USB2 EHCI Controller #1 vendor: Intel Corporation physical id: 1d.7 bus info: pci@0000:00:1d.7 version: 02 width: 32 bits clock: 33MHz capabilities: pm debug ehci bus_master cap_list configuration: driver=ehci_hcd latency=0 resources: irq:20 memory:f0425400-f04257ff *-pci:2 description: PCI bridge product: 82801 PCI Bridge vendor: Intel Corporation physical id: 1e bus info: pci@0000:00:1e.0 version: f2 width: 32 bits clock: 33MHz capabilities: pci subtractive_decode bus_master cap_list *-isa description: ISA bridge product: 82801HO (ICH8DO) LPC Interface Controller vendor: Intel Corporation physical id: 1f bus info: pci@0000:00:1f.0 version: 02 width: 32 bits clock: 33MHz capabilities: isa bus_master cap_list configuration: driver=lpc_ich latency=0 resources: irq:0 *-ide description: IDE interface product: 82801H (ICH8 Family) 4 port SATA IDE Controller vendor: Intel Corporation physical id: 1f.2 bus info: pci@0000:00:1f.2 version: 02 width: 32 bits clock: 66MHz capabilities: ide pm bus_master cap_list configuration: driver=ata_piix latency=0 resources: irq:18 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:11e0(size=16) ioport:11f0(size=16) *-scsi:0 physical id: 3 logical name: scsi0 capabilities: emulated *-disk description: ATA Disk product: ST3160815AS vendor: Seagate physical id: 0.0.0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: 3.CH serial: 5RX0XKL2 size: 149GiB (160GB) capabilities: partitioned partitioned:dos configuration: ansiversion=5 sectorsize=512 signature=be869acd *-volume:0 description: EXT4 volume vendor: Linux physical id: 1 bus info: scsi@0:0.0.0,1 logical name: /dev/sda1 logical name: / version: 1.0 serial: af267f67-5f76-4ffd-bd80-8e840c74c641 size: 146GiB capacity: 146GiB capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized configuration: created=2012-07-12 20:52:45 filesystem=ext4 label=_TDE_F17_x86_64 lastmountpoint=/ modified=2012-12-23 11:50:41 mount.fstype=ext4 mount.options=rw,seclabel,relatime,data=ordered mounted=2012-12-23 11:50:45 state=mounted *-volume:1 description: Linux swap volume physical id: 2 bus info: scsi@0:0.0.0,2 logical name: /dev/sda2 version: 1 serial: f764d5f4-b3c0-44cf-a7cc-3fa1e24a059a size: 2625MiB capacity: 2625MiB capabilities: primary nofs swap initialized configuration: filesystem=swap pagesize=4096 *-scsi:1 physical id: 4 logical name: scsi1 capabilities: emulated *-cdrom description: DVD-RAM writer product: CDDVDW SH-S203B vendor: TSSTcorp physical id: 0.0.0 bus info: scsi@1:0.0.0 logical name: /dev/cdrom logical name: /dev/sr0 version: SB00 capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram configuration: ansiversion=5 status=ready *-medium physical id: 0 logical name: /dev/cdrom *-network DISABLED description: Ethernet interface physical id: 1 logical name: virbr0-nic serial: 52:54:00:9d:e0:6e size: 10Mbit/s capabilities: ethernet physical configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s