Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Device Driver - before I start

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  NEWBIE: FreeBSD 4.10 Internet gateway/DNS problem  
Author Message
Richard Kaestner

External


Since: Jul 18, 2004
Posts: 1



(Msg. 1) Posted: Sun Jul 18, 2004 5:24 am
Post subject: Device Driver - before I start
Archived from groups: mailing>freebsd>questions (more info?)

Is there a helping hand to give me some advice where / how to start?

I want:
=2D a "pseudo device", which collects every now and then data from an exter=
nal
box via serial line (/dev/cuaa1)
Box-Status and some more information shoud be readable,
whichever Commands have to be sent to the Box could be done via ioctl
=2D using FreeBSD 4.10 ( going to 5.x later)
=2D I am currently reading:
FreeBSD Handbook and Developers Handbook
Daemonnews: Oct 2000: KLD example / Tutorial
/usr/src/share/examples/driver/make...
( and McKusik's Design ...)
=2D And finally: this is going to be my first Unix-Driver ...
(although, I have some experience in low-level programming)

I need Infos on:
=2D is there a "better" (or "more preferred") way than written above?
=2D is there a "simple example driver" doing similar things
=2D actually, can I simply access /dev/cuaa1 from "inside" a driver ?
(suppose, I should not ...)
=2D or should I simply / better stay with a daemon ?

thanks in advance for hints!

=2D-=20
Mit freundlichen Gr=FC=DFen

Richard K=E4stner
EDV-Beratung
Woerthgasse 17
2500 Baden
Austria
_______________________________________________
freebsd-questions RemoveThis @freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: Device Driver - before I start 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
/dev/ttyd0 as an Input Device Works on some Systems but no.. - I posted a question a few hours ago about the strange problems I had been having with some FreeBSD systems and the use of /dev/ttyd0 as an input device for logging data. After searching the FreeBSD handbook, I found the discussion of the "callout ...

configuring freebsd dhcp server/router to listen on device - Hello, Im trying to move away from my linksys wireless router and move onto an old Pentium 200 Mhz I have. It will be the gateway between my modem and my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf file in the freebsd..

How to make device files for USB Zip drive disks ? - Question: How to make device files in "/dev/" for USB Zip drive disks ? I have a USB-powered Zip250 drive that I like to connect occasionally to my Toshiba Satellite Pro 6100 running 5.3-R. When I hot-plug the (empty) drive to a free USB port...

Still Cannot Start KDE - Back in April an erratum was discovered on page 139 of The FreeBSD Handbook regarding the startup of KDE2. After this question was posed to the experts it was determined that the correct path to the file "startkde" is: /usr/local/bin Now, by ...

can't start Apache 1.3 server in freeBSD 4.9 release #0 - After installing Apache 1.3, i was configuring in freeBSD following the procedure mentioned in FreeBSD Handbook( section 23.7 Apache HTTP Server). i've tried ServerName (in httpd.conf ) with localhost, 127.0.0.1, but using "/usr/local/sbin/apache...
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]