[Kde-hardware-devel] Solid & Firewire devices

jb jb at kdenlive.org
Wed Sep 22 23:55:46 CEST 2010


On Wednesday 22 September 2010 23:45:33 Kevin Ottens wrote:
> On Wednesday 22 September 2010 23:23:00 jb wrote:
> > when using solid-hardware like this:
> > 
> > solid-hardware nonportableinfo 'guid'
> > 
> > with the guid of my firewire device as shown in
> > Solid::Device::allDevices(), I get a list of properties that are
> > interesting to me (Camera name, vendor, ...). Using solid-hardware
> > details 'guid' shows nothing (empty vendor and product).
> 
> Providing the output of both commands would actually help us to maybe help
> you.

Ok, here it is:

solid-hardware details:

udi = '/org/freedesktop/Hal/devices/ieee1394_guid800460104db2008'
  parent = '/org/freedesktop/Hal/devices/pci_1106_3044'  (string)
  vendor = ''  (string)
  product = ''  (string)

solid-hardware nonportableinfo :

udi = '/org/freedesktop/Hal/devices/ieee1394_guid800460104db2008'
  ieee1394.device = '/dev/fw1'  (string)
  ieee1394.guid = 576537722493804552  (0x800460104db2008)  (qulonglong)
  ieee1394.product = 'HVR-V1E'  (string)
  ieee1394.product_id = 3670354  (0x380152)  (int)
  ieee1394.vendor = 'Sony'  (string)
  ieee1394.vendor_id = 524358  (0x80046)  (int)
  info.capabilities = {'ieee1394'}  (string list)
  info.parent = '/org/freedesktop/Hal/devices/pci_1106_3044'  (string)
  info.subsystem = 'ieee1394'  (string)
  info.udi = '/org/freedesktop/Hal/devices/ieee1394_guid800460104db2008'  
(string)
  linux.device_file = '/dev/fw1'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'firewire'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:05:03.0/fw1'  
(string)

> > So my question is: is there a way to query the ieee1394 devices through
> > Solid?
> 
> Short answer is likely: no.
> Now it depends which kind of device it is, from our POV Firewire is just a
> bus type, on libsolid API that's the type of device (whatever bus it uses)
> which matters.

Ok, so if I understand, a firewire camcorder should normally be reported as a 
Solid::Video type?

regards
jb




More information about the Kde-hardware-devel mailing list