~alpine/users

IEEE 1394

Details
Message ID
<20230730160119.pbhhjn46esuz56qo@u-pl3.ms.mff.cuni.cz>
DKIM signature
missing
Download raw message
Hello,

I have been trying to convert my video tapes from a DV camera to a
computer using dvgrab via the IEEE 1394 port but I am having trouble
detecting the device.

Before I connect the camera, I can see the following in dmesg:

	[  +0.143613] firewire_ohci 0000:05:04.0: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x11
	[  +0.077028] firewire_core 0000:05:04.0: created device fw0: GUID 0010dc000108f949, S400

I can also see that /dev/fw0 exists. I understand this is just a
controller, not a connected device.

Upon connecting and turning on the camera, I can see no new output in
dmesg. The only new output I can generate with the camera reads:

	[Jul30 17:25] firewire_core 0000:05:04.0: rediscovered device fw0

which appears when I disconnect the camera (or power it off).

dvgrab reports "no camera exists". It is not a permissions problem as I
have set open permissions on /dev/fw0 manually.

The camera is Sony DCR-TRV320E with a 4 pin FireWire outlet which I
connect to the computer's 6 pin one (this shouldn't be relevant). It
used to work on the same computer when it was running Windows a long
time ago. I also briefly tried it with Linux Mint (also some time ago)
and I didn't get it working, but at the time I didn't really look into
it too much so it's possible it was just a permissions issue.

Here is the relevant output of lspci -vv:

	05:04.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev 80) (prog-if 10 [OHCI])
		Subsystem: Micro-Star International Co., Ltd. [MSI] Device 238d
		Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
		Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
		Latency: 64 (8000ns max), Cache Line Size: 32 bytes
		Interrupt: pin A routed to IRQ 20
		Region 0: Memory at febff800 (32-bit, non-prefetchable) [size=2K]
		Region 1: I/O ports at ec00 [size=128]
		Capabilities: [50] Power Management version 2
			Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
			Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
		Kernel driver in use: firewire_ohci

lshw:

	*-pci:4
	            description: PCI bridge
	            product: 82801 PCI Bridge
	            vendor: Intel Corporation
	            physical id: 1e
	            bus info: pci@0000:00:1e.0
	            version: f2
	            width: 32 bits
	            clock: 33MHz
	            capabilities: pci subtractive_decode bus_master cap_list
	            resources: ioport:e000(size=4096) memory:feb00000-febfffff
	          *-firewire
	               description: FireWire (IEEE 1394)
	               product: VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller
	               vendor: VIA Technologies, Inc.
	               physical id: 4
	               bus info: pci@0000:05:04.0
	               version: 80
	               width: 32 bits
	               clock: 33MHz
	               capabilities: pm ohci bus_master cap_list
	               configuration: driver=firewire_ohci latency=64 maxlatency=32
	               resources: irq:20 memory:febff800-febfffff ioport:ec00(size=128)

and `lsmod | grep -iE '(firewire|1394)'` as root:

	firewire_ohci          49152  0
	firewire_core          86016  1 firewire_ohci
	crc_itu_t              16384  1 firewire_core

I am using the latest LTS kernel which has support for FireWire enabled
(as is evident from the above):

	#
	# IEEE 1394 (FireWire) support
	#
	CONFIG_FIREWIRE=m
	CONFIG_FIREWIRE_OHCI=m
	CONFIG_FIREWIRE_SBP2=m
	CONFIG_FIREWIRE_NET=m
	CONFIG_FIREWIRE_NOSY=m
	# end of IEEE 1394 (FireWire) support

I will appreciate any ideas as to where the problem is.

Thank you and best regards,
Karel
Reply to thread Export thread (mbox)