Bug 253729 - Duplicated devices due to several backends
Summary: Duplicated devices due to several backends
Status: RESOLVED DUPLICATE of bug 253557
Alias: None
Product: solid
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 10:49 UTC by Andrey Borzenkov
Modified: 2010-10-11 08:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Borzenkov 2010-10-10 10:49:34 UTC
Version:           unspecified (using Devel) 
OS:                Linux

KDE 4.5.71 in Mandriva cooker.

Due to various package dependencies I have both HAL and upower installed. As a result Solid gets information about the same underlying object (in this case battery, but it applies to HAL/udisks as well) fron two different backends. This causes battery applet to display two "different" batteries.

Here is:

{pts/1}% solid-hardware list | grep battery
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
udi = '/org/freedesktop/UPower/devices/battery_BAT0'

respectively

{pts/1}% solid-hardware list | grep sda    
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda1'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda2'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda5'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda6'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda7'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda8'
udi = '/org/freedesktop/UDisks/devices/sda1'
udi = '/org/freedesktop/UDisks/devices/sda2'
udi = '/org/freedesktop/UDisks/devices/sda5'
udi = '/org/freedesktop/UDisks/devices/sda6'
udi = '/org/freedesktop/UDisks/devices/sda7'
udi = '/org/freedesktop/UDisks/devices/sda8'
udi = '/org/freedesktop/UDisks/devices/sda'


Reproducible: Always
Comment 1 Kevin Ottens 2010-10-11 08:53:58 UTC

*** This bug has been marked as a duplicate of bug 253557 ***