Linux-Development-Sys Digest #379, Volume #6      Sat, 6 Feb 99 00:15:07 EST

Contents:
  Re: use theramin as input device (Michael Hirsch)
  Look for a driver to manage mailbox shared m�mory on ISA bus (Lyoncee)
  Re: Device Driver Module Dependencies, etc. (Brian Ruthven)
  Re: Using message queues from kernel land, and other stuff... ("Ron Kundla")
  Terminals (Timothy K Canfield)
  Re: I want to be a PPPserver ! (Matt Kressel)
  Re: Xircom cardbus ethernet driver (David M. Cook)
  Re: include directories (George Telford)
  Re: GNUPro for Linux - Recommendations (David M. Cook)
  How To do a System app with user privileges (Dennis Kikendall)
  Re: New free widget library: Notif-0.1 (Stan)
  Re: Modest next goal for Linux (David Steuber)
  Re: Library Problems (Matthew W Miller)
  Re: K6-2 and Linux, Are there any Bug? (Timothy J. Lee)
  Re: Modest next goal for Linux
  Re: NT mouse frenzy related to mouse type? (was: Modest next goal  for Linux) 
(Jonathan A. Buzzard)
  Re: Modest next goal for Linux ("Earl Malmrose")
  Re: use theramin as input device (John Thompson)
  glibc2 & libstdc++ (Daniel Zurcher)

----------------------------------------------------------------------------

From: Michael Hirsch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: use theramin as input device
Date: 05 Feb 1999 09:18:27 -0500

[EMAIL PROTECTED] (steve mcadams) writes:

> With an appropriate theramin array (as in 20 or so tiny theramins,
> appropriately spaced) and appropriate software (that could recognize a
> finger movement from its theramin channelt) we are talking about a
> device that would let you type on thin air, point to your selections,
> and exercise your fingers at the same time. 

Just like in the Dilbert cartoon.  Someone (dogbert?) predicts this
device and then says that engineers will go around twiddling there
finger even when not in from of a computer.  

Next frame:  Two finger twiddlers meet.  "Hi.  You're an engineer,
too?"  "No, I'm just spastic."

Does this count as prior art?

-- 
Michael D. Hirsch                       Work: (404) 727-7940
Emory University, Atlanta, GA 30322     FAX: (404) 727-5611
email:  [EMAIL PROTECTED]         http://www.mathcs.emory.edu/~hirsch/

Public key for encrypted mail available upon request (or finger
[EMAIL PROTECTED]).

------------------------------

From: [EMAIL PROTECTED] (Lyoncee)
Subject: Look for a driver to manage mailbox shared m�mory on ISA bus
Date: 5 Feb 1999 15:47:57 GMT

Hello.
I'm french ingeneer and I'm working on industrial computers.
For an application, I use an embeded board in PC on ISA bus. This board is able
to manage a FIP net. The software on this board already exists and works under
OS/9 operating system. I don't want to modify it. 
I choose to use linux as operating syst�m on PC.  So, I need a Linux driver to
manage mailbox on shared memory on ISA bus. 
Could you help me? Could you say me where I can find a C source on the net of a
driver that approach my need or better, could you send me an example of this
kind of driver by mail. I'll arrange it for my personnal use. I'll give it
again under GPL.
Thanks for all.
Gilles. 

@mail :  [EMAIL PROTECTED]


------------------------------

From: Brian Ruthven <[EMAIL PROTECTED]>
Subject: Re: Device Driver Module Dependencies, etc.
Date: 5 Feb 1999 16:41:51 GMT
Reply-To: [EMAIL PROTECTED] (Brian Ruthven)


To the best of my (limited!) knowledge...


Bertrand Lee <[EMAIL PROTECTED]> wrote:
BL: 1. If I write a module (eg. mymodule.o) that is dependent on functions
BL: defined in another module (eg. basemodule.o), how do I tell the kernel
BL: (through depmod) which module I depend on? ie. if I do a "modprobe

As far as I know, running "depmod -ae" will update the dependencies and also
list any unresolved symbols which it can't find in the current module, other
modules or the kernel.


BL: 2. Will using kmalloc() automatically lock the pages in memory? (ie.
BL: prevent them from being swapped to disk). Also, are the code/data
BL: segments page locked by default? If not, is there any way to lock them
BL: in?

Yes. Kernel memory is non-pagable (unless someone knows better!...)


BL: 3. Are float types/operations at all supported in the kernel?

float types are, but the math library functions (or any other library
functions for that matter) are not available.


BL: 4. What is the default byte-packing size in the kernel? Is there any way
BL: to specify alternative byte-packing sizes?

Pass



Hows that?

Brian

------------------------------

From: "Ron Kundla" <[EMAIL PROTECTED]>
Subject: Re: Using message queues from kernel land, and other stuff...
Date: Fri, 5 Feb 1999 10:50:16 -0600

I am devloping under 2.0.35, but I have implemented a IPC message queue
between kernel code and a user application. Note, this is one-way (kernel ->
user) only. You really can't do it the other way since you don't want to be
pending the kernel on some message queue from userland. I use IOCTL's and
get_user() calls to retrieve data from userspace.

The user application creates the queue with:

msgid = msgget(MSG_QUEUE_ID, 0666 | IPC_CREAT)

and pends on the queue using:

ret_val = msgrcv(msgid, &eth_frame, sizeof(struct eth_msg), 0, 0)

I attach to the message queue in the kernel with:

msgid = sys_msgget(MSG_QUEUE_ID, 0666 | IPC_CREAT)

I send messages into the queue from the kernel by:

sys_msgsnd(msgid, eth_frame, sizeof(struct eth_msg), 0)

I don't have any problems with moving up to 8Mbits of information through
this method. If I am running X simultaneously and jerking around with it, I
do see some overflows when using the OS defaults for IPC message queues.

Ron

Todd Stockert wrote in message <[EMAIL PROTECTED]>...
>I am currently working on a module which utilizes kernel space fs
>operations and user space management operations.   I would like to do
>something like using IPC message queues between the kernel and user
>operations.  Unfortunately, it appears I can only call msgget
>(sys_msgget), etc. from a user space context.  Can I get around this?
>In depth info & example code heavily appreciated.  Also, for the same
>project I was considering using procfs instead for the passing, is there
>a good example of doing this within an application.  Basically, what is
>the most standard way to implement kernal-call-different user type of
>operations?
>
> I know there are a lot of different ones, and the largest part of my
>troubles have been utilizing methods no longer current with the changing
>linux kernel (developing for linux 2.2.0).
>
>Thanks in advance for the help,
>Todd Stockert
>[EMAIL PROTECTED]
>(please cc as I don't read the list as often as I should)
>




============= Posted via Newsfeeds.Com, Uncensored Usenet News ============
 http://www.newsfeeds.com/       The Largest Usenet Servers in the World!
============= Over 66,000 Groups, Plus  a  Dedicated  Binaries Server ============

------------------------------

From: Timothy K Canfield <[EMAIL PROTECTED]>
Subject: Terminals
Date: Fri,  5 Feb 1999 12:27:33 -0500

Are terminals, like ttyp0, managed by the kernel?  Is there a common
device driver which programs like xterm and telnetd use or do they all
have their own?

Thanks 

------------------------------

From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: I want to be a PPPserver !
Date: Fri, 5 Feb 1999 16:51:53 GMT

Tor Arntsen wrote:
> 
> In article <[EMAIL PROTECTED]>,
>         YANG Tong <[EMAIL PROTECTED]> writes:
> >
> >Hello !
> >
> >PPP is very difficult to configure when I want to use it as server !
> 
> True, most descriptions apply to clients only.  However, it's actually
> simple, even simpler than setting up a client.  Below I'll describe how I
> did it.  However, just yesterday I found a reference to a possibly
> useful document:
> 
> http://www.swcp.com/~jgentry/dialin2.html
> 
> I haven't looked at it much yet, I think it uses mgetty though (which is
> what I'm using).
> 

The document is OK, with a few small technical errors. Overall, though,
I think it was good, at least for beginners and I learned stuff I didn't
know %).  The author was notified of the errors.

-Matt


-- 
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+---------  Northrop Grumman Corporation, Bethpage, NY ---------+
+---------  TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+

------------------------------

From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: Xircom cardbus ethernet driver
Date: Sat, 06 Feb 1999 02:57:29 GMT

On Fri, 05 Feb 1999 11:47:52 -0800, USERNAME <[EMAIL PROTECTED]> wrote:

>Can somebody tell me where I can get driver for
>Xircom cardbus ethernet driver.

http://hyper.stanford.edu/HyperNews/get/pcmcia/home.html

Dave Cook

------------------------------

From: George Telford <[EMAIL PROTECTED]>
Subject: Re: include directories
Date: Fri, 05 Feb 1999 17:26:27 +0000

Sebastian Bo�ung wrote:
> 
> Hi,
> 
> I�m kind of new to Linux and to C++ as well. When I tried my first
> little
> program:
> 
> #include <iostream.h>
> main()
> {
>   cout << "test";
> }
> 
> the compiler complained it could not find iostream.h. I figured that
> this
> is because of the file not being in a directory that is searched for
> header files. I found iostream.h in /usr/include/g++/ and added the
> directory
> to the path (using the -I option of gcc). The compiler now complains
---snip---                             ^
                                       |
                                       |
This is your problem ------------------|
You're trying to compile a C++ program (iostream.h) with the C compiler
(stdio.h)
Try changing the gcc to g++ (and reverting back to #include
<iostream.h>)

Lee.
[EMAIL PROTECTED] --> 3rd Year Undergraduate 
BSc(Hons) Soft. Engineering @ Newcastle University
#include <linux.h>
#undef micro$oft

------------------------------

From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: GNUPro for Linux - Recommendations
Date: Sat, 06 Feb 1999 03:03:51 GMT

On Wed, 3 Feb 1999 22:38:42 -0600, James Richardson
<[EMAIL PROTECTED]> wrote:

>My question is what sort of front ends do y'all use? 

I use XEmacs.

>Is there anything that
>is compareable (or better) than the DevStudio environment for Windows or in

See http://members.home.com/davecook/devel/

>command line something similar to the TurboC++ IDE for DOS?

RHIDE is very close to the Borland IDE.  Unfortunately it only runs in the
console.  XWPE is also very much like the Borland IDE, if not as close a
copy as RHIDE.

Dave Cook

------------------------------

From: Dennis Kikendall <[EMAIL PROTECTED]>
Subject: How To do a System app with user privileges
Date: Fri, 05 Feb 1999 16:53:20 GMT

I am developing a system app that will be running with root priviledges
and will take requests over a socket. Based on a supplies user ID,  and
password I would like to do a setuid to the user to process the request.
How can I validate ( encrypt ) the supplied clear text password to
compare it with that returned by getpwent().  Can a root process do this
encryption ?

Any help will be greatly appreciated.
[EMAIL PROTECTED]


------------------------------

From: [EMAIL PROTECTED] (Stan)
Crossposted-To: 
comp.windows.x,comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: New free widget library: Notif-0.1
Date: 5 Feb 1999 16:55:12 GMT

Matthias Warkus ([EMAIL PROTECTED]) wrote:

: Berlin has a thread running in every widget (called a `reactor').
: Whenever there is an event, the reactor processes it and dispatches
: something via CORBA.

BTW, does anybody know of any good human-readable COBRA documentation ?

How-to introduce COBRA in your widget library ?

Stan


------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: 05 Feb 1999 21:26:19 -0500

"Earl Malmrose" <[EMAIL PROTECTED]> writes:

-> [EMAIL PROTECTED] wrote in message ...
-> >I dunno...my NT installation here at work takes 33 Mb just "resting".
-> >
-> >Of course, that's virtual memory, not physical; one could probably run
-> >NT in 20 megs, but one wouldn't enjoy it very much ... swap swap ...
-> >swap swap ...
-> 
-> I've booted it in 8 megs. I was also able to open up Word, Excel, Paint, and
-> IE 4. I won't say anything about it's speed. :)

Are you sure that was NT and not the other Windows?  NT locks 12MB of
RAM for the kernel.  Or am I wrong?

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

When will Altoids be available in 'extra strength'?

------------------------------

From: Matthew W Miller <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Library Problems
Date: Fri, 5 Feb 1999 15:44:48 -0500

Actually, it was downloaded directly onto the linux system itself, which
is one reason why i am so puzzled by the results :/

~Matt

On 5 Feb 1999, Horst von Brand wrote:

> In article <[EMAIL PROTECTED]>,
>   Matthew W Miller wrote:
> >This is for a RH linux 5.2 system; when trying to install libpcap, i get
> >numerous errors which require me to force the uncompress and it also
> >breaks the tar pipe when the -v flag is set.
>=20
> That looks like a corrupted tar.gz distribution file, perhaps downloaded =
as
> "text" under DOS/Win?
> --=20
> Horst von Brand                             [EMAIL PROTECTED]=
cl
> Casilla 9G, Vi=F1a del Mar, Chile                               +56 32 67=
2616
>=20
>=20

/**************************************************\\\=20
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^||
| Dost thou not suspect my place? Dost thou not     ||
| suspect my years? O that he were here to write    ||
| me down an ass! But masters, remember that I am   ||
| an ass!                                           ||
|                                                   ||
| ~Dogberry from Much Ado About Nothing             ||
\&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&///


------------------------------

Crossposted-To: 
alt.os.linux.slackware,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup
From: [EMAIL PROTECTED] (Timothy J. Lee)
Subject: Re: K6-2 and Linux, Are there any Bug?
Reply-To: see-signature-for-email-address---junk-not-welcome
Date: Fri, 5 Feb 1999 00:34:23 GMT

"Javier Pulido" <[EMAIL PROTECTED]> writes:
|Problems with the booting of linux in a computer AMD K6-2 (300 MHz) with
|i430TX (no AGP) and 128 MB, two hard drives and 1 CDROM.  Can you help me?

Does an "i430TX" motherboard support a 300 MHz K6-2 processor and
128 MB of RAM?

-- 
========================================================================
Timothy J. Lee                                                   timlee@
Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.

------------------------------

From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: 5 Feb 1999 00:40:44 GMT

On 27 Jan 1999 16:28:56 GMT, bill davidsen <[EMAIL PROTECTED]> wrote:
>In article <78dro7$qs5$[EMAIL PROTECTED]>,
>Tim Smith <[EMAIL PROTECTED]> wrote:
>| In article <78db8c$g43$[EMAIL PROTECTED]>, Leslie Mikesell <[EMAIL PROTECTED]> wrote:
>| >The easy way is to run two machines.  Run nothing but the Xserver
>| 
>| Another easy way to solve the problem is to run NT, which seems to handle
>| running out of memory better than Linux 2.0.x does.
>
>Of course NT requires 28MB more memory than Linux for a base system
>(32MB vs. 4MB), and if the original poster put that much memory in his
>machine he wouldn't have much of a problem.
>
>Unless some guru knows a trick, it take 32MB to install NT (but it will
>run in something less).
>
>-- 
>  bill davidsen <[EMAIL PROTECTED]>  CTO, TMR Associates, Inc
>"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
>

I dunno...my NT installation here at work takes 33 Mb just "resting".

Of course, that's virtual memory, not physical; one could probably run
NT in 20 megs, but one wouldn't enjoy it very much ... swap swap ...
swap swap ...

----
[EMAIL PROTECTED] -- at least Linux+X in 16 meg is usable... :-)

------------------------------

From: [EMAIL PROTECTED] (Jonathan A. Buzzard)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: NT mouse frenzy related to mouse type? (was: Modest next goal  for Linux)
Date: Thu, 4 Feb 1999 21:13:09 +0000

In article <79ajpi$s67$[EMAIL PROTECTED]>,
        "Per Olsson" <[EMAIL PROTECTED]> writes:
> I didn't notice raised CPU load earlier. I must have done the test only with
> the mouse pointer inside an application window then. If I do the test with
> the mouse pointer on the desktop (background) the CPU load goes to 100% with
> the PS/2 mouse also.
> 

It is interseting, I tried it at work with a PS/2 and a serial mouse over
the background with Windows NT Workstation 4.0 and SP4 at work today.

All I had to do was hold the either the left of right mouse button down
while the cursor was over the background and 100% CPU load was achieved!
No frantic moving of the mouse needed. To be sure I took the ball out
and tried again with the same result.

More interesting is that holding the middle mouse button has no effect.
For the record they were both Logitech Pilot mice with three buttons,
needed for a Windows ported Unix application that is clumbersome to
use with two buttons.

However it might make it easier to crash NT systems on demand which is
a *good thing*, "Look at this all I have to do is wikkle the mouse about a
bit while doing X and it crashes, what you need is Linux".


JAB.

-- 
Jonathan A. Buzzard                 Email: [EMAIL PROTECTED]
Northumberland, United Kingdom.       Tel: +44(0)1661-832195

------------------------------

From: "Earl Malmrose" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: Thu, 4 Feb 1999 19:13:25 -0800

[EMAIL PROTECTED] wrote in message ...
>I dunno...my NT installation here at work takes 33 Mb just "resting".
>
>Of course, that's virtual memory, not physical; one could probably run
>NT in 20 megs, but one wouldn't enjoy it very much ... swap swap ...
>swap swap ...

I've booted it in 8 megs. I was also able to open up Word, Excel, Paint, and
IE 4. I won't say anything about it's speed. :)



------------------------------

From: John Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: use theramin as input device
Date: Thu, 04 Feb 1999 18:25:54 -0600

Jehan Sappideen wrote:
> 
> In comp.os.linux.development.system Matthias Warkus <[EMAIL PROTECTED]> wrote:
> 
> : No. He means the wailing thing that goes "wee-ooo-wee-ooo" in
> : _Good_Vibrations_ by the Beach Boys.
> 
> : SCNR
> 
> As a point of trivia....  I read somewhere recently that it wasn't
> actually a true theremin making that sound... just a hardware emulation -
> maybe they'll sue ;). The guts were the same, but it was just a guy
> twiddling a knob to get the sound.

Maybe so, but the British Group "the Bonzo Dog Band" used a
real theramin in their concerts and recordings.  One fellow
even played it with his leg to good efect... :-)


-- 

-John ([EMAIL PROTECTED])

------------------------------

Date: Thu, 04 Feb 1999 19:33:12 -0700
From: Daniel Zurcher <[EMAIL PROTECTED]>
Subject: glibc2 & libstdc++

    I am running slackware 3.6 and I just installed glibc2.0.6 in the
manner described in the glibc-Howto.  I can compile and run c programs
just fine with this installation and the programs are being linked with
the right libraries.  The problem I am having is that I need to
reinstall libstdc++ library so that I can compile and run my c++
programs.  I got the latest package 2.8.1.1 and it compiled just fine,
but when I run 'make check', libstdc++.so complains of an undefined
reference to 'filebuf virtual table' and 'exception virtual table'.
Anyway, I really need to get the c++ libraries working again.  If anyone
out there knows anything about how to remedy this problem, please help
me out.
                                                    Thanks in advance,
                                                        Daniel Zurcher


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to