Linux-Development-Sys Digest #422, Volume #6     Mon, 22 Feb 99 16:13:47 EST

Contents:
  Re: how to write linux device driver (Gordon Scott)
  Xterm -S & PTY problem (Alexander Sirotkin)
  IDC in Linux ([EMAIL PROTECTED])
  Documents on ioctl requests (Takeyasu Wakabayashi)
  Re: How to I make a Screenshot in X. (Juergen Heinzl)
  Re: disheartened gnome developer (Nix)
  Re: glibc 2.1 ;) (Nix)
  Re: Really slow tar (Nix)
  Re: 2.0.36 compile error: Help! (Nix)
  Diamond Stelth 2500 Video ("Espen")
  Re: PROOF: Jesus *is* Lord of the Sabbath! (Johan Kullstam)
  Re: gdb for threads??? ("Stephen Kennedy")
  Re: Internal PCI modem (Lee Prior Collier)
  Re: Linux on a Power Server 560 (IBM RS6000) (Steve A)
  Re: Internal PCI modem (Steve A)
  Compiling syslogd (Lance Spitzner)
  sound card IRQ conflict (Virgil Andronache)
  Re: How to put Linux in suspend mode? (Konrad Mierendorff)
  Re: opendir in -ldir. Was ist? (Juergen Heinzl)
  Re: ide cdrom :lost interrupt ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Gordon Scott)
Subject: Re: how to write linux device driver
Date: 16 Feb 1999 09:49:06 GMT
Reply-To: Gordon Scott <[EMAIL PROTECTED]>

xiaodong ([EMAIL PROTECTED]) wrote:
: does anyone know a good web site where I can learn how to write linux
: device drivers? please send you reply to my email, thank you very much!

Linux Documantation Project --  kernel hacker's guide
                        and --  module programmers guide.
G.
--
Gordon Scott             Opinions expressed are my own.
[EMAIL PROTECTED]   (official)     [EMAIL PROTECTED]  (backdoor)
[EMAIL PROTECTED]  (home)         http://www.apis.demon.co.uk
Linux  ...............   Because I like to _get_ there today.

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

From: [EMAIL PROTECTED] (Alexander Sirotkin)
Subject: Xterm -S & PTY problem
Date: 22 Feb 1999 10:09:57 GMT



Hi.

I'm trying to use "xterm -S" for input/otput from my program.
After everything's set I'm able to write to an xterm from 
my PTY MASTER process, but I can't read anything that is typed
in xterm window. Here's the source :
fd = open("/dev/ptyze", O_RDWR | O_NDELAY, 00666);
 tcgetattr(fd, &term_data);
  term_data.c_lflag &= ~ICANON;
  //term_data.c_lflag &= ~ECHO;
  term_data.c_cflag &= CREAD;
  term_data.c_cc[VTIME] = 0;
  term_data.c_cc[VMIN] = 1;
  tcsetattr(fd,TCSANOW,&term_data);
  
  sprintf(tmp_str, "xterm -Sze%d", fd);

  pid = fork();
  if (pid == 0) {
    execl("/bin/sh", "/bin/sh", "-c", tmp_str, NULL);
  }


 FD_ZERO(&rfds);
  FD_SET(fd, &rfds);
  tv.tv_sec = 5;
  tv.tv_usec = 0;
  
  res = select(fd, &rfds, NULL, NULL, &tv);
  if ((res != -1) && (res != 0))
    puts("Got data");
    else
    puts("fuck, no data");

Any1 can help ?

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

From: [EMAIL PROTECTED]
Subject: IDC in Linux
Date: Mon, 15 Feb 1999 10:15:18 GMT

hi,

    How can two drivers communicate between each other in Linux?
    Does Linux support some sort of Inter Driver Communication (IDC) ???

Any info would be greatly appreciated!

thanx,
vivek

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Takeyasu Wakabayashi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Documents on ioctl requests
Date: 22 Feb 1999 17:01:08 +0900


Hello all!

Are there any good documentation on Linux ioctl() requests 
*other than* kernel source? Descriptions in man pages are so 
brief as to understand the functionality of particular requests.


Thanks in advance,

__

    Takeyasu Wakabayashi,
    Faculty of Economics, Toyama University

    [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: How to I make a Screenshot in X.
Date: Sun, 21 Feb 1999 02:14:35 GMT

In article <sjJz2.101$[EMAIL PROTECTED]>, Robert Acklin wrote:
>
>How to I make a Screenshot in X.

Use a 38er for 1024x738 or see man xwd for less.

Bye,
Juergen

-- 
\ Real name     : Jürgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

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

From: Nix <$}xin{$@esperi.demon.co.uk>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Date: 20 Feb 1999 12:36:06 +0000

Navindra Umanee <[EMAIL PROTECTED]> writes:

> If it's a random sig inserter you're interested in.  Try something like:
> 
[snip lisp]
> 
> You might still use the daemon idea and make your .signature file a
> named pipe.

Combine the two. Make the .signature a named pipe to a gnuclient talking
to an emacs ;)

(Uh. Maybe not.)

-- 
`In protocol design, perfection has been reached not when there
 is nothing left to add, but when there is nothing left to take
 away.' - RFC1925, Rule #12.

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

From: Nix <$}xin{$@esperi.demon.co.uk>
Subject: Re: glibc 2.1 ;)
Date: 20 Feb 1999 12:59:54 +0000

Andreas Jaeger <[EMAIL PROTECTED]> writes:

[StarOffice]
> In a nutshell: It uses internal symbols of glibc (not only __setfpucw
> but also __libc_init)

This *is* ridiculous.

I can see why someone might want to use __setfpucw() (although that
reason disappears if fesetenv() and friends were available in glibc-2.0;
I can't remember); but what possible reason would an application
developer have for calling __libc_init()? It's about as useful as the
init syscall is to userspace people.

*argh* I hate incompetent so-called developers.

*quiet fume*

-- 
`In protocol design, perfection has been reached not when there
 is nothing left to add, but when there is nothing left to take
 away.' - RFC1925, Rule #12.

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

From: Nix <$}xin{$@esperi.demon.co.uk>
Subject: Re: Really slow tar
Date: 20 Feb 1999 13:09:48 +0000

Andreas Jaeger <[EMAIL PROTECTED]> writes:

> From the glibc 2.1 FAQ:
[snip]

Why do people never read the bloody thing?

Suggestion: Add a little thing in so that if configure hasn't been run
before you suggest reading the FAQ at configure time. I'd rather this
wasn't necessary but it looks like it is :(

-- 
`In protocol design, perfection has been reached not when there
 is nothing left to add, but when there is nothing left to take
 away.' - RFC1925, Rule #12.

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

From: Nix <$}xin{$@esperi.demon.co.uk>
Crossposted-To: comp.os.linux.setup
Subject: Re: 2.0.36 compile error: Help!
Date: 20 Feb 1999 12:37:51 +0000

[EMAIL PROTECTED] writes:

> Your version of GCC is incorrectly installed or is incomplete. You
> should re-install GCC, either from your distribution's CD (which
> might be incorrect itself), or from the package:
> 
> ftp://tsx-11.mit.edu/pub/linux/packages/GCC/egcs-1.0.3-glibc.x86.tar.bz2

That's a bloody old egcs. 1.1.1 is the latest, and 1.1.2 should be out
by the time this article has propagated to the ends of the net.

-- 
`In protocol design, perfection has been reached not when there
 is nothing left to add, but when there is nothing left to take
 away.' - RFC1925, Rule #12.

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

From: "Espen" <[EMAIL PROTECTED]>
Subject: Diamond Stelth 2500 Video
Date: Mon, 22 Feb 1999 13:16:38 +0100

My card wasnt supported under Redhat 5.1, but finally, there was a driver
under 5.2. Sometimes X just shuts down and leaves a message like
AmSync() (or something like that). I have to reboot to start X after this.

I cant find any other drivers supporting my cards chipset.

Any ideas?
(I probably should get a new graphics card)

[EMAIL PROTECTED]




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

Crossposted-To: 
alt.society.underwear,comp.sys.mac.misc,comp.sys.amiga.hardware,fr.rec.voyages
Subject: Re: PROOF: Jesus *is* Lord of the Sabbath!
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 22 Feb 1999 07:45:31 -0500

"Jim H." <[EMAIL PROTECTED]> writes:

> I'm sure you had a point to make, it's just that I didn't get it! I never said I
> wasn't a bit thick (heh).

go back and read the original posting.  that first sentence just
rambles on and on and on...and never seems to want to get to a full
stop and go on to the next sentence.  

in case you can't find it, for a typical example go to

<URL:http://www.kelleys.org/mhomes/>

and visit the `mailbag'.  about mid way down there's a letter which
begins

`Dear Doug, The Lord Jesus Christ, God your Creator in human form, was
despised, rejected, mocked and....'

and proceeds to ramble on for a hundred or more words.  you can't be a
`*real* christian [tm]' unless you start all your letters like this.

another thing that makes a person a *real* christian is to speak in
that `*real* christian soothing soft voice [tm]'.  you know the one,
where the person won't raise their voice but goes on and on in a silky
monotone.  makes me want to slug them right in the old kisser - and
i'm normally not a violent man!  it's like dammit, just speak like a
normal human being.  and these mock gay people for their
affectations.  what a laugh.

> Johan Kullstam wrote:
> 
> > "Jim H." <[EMAIL PROTECTED]> writes:
> >
> > > The assumption seems to be that just because we are gay, we can't also be
> > > Christians. It's a pretty narrow minded viewpoint. If we don't practice our
> > > religion and worship EXACTLY like he does we must be wrong. Well, if there
> > > really is a day of reckoning there will be one hell of a big line of
> > > "so-called" Christians trying to come up with the right answers.
> >
> > no, to be a *real* christian, your opening sentence needs to be *at
> > least* 50 words.
> >
> > --
> > Johan Kullstam [[EMAIL PROTECTED]] Don't Fear the Penguin!
> 
> 
> 

-- 
                                           J o h a n  K u l l s t a m
                                           [[EMAIL PROTECTED]]
                                              Don't Fear the Penguin!

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

From: "Stephen Kennedy" <[EMAIL PROTECTED]>
Subject: Re: gdb for threads???
Date: Mon, 22 Feb 1999 15:00:19 -0000

>When is  gdb supposed to be able to support debugging threaded
>programs?  (Or is there a version that  already does this, and I've
just
>been asleep.)


AFAIK gdb supports debugging threads. Didnt test it much though,
so I cant comment on how robust it is. I'm using a stock gdb that
came with redhat-5.2


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

From: Lee Prior Collier <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Internal PCI modem
Date: Mon, 22 Feb 1999 15:54:03 +0000

Julian Robert Yon wrote:

> Johan Kullstam wrote:
>
> > this is a common problem when buying anything bundled.  they lure you
> > in with one good component, e.g., fast cpu, and then give substandard
> > components all around.  bundling is about reducing choice and
> > unloading less desirable parts with the desirable.
>
> It wasn't! I built the system myself, but I was naive enough to take my
> suppliers word for it that the modem was "normal". It later transpired
> that they don't sell real modems. But they wouldn't, of course, tell me
> this when I first asked... And I don't fancy trying to get any money
> back for a modem that sat in a computer for three months, even if it was
> doing nothing. I've not bought much from them since then.
>
> Julian
>
> ~~~~~~~~~~~~~~~~~~~~
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]

I had the same problem - bought what I thought was a real modem only to
realise it was a winmodem three months later.  The shop I bought it from
wouldn't give me a refund, but they did offer to sell me a rather nice
external at trade price, and I then sold my winmodem on.... I think I made
a profit :-)  Of course you might not be so lucky, but it's worth talking
to the people in the shop and seeing if they'll help you out (you could
quote the trade descriptions act at them, but I found it more helpful to
describe the problem and reason with them).

Good luck :-)

Lee


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

From: [EMAIL PROTECTED] (Steve A)
Subject: Re: Linux on a Power Server 560 (IBM RS6000)
Date: Mon, 22 Feb 1999 16:26:07 GMT

On 13 Feb 1999 00:43:53 GMT, [EMAIL PROTECTED] (Craig J Copi) wrote:

> We just inherited one of these and would love to play with Linux on it 
> instead of AIX.  Unfortunately it doesn't have a PowerPC CPU in it.  
> Does anybody know if there is a port that will run on the RS6000,
> Power Server 560?

It probably has the old POWER chipset - AIR, 560's were quite early
RS/6000's.

And I have no idea how compatible POWER is with the PowerPC chip, but
I'll bet it isn't very.


--
Warning: end of message imminent. Stop reading now.

We operate a zero-tolerance policy on UCE and spam.

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

From: [EMAIL PROTECTED] (Steve A)
Crossposted-To: comp.os.linux.setup
Subject: Re: Internal PCI modem
Date: Mon, 22 Feb 1999 16:26:05 GMT

[p/m]

On Mon, 15 Feb 1999 11:40:26 +0000, Julian Robert Yon
<[EMAIL PROTECTED]> wrote:

> Stefan Monnier wrote:
> > 
> > >>>>> "Julian" == Julian Robert Yon <[EMAIL PROTECTED]> writes:
> > > petition to request that companies manufacture _real_ modems possible?...
> > 
> > Convince people to stop buying winmodems ?
> > Buy real modems ?
> 
> The point is that the modem was not sold as a winmodem. Quite obviously
> if I had been told the truth when I asked I wouldn't have bought it. It
> is getting increasingly hard to find a high speed modem which is any use
> - at least at a sensible price. When building a system I object to
> having to buy the modem separately from everything else, because a
> particular supplier only sells "new technology".

I should imagine that your best source of recourse would be to go to
the supplier from whom you bought the modem. I would hope that,
assuming the modem is still in original condition, they would be
prepared to make a suitable substitution, in return for the difference
in price, since they failed to describe the goods correctly. If they
won't, then name and shame the bastards, especially if it was that
gottverdammt Time Computers, whom I wouldn't trust to sell a mousemat
without screwing the order up somehow.

An important thing: did they simply fail to tell you it was a
winmodem, or did you ask and were told that it was *not* a winmodem?
I'm afraid "caveat emptor" very much applies if you bought the modem
but did not explicitly request a non-winmodem, but if you asked and
they told you - even verbally - that the modem was a non-winmodem,
then the Sale of Goods Act comes into play, and you have a theoretical
case against them.

If you didn't ask, and no representations were made by them, then - in
law - you have no recourse, and I'd stick to asking very nicely if
they'll change it for you. In fact, ask very nicely anyway!

Good luck.


--
Warning: end of message imminent. Stop reading now.

We operate a zero-tolerance policy on UCE and spam.

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

From: Lance Spitzner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: Compiling syslogd
Date: Mon, 22 Feb 1999 10:34:00 -0600

I'm getting the following errors when I try to compile syslogd
on RH 5.1.  What is causing the errors and how do I fix it? I'm
using sysklogd-1.3-22.src.rpm as the source (which came with the
distr).

Thanks!

--- compile errors for syslogd ---

otto #make syslogd
gcc -O6 -DSYSV -fomit-frame-pointer -Wall -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS 
-DFSSTND  -c syslogd.c
syslogd.c:549: conflicting types for `sys_errlist'
/usr/include/stdio.h:221: previous declaration of `sys_errlist'
syslogd.c:573: conflicting types for `dprintf'
/usr/include/stdio.h:159: previous declaration of `dprintf'
make: *** [syslogd.o] Error 1

--- snip snip ---

Your words of wisdom are GREATLY appreciated!

Lance Spitzner
http://www.enteract.com/~lspitz
Internetworking & Security Engineer
Dimension Enterprises Inc


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

From: Virgil Andronache <[EMAIL PROTECTED]>
Subject: sound card IRQ conflict
Date: Mon, 22 Feb 1999 13:23:18 -0500

I have an embedded Creative/Ensoniq PCI sound card. When I checked the
IRQ assignments in Windows there were 4 devices (including the sound
card) using IRQ channel 11. I tried changing the channel for the sound
card, but Win 98 will not allow it. In linux (RH 5.2) at boot-up and
afterwards the system sees the device as busy. As a result, I have no
sound in linux. Any suggestions as to how I might get it to work?

Thanks,
virgil


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

From: Konrad Mierendorff <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: How to put Linux in suspend mode?
Date: Mon, 22 Feb 1999 19:14:26 +0100

Tim Isaev wrote:
> 
> Hi all,
> In Windows 95/98 there is a possibility to put PC into suspend mode.
> Is it possible in Linux? I was looking through megabites of docs
> but haven't found anything about it. I'll appreciate any help.
> Timur Isaev

Try http://www.tip.net.au/~sfr/

- Konrad Mierendorff

P.S.: Don't ask me any questions about APM. I just found this page half
an hour ago while surfing around.

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: opendir in -ldir. Was ist?
Date: Sun, 21 Feb 1999 14:49:13 GMT

In article <[EMAIL PROTECTED]>, Marc D. Williams wrote:
>This is just one of those ``wondering'' things.
>When running configure one gets something like
>  checking for opendir in -ldir
>  
>I'm just curious as to what this library is and its function
>and whether or not it would be useful to have.

All directory access functions like opendir(), readdir() and
so on are part of the C library on Linux and see dirent.h
for more. Other systems come with ndir.h but in your case, no,
forget about it. It's just autoconf must take care of all the
little differences that still exist.

Cheers,
Juergen

-- 
\ Real name     : Jürgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

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

From: [EMAIL PROTECTED]
Subject: Re: ide cdrom :lost interrupt
Date: Mon, 22 Feb 1999 18:33:18 GMT

I have found a partial solution to this problem based on a suggestion I
recieved.  Upgrading my BIOS to the latest available allowed me to mount the
IDE cdrom without the 'lost interrupt' error.  However, if I try to use
SCSI-IDE emulation I get a Kernel Panic: scsi_free error.

Thanks,
Joe
[EMAIL PROTECTED]

In article <7afpvp$4jt$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> I have a PII-333 w/ 64MB RAM.  I am running a new install of RedHat 5.2 with
> Mandrake and kernel 2.2.x additions.  I am trying to get my IDE-ATAPI 32x
> CDROM running under kernel 2.2.x.  Currently, whenever I try to mount it I
> get:
>
> 'hdb: lost interrupt'
>
> and it hangs the machine with the reset button being the only way out.
I
> have tried moving (and jumpering) it from the master of IDE-2 to the slave of
> IDE-1. But there was no change.  I tried scsi-ide emulation with no success.
> If I don't have a CD in the drive it merely fails to mount.  If I do, it
> spins up the CD and leaves it spinning indefinately after it is hung.
>
> My SCSI Ricoh CD-RW works just fine, I can mount and umount it with impunity.
>
> I have tried 2.2.0 and 2.2.1 from www.kernel.org and 2.2.1 from the RawHide
> distribution.
>
> If anyone has a suggestion, I would like to hear it.
>
> Thanks,
>
> Joe Dennis
> [EMAIL PROTECTED]
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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


** 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