Bug 288854 - Device Actions don't trigger for my second CD-ROM drive
Summary: Device Actions don't trigger for my second CD-ROM drive
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 4.11
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 23:34 UTC by skierpage
Modified: 2018-09-04 15:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
`udisks --dump` output with audio CDs in both CD-ROM drives (30.51 KB, text/plain)
2011-12-17 04:39 UTC, skierpage
Details
`solid-hardware list details` output with audio CDs in both CD-ROM drives (11.51 KB, text/plain)
2011-12-17 04:40 UTC, skierpage
Details
4.8.00 / Kubuntu 12.04 `udisks --dump` output with audio CDs in both drives (30.43 KB, text/plain)
2012-03-03 23:47 UTC, skierpage
Details
4.8.00 / Kubuntu 12.04 `solid-hardware list details` output with audio CDs in both CD-ROM drives (30.20 KB, text/plain)
2012-03-03 23:48 UTC, skierpage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2011-12-12 23:34:38 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

I'm running Kubuntu 11.10 on an HP Pavilion a1012x with two CD-ROM drives. The KDE 4.7.3 update fixed it so the first drive triggers device actions (was bug 280229), hooray!  But when I stick a CD-ROM or CD-audio in the second drive, still nothing happens.

Reproducible: Always

Steps to Reproduce:
1. Get a PC with two CD-ROM drives.
2. Insert audio or data CD in first drive.
3. Insert same CD in second drive.

Actual Results:  
Device Notifier offers device actions for media in first drive and it shows up in Dolphin.  But nothing happens for second drive.

Expected Results:  
Both drives should trigger Device Actions. The same System Settings > Device Action commands like 
  /usr/bin/vlc cdda:///dev/srx
  /usr/bin/k3b --cddarip /org/freedesktop/UDisks/devices/srx:media
work for both x=0 and 1 (sr0 and sr1, my first and second drive).

The System Settings > Device Actions are e.g.
  The devices property Ignored must equal false
  The devices property Available Content must equal Audio
and according to `solid-hardware details` these are true for both drives with an audio CD inserted.
And my process list has 
  udisks-daemon: polling /dev/sr1 /dev/sdf /dev/sdd /dev/sde /dev/sr0 /dev/sdc
so I'm not sure what's different about the second drive.

(Someone should write a guide to debugging Solid issues on UserBase or TechBase. Besides `solid-hardware list details`, presumably turn on solid debugging in `kdebugdialog`, kill something, and run it --nofork from the command-line...)
Comment 1 Lukáš Tinkl 2011-12-13 13:43:14 UTC
Pls post the usual relevant snippets of:
$ udisks --dump
$ solid-hardware details <udi>
Comment 2 skierpage 2011-12-17 04:39:50 UTC
Created attachment 66822 [details]
`udisks --dump` output with audio CDs in both CD-ROM drives
Comment 3 skierpage 2011-12-17 04:40:36 UTC
Created attachment 66823 [details]
`solid-hardware list details` output with audio CDs in both CD-ROM drives
Comment 4 skierpage 2012-03-03 23:44:57 UTC
I provided the requested info some time ago so changing the status.

The problem is still occurring in KDE 4.8.00, Kubuntu 12.04 alpha2 + updates, I'll add new attachments.
Comment 5 skierpage 2012-03-03 23:47:13 UTC
Created attachment 69268 [details]
4.8.00 / Kubuntu 12.04 `udisks --dump` output with audio CDs in both drives
Comment 6 skierpage 2012-03-03 23:48:20 UTC
Created attachment 69269 [details]
4.8.00 / Kubuntu 12.04 `solid-hardware list details` output with audio CDs in both CD-ROM drives
Comment 7 Andrew Crouthamel 2018-09-04 15:48:37 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!