Bug 245822 - Some optical media are not detected by solid [was: Device notifier doesn't display media such as disc/dvd anymore]
Summary: Some optical media are not detected by solid [was: Device notifier doesn't di...
Status: RESOLVED UPSTREAM
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-hal (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 21:21 UTC by Timothée Ravier
Modified: 2011-01-10 00:10 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
My lshal (130.70 KB, text/plain)
2010-12-29 17:30 UTC, Alexei Panov
Details
lshal with "invisible" dvd-rw (130.74 KB, text/plain)
2010-12-31 11:37 UTC, Alexei Panov
Details
lshal without any disks (130.78 KB, text/plain)
2010-12-31 11:38 UTC, Alexei Panov
Details
lshal with no disk inserted (171.19 KB, text/plain)
2010-12-31 15:21 UTC, Janet
Details
lshal with inserted data-CDR (171.35 KB, text/plain)
2010-12-31 15:23 UTC, Janet
Details
solid-hardware with no disk inserted (49.15 KB, text/plain)
2010-12-31 15:25 UTC, Janet
Details
solid-hardware with inserted data-CDR (49.15 KB, text/plain)
2010-12-31 15:26 UTC, Janet
Details
solid-hardware with inserted ISO-CDR (50.12 KB, text/plain)
2010-12-31 15:31 UTC, Janet
Details
lshal with inserted ISO-CDR (173.91 KB, text/plain)
2011-01-01 15:17 UTC, Janet
Details
All results from lshal and solid-hardware list (34.64 KB, application/gzip)
2011-01-03 23:07 UTC, Timothée Ravier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothée Ravier 2010-07-26 21:21:27 UTC
Version:           unspecified (using KDE 4.4.95) 
OS:                Linux

Inserting a data disc/ data DVD doesn't make anything happen : nothing in dolphin, nothing in the device notifier in system tray. It perfectly mounts manualy in a console.

Reproducible: Always

Steps to Reproduce:
Insert a data disc / data dvd



I'm eagerly willing to test or try anything that could help even if it involves rebuilding kde.
Comment 1 Janet 2010-09-21 20:59:30 UTC
I don't have the problem with DVDs, only with data CDRs. Mounting via terminal as root is possible but device still does not show in dolphins sidebar or in the device notifier widget. Only affects some PCs (maybe mainboard dependend?) but if then all cd/dvd drives in the system are affected, no matter which brand, pata or sata, burner or not. I'm not sure when I first encountered this problem here, but it definitly was before KDE went SC.
Comment 2 kabraham 2010-09-21 22:14:36 UTC
I have the same problem so I can confirm this bug. 

For me it occurred within the last week or so. I run debian sid with a 2.6.35 kernel and do a dist-upgrade every day.

On my machine the only media which operates correctly are USB devices, audio CDs and blank CD/DVDs and, curiously, it's iso9660 formatted disks which fail to mount in /media/ and aren't notified. All disks can be mounted manually

I've ploughed through dbus, the udev rules and the hal structure and can find nothing wrong. 

As an experiment I installed gnome's nautilus and gnome-volume-manager and this worked as it should notifying and mounting in /media all disks. AFAIK this  proves there is nothing wrong with the underlying system and that the problem lies in KDE (the plasma kde-notifier?).
Comment 3 Janet 2010-11-02 14:20:51 UTC
Not solved here using KDE 4.5.1 with 4.5.2 libs. Still the device manager says "No Devices Available" when I insert a non-bootable data-CDR. It only does recognize DVDs, audio CDs/CDRs and bootable CDR(W)s. Audio CDs still are not recognized by the KDE 4.5 applications, except kaffeine.
Comment 4 Jacopo De Simoi 2010-12-24 10:23:34 UTC
This is quite strange. Can you confirm it happens with a recent 4.5 version?
Thanks
Comment 5 kabraham 2010-12-24 12:18:37 UTC
On 24/12/10 09:23, Jacopo De Simoi wrote:
> https://bugs.kde.org/show_bug.cgi?id=245822
>
>
>
>
>
> --- Comment #4 from Jacopo De Simoi<wilderkde gmail com>   2010-12-24 10:23:34 ---
> This is quite strange. Can you confirm it happens with a recent 4.5 version?
> Thanks
>
>    
Hi Jacopo

I've heard somewhere that this bug had been fixed in 4.5 but I can't 
confirm this as I'm still using 4.4.5 and will continue to do so until 
4.5 comes out of Debian experimental.

Regards

Keith
Comment 6 Janet 2010-12-25 00:55:42 UTC
It is not solved in 4.5.3 (using Debian experimental-snapshots).
Comment 7 Jacopo De Simoi 2010-12-25 12:29:30 UTC
@Janet: ok, thanks, could you please confirm that the disc does not show up even in dolphin sidebar?
Moreover, could you please post the output of the following command

solid-hardware list details

before and after inserting a device that is not shown?

Thanks a lot
Comment 8 Alexander Opachev 2010-12-25 13:46:08 UTC
http://pastebin.com/As8av4pF - before

http://pastebin.com/JbBDQUgb - after 

Debian Sid  - KDE 4.4.5
Comment 9 Jacopo De Simoi 2010-12-25 17:14:10 UTC
@alex: interesting; could you please do the the same with the output of 

lshal

please post the output with and without disc inserted.
Thanks a lot!
Comment 10 Alexander Opachev 2010-12-25 18:38:13 UTC
http://pastebin.com/7QhdksAF - before

http://pastebin.com/KCsR8gjF - after
Comment 11 Jacopo De Simoi 2010-12-25 18:53:39 UTC
It seems that HAL does not know that there is a disc in the drive.
Can you confirm that one of the outputs refers to the situation with a disc in the drive and the other one without a disc?
If this is the case, there is not much we can actually do, it seems to be an issue with hal and/or your distributin :/
Comment 12 Alexander Opachev 2010-12-25 18:59:57 UTC
After insert disk, it visible in k3b, but not visible in notifier.

sorry for my english.
Comment 13 Alexander Opachev 2010-12-25 19:12:49 UTC
screencast - http://rghost.ru/3753503
Comment 14 Alexei Panov 2010-12-29 17:28:31 UTC
Hi, this bug also affects me. But only dvd+-rw discs are not shown in dolphin and device notifier. This happens with clear discs (formatted or new) or discs with data, music, movies. Other discs (i.e. CD/DVD+-R) are shown normally. Sometimes discs are randomly shown in dolphin and device notifier.
Every disc that was not shown by dolphin and DN could be mounted manually and k3b also see it.
My OS is Fedora Linux 14 (i686)
KDE 4.5.4 (in 4.5.3 discs were shown normally, checked with Fedora LiveCD)
hal 0.5.14-5.fc14.1
udev 161-8.fc14

I've enabled debug logging in hal and udev. Both seeing discs and report about it.
Comment 15 Alexei Panov 2010-12-29 17:30:41 UTC
Created attachment 55355 [details]
My lshal
Comment 16 Jacopo De Simoi 2010-12-30 13:47:21 UTC
@Alexei, I need two lshal outputs, one with the "invisible" dvd inserted and another without any media inserted. 

By the way, since the medium is not visible in dolphin as well, this is not a device notifier bug, so I'll change the component
Comment 17 Alexei Panov 2010-12-31 11:37:47 UTC
Created attachment 55407 [details]
lshal with "invisible" dvd-rw

This my lshal with "invisible" dvd-rw
Comment 18 Alexei Panov 2010-12-31 11:38:36 UTC
Created attachment 55408 [details]
lshal without any disks

This my lshal without any disks
Comment 19 Janet 2010-12-31 15:21:24 UTC
Created attachment 55412 [details]
lshal with no disk inserted
Comment 20 Janet 2010-12-31 15:23:42 UTC
Created attachment 55414 [details]
lshal with inserted data-CDR

It seems hal does recognize the CDR but it is neither shown in the devicemanager widget nor in dolphin. It even isn't shown in both after I have mounted the drive manually (but /media/cdrom does show the files on the CDR).
Comment 21 Janet 2010-12-31 15:25:22 UTC
Created attachment 55415 [details]
solid-hardware with no disk inserted
Comment 22 Janet 2010-12-31 15:26:02 UTC
Created attachment 55416 [details]
solid-hardware with inserted data-CDR
Comment 23 Janet 2010-12-31 15:31:01 UTC
Created attachment 55417 [details]
solid-hardware with inserted ISO-CDR

And this is the output of "solid-hardware list details" after I have inserted a CDR burnt as ISO (reproducible with different CDRs: pure data burnt to disk is not recognized, data burnt as ISO is).
Comment 24 Tanja Schulte 2010-12-31 15:37:52 UTC
*** This bug has been confirmed by popular vote. ***
Comment 25 Jacopo De Simoi 2010-12-31 17:15:33 UTC
(In reply to comment #23)
> Created an attachment (id=55417) [details]
> solid-hardware with inserted ISO-CDR
> 
> And this is the output of "solid-hardware list details" after I have inserted a
> CDR burnt as ISO (reproducible with different CDRs: pure data burnt to disk is
> not recognized, data burnt as ISO is).

Could you please attach lshal output with this ISO-CDR disc inserted?

As far as I can see HAL does _not_ actually detect correctly the other CD, so this could actually be a pure HAL issue…
Comment 26 Janet 2011-01-01 15:17:21 UTC
Created attachment 55439 [details]
lshal with inserted ISO-CDR
Comment 27 Jacopo De Simoi 2011-01-03 01:22:18 UTC
(In reply to comment #26)
> Created an attachment (id=55439) [details]
> lshal with inserted ISO-CDR

As you can see here lshal correctly reports that a cd is inserted; 
but in fact it did not in the other output you previously posted here.

Your issue is purely hal-specific :/ try to update hal if you can.

Could the reporter (Timothée) please check with lshal and let us know if this is the same case? This should be marked as UPSTREAM, then.
Comment 28 Timothée Ravier 2011-01-03 23:03:39 UTC
I'm not sure it is a problem related _only_ (or at all) to hal : I've been using KDE 4.6 betas and rc1, and I've kept hal for now (we are supposed to drop hal in 4.6, in favor of udev/udisk), and I still doesn't have clear dvds showing up in dolphin/device notifier. But K3b recognizes them.

I've attached some 'lshal' and 'solid-hardware list' output. It seems that hal recognized the empty dvd but device notifier doesn't display it. It also seems everything is ok with solid with an empty dvd. As far as I've tested for now, it recognized my data dvds. I'm gonna try it with some others disks later.
Comment 29 Timothée Ravier 2011-01-03 23:07:03 UTC
Created attachment 55540 [details]
All results from lshal and solid-hardware list
Comment 30 Jacopo De Simoi 2011-01-03 23:07:58 UTC
(In reply to comment #28)
> I'm not sure it is a problem related _only_ (or at all) to hal : I've been
> using KDE 4.6 betas and rc1, and I've kept hal for now (we are supposed to drop
> hal in 4.6, in favor of udev/udisk), and I still doesn't have clear dvds
> showing up in dolphin/device notifier. But K3b recognizes them.
> 
> I've attached some 'lshal' and 'solid-hardware list' output. It seems that hal
> recognized the empty dvd but device notifier doesn't display it. It also seems
> everything is ok with solid with an empty dvd. As far as I've tested for now,
> it recognized my data dvds. I'm gonna try it with some others disks later.

That is another bug, fixed by rev 1210957 (this morning)
Comment 31 Timothée Ravier 2011-01-05 22:37:08 UTC
(In reply to comment #30)
> That is another bug, fixed by rev 1210957 (this morning)

I don't understand how my comment would let you think I was talking about an other bug. I've exactly the same problem as the others. And I can find my empty dvd in both lshal or solid-hardware list output. So it can't be a hal bug.

Correct me if I'm wrong but I don't see how this bug can't be related to KDE specific stuff. By the way, it used to work perfectly fine before.

I'm currently running KDE SC 4.6 rc1, Arch Linux kde-unstable packages, with testing repository active.
Comment 32 Jacopo De Simoi 2011-01-05 23:49:50 UTC
KDE SC 4.6 does not use HAL anymore by default and uses udisks instead. 

Notice that, when querying solid-hardware list details, your empty cd/dvd has the "ignore" flag set to true; that's the bug that has been fixed by the revision I mentioned. 

Cheers!
Comment 33 Timothée Ravier 2011-01-06 00:17:01 UTC
Thanks a lot for the explanation.

So shouldn't we close this bug ? Do you want to keep it open for people still using hal ?

As it seems it's gonna be fixed for me as soon as I get my hands on rc2, what should we do for people stuck with "older" KDE ?
Comment 34 Jacopo De Simoi 2011-01-06 00:32:04 UTC
(In reply to comment #33)
> Thanks a lot for the explanation.
> 
> So shouldn't we close this bug ? Do you want to keep it open for people still
> using hal ?

I was waiting for the reporter (you) to leave a comment; 

Unfortunately if HAL does not detect the disc, there is nothing we can do. People that want to use the 4.5 branch for some more time are encouraged to try different versions of HAL if possible and see if the issue persists.
HAL is barely mantained nowadays, filing a bug for it is pretty much useless. 

Closing as UPSTREAM. Thanks everybody for your time.

P.S. If anybody finds a version of HAL that is not affected by the issue, please leave a comment here, so that it can be helpful to others.
Comment 35 Tanja Schulte 2011-01-10 00:10:36 UTC
It does work with an old hal version that was current when KDE 3.5.10 was current.