Bug 6014

Summary: Firewire host and nodes are unknown devices
Product: Sisyphus Reporter: Yuri N. Sedunov <aris>
Component: hwdatabaseAssignee: Anton Farygin <rider>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Yuri N. Sedunov 2005-02-03 13:35:13 MSK
Subdevices under "SB Audigy FireWire Port" identified as unknown devices.
Comment 1 Anton Farygin 2005-02-08 10:24:50 MSK
Какие именно ?

Что говорит pciscan -v ?
Comment 2 Yuri N. Sedunov 2005-02-08 10:58:46 MSK
(In reply to comment #1)
> Какие именно ?
> 
> Что говорит pciscan -v ?
> 

psiscan видит только родительский девайс.
$ pciscan -v|grep 1394 -A2
ohci1394               Creative Labs SB Audigy FireWire Port [OHCI FireWire
(IEEE 1394)]
                       1102:4001:1102:0010  drivers: ohci1394 ohci1394 
class:00c:00:10
                       hwid: 31A2145868EEB47E

Юзаем lshal.

udi = '/org/freedesktop/Hal/devices/ieee1394_0'
  info.udi = '/org/freedesktop/Hal/devices/ieee1394_0'  (string)
  ieee1394.specifier_id = 94  (0x5e)  (int)
  info.parent = '/org/freedesktop/Hal/devices/ieee1394_node_0'  (string)
  linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:09.2/fw-host0/00023c003004f69d/00023c003004f69d-0'
 (string)
  linux.sysfs_path = '/sys/class/ieee1394/00023c003004f69d-0'  (string)
  info.bus = 'ieee1394'  (string)

udi = '/org/freedesktop/Hal/devices/ieee1394_node_0'
  info.udi = '/org/freedesktop/Hal/devices/ieee1394_node_0'  (string)
  info.vendor = 'Linux - ohci1394'  (string)
  ieee1394.vendor = 'Linux - ohci1394'  (string)
  ieee1394.vendor_id = 572  (0x23c)  (int)
  ieee1394.nodeid = 65472  (0xffc0)  (int)
  ieee1394.guid = 805631645  (0x3004f69d)  (int)
  ieee1394.capabilities = 33728  (0x83c0)  (int)
  info.parent = '/org/freedesktop/Hal/devices/ieee1394_host_0'  (string)
  linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:09.2/fw-host0/00023c003004f69d'  (string)
  linux.sysfs_path = '/sys/class/ieee1394_node/00023c003004f69d'  (string)
  info.bus = 'ieee1394_node'  (string)

udi = '/org/freedesktop/Hal/devices/ieee1394_host_0'
  info.udi = '/org/freedesktop/Hal/devices/ieee1394_host_0'  (string)
  ieee1394.nodes_active = 1  (0x1)  (int)
  ieee1394.node_count = 1  (0x1)  (int)
  ieee1394.is_root = true  (bool)
  ieee1394.is_irn = true  (bool)
  ieee1394.is_busmgr = false  (bool)
  info.parent = '/org/freedesktop/Hal/devices/pci_1102_4001'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:09.2/fw-host0' 
(string)
  linux.sysfs_path = '/sys/class/ieee1394_host/fw-host0'  (string)
  info.bus = 'ieee1394_host'  (string)

udi = '/org/freedesktop/Hal/devices/pci_1102_4001'
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1102_4001'  (string)
  pci.device_protocol = 16  (0x10)  (int)
  pci.device_subclass = 0  (0x0)  (int)
  pci.device_class = 12  (0xc)  (int)
info.vendor = 'Creative Labs'  (string)
  info.product = 'SB Audigy FireWire Port'  (string)
  pci.subsys_product = 'SB Audigy FireWire Port'  (string)
  pci.subsys_vendor = 'Creative Labs'  (string)
  pci.product = 'SB Audigy FireWire Port'  (string)
  pci.vendor = 'Creative Labs'  (string)
  pci.subsys_product_id = 16  (0x10)  (int)
  pci.subsys_vendor_id = 4354  (0x1102)  (int)
  pci.product_id = 16385  (0x4001)  (int)
  pci.vendor_id = 4354  (0x1102)  (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:09.2'  (string)
  linux.sysfs_path_device = '/sys/devices/pci0000:00/0000:00:09.2'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:09.2'  (string)
  info.bus = 'pci'  (string)
Comment 3 Anton Farygin 2005-02-08 11:05:21 MSK
Так это не pci устройство.
Это устройства на ieee1394 шине.

Для них база в hwdatabase не ведется.
Comment 4 Yuri N. Sedunov 2005-02-08 11:15:50 MSK
(In reply to comment #3)
> Так это не pci устройство.
> Это устройства на ieee1394 шине.
> 
> Для них база в hwdatabase не ведется.
> 

Чем FireWire хуже USB, по которой база ведется?
Comment 5 Anton Farygin 2005-02-08 12:12:30 MSK
Тем, что база по ним ведется ;-)

База по ieee1394 отсутствует как класс.

Более того - устройство должно само сообщать свое имя:
# cat /sys/bus/ieee1394/devices/fw-host0/0040ca0126000494/vendor_name_kv 
Linux - ohci1394