[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2015-06-17 Thread Rolf Leggewie
lucid has seen the end of its life and is no longer receiving any
updates. Marking the lucid task for this ticket as Won't Fix.

** Changed in: kino (Ubuntu Lucid)
   Status: Confirmed = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2012-09-30 Thread Eric Wright
Kino isn't the only important one that is broken by a lack of a
thoughtful fix.

VLC is also affected for people like myself that NEED to be able to
stream LIVE video from a professional DV camera over a wireless network,
and finally export it several miles away at a television transmitter
site for our viewers to watch.

This morning I was supposed to broadcast a parade from 5 miles away... I
started on this problem at 4AM and missed the 9AM parade start.

Just because a person CAN kill others with an automobile does not mean
we should all have our cars taken away for everyone else's safety
and along the same lines raw1394 access that WAS working perfect before,
should be allowed back.

Instead give users a security panel where they can check a box to
disable raw1394 if they have no use for it, and they can leave it
unchecked if they NEED full access.

I am writing this post because there is little else I can do, but I had
to do SOMETHING My job at a television station depends on my being
able to live stream an 8Mb/s stream from a DV camera any time there is a
parade, breaking news story, or other reason to require high quality
live video to be transmitted from all points across town...

Our station does not have the $300,000 for a microwave truck and
astronomical yearly fees for the satellite link... I am forced to use 2
watt radios on empty 802.11 channels, employing 4 degree beam width mesh
antennas, to avoid disrupting other people's wireless connections.
There's no way our viewers would stand for USB web cam video without
laughing us off the air.

I can technically do it in Windows... but Windows is not stable enough
to trust for parade, rodeo, job fairs, auto racing, and other long
duration live broadcasts.

Please don't break my ability to stream high quality video with VLC
running on a laptop in a backpack for a 20Lb solution that includes the
camera and everything in a portable package

Or I should say, it's already broken... please return the functionality
removed

If the VLC team needs to help work out a suitable driver, please do work
with them... I am pretty sure they are open to assistance making this
work as well.

Thank you for your time,
Eric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2012-09-30 Thread Stefan Richter
Re comment 87:

Eric,
thanks for describing your use case.  I was vaguely aware that VLC has IEEE 
1394 video capture modules, but it is interesting to learn that somebody used 
(is using) it as a means to deliver DV over network.

There are two IEEE 1394 modules in VLC:  DC1394, implemented by
modules/access/dc1394.c, for cameras which send uncompressed video over
1394 according to the IIDC a.k.a. DCAM standard (industrial cameras,
some old webcams), and DV1394 alias dv alias raw1394, implemented
by modules/access/dv.c, for camcorders, perhaps tape decks etc. which
send DV over 1394.  From VLC v1.0 to VLC v1.1, these VLC access modules
have been converted to libdc1394 v2 and to libraw1394 v2, respectively.

These updates to current low-level library API versions should mean that VLC 
should work with current kernels and current udev, which should provide the 
following interface:
a) The single global /dev/raw1394 no longer exists.
b) Instead, the kernel provides /dev/fw0, fw1, fw2, ..., one file for each IEEE 
1394 node (including the local node, i.e. the controller card).  These device 
files are binary incompatible with /dev/raw1394 but are functionally 90% 
compatible with /dev/raw1394.
c) Udev should set group ownership or/and access control lists for the video 
group or/and the current console owner or some other suitable owner for each 
/dev/fw* device file which corresponds to a video device, e.g. DV camcorder.
d) libdc1394 v2 and libraw1394 v2 are able to automatically select the proper 
/dev/fw* device file for device control and capture.
e) libdc1394 v2 based or libraw1394 v2 based application programs don't notice 
any of that, since they let the libraries deal with the kernel's device files.

Currently I don't have Ubuntu myself (I have got Gentoo Linux but am
subscribed to this bug because I am involved in FireWire kernel drivers
maintenance and libraw1394 maintenance), and I never tried VLC's IEEE
1394 video capture modules.  I will configure my VLC installation to
include these modules, try if they work here (they should work in
principle), and report back.

PS,
kino should work out-of-the box on recent Ubuntu versions, using libraw1394 v2.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2012-09-30 Thread Stefan Richter
Tested:
  - VLC 2.0.3, libraw1394 2.1.0, libdc1394 2.2.0, kernel 3.6-rc7, udev 171, 
Gentoo Linux
  - miniDV camcorder JVC GR-D725E
  - IIDC (DCAM) webcam Apple iSight
  - VIA VT6306 based CardBus FireWire controller
  - Texas Instruments XIO2213A/B based PCIe FireWire controller

vlc dv:// and vlc dc1394:// automatically pick up the camcorder or
webcam respectively and display live video.  Sound of the DV stream is
played as well.  I did not try network streaming.  (Never tried it
before and did not figure out how to set up stream output.)

The VT6306 controller does not work very reliably:  For example, if VLC
is stopped and restarted with kill -STOP $pid and kill -CONT $pid,
the DV stream is frozen.  This is a known issue between VT6306 and
current kernels which is also seen with some other capture programs; the
VT6306 does not properly restart its DMA after a period of inactivity of
the capture process.  The Texas Instruments controller does not exhibit
such a problem, as expected.

Somewhat older software revisions should work as well.  libdc1394 and
the VLC dc1394 are irrelevant for DV.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2011-09-05 Thread Launchpad Bug Tracker
** Changed in: kino (Ubuntu Lucid)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2011-01-05 Thread Steffen Schwientek
DV Grabbing doesn't work in Maverick for me. I tried a lot to use dvgrab
or kino on my Camcorder (sony VX1000E) without much success

Blacklisting didn't work reliable.

However, I googled an old thread on

However, googled  an old thread:
http://osdir.com/ml/kernel.firewire.user/2005-07/msg1.html

Disabling irm does the trick for me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2011-01-05 Thread Stefan Richter
Steffen,
please open a new bug for this (this is different) and leave a short note with 
the new bug number here so that I can have a look.  Or mail the bug description 
to one of linux1394-u...@lists.sf.net or linux1394-de...@lists.sf.net.  These 
mailinglists are open for posting without prior subscription.  Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
https://bugs.launchpad.net/bugs/6290

Title:
  DV capture over Firewire is broken (no rights for /dev/raw1394)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-08-17 Thread Andy Whitcroft
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: kino (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Lucid)
   Importance: Undecided
   Status: New

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-08-17 Thread Andy Whitcroft
This is at least in part a Kernel related issue.  There are two firewire
stacks in the kernel, the old one (which this bug was originally opened
against) which has serious security configurability issues, and a new
one which has them resolved.  For many of the recent releases both the
firewire stacks have been available, but the older one selected by
default.  From Maverick this choice has been reversed such that the new
stack is the default.  This should resolve the security handling of the
interfaces and resolve this issue for kino on maverick and later.
Please let us know if you are testing on Maverick and this is not the
case.

For Lucid the switch to the new stack by default was deemed to risky
before release as it is an LTS.  Therefore we went with the old stack on
Lucid, but the new can be selected by switching the blacklisting in
/etc/modprobe.d/blacklist-firewire.conf.  Now that Lucid is released we
cannot just change the default over to the new stack for everyone, the
regression potential is too great for an LTS.  However there are several
work-arounds available, switching to the new stack, changing the group
on the bluetooth devices, or running the applications with more
priviledge via sudo.

Based on this I am going to close the Maverick task for the kernel Fix
Released, and close the Lucid task for the kernel Won't Fix.

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Andy Whitcroft (apw)

** Changed in: linux (Ubuntu)
   Status: New = Fix Released

** Changed in: linux (Ubuntu Lucid)
   Status: New = Won't Fix

** Changed in: linux (Ubuntu Lucid)
 Assignee: (unassigned) = Andy Whitcroft (apw)

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-08-17 Thread Dan Dennedy
Thank you, Andy, for your sensible and lucid explanation. ;-)

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-08-09 Thread Aerandir
Samsung VP-D371W PAL
Affected by it as well - now working.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-08-05 Thread clay
Panasonic NV GS120
Affected by it as well - now working.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-07-13 Thread Mantas Kriaučiūnas
** Also affects: baltix
   Importance: Undecided
   Status: New

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-06-20 Thread masfanto
same bug with my panasonic NV-GS17..

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-06-09 Thread AugustoCiuffoletti
Hi all,

you can count me as one user affected by the bug: I own a Panasonic NV-
GS22 (a cheap, quite diffused camcorder) and I had to follow the
comment/uncomment + update-initrams path, with some success in Ubuntu
Lucid. However, I still cannot control my camcorder from the PC --- I
start playback manually --- and sometimes the stream is not captured at
all. Which was working perfectly in a previous Ubuntu release. I'll be
happy to be more precise, if this is of interest in this forum, but I
can survive in the current situation.

Thank you

Augusto

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-25 Thread Dan Dennedy
I learned that you must update the initrd images after changing the blacklist 
file:
sudo update-initramfs -k all -u

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-21 Thread Martin Pitt
Stefan Richter [2010-05-20 22:23 -]:
   - The udev rules for firewire-core's files are fine; I referred to the
 missing rule for raw1394.

It's not missing in the oops, forgot sense. It just doesn't make
sense to give all users complete control for all firewire devices,
that's not how device management is supposed to work in the kernel.
There is apparently a lot of missing kernel support here, but unsafe
hacks around that won't be accepted upstream. You are of course
welcome to add one locally if you are in a trusted or single-user
environment.

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-21 Thread Stefan Richter
 There is apparently a lot of missing kernel support here

There is nothing missing in the new stack.  And what is missing in the
old stack could have been added to it if development manpower would have
been available, or better yet, development and deployment of the new
stack could have been sped up with developer and tester manpower.

 unsafe hacks around that won't be accepted upstream

Do you mean upstream udev?  They also accepted Ubuntu's video1394 and
dv1394 rules that had typos in them such that they never matched. (Or
they added the typos themselves when they merged Ubuntu's rules, I don't
know.  Commit 41e7f557.)  The fact that they removed the raw1394 rule
(commit a8cf7cf) with a mere pointer to this distro bug here but without
an own analysis of costs vs. rewards or without checking back with
raw1394/ libraw1394 developers also shows that upstream is not in a
position to judge what is safe and unsafe.  You Ubuntu developers OTOH
(a) kept confusing device security with host security and raw1394 flaws
with ohci1394/sbp2 flaws, (b) never analyzed the actual risks, (c) never
analyzed the costs of the rule removal, (d) never researched potential
alternatives.  Upstream udev simply trusted your judgment, which was a
mistake.  (And I didn't push for a revert when I noticed this because I
thought that the new firewire drivers would show up in distributions any
day now or distributors would at least begin to ask for them, which was
a mistaken belief on my side.)

One more word on hacks:  Ubuntu's raw1394 rule removal was initially
motivated by host security implications but did not in fact solve them,
because that's the wrong point to go at.  It's ohci1394 and a feature of
it on which sbp2 relied.

 You are of course welcome to add one locally if you are in a trusted
or single-user environment.

That's 1990's Linux mindset.  This is an unacceptable hack too.

You OTOH were of course welcome to discuss your concerns and
requirements with upstream kernel/ library/ application developers when
you removed the rule in Ubuntu, or at least later when this change went
upstream.  I'm not even talking about contribution of tests or code.

Hmm, maybe I should have taken initiative two years ago (that's when
transparent dual stack capability was implemented in libraw1394 by Dan)
and should have pushed for the new stack to be provided by default in
Ubuntu.  The then half-working new stack might have been preferable to
the mostly non-working old stack as configured in Ubuntu.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-21 Thread Dan Dennedy
I finally got a chance to setup 10.04 on a machine with FireWire, and
the changing /etc/modprobe.d/blacklist-firewire.conf has no effect! It
still loads ohci1394 and not firewire-ohci. Why?

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-21 Thread Stefan Richter
Did you blacklist dv1394 and video1394 as well?

Does an /etc/modprobe.conf exist on Ubuntu?  If yes, regenerate it by
update-modules or delete the file.  modprobe ignores /etc/modprobe.d/*
if /etc/modprobe.conf exists.

Does the initrd contain ohci1394?  Hard to tell how to check that, as I
never create and use initrd myself.  Maybe dmesg gives away whether
ohci1394 was loaded early.  OTOH, that should lead to _both_ modules
being loaded, not only ohci1394.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-21 Thread Dan Dennedy
There is no /etc/modprobe.conf.
Yes, there is an initrd and 'mkinitramfs -v -o /dev/null | egrep 
'1394|firewire' shows both subsystems included. Not sure the best to resolve 
this.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-20 Thread Stefan Richter
I agree with Dan's comment #68 except for the FFADO status.  As the
status message that Dan quotes correctly states, new kernel drivers +
libraw1394 + FFADO are working together since end of 12/2009.  The only
issue is that a small fix in FFADO _may_ (or may not) be required that
came after the FFADO release v2.0.0.  (I believe that fix was not
required in my own testing.)  Everybody is still holding their breath
for a 2.0.1 maintenance release or the much anticipated 2.1 feature
release of FFADO --- except Debian who simply package current FFADO
trunk which works fine.  Hence Ubuntu or Ubuntu Studio et al should
already have a fine FFADO package too.

I guess we as upstream need to communicate more clearly that the new
drivers should be used by default now, and the old ones blacklisted or
disabled entirely.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-20 Thread Stefan Richter
PS:
Nice work, Ubuntu maintainers.  Instead of helping upstream to get the raw1394 
security issue resolved, your only contribution was to create a huge support 
workload for the various affected upstream projects.  Not to mention the 
damaging user experience that you provided to your users, and later to users of 
several other distributions too when you pushed your ill-advised udev rules 
upstream.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-20 Thread Dan Dennedy
Blempis (comment 66),
I think your first attempt to fix this (comment out blacklisted firewire 
modules) did not work because you either did not uncomment the ieee1394-based 
modules (ohci1394 - video1394) or because you did not reboot. If you did not 
uncomment the legacy modules, then they might have started first and acquired 
the hardware.

Stefan, is there something wrong in the udev rules now? What is it that
you are referring to?

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-20 Thread Stefan Richter
Re comment 71:

  - If both stacks are installed but none blacklisted, then the kernel's
driver core should first attempt to bind firewire-ohci before ohci1394.
This is tied to the build order in the kernel's build system.  However,
it may go wrong for one or another reason; e.g. ohci1394 present in
initrd or whatever.

  - The udev rules for firewire-core's files are fine; I referred to the
missing rule for raw1394.  (BTW, I hope that we as upstream stay in
control of firewire udev rules now, but I'm afraid I cannot monitor udev
development as closely as desirable.)

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-19 Thread Blempis
Ubuntu 10.04 didn't solve the problem. Not even this trick wasn't
effective any more:

you have to add # to blacklist firewire-ohci to prevent blacklist

was
blacklist firewire-ohci
Now
# blacklist firewire-ohci


I tried this too:

In Ubuntu 10.04

Paste this in your terminal:

echo 'KERNEL==raw1394, GROUP=video, MODE=0664' |
sudo tee /etc/udev/rules.d/50-raw1394.rules
 sudo restart udev

If the tips in this guide do not work please file a bug in launchpad
against Kino.

https://help.ubuntu.com/community/Firewire


So, here we are.


This was uneffective as well:

http://ubuntuforums.org/showthread.php?p=9285205


By the way, this bug pops up every now and then while it is actually
several years old! Ubuntu / Kino should detect the Camera and ask (for
security reasons) whether this found device should be connected.

For some reason the Ubuntu team is not so eager to solve this issue.
They really should while there is no simple and proposed solution for
capturing video from a camcorder.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-19 Thread Dan Dennedy
The new firewire subsystem and udev rules to enable permissions for
camera devices for members of group 'video' is in the kernel package in
10.04! Unfortunately so is the legacy ieee1394 stack, and guess which
one starts up by default on my box? You guessed it: ieee1394 - sigh. Can
anyone locate a ticket or document that explains why ieee1394 is still
preferred over firewire?

Go ahead and read /etc/modprobe.d/blacklist-firewire.conf. Then, edit it
to uncomment the non-firewire lines and comment out the firewire lines.

Can anyone really blame me for no longer working on Kino? Thank god new
cameras are all file-based.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-05-19 Thread Dan Dennedy
According to /usr/share/doc/module-init-tools/changelog.Debian.gz, you
all can go blame Andy Whitcroft and Tim Gardner for what appears to be
an arbitrary decision: supposedly backwards compatibility. Uh, nearly
all applications use libraw1394, and I build backwards compatibility
into that!

For more information, the changelog entry references bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/276463

But those comments are from 2008! Here is the current status:
http://www.ffado.org/?q=node/1316

So, basically, the multitude of camcorder owners are being sacrificed
for the handful of pro-audio firewire interface users. I do not have
anything against FFADO, and its maintainer is a great guy. And even
though I maintain libraw1394 (as little as possible admittedly), I do
not have an audio interface to work on this firsthand nor the motivation
to do so. At some point, we need to decide to move on and sacrifice the
few stragglers. FFADO users should have been the ones forced to change
their blacklist file.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-02-18 Thread Yfrwlf
Does anyone know if this new firewire stack is going to make it into
Lucid Lynx / 10.04 to solve this problem once and for all?

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-02-07 Thread visionary
Good to hear from you and thanks for the explaination

As for me it stopped working for a day and it stated working beautifully
again...
well all is settled and now i can edit my videos...

Thank you and cheers!


On Sat, Feb 6, 2010 at 10:37 PM, Stefan Richter 
stefan-r-...@s5r6.in-berlin.de wrote:

 Re comment 61:
  Now i do not know what are the implications of unblocking the
 firewire-ohci, but
  that was the solution that made my kino/kdenlive worked beautifully

 The implication is that you switched from
ohci1394 + ieee1394 + raw1394 ( /dev/raw1394 ) --- libraw1394 +
 libiec61883 + kino
 to
firewire-ohci + firewire-core ( /dev/fw* ) --- libraw1394 + libiec61883
 + kino
 i.e. to different newer FireWire kernel drivers and a different character
 device file interface.  This is basically what the blueprint Enable new
 Firewire stack in default kernel config is about.  (See box at the right
 side of this page.)

 The new kernel drivers are simpler, better performing, more compliant to
 specifications, and more secure than the older drivers.  In contrast to
 Ubuntu's raw1394 access policy, firewire-core's device files are created
 with more liberal access permissions for devices which need to be (and
 are safe to be) accessed by userspace programs such as kino.

 --
 DV capture over Firewire is broken (no rights for /dev/raw1394)
 https://bugs.launchpad.net/bugs/6290
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in “kino” package in Ubuntu: Triaged

 Bug description:
 Duncan Lithgow reopened this bug.

 In Ubuntu 8.10 importing dv over firewire does not just work with Kino
 1.3.0

 I'm back at the familiar message: WARNING: raw1394 kernel module not
 loaded or failure to read/write /dev/raw1394

 My first guess is that this is because someone forgot to set the flag
 needed during the build to enable support for /dev/dv1394/0 (in the video
 group) which is not enabled by default... by default there is only access to
 /dev/raw1394 (in the disc group) which we've agreed is not the best solution
 for most users.

 Running Kino as root does not (strangely) get around this problem. I get
 the same error messages plus one about no camera being detected. It just
 switches between them.

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/+subscribe


-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-02-06 Thread Stefan Richter
Re comment 61:
 Now i do not know what are the implications of unblocking the firewire-ohci, 
 but
 that was the solution that made my kino/kdenlive worked beautifully

The implication is that you switched from
ohci1394 + ieee1394 + raw1394 ( /dev/raw1394 ) --- libraw1394 + libiec61883 
+ kino
to
firewire-ohci + firewire-core ( /dev/fw* ) --- libraw1394 + libiec61883 + 
kino
i.e. to different newer FireWire kernel drivers and a different character 
device file interface.  This is basically what the blueprint Enable new 
Firewire stack in default kernel config is about.  (See box at the right side 
of this page.)

The new kernel drivers are simpler, better performing, more compliant to
specifications, and more secure than the older drivers.  In contrast to
Ubuntu's raw1394 access policy, firewire-core's device files are created
with more liberal access permissions for devices which need to be (and
are safe to be) accessed by userspace programs such as kino.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-02-02 Thread visionary
I had similiar problemdid all i found on the net..eg give permission
rights to raw fileload the module manually...nothing
worked...UNTIL.

I looked into blacklist-firewire.conf, thats when i realised that onchi
was blacklisted

So what i did?
 1)edit /ect/modprobe.d/blacklist-firewire.conf

remove the # from blacklist firewire-ohci

eg
was
# blacklist firewire-ohci

Now
# blacklist firewire-ohci

Save and reboot system. Start Kino with admin rights and it all worked well for 
me...
Now i do not know what are the implications of unblocking the firewire-ohci, 
but that was the solution that made my kino/kdenlive worked beautifully

cheers!

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-02-02 Thread visionary
oops sorry... Read This 

you have to add # to blacklist firewire-ohci to prevent blacklist


was
blacklist firewire-ohci
Now
# blacklist firewire-ohci


cheers

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-01-09 Thread Robert Petersen
This is terrible... I am not an expert what so ever, but I have choosen
to run linux, as a alternative to Windows. I am looking for a SIMPLE
download fix, so that I can capture movies through firewire. If linux
continues to be so complicated, it will NEVER, be a alternative for the
normale user. I can see that it is a safety issue, but for me we are
talking about a SONY Videocamera and a cable to plug in to the computer.
( I would be better to advice me during installation, that LINUX do NOT
support firewire port.

I am running Ubunto 9.10, and Kino 1.3.3 (Kino is an IEEE 1394 DV non-linear 
video editor.
http://www.kinodv.org/) using a Sony DCR-HC42E PAL

My error code is raw1394 kernel module not loaded or failure to read/write 
/dev/raw1394
I must use the command sudo chmod a+rw /dev/raw1394 everytime, but the 
biggest problem is actually that I have to plugin the camera to use the 
program. So when i have copied all the scenes to the computer, you can work and 
edit the scenes without having the camera installed. But when you want to 
export it to example mpeg or what ever, you cant the following error Error 
setting the IEEE 1394 port (host adaptor)

So the fact that I went from windows to Linux was the free software, but
as I can see here, this problem has been there for around 4 years
now!!

Best regards Robert, Denmark

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-01-09 Thread Stefan Richter
Robert Petersen wrote:
 I am running Ubunto 9.10, and Kino 1.3.3
[...]
 the biggest problem is actually that I have to plugin the camera to
 use the program. So when i have copied all the scenes to the computer,
 you can work and edit the scenes without having the camera installed.
 But when you want to export it to example mpeg or what ever, you cant
 the following error Error setting the IEEE 1394 port (host adaptor)

This is a different bug.  You could report it separately in a new bug
entry.  But before that, please test the current version of Kino first
(version 1.3.4), which appears to be available as a package now.  (I saw
that Debian packaged it, hence I guess it is also available on Ubuntu.
I don't have Debian or Ubuntu myself.)

 So the fact that I went from windows to Linux was the free software,
 but as I can see here, this problem has been there for around 4 years
 now!!

Free software means, among else, that distributors and/or users can fix 
problems themselves if they have the necessary knowledge or experience.  And 
indeed, the /dev/raw1394 permissions problem
   - does not exist on several other distributions than Ubuntu,
   - can be fixed by Ubuntu users by adding a local udev rule (there is 
guidance somewhere on the Ubuntu wiki (help.ubuntu.com) as well as on the 
upstream wiki, see comment 55),
   - is going to be fixed in Ubuntu as well in a future release, when Ubuntu 
fully switches to newer kernel drivers which implement a superior device access 
concept and thus address the security concerns that were brought up by Ubuntu 
package maintainers and many others.
On the other hand, free software does _not_ mean that everything works 
immediately or is being fixed for you, at no cost, in a matter of hours.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-01-09 Thread Robert Petersen
I am aware about the free software, is done many hard working idealist, and I 
am grateful for that. But sometimes it just get's to much. 
So what you are are saying Stefan Richter is that I can swift to another 
distrubution? which one is simular to Ubunto? I am thinking Suse Linux? to be 
the the must user friendly?

You are also saying to upgrade Kino, and there we have the problem for me.. 
This is not like windows.. So i can download I file.. wauw.. noting 
happends...?? So reading on the that net.. I have to compile the package I 
think i stop here.. becaurse this is appantly something the a LINUX user must 
learn first. 
By the way, it is not another bug,  when typing sudo chmod a+rw /dev/raw1394 
in terminal (which also is something I have been forved to learn) that issue is 
also away..
But don't get me wrong, I love the idea of open source and free distributions, 
just hoped for a little bit more userfriendly software.
Best Regards Robert.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-01-09 Thread Przemysław Kulczycki
2010/1/9 Robert Petersen rob...@konweb.dk:
 You are also saying to upgrade Kino, and there we have the problem for me.. 
 This is not like windows.. So i can download I file..
 wauw.. noting happends...?? So reading on the that net.. I have to compile 
 the package I think i stop here.. becaurse this is
 appantly something the a LINUX user must learn first.

You can try downloading a package from Debian Sid (aka unstable), but
I can't guarantee that it will install correctly.
http://packages.debian.org/sid/kino
Choose either i386 or amd64, depending on your type of installation
(32-bit or 64-bit).

-- 
## Przemysław Kulczycki = Azrael Nightwalker ##
# Jabber/XMPP/Gtalk/Tlen ID: azrael[na]jabster.pl #
# (Co to jest? Zobacz na: http://jabberfaq.info ) #
## www: http://reksio.ftj.agh.edu.pl/~azrael/ #

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2010-01-09 Thread Stefan Richter
Re comment 56...59:
 So when i have copied all the scenes to the computer,
 you can work and edit the scenes without having the camera installed.
 But when you want to export it to example mpeg or what ever, you cant
 the following error Error setting the IEEE 1394 port (host adaptor)

I tested this with Kino 1.3.3 on Gentoo Linux right now.  While it is
true that there is a message about failure to set the 1394 port when the
Export mode is entered (which starts with the IEEE 1394 export tab up
front), this failure does not prevent one from switching to any of the
file export tabs and export to a file there.  (I tried DV file export.)

If file export does not work for you, then it is _not_ related to IEEE
1394 nor to Ubuntu's permission policy.(If it were, then I would
have been able to reproduce it on Gentoo Linux.)  The recommendation to
try Kino 1.3.4 still stands though in case of any remaining export
troubles.  If an update still does not help --- or if it helps but
Ubuntu package repositories (Universe or whatever) do not provide Kino
1.3.4 yet --- then please open a new bug.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 6290] Re: DV capture over Firewire is broken (no rights for /dev/raw1394)

2009-12-26 Thread Stefan Richter
I suspect they will fix it in a future Ubuntu release by replacing the
kernel drivers ohci1394 + ieee1394 + raw1394 by the kernel drivers
firewire-ohci + firewire-core.  Presently, those newer drivers are
already shipped in Ubuntu's kernel packages in parallel with the older
drivers.  The older ones are the default and the newer ones can be
enabled by editing a respective system configuration file (kernel module
blacklist, http://ieee1394.wiki.kernel.org/index.php/Juju_Migration
#How_to_suppress_auto-loading) as administrator.

Well, the other possible workaround on current Ubuntu also requires
editing or creating a system configuration file (udev rule file for
raw1394,
http://ieee1394.wiki.kernel.org/index.php/FAQ#How_to_get_access_to_raw1394_as_unprivileged_user.3F).
I doubt that the Ubuntu udev maintainer will suddenly reconsider his
preference and re-introduce such a raw1394 rule, therefore expect to
have to wait for a next release (Lucid perhaps?) to get this bug fixed
by a switch to firewire-core as default kernel driver.

-- 
DV capture over Firewire is broken (no rights for /dev/raw1394)
https://bugs.launchpad.net/bugs/6290
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs