[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 253729] New: Duplicated devices due to several backends
From:       Andrey Borzenkov <arvidjaar () mail ! ru>
Date:       2010-10-10 8:49:37
Message-ID: bug-253729-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=253729

           Summary: Duplicated devices due to several backends
           Product: solid
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: ervin@kde.org
        ReportedBy: arvidjaar@mail.ru


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic