[Pkg-utopia-maintainers] Bug#582288: Bug#582288: udisks: Inhibit polling failed: Media detection cannot be inhibited
Michael Biebl
biebl at debian.org
Tue May 25 12:41:49 UTC 2010
On 25.05.2010 14:30, Ritesh Raj Sarraf wrote:
> On Monday 24 May 2010 10:52:25 Ritesh Raj Sarraf wrote:
>>>> Hi, Can the maintainer confirm the bug at least ?
>>>> I am holding laptop-mode-tools from a release because of this.
>>>
>>>
>>>
>>> No, I cannot reproduce this bug.
>>
>> Thanks Michael.
>>
>> I guess then it must be a policykit authorization problem on my box.
>
>
> What should this be interpreted as?
>
> ========================================================================
> Showing information for /org/freedesktop/UDisks/devices/sr0
> native-path:
> /sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0
> device: 11:0
> device-file: /dev/sr0
> presentation: /dev/sr0
> by-path: /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0
> detected at: Sat 22 May 2010 10:03:48 PM IST
> system internal: 0
> removable: 1
> has media: 0
> detects change: 1
> detection by polling: 0
> detection inhibitable: 0
> detection inhibited: 0
First of all: why do you want to disable polling? Does it cause any problems?
Second, are you sure, udisks is actually polling your drive?
You probably have a SATA AN capabable drive, which does not need polling and
instead sends (udev) uevents on media changes.
That's why you can't disable polling, as it actually doesn't poll :-)
Do you have a file evt_media_change in /sys/class/block/sr0 ?
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100525/728456d5/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list