Firewire DV Camera not detected properlly

Bug #205583 reported by Tor Harald Thorland
14
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hardy updated to beta.

When Canon MV500I camcorder is connected the information as attached in syslog and messages log is shown.

When trying to run dvgrab as a user it gives the following error:
raw1394 - failed to get handle: Permission denied.

When running dvgrab as root it gives the following error:
Error: no camera exists

So here I'm stuck in using my camera.

Revision history for this message
Tor Harald Thorland (linux-strigen) wrote :
Revision history for this message
Tor Harald Thorland (linux-strigen) wrote :
Revision history for this message
Tor Harald Thorland (linux-strigen) wrote :

This is on a Dell Inspiron 9300 Laptop with Generic 2.6.24-12 kernel, Canon MV500i DV Camera.
Output of some more testing:

tortho@tortho-laptop:~$ testlibraw
couldn't get handle: No such file or directory
This probably means that you don't have raw1394 support in the kernel or that
you haven't loaded the raw1394 module.
tortho@tortho-laptop:~$ sudo lshw | grep 1394
                description: FireWire (IEEE 1394)
                product: R5C552 IEEE 1394 Controller
                configuration: driver=ohci1394 latency=64 maxlatency=4 mingnt=2 module=ohci1394

tortho@tortho-laptop:~$ lsmod | grep 1394
ohci1394 33584 0
ieee1394 93752 2 sbp2,ohci1394

tortho@tortho-laptop:~$ sudo modprobe raw1394
tortho@tortho-laptop:~$ lsmod | grep 1394
raw1394 29144 0
ohci1394 33584 0
ieee1394 93752 3 raw1394,sbp2,ohci1394

tortho@tortho-laptop:~$ testlibraw
couldn't get handle: Permission denied
This probably means that you don't have raw1394 support in the kernel or that
you haven't loaded the raw1394 module.

tortho@tortho-laptop:~$ ls -l /dev/raw1394
crw-rw---- 1 root disk 171, 0 2008-03-23 17:59 /dev/raw1394

tortho@tortho-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
03:03.0 Network controller: Intel Corporation PRO/Wireless 2915ABG Network Connection (rev 05)

Revision history for this message
Tor Harald Thorland (linux-strigen) wrote :

After playing with the camera for a while I found out that it has a function to get analog video on a input and deliver digital through the firewire.
When turning this function on it did trigger something.... See the below output from messages and syslog....
When turning this function off again it still works and I can record through dvgrab....

Something needed to autodetect this easier?

syslog

Mar 23 19:44:11 tortho-laptop kernel: [ 7352.529665] ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
Mar 23 19:44:11 tortho-laptop kernel: [10299.260229] ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting...
Mar 23 19:44:11 tortho-laptop kernel: [ 7353.023722] ieee1394: Node resumed: ID:BUS[0-00:1023] GUID[000085000054eca5]
Mar 23 19:44:11 tortho-laptop kernel: [ 7353.023977] ieee1394: Node changed: 0-00:1023 -> 0-01:1023
Mar 23 19:44:40 tortho-laptop kernel: [ 7381.168923] ieee1394: hpsb_update_config_rom() is deprecated
Mar 23 19:44:40 tortho-laptop kernel: [ 7381.178551] ieee1394: Failed to generate Configuration ROM image for host 0

messages

Mar 23 19:44:40 tortho-laptop kernel: [ 7381.168923] ieee1394: hpsb_update_config_rom() is deprecated

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Philip (philip-humanfactor) wrote :

I have a similar problem,

My camera Canon a1 xh (an HDV) is not detected, it think i tried everything humanly possible.
Since this device has been reported to work I suspect that this bug is related to the builtin firewire controller.

After loading raw1394 (with camera attacted) module I only see following event:
Apr 7 23:01:51 supercomputer kernel: [ 126.234205] ieee1394: raw1394: /dev/raw1394 device initialized

Hardware: P5K Premium with Agera Systems Firewire
Ubuntu x86_64 Hardy
Intel quad-core

sudo lshw | grep 1394
                description: FireWire (IEEE 1394)
                configuration: driver=ohci1394 latency=64 maxlatency=24 mingnt=12 module=ohci1394

lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 Ultra (rev a2)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
05:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 70)
05:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

Thanks,
Philip

Revision history for this message
Philip (philip-humanfactor) wrote :

Err, after replacing my (new) firewire cable my camera is recognized perfectly
without any intervention.

Lesson learned always check your cable

for the record my environment: asus pk5 premium, fw323, canon a1 xh, hardy,
amd64

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Eddie Toronto (eddie-indirect) wrote :

Hi,
I don't understand post 6 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/205583/comments/6

If the cable works in windowsXP, does it make sense to replace the cable with another? I'm using the Sony firewire cable that came with the DV camcorder. Also, my issue and environment are posted in a duplicate bug report [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/353561]

Thanks

Revision history for this message
Eddie Toronto (eddie-indirect) wrote :

I found another firewire cable (generic brand) and to my surprise, my DV camera now works!
Conclusion: The firewire cable can work in Windows and not work in linux.

Thanks

Revision history for this message
Bryan Wu (cooloney) wrote :

Eddie,

I'm not very sure about your conclusion here. How can you use DV camera if the firewire cable does not work on Linux? What is the generic brand firewire cable? Do you have chance to test it on latest Jaunty kernel?

Thanks a lot
-Bryan

Revision history for this message
Philip (philip-humanfactor) wrote : Re: [Bug 205583] Re: Firewire DV Camera not detected properlly

I have own a dv/hdv camera and works perfectly (with dvgrab), in the past I had
no-software issues :

 * I have a canon a1 xh, i had to switch to hdv next to the firewire port.
 * A faulty cable (4pins cable with six pin convertor), i bought a new fireware
card believing that the hardware was not supported, but ended up using only the
new cable.
 * Sufficient rights on block device
I have used this camera with hardy and use it now with jaunty.

Greetz,
Philip

On April 14, 2009 at 11:31 AM Bryan Wu <email address hidden> wrote:

> Eddie,
>
> I'm not very sure about your conclusion here. How can you use DV camera
> if the firewire cable does not work on Linux? What is the generic brand
> firewire cable? Do you have chance to test it on latest Jaunty kernel?
>
> Thanks a lot
> -Bryan
>
> --
> Firewire DV Camera not detected properlly
> https://bugs.launchpad.net/bugs/205583
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” source package in Ubuntu: Triaged
>
> Bug description:
> Hardy updated to beta.
>
> When Canon MV500I camcorder is connected the information as attached in syslog
> and messages log is shown.
>
> When trying to run dvgrab as a user it gives the following error:
> raw1394 - failed to get handle: Permission denied.
>
> When running dvgrab as root it gives the following error:
> Error: no camera exists
>
>
> So here I'm stuck in using my camera.
>

Revision history for this message
Eddie Toronto (eddie-indirect) wrote :

Brian,
I'm sorry, but reading my previous post made me realize I might have been ambiguous.

To summarize, in WinXP my Sony DV camera transferred video via the included Sony Firewire cable. In Ubuntu 8.10, the same setup, DV camera and Sony Firewire cable, did not work. I found a firewire cable at my parents home that does not have any brand on it, but I suspect it came with an old PCI firewire card, it is only labelled on the ends as IEEE1394.

When I upgrade to 9.04, I will test again with both cables and report back.

Revision history for this message
Bryan Wu (cooloney) wrote :

Hi guys,

Did you have chance to try Jaunty? Any updates?

-Bryan

Revision history for this message
Philip (philip-humanfactor) wrote :

Yes,
sudo dvgrab -f hdv hdv_movie
Found AV/C device with GUID 0x000085000130804b
Capture Started

Do you want some hdv footage ?

Greetz,
Philip

On Wed, 2009-04-29 at 10:27 +0000, Bryan Wu wrote:
> Hi guys,
>
> Did you have chance to try Jaunty? Any updates?
>
> -Bryan
>

Revision history for this message
Eddie Toronto (eddie-indirect) wrote :

Out of the box clean install of 9.04 using kdenlive or kino, the DV capture
does not work.

john@HTLX:~$ dvgrab
raw1394 - failed to get handle: Permission denied.

I tried the solution chmod, but it didn't work. (
https://bugs.launchpad.net/bugs/20567) Maybe I did it wrong? I typed sudo
chmod, and also did it as root.

Any ideas? what command line output can I provide? Thanks.

On Wed, Apr 29, 2009 at 06:27, Bryan Wu <email address hidden> wrote:

> Hi guys,
>
> Did you have chance to try Jaunty? Any updates?
>
> -Bryan
>
> --
> Firewire DV Camera not detected properlly
> https://bugs.launchpad.net/bugs/205583
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” source package in Ubuntu: Triaged
>
> Bug description:
> Hardy updated to beta.
>
> When Canon MV500I camcorder is connected the information as attached in
> syslog and messages log is shown.
>
> When trying to run dvgrab as a user it gives the following error:
> raw1394 - failed to get handle: Permission denied.
>
> When running dvgrab as root it gives the following error:
> Error: no camera exists
>
>
> So here I'm stuck in using my camera.
>

Revision history for this message
Eddie Toronto (eddie-indirect) wrote :

I typed the following into the terminal and the DV camera is now recognized and capturing works.
sudo chmod a+rw /dev/raw1394

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.