* Re: unwise IEEE 1394 udev rules from Ubuntu merged into mainline udev
2009-05-21 15:26 unwise IEEE 1394 udev rules from Ubuntu merged into mainline udev Stefan Richter
@ 2009-05-21 17:47 ` Kay Sievers
2009-05-21 18:43 ` unwise IEEE 1394 udev rules from Ubuntu merged into mainline Stefan Richter
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Kay Sievers @ 2009-05-21 17:47 UTC (permalink / raw)
To: linux-hotplug
On Thu, May 21, 2009 at 17:26, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:
> But wait, why actually fix the issue if you can instead provide a workaround
> which (a) demonstrates that you don't actually know what you are doing, (b)
> doesn't actually fix the problem, (c) entirely destroys the ability to run
> FireWire enabled software --- desktop/ consumer oriented software as well as
> professional software.
It's common practice and nothing wrong in general when people try to
disable/restrict stuff they "don't understand".
If I remember correctly, you have been in the discussion, that finally
lead to this decision. I think, it's _your_ part to lead them to the
proper solution then, instead of finger-pointing distros and tell them
later, they don't know what they do. :)
> PS:
> Perhaps I should finally copy the physical DMA filtering from the new
> drivers to the old drivers
I don't think so.
> but then I have endless other things to do,
> things with actual practical importance. Like getting the new drivers fully
> featured. However, I'm seeing an increase of trivial end user support
> questions coming onto myself and all the Linux 1394 libraries & applications
> developers in the near future. --- One way or another, we need to get back
> usable FireWire access defaults.
I guess you should finally deprecate the old drivers, and comment-out
the Kconfig entries in the kernel sources, so people/distros who want
to use the old drivers would need to patch that in, to compile it.
Otherwise nothing will ever change. Many people/distros don't know
much about firewire, and will never switch-over, unless _you_ create
an incentive for them.
Firewire is not very commonly used, and having two completely
different implementations in the same kernel sounds really
inefficient, and it splits the pretty limited resources into two
camps.
Having a "stable" and a "new" stack, like they are called in the
kernel config, and having a warning there, that only one of them
should be used, does not really send a clear message either - and
that's what people need. :)
You are doing a really great job caring about both of the stacks and
keep them running, which is very nice from a subsystem maintainer
standpoint. But I think at a larger scale, i think, it just makes
things worse than going through the one-time pain of finally
switching-over, and fixing the remaining issues.
Thanks,
Kay
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: unwise IEEE 1394 udev rules from Ubuntu merged into mainline
2009-05-21 15:26 unwise IEEE 1394 udev rules from Ubuntu merged into mainline udev Stefan Richter
2009-05-21 17:47 ` Kay Sievers
@ 2009-05-21 18:43 ` Stefan Richter
2009-05-21 18:44 ` Pieter Palmers
2009-05-22 1:59 ` Bill Fink
3 siblings, 0 replies; 5+ messages in thread
From: Stefan Richter @ 2009-05-21 18:43 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers wrote:
> On Thu, May 21, 2009 at 17:26, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:
>
>> But wait, why actually fix the issue if you can instead provide a workaround
>> which (a) demonstrates that you don't actually know what you are doing, (b)
>> doesn't actually fix the problem, (c) entirely destroys the ability to run
>> FireWire enabled software --- desktop/ consumer oriented software as well as
>> professional software.
>
> It's common practice and nothing wrong in general when people try to
> disable/restrict stuff they "don't understand".
> If I remember correctly, you have been in the discussion, that finally
> lead to this decision. I think, it's _your_ part to lead them to the
> proper solution then, instead of finger-pointing distros and tell them
> later, they don't know what they do. :)
Well, I do have accounts in some distro bugtrackers because I sometimes
look there for potential upstream bugs. Other than that, I admit a
serious lack of interest in what distros do. My comments in this
particular Ubuntu bug were also not driven by actual interest in what
the Ubuntu maintainers decide --- especially since Ubuntu has so far
been the only distribution which chose to block user access to /dev/raw1394.
>> PS:
>> Perhaps I should finally copy the physical DMA filtering from the new
>> drivers to the old drivers
>
> I don't think so.
>
>> but then I have endless other things to do,
>> things with actual practical importance. Like getting the new drivers fully
>> featured. However, I'm seeing an increase of trivial end user support
>> questions coming onto myself and all the Linux 1394 libraries & applications
>> developers in the near future. --- One way or another, we need to get back
>> usable FireWire access defaults.
>
> I guess you should finally deprecate the old drivers, and comment-out
> the Kconfig entries in the kernel sources, so people/distros who want
> to use the old drivers would need to patch that in, to compile it.
> Otherwise nothing will ever change. Many people/distros don't know
> much about firewire, and will never switch-over, unless _you_ create
> an incentive for them.
I would love to do that, but we need to accomplish two major things
before we can finally pull the plug on drivers/ieee1394:
1. Implement IP over 1394 for the new stack. Somebody is working on
it; code has been seen on linux1394-devel now.
2. Get professional/ semiprofessional audio streaming via FFADO
going. Right now there are show-stopping problems but we don't
even have a proper anamnesis yet.
To solve problem two, there are two fronts which can be attacked
independently:
- Make control and streaming through libraw1394 + firewire-cdev
(at least as well) work like libraw1394 + raw1394 work now,
- implement an ALSA interface which us used for streaming IO
instead of the generic firewire-cdev interface.
Somebody plans to work at the second front during summer.
Oh, perhaps there is also a 3rd item:
3. Provide an attractive alternative to those who find dv1394
still to fit their bill. (That's a special purpose driver
with an oddball configuration interface, but it seems to be
still OK for NTSC at least.)
> Firewire is not very commonly used, and having two completely
> different implementations in the same kernel sounds really
> inefficient, and it splits the pretty limited resources into two
> camps.
Correct.
> Having a "stable" and a "new" stack, like they are called in the
> kernel config, and having a warning there, that only one of them
> should be used, does not really send a clear message either - and
> that's what people need. :)
Well, it's really hard to give a simple message which is understood
easily and true to everyone's need.
I deliberately did not remove the "experimental" label from the new
drivers yet --- not because they crash all the time (they don't anymore)
or because they had lesser device compatibility (as far as I can tell,
they offer more stable device discovery than the old drivers, except
that two or three rare and old controllers don't work yet but do
partially work with the old drivers) --- but because there are some
features which are not yet available in the new stack, see above.
Some crucial features for professional video acquisition have been added
in kernel 2.6.30 but userspace (libdc1394) is not yet up to date with
these .30 additions.
> You are doing a really great job caring about both of the stacks and
> keep them running, which is very nice from a subsystem maintainer
> standpoint. But I think at a larger scale, i think, it just makes
> things worse than going through the one-time pain of finally
> switching-over, and fixing the remaining issues.
Thanks. And yes, in retrospect I wish I had ramped down my work with
ieee1394 quicker so that more time had been spent on firewire.
--
Stefan Richter
-===-=-== -=-= -=-http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: unwise IEEE 1394 udev rules from Ubuntu merged into mainline
2009-05-21 15:26 unwise IEEE 1394 udev rules from Ubuntu merged into mainline udev Stefan Richter
2009-05-21 17:47 ` Kay Sievers
2009-05-21 18:43 ` unwise IEEE 1394 udev rules from Ubuntu merged into mainline Stefan Richter
@ 2009-05-21 18:44 ` Pieter Palmers
2009-05-22 1:59 ` Bill Fink
3 siblings, 0 replies; 5+ messages in thread
From: Pieter Palmers @ 2009-05-21 18:44 UTC (permalink / raw)
To: linux-hotplug
Kay Sievers wrote:
> On Thu, May 21, 2009 at 17:26, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:
>
>> But wait, why actually fix the issue if you can instead provide a workaround
>> which (a) demonstrates that you don't actually know what you are doing, (b)
>> doesn't actually fix the problem, (c) entirely destroys the ability to run
>> FireWire enabled software --- desktop/ consumer oriented software as well as
>> professional software.
>
> It's common practice and nothing wrong in general when people try to
> disable/restrict stuff they "don't understand".
> If I remember correctly, you have been in the discussion, that finally
> lead to this decision. I think, it's _your_ part to lead them to the
> proper solution then, instead of finger-pointing distros and tell them
> later, they don't know what they do. :)
>
>> PS:
>> Perhaps I should finally copy the physical DMA filtering from the new
>> drivers to the old drivers
>
> I don't think so.
>
>> but then I have endless other things to do,
>> things with actual practical importance. Like getting the new drivers fully
>> featured. However, I'm seeing an increase of trivial end user support
>> questions coming onto myself and all the Linux 1394 libraries & applications
>> developers in the near future. --- One way or another, we need to get back
>> usable FireWire access defaults.
>
> I guess you should finally deprecate the old drivers, and comment-out
> the Kconfig entries in the kernel sources, so people/distros who want
> to use the old drivers would need to patch that in, to compile it.
> Otherwise nothing will ever change. Many people/distros don't know
> much about firewire, and will never switch-over, unless _you_ create
> an incentive for them.
>
> Firewire is not very commonly used, and having two completely
> different implementations in the same kernel sounds really
> inefficient, and it splits the pretty limited resources into two
> camps.
>
> Having a "stable" and a "new" stack, like they are called in the
> kernel config, and having a warning there, that only one of them
> should be used, does not really send a clear message either - and
> that's what people need. :)
>
> You are doing a really great job caring about both of the stacks and
> keep them running, which is very nice from a subsystem maintainer
> standpoint. But I think at a larger scale, i think, it just makes
> things worse than going through the one-time pain of finally
> switching-over, and fixing the remaining issues.
The reports I got up till now are that FFADO doesn't work with the new
stack, notwithstanding the fact that its a 100% userspace library that
only accesses the firewire bus through libraw1394. In theory this would
mean that the underlying kernel stack doesn't matter as libraw1394
abstracts that. In reality that isn't the case.
I would like it if the current ('old') stack would not be deprecated
before the new one actually works.
Greets,
Pieter
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: unwise IEEE 1394 udev rules from Ubuntu merged into mainline
2009-05-21 15:26 unwise IEEE 1394 udev rules from Ubuntu merged into mainline udev Stefan Richter
` (2 preceding siblings ...)
2009-05-21 18:44 ` Pieter Palmers
@ 2009-05-22 1:59 ` Bill Fink
3 siblings, 0 replies; 5+ messages in thread
From: Bill Fink @ 2009-05-22 1:59 UTC (permalink / raw)
To: linux-hotplug
On Thu, 21 May 2009, Stefan Richter wrote:
> Kay Sievers wrote:
> > On Thu, May 21, 2009 at 17:26, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:
> >
> >> But wait, why actually fix the issue if you can instead provide a workaround
> >> which (a) demonstrates that you don't actually know what you are doing, (b)
> >> doesn't actually fix the problem, (c) entirely destroys the ability to run
> >> FireWire enabled software --- desktop/ consumer oriented software as well as
> >> professional software.
> >
> > It's common practice and nothing wrong in general when people try to
> > disable/restrict stuff they "don't understand".
> > If I remember correctly, you have been in the discussion, that finally
> > lead to this decision. I think, it's _your_ part to lead them to the
> > proper solution then, instead of finger-pointing distros and tell them
> > later, they don't know what they do. :)
>
> Well, I do have accounts in some distro bugtrackers because I sometimes
> look there for potential upstream bugs. Other than that, I admit a
> serious lack of interest in what distros do. My comments in this
> particular Ubuntu bug were also not driven by actual interest in what
> the Ubuntu maintainers decide --- especially since Ubuntu has so far
> been the only distribution which chose to block user access to /dev/raw1394.
>
> >> PS:
> >> Perhaps I should finally copy the physical DMA filtering from the new
> >> drivers to the old drivers
> >
> > I don't think so.
> >
> >> but then I have endless other things to do,
> >> things with actual practical importance. Like getting the new drivers fully
> >> featured. However, I'm seeing an increase of trivial end user support
> >> questions coming onto myself and all the Linux 1394 libraries & applications
> >> developers in the near future. --- One way or another, we need to get back
> >> usable FireWire access defaults.
> >
> > I guess you should finally deprecate the old drivers, and comment-out
> > the Kconfig entries in the kernel sources, so people/distros who want
> > to use the old drivers would need to patch that in, to compile it.
> > Otherwise nothing will ever change. Many people/distros don't know
> > much about firewire, and will never switch-over, unless _you_ create
> > an incentive for them.
>
> I would love to do that, but we need to accomplish two major things
> before we can finally pull the plug on drivers/ieee1394:
>
> 1. Implement IP over 1394 for the new stack. Somebody is working on
> it; code has been seen on linux1394-devel now.
>
> 2. Get professional/ semiprofessional audio streaming via FFADO
> going. Right now there are show-stopping problems but we don't
> even have a proper anamnesis yet.
>
> To solve problem two, there are two fronts which can be attacked
> independently:
> - Make control and streaming through libraw1394 + firewire-cdev
> (at least as well) work like libraw1394 + raw1394 work now,
> - implement an ALSA interface which us used for streaming IO
> instead of the generic firewire-cdev interface.
>
> Somebody plans to work at the second front during summer.
>
> Oh, perhaps there is also a 3rd item:
>
> 3. Provide an attractive alternative to those who find dv1394
> still to fit their bill. (That's a special purpose driver
> with an oddball configuration interface, but it seems to be
> still OK for NTSC at least.)
Yes, this requires someone to modify the ffmpeg code to provide an
alternative to its dv1394 interface for viewing "live" DV video.
-Bill
^ permalink raw reply [flat|nested] 5+ messages in thread