linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Dalecki <dalecki@evision-ventures.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.17 /dev/ports
Date: Thu, 23 May 2002 21:31:23 +0200	[thread overview]
Message-ID: <3CED438B.6090906@evision-ventures.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0205231251430.2815-100000@penguin.transmeta.com>

Uz.ytkownik Linus Torvalds napisa?:
> On Thu, 23 May 2002, Martin Dalecki wrote:
> 
>>Hey and finally if someone want's to use /dev/port for
>>developement on some slow control experimental hardware for example.
>>Why doesn't he just delete the - signs at the front lines
>>of the patch deleting it plus module register/unregister trivia and
>>compile it as a *separate* character device module ?
> 
> 
> That's not a productive approach, Martin.

"I will submitt my dual 8255 PIO ISA card driver from 1.xx days
immediately for kernel inclusion"

This was the exmaple I had in my mind as I wrote the above.
Slow controll means in experimental physics - controll of
devices which don't have hard real time constrains.
Once in my life I wrote a driver for such a beast which was
controlling an experimental tomography device. But I have
found it specific and trivial enough to don't bother to
submitt it to the general public. It was *trivial* to
implement becouse I could trick the LP driver to do what
I wanted by deleting most of the code in it.
I assume that this kind of application is what Pete was
talking about as he was speaking about "quite frequently"
and finally "Solaris does without it so we could as well".

This was what I had in my mind with the advantage of having
full access to the source code of the system. I certainly
don't buy myself in the philosophical zealots view of
of open source OS supreriority quite frequently propagated here
by some individuals.

And please note even at the time then I didn't write
the application by using the cards from user land
directly - I just wrote the damn driver for it, becouse
the "cheating" smelled to me immediately.

> Yes, with open source you can do whatever you want.
> 
> HOWEVER, there is a huge amount of advantage to having a common base that 
> is big enough to matter: why do you think MS does well commercially? 
> 
> It's important to _not_ have to force people to do site-specific (or 
> problem-specific) hacks, even if they could do so. Because having to have 
> site-specific hacks detracts from the general usability of the code.
> 
> So when simplifying, it's not just important to say "we could do without 
> this". You have to also say "and nobody can reasonably expect to need it".

What I'm saying is: It has already caused people who write applications
to control things like the system clock settings or keyboard speed
to write the applications in a way which:

1. doesn't use the proper system interfaces,
2. is attracted to the particular hardware implementation
3. is inherently not portable across different systems. (Alan got this wrong).
4. a damn comon thing to do.

As a consequence of this it has caused the system
interfaces for those purposes to never mature.
USB keyboards to name one.

The single only guy who wanted to use it for some sane purpose
and  had some serious intentions about it noticed immediately
that it is BTW seriously broken from day one on!

So in regard of the above I have decided for myself that
the sanest way to fix it is to remove it.

> Which doesn't seem to be the case with /dev/ports. So it stays.
> 
> 		Linus

I think one doesn't have only to provide things. One has
to prevent damage as well. And hwclock and kbdrate are
seriously damaged already for example. Once just didn't
notice until now becouse it all kind of "works".
Please look at the code there.

If you reffer to MS as a success story of about how to
be a bitch to everybody ... well please tell me: Why do we use
page protection for example at all. The implementers of
DOS where not even dreaming about it and Win98 didn't care.
All of the follow up operating systems from Redmond are
making it seriously difficult to get direct hardware access.
For scincetific applicatons there are even some special third
party expensive drivers out there which are supposed to
permitt just that - port access from user space.

This is one of the reasons I did implement the host controll
software for the tomography device under Linux and NOT any
windows or doors system. And it was in fact the first Linux
in experimental medicine around there! (The circle was quite
wide those days...)



  reply	other threads:[~2002-05-23 20:34 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1022085725.386.linux-kernel2news@redhat.com>
2002-05-23 17:07 ` [PATCH] 2.5.17 /dev/ports Pete Zaitcev
2002-05-23 18:05   ` Martin Dalecki
2002-05-23 19:54     ` Linus Torvalds
2002-05-23 19:31       ` Martin Dalecki [this message]
2002-05-23 21:22         ` Christer Weinigel
2002-05-23 21:37           ` Pete Zaitcev
2002-05-23 20:53             ` Martin Dalecki
2002-05-24  5:39           ` Robert Schwebel
2002-05-23 21:29         ` Pete Zaitcev
2002-05-22 16:30 James Simmons
2002-05-22 17:25 ` Alan Cox
2002-05-22 17:39   ` James Simmons
  -- strict thread matches above, loose matches on Subject: below --
2002-05-21  5:16 Linux-2.5.17 Linus Torvalds
2002-05-22  9:05 ` [PATCH] 2.5.17 /dev/ports Martin Dalecki
2002-05-22 10:42   ` Paul Mackerras
2002-05-22  9:46     ` Martin Dalecki
2002-05-22 10:54     ` David S. Miller
2002-05-22 10:13       ` Martin Dalecki
2002-05-22 11:26         ` Russell King
2002-05-22 10:40           ` Martin Dalecki
2002-05-22 11:58             ` Richard B. Johnson
2002-05-22 12:36             ` Russell King
2002-05-22 13:23               ` Alan Cox
2002-05-22 12:31                 ` Martin Dalecki
2002-05-22 12:44           ` Alan Cox
2002-05-22 12:32             ` Martin Dalecki
2002-05-22 15:05               ` Alan Cox
2002-05-22 13:05       ` Alan Cox
2002-05-22 12:38         ` Martin Dalecki
2002-05-22 15:04           ` Alan Cox
2002-05-22 13:53             ` Martin Dalecki
2002-05-22 15:03               ` Lars Marowsky-Bree
2002-05-22 15:07               ` Padraig Brady
2002-05-22 14:07                 ` Martin Dalecki
2002-05-22 15:21                   ` Dave Jones
2002-05-22 15:19               ` Dave Jones
2002-05-22 15:31               ` Alan Cox
2002-05-27  9:04               ` Pavel Machek
2002-05-22 14:54             ` Alexander Viro
2002-05-22 15:24               ` Alan Cox
2002-05-22 15:10                 ` Alexander Viro
2002-07-22 12:20                   ` Ruth Ivimey-Cook
2002-05-23  7:30               ` Rusty Russell
2002-05-23  6:44                 ` Martin Dalecki
2002-05-23  8:26                   ` Rusty Russell
2002-05-22 13:16   ` Padraig Brady
2002-05-22 12:30     ` Martin Dalecki
2002-05-22 13:50       ` Sebastian Droege
2002-05-22 13:52     ` Alan Cox
2002-05-22 13:49       ` Vojtech Pavlik
2002-05-22 12:51         ` Martin Dalecki
2002-05-22 13:56           ` Vojtech Pavlik
2002-05-22 14:58             ` Alan Cox
2002-05-22 13:49               ` Martin Dalecki
2002-05-22 14:42               ` Vojtech Pavlik
2002-05-22 13:59           ` Alexander Viro
2002-05-22 13:12             ` Martin Dalecki
2002-05-22 14:33               ` Alexander Viro
2002-05-22 13:40                 ` Martin Dalecki
2002-05-22 13:16             ` Martin Dalecki
2002-05-22 14:34               ` Alexander Viro
2002-05-22 16:31               ` James Simmons
2002-05-22 14:12             ` Vojtech Pavlik
2002-05-27  9:07             ` Pavel Machek
2002-05-22 15:00         ` Alan Cox
2002-05-22 14:43           ` Vojtech Pavlik
2002-05-22 16:28   ` Linus Torvalds
2002-05-22 17:22     ` Alan Cox
2002-05-22 16:17       ` Martin Dalecki
2002-05-22 17:30         ` Russell King
2002-05-22 16:36           ` Martin Dalecki
2002-05-22 17:36           ` Alexander Viro
2002-05-22 17:46         ` Alan Cox
2002-05-26 13:53         ` Riley Williams
2002-05-26 15:28           ` Vojtech Pavlik
2002-05-26 15:39             ` Riley Williams
2002-05-23 10:10     ` Martin Diehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CED438B.6090906@evision-ventures.com \
    --to=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=zaitcev@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).