[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gscanbus: resource temporarily unavaliable



Hi,

I recently bought a Sony MiniDV camcorder (DCR-HC44). This model has an
iLink output, so I bought an IEEE1394 host adapter, too. The adapter has
the chipset Agere FW323-6, which is reported as "working" on
www.linux1394.org.

Actually, the IEEE1394 card is working, but only when the camera is off!
When I turn it on, it shows on the display the icons the should mean the
camera is connecting via Firewire, but kino says there are no IEEE1394
devices, and testlibraw says something similar.

In particular, when the camera is turned on, gscanbus eternally repeats
this message: "Error while reading from IEEE1394: : Resource temporarily
unavailable". It immediately stops when camera is turned off.

Besides that, the only things that changes when the camera is turned on
are on testlibraw output (see below): absolutely nothing is logged
anywere when camera is turned on or off.

I'm running Debian Etch with its current kernel (2.6.18-5). I did not
install any software compiling source code.

Please note that I get exactly the same results with another adapter
that I borrowed from a friend of mine. This second adapter is based on
VIA VT6307, another chipset among those listed as supported on
www.linux1394.org.

I'm not going to buy another adapter, nor camera. What else
Here are some outputs and logs.

# lspci -vv -s 01:02
01:02.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) (prog-if 10
[OHCI])
        Subsystem: Agere Systems FW323
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (3000ns min, 6000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 193
        Region 0: Memory at ff0ff000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+


# lsmod | grep 1394
raw1394                25432  0
ohci1394               30800  0
ieee1394               86904  2 raw1394,ohci1394

# ls -l /dev/raw1394
crwxrwxrwx 1 root video 171, 0 2008-01-12 18:31 /dev/raw1394

# cat /proc/interrupts
           CPU0
  0:     358047    IO-APIC-edge  timer
  1:       1658    IO-APIC-edge  i8042
  6:          5    IO-APIC-edge  floppy
  7:          0    IO-APIC-edge  parport0
  8:          1    IO-APIC-edge  rtc
  9:          1   IO-APIC-level  acpi
 12:      25854    IO-APIC-edge  i8042
 15:       3177    IO-APIC-edge  ide1
169:      81689   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb4,
i915@pci:0000:00:02.0
177:          0   IO-APIC-level  uhci_hcd:usb2
185:     178219   IO-APIC-level  uhci_hcd:usb3, libata
193:     867103   IO-APIC-level  ehci_hcd:usb5, ohci1394
201:          0   IO-APIC-level  Ensoniq AudioPCI, eth0
217:         49   IO-APIC-level  DC30plus[0]
NMI:          0
LOC:     358022
ERR:          0
MIS:          0

# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 81 video4linux
 99 ppdev
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb
189 usb_device
226 drm

Block devices:
  1 ramdisk
  2 fd
  7 loop
  8 sd
 22 ide1
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 device-mapper

# dvgrab
Error: no camera exists

# dmesg |grep 1394
ieee1394: Initialized config rom entry `ip1394'
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[193]
MMIO=[ff0ff000-ff0ff7ff]  Max Packet=[2048]  IR/IT contexts=[8/8]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00601d0000000212]
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: Failed to generate Configuration ROM image for host 0
ieee1394: hpsb_update_config_rom() is deprecated
(last two lines are appended every time testlibraw is issued, whether or
not the camera is on)


# testlibraw (with camera on)
successfully got handle
current generation number: 1
1 card(s) found
  nodes on bus:  0, card name: ohci1394
using first card found: 0 nodes on bus, local ID is 0, IRM is 63

doing transactions with custom tag handler

using standard tag handler and synchronous calls

testing FCP monitoring on local node
testing config rom stuff
get_config_rom returned 0, romsize 120, rom_version 9
here are the first 10 quadlets:
0. quadlet: 0x712c0404
1. quadlet: 0x34393331
2. quadlet: 0x32a264e0
3. quadlet: 0x001d6000
4. quadlet: 0x12020000
5. quadlet: 0x72860400
6. quadlet: 0x1d600003
7. quadlet: 0x03000081
8. quadlet: 0x090000d1
9. quadlet: 0xc083000c
update_config_rom returned 0

polling for leftover messages

# testlibraw (with camera on)
successfully got handle
current generation number: 1
1 card(s) found
  nodes on bus:  1, card name: ohci1394
using first card found: 1 nodes on bus, local ID is 0, IRM is 0

doing transactions with custom tag handler
trying to send read request to node 0... completed with value 0x70e6bf1d

using standard tag handler and synchronous calls
trying to read from node 0... completed with value 0xeefbbf1d

testing FCP monitoring on local node
got fcp command from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef
got fcp response from node 0 of 8 bytes: 01 23 45 67 89 ab cd ef
testing config rom stuff
get_config_rom returned 0, romsize 120, rom_version 12
here are the first 10 quadlets:
0. quadlet: 0x712c0404
1. quadlet: 0x34393331
2. quadlet: 0x32a264e0
3. quadlet: 0x001d6000
4. quadlet: 0x12020000
5. quadlet: 0x72860400
6. quadlet: 0x1d600003
7. quadlet: 0x03000081
8. quadlet: 0x090000d1
9. quadlet: 0xc083000c
update_config_rom returned 0

polling for leftover messages



--
Andrea


Reply to: