12-16-2008
writing device drivers,for a beginner!!!
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 this ,wasnt of much help.
Since am an absolute beginner, would like to know where i can find material on these, that i can start from the very basics of it. and how i need to proceed.
PS: Its just a longing that i have from the past few months and i want to give it a shot...
Thanks
9 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. UNIX for Dummies Questions & Answers
Please, I'm From Argentina, And I Need To Know If The Drivers Of Program Unix, Version 5.01 Is Compatible Whit Drivers Of The Printer Epson Fx-2190
Thanks, And I Hope Yuor Answer. (0 Replies)
Discussion started by: juan alberghina
0 Replies
5. Programming
hi,
this is manju ....
i want linux device drivers source codes.
pls help me (2 Replies)
Discussion started by: miraclemanju
2 Replies
6. 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
7. 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
8. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
9. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
lsdev(1M) lsdev(1M)
NAME
lsdev - list device drivers in the system
SYNOPSIS
driver | class] block_major] char_major] major] [major ...]
DESCRIPTION
The command lists, one pair per line, the major device numbers and driver names of device drivers configured into the system and available
for invocation via special files. A in either the block or character column means that a major number does not exist for that type.
If no arguments are specified, lists all drivers configured into the system.
If the option is specified, will not print a heading. This option may be useful when the output of will be used by another program.
The and options are used to select specific device drivers for output. If more than one option is specified, all drivers that match the
criteria specified by those options will be listed. These search options are divided into two types: name search keys (the and options)
and major number search keys (the and options). If both types of options are present, only entries that match both types are printed. The
same type of option may appear more than once on the command line with each occurrence providing an ORing effect of that search type. The
and options may not be specified at the same time.
The ability to process major arguments is provided for compatibility and functions like the option.
Options
List device drivers that match
class.
List device drivers with the name
driver.
List device drivers with a block major number of
block_major.
List device drivers with a character major number of
char_major.
List device drivers with either a character
major number or block major equal to major.
DIAGNOSTICS
The and options may not be specified at the same time.
A major number is malformed or out of range.
EXAMPLES
To output entries for all drivers in the class:
To output entries that are in the class that have either a block or character major number of
To get the character major number of into a shell environment variable:
WARNINGS
Some device drivers available from the system may be intended for use by other drivers. Attempting to use them directly from a special
file may produce unexpected results.
A driver may be listed even when the hardware requiring the driver is not present. Attempts to access a driver without the corresponding
hardware will fail.
only lists drivers that are configured into the currently executing kernel. For a complete list of available drivers, please run (see
sam(1M).
DEPENDENCIES
Since relies on the device driver information provided in a routine, may not list drivers installed by other means.
AUTHOR
was developed by HP.
SEE ALSO
sam(1M).
Section 7 entries related to specific device drivers.
lsdev(1M)