LINUX.ORG.RU

не работает карточка ieee1394 для видеокамеры


0

0

PIII 600
mops5.0
ядро 2.6.19.1
карточка 4 Ports PCI IEEE1394
	на коробке - "X-storm", NEC chipset, Model: ST1026
	на самой карточке - NEC1394P3 REV A
	на чипе - NEC 072874GC 
камера samsung d975wi

с карточкой и камерой точно все нормально - на windows захват работает 

по умолчанию файла /dev/raw1394 не было. Создал его вручную mknod -m 0666 /dev/raw1394 c 171 0

////////////////////////////////////////////
сразу после загрузки
---
bash-3.1# dmesg|grep 1394
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[d4001000-d40017ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00004c0100000036]
+
cat /var/log/messages|grep 1394
...
Jul  6 11:24:34 mops5 ieee1394.agent[1762]: ... no drivers for IEEE1394 product 0x/0x/0x
Jul  6 11:24:35 mops5 ieee1394.agent[2037]: ... no drivers for IEEE1394 product 0x/0x/0x
---

////////////////////////////////////////////
вручную
modprobe raw1394
---
bash-3.1# dmesg|grep 1394
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[d4001000-d40017ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00004c0100000036]
* ieee1394: raw1394: /dev/raw1394 device initialized
---

////////////////////////////////////////////
подключил камеру
---
bash-3.1# dmesg|grep 1394
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[d4001000-d40017ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00004c0100000036]
ieee1394: raw1394: /dev/raw1394 device initialized
* ieee1394: Node added: ID:BUS[0-00:1023]  GUID[0000f0000000f3f6]
* ieee1394: Node changed: 0-00:1023 -> 0-01:1023
* ohci1394: fw-host0: Unrecoverable error!
* ohci1394: fw-host0: Async Req Tx Context died: ctrl[00008812] cmdptr[0ee6d2c1]
+
cat /var/log/messages|grep 1394
...
Jul  6 11:35:08 mops5 ieee1394.agent[6111]: ... no drivers for IEEE1394 product 0x/0x/0x
---

==========
в этом примере сразу заглохло, но бывало что глохло только при попытках обратиться к камере:
	-testlibraw пару раз проходил быстро а на третий на чтении с камеры подвисал
	-dvgrab камера что то начинала двигаться но безрезультатно - dvgrab очень быстро подвисал

в /var/log/syslog бывали другие сообщения:
		mops5 kernel: ohci1394: fw-host0: reqTxComplete: dma prg stopped
		или
		mops5 kernel: ieee1394: Failed to generate Configuration ROM image for host 0
			(эта очень часто)
		или
		mops5 kernel: ohci1394: fw-host0: Error in reception of SelfID packets [0xffffffff/0x00008820] (count: 1)

пробовал:
	-перетыкать в другой слот
	-modprobe ohci1394 phys_dma=0
	-пересобрал ядро без eth1394 и ip1394
	(
		# IEEE 1394 (FireWire) support
		CONFIG_IEEE1394=m
		# CONFIG_IEEE1394_VERBOSEDEBUG is not set
		CONFIG_IEEE1394_OUI_DB=y
		CONFIG_IEEE1394_EXTRA_CONFIG_ROMS=y
		# CONFIG_IEEE1394_CONFIG_ROM_IP1394 is not set
		# CONFIG_IEEE1394_EXPORT_FULL_API is not set
		CONFIG_IEEE1394_PCILYNX=m
		CONFIG_IEEE1394_OHCI1394=m
		CONFIG_IEEE1394_VIDEO1394=m
		CONFIG_IEEE1394_SBP2=m
		# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
		# CONFIG_IEEE1394_ETH1394 is not set
		# CONFIG_IEEE1394_DV1394 is not set
		CONFIG_IEEE1394_RAWIO=m
	)


не помогает!
anonymous

++++++++++++++++++++++++++++++++++++++++++++
bash-3.1# lspci -v
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
        Subsystem: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub
        Flags: bus master, fast devsel, latency 0
        Capabilities: [88] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation 82815 CGC [Chipset Graphics Controller] (rev 02) (prog-if 00 [VGA])
        Subsystem: Intel Corporation 82815 CGC [Chipset Graphics Controller]
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 12
        Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Memory at d4100000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [dc] Power Management version 2

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: d4000000-d40fffff

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 01)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 01) (prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 0
        I/O ports at f000 [size=16]

00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 01) (prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at d000 [size=32]

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 01)
        Flags: medium devsel, IRQ 11
        I/O ports at 5000 [size=16]

00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 01) (prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at d400 [size=32]

00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 01)
        Subsystem: Analog Devices Unknown device 5348
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at d800 [size=256]
        I/O ports at dc00 [size=64]

01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at c000 [size=256]
        Memory at d4000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

01:06.0 FireWire (IEEE 1394): NEC Corporation uPD72874 IEEE1394 OHCI 1.1 3-port PHY-Link Ctrlr (rev 01) (prog-if 10 [OHCI])
        Subsystem: NEC Corporation uPD72874 IEEE1394 OHCI 1.1 3-port PHY-Link Ctrlr
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at d4001000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 2

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.