03-11-2009
That's quite something, I hope you have a good understanding of C and assembler, plus knowledge of how to communicate with the hardware.
- Get the latest stable kernel source from kernel.org (Hint: it's 2.6.28.7)
- Unpack the source
- Go to the drivers directory
- Pick any driver (eg. block/loop.c)
As an alternative to 1-2, your distribution might have a package containing the kernel source, which will usually be unpacked to /usr/src/linux*
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I might sound stupid for asking, but could someone please tell me how to view all the device drivers? I'm just starting to use UNIX after using Windows for years. Thanks.
-sysop0130 (1 Reply)
Discussion started by: sysop0130
1 Replies
2. Programming
Here is a cool book. And the price is right!
Linux Device Drivers, 2nd Edition (0 Replies)
Discussion started by: Perderabo
0 Replies
3. Windows & DOS: Issues & Discussions
Suggestion.
Besides running scans it is also a good thing to run "sigverif". This will create a list of ALL drivers on your system, signed and unsigned.
The output is located in your C:Windowssigverif.txt file.
It surprised me most people do not do this. Many trojans mask themselves as... (0 Replies)
Discussion started by: ZOverLord
0 Replies
4. Linux
Hi there,
I thought a lot, wheather or not this thread belongs to this forum, hope I made the right choice.
So my question: Is there such thing like leaf driver in Linux, in correspondance to the Solaris nexus/leaf device driver tree?
I'm asking that in the context of writing a device driver... (3 Replies)
Discussion started by: boyanov
3 Replies
5. Ubuntu
Hey
I am using HP pavilion Notebook, I installed linux on my laptop. But i am unable to connect to internet, can any body help me out to get wireless linux Broadcom drivers for my notebook.
Thanks
kumar (2 Replies)
Discussion started by: kumar_d
2 Replies
6. Solaris
Hi all,
Please excuse me if this is not the right forum to ask my question.
I would like to know more about writing device drivers for Unix,particularly Solaris 10.
excuse me if am being vague, but I have absolutely no idea about how i can start.
I did try to search for a beginners guide to... (1 Reply)
Discussion started by: wrapster
1 Replies
7. UNIX for Dummies Questions & Answers
so i downloaded a linux today,
but i ahve the problem that i cant connect to the internett becouse i need drivers.
annyone know where i can get the drivers? (4 Replies)
Discussion started by: Morton
4 Replies
8. Solaris
Hello all, I'm new here.. Can you please help me with device driver on Solaris10, Sun SPARC server; I need to know how to test if a PCI card is recognized and has a working driver. How to do it? As it is, the driver seems to be 'not attached', but some say it could be because the PCI card is not... (10 Replies)
Discussion started by: orange47
10 Replies
9. UNIX for Advanced & Expert Users
I am to start working on two project on Linux Device Drivers and other on File System.
So I got the book "Understanding Linux Kernel" by Daniel and Marco.
But I am confused as how to proce
Will anybody pls let me know how to go to about studying the chapter in this book? I mean the order in... (1 Reply)
Discussion started by: shefalibv
1 Replies
10. UNIX for Beginners Questions & Answers
Hello everyone from Tenerife, Canary Islands.
How can i see in Debian or similar operating system the installed drivers or controllers ?
Best Regards
https://image.ibb.co/kC5C87/winkho2.gif (1 Reply)
Discussion started by: JohnFissburyn
1 Replies
LEARN ABOUT REDHAT
statserial
STATSERIAL(1) User Commands STATSERIAL(1)
NAME
statserial - display serial port modem status lines
SYNOPSIS
statserial [-n | -d | -x] <device-name>
DESCRIPTION
Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It
can be useful for debugging problems with serial ports or modems.
The optional device-name parameter is the full name of the device file for the serial port in question. If not specified, the default is
taken from the environment variable MODEM if set, otherwise /dev/cua1.
COMMAND-LINE OPTIONS
Each of the command line options is mutually exclusive.
-n Normally statserial will loop continuously, updating the status at one second intervals; you can exit using Control-C. The -n option
disables looping.
-d
With this option the status of the modem is printed as a decimal number. The bits are encoded as follows (XXX indicates unused bits):
+---+---+---+---+---+---+---+---+---+
| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+---+---+---+---+---+---+---+---+---+
|DSR|RI |DCD|CTS|XXX|XXX|RTS|DTR|XXX|
+---+---+---+---+---+---+---+---+---+
-x This option is the same as -d, except that the output is in hexadecimal.
BUGS
/LIMITATIONS
Statserial only works with devices that support the TIOCMGET ioctl.
You need permission to read the device file.
The device file may be locked if other applications are using it.
AUTHOR
Statserial was written by Jeff Tranter (Jeff_Tranter@Mitel.COM), later updated by Frank Baumgart (godot@uni-paderborn.de) and is released
under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details.
SEE ALSO
setserial(8) stty(1)
/usr/src/linux/drivers/char/serial.c /usr/include/linux/termios.h
Linux 17 December 1994 STATSERIAL(1)