From: Uwe Thiem <uwix@iway.na>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: OT: bash details
Date: Fri, 12 Aug 2005 17:02:39 +0100 [thread overview]
Message-ID: <200508121702.39133.uwix@iway.na> (raw)
In-Reply-To: <loom.20050812T165420-79@post.gmane.org>
On 12 August 2005 16:01, James wrote:
> Frank Schafer <frank.schafer <at> t-systems.cz> writes:
> > Gooooooooooogle "Advanced Bash-Scripting Guide" >>>
> > <www.tldp.org/LDP/abs/html/>
>
> Well this is an excellent resource, BUT it seems
> devoid of any examples where a custom device driver,
> say for the serial port on a linux system,
> inserted as a module or is part of the kernel,
> and the associate software that allows users
> to access some of the hardware(features) and not
> other hardware/firmware/kernel features(code), unless
> they are root, or have a special (encrypted)key
> or another form of chicanery (biometric generated
> key).
True but then, what you are asking for has precious little to do with bash
scripting. I was actually wondering what you need when reading your original
code.
If you want to hack kernel drivers you need to familiarise yourself with the
kernel and the generic driver interface. Don't know whether the documentation
in the kernel is enough for that.
On the other hand, I don't think you really need a kernel driver. If your goal
is to drive some gadget attached to a serial port, you can do all that in a
userspace application. I once wrote the complete interface between a database
and an array of automatic medical analysers attached to a serial line in
userspace. Alright, that was on HPUX but it did compile and work under linux
as well.
Although a bit outdated, Richard Stevens's "Advanced Programming in the UNIX
Environment" is still a very valuable resource to get started.
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-12 16:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-12 14:25 [gentoo-user] OT: bash details James
2005-08-12 14:33 ` Frank Schafer
2005-08-12 15:01 ` [gentoo-user] " James
2005-08-12 15:26 ` Ciaran McCreesh
2005-08-12 16:02 ` Uwe Thiem [this message]
2005-08-12 22:09 ` Nick Rout
2005-08-15 13:19 ` Marco Matthies
2005-08-12 14:37 ` [gentoo-user] " Matthew Cline
2005-08-12 14:53 ` Ciaran McCreesh
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=200508121702.39133.uwix@iway.na \
--to=uwix@iway.na \
--cc=gentoo-user@lists.gentoo.org \
/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