fwcontrol: unknown format 0x1e

Erik Nørgaard norgaard at daemonsecurity.com
Wed Sep 28 10:01:05 PDT 2005


Hi,

I'm a newbie when it comes to firewire, in fact I have never had it 
working because I never had a device to connect. Then recently I bought 
a Canon MVX200 (PAL) video cam. But when trying to transfer the video 
using fwcontrol as described in the man page I get:

charm# fwcontrol -R test.dv
(EAGAIN)
(EAGAIN)
fwcontrol: unknown format 0x1e

I have asked on the list before, and on other lists as well as searched 
google with little luck. Eventually some indicated it may be the brand 
since he had had bad experiences with other Canon hardware. The cam was 
returned within the 15 trial period I had.

I then bought a Sony HC39E but get the exact same error suggesting that 
the problem is in the other end. According to the hardware list my 
firewire chipset is supported.

Please, any hints on how to solve this will be highly appreciated.

Thanks, Erik

Debug stuff follows:

System:

FreeBSD charm 6.0-BETA4 FreeBSD 6.0-BETA4 #0:
     Tue Sep  6 21:16:56 CEST 2005
     norgaard at charm:/usr/obj/usr/src/sys/GENERIC  i386

dmesg:
fwohci0: <Ricoh R5C552> mem 0xe5800000-0xe58007ff irq 11 at device 10.2 
on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:03:09:43:39
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)

Connecting the firewire device creates the following output (from
/var/log/messages):

fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=11, non CYCLEMAST ER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=1
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=2
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=3
fwohci0: txd err= 3 miss Ack err
firewire0: bus_explore node=1 addr=0x400 resp=22 retry=4
firewire0: bus_explore failed for 1 nodes
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=12, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=13, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1

There is no /dev/firewire0

Output from fwcontrol and dvrecv tools:

Script started on Tue Sep  6 23:00:04 2005
charm# fwcontrol -r

charm# fwcontrol -t
crc_len: 4 generation:7 node_count:2 sid_count:2
id link gap_cnt speed delay cIRM power port0 port1 port2 ini more
00    1       5  S400     0    1   -1W     P     -         1    0
01    1       5  S100     0    1    0W     C     -     -   0    0

charm# fwcontrol -p
=== base register ===
0x01 0x3f 0xe2 0x41 0xcc 0x03 0x00 0x20
Physical_ID:0  R:0  CPS:1
RHB:0  IBR:0  Gap_Count:63
Extended:7 Num_Ports:2
PHY_Speed:2 Delay:1
LCtrl:1 C:1 Jitter:1 Pwr_Class:4
WDIE:0 ISBR:0 CTOI:0 CPSI:0 STOI:0 PEI:0 EAA:1 EMC:1
Max_Legacy_SPD:0 BLINK:0 Bridge:0
Page_Select:1 Port_Select0

=== page 0 port 0 ===
0xf6 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Astat:3 BStat:3 Ch:0 Con:1 RXOK:1 Dis:0
Negotiated_speed:0 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0
DC_connected:0 Max_port_speed:0 LPP:0 Cable_speed:0
Connection_unreliable:0 Beta_mode:0
Port_error:0x0
Loop_disable:0 In_standby:0 Hard_disable:0

=== page 0 port 1 ===
0xf8 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Astat:3 BStat:3 Ch:1 Con:0 RXOK:0 Dis:0
Negotiated_speed:0 PIE:0 Fault:0 Stanby_fault:0 Disscrm:0 B_Only:0
DC_connected:0 Max_port_speed:0 LPP:0 Cable_speed:0
Connection_unreliable:0 Beta_mode:0
Port_error:0x0
Loop_disable:0 In_standby:0 Hard_disable:0

=== page 1 ===
0x01 0x00 0x00 0x00 0x74 0x00 0x55 0x20
Compliance:1
Vendor_ID:0x000074
Product_ID:0x005520
charm# fwcontrol -c 0
first quad: 0x041ceb3e info_len=4 crc_len=28 crc=0xeb3e(OK)
bus_name: 0x31333934
irmc:1 cmc:1 isc:1 bmc:1 pmc:0
cyc_clk_acc:100 max_rec:10 max_rom:0
generation:3 link_spd:2
EUI64: 00-e0-18-00-03-09-43-39
root_directory: len=0x0005(5) crc=0x8a4a(OK)
0c(I:0c) 0083c0 node_capabilities:
03(I:03) acde48 module_vendor_ID:
81(L:01) 000003 text_leaf: len=7 crc=0x82ed(OK) FreeBSD Project
04(I:04) 0927e2 hardware_version:
81(L:01) 000009 text_leaf: len=9 crc=0x0412(OK) charm

charm# fwcontrol -R test.dv
(EAGAIN)
(EAGAIN)
fwcontrol: unknown format 0x1e

charm# fwcontrol -R test.dv
PAL
0fwcontrol: unknown format 0x1e

charm# fwcontrol -R test.dv
PAL
0fwcontrol: unknown format 0x1e

charm# sysctl hw.firewire.try_bmr=0
hw.firewire.try_bmr: 1 -> 0
charm# fwcontrol -r
charm# fwcontrol -R test.dv
PAL
0fwcontrol: unknown format 0x1e

charm# fwcontrol -R test.dv
(EAGAIN)
(EAGAIN)
fwcontrol: unknown format 0x1e

charm# fwcontrol -u 0 -R test.dv
(EAGAIN)
(EAGAIN)
fwcontrol: unknown format 0x1e

charm# dvrecv test.dv
Found AV/C device
Vendor: Canon
Model: MVX200
waiting for DV data, please press 'play' on the camcorder...
waiting for DV data, please press 'play' on the camcorder...
waiting for DV data, please press 'play' on the camcorder...
waiting for DV data, please press 'play' on the camcorder...
total : -1 frames (0 Bytes)

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3835 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050928/11d38556/smime.bin


More information about the freebsd-questions mailing list