473,395 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Device driver

181 Expert 100+
Hi i am new to linux and device driver. we have a board which could be connected to com0 port. we are able to connect to this board using minicom and and device selected is /dev/ttyS0.
we want to write a driver for this board. Can any one suggest how to go about. we dont want to do this in user space since we want some hands on in device driver programming.
Jun 1 '07 #1
3 2206
arne
315 Expert 100+
Hi i am new to linux and device driver. we have a board which could be connected to com0 port. we are able to connect to this board using minicom and and device selected is /dev/ttyS0.
we want to write a driver for this board. Can any one suggest how to go about. we dont want to do this in user space since we want some hands on in device driver programming.
The book "Linux Device Drivers" is available online, but for a start you can also look for some tutorials. Just google for "linux device drivers tutorials" and you'll find articles, introductions and programming tutorials at all levels of details. I couldn't find the one I was using some years ago ...
Jun 1 '07 #2
svlsr2000
181 Expert 100+
The book "Linux Device Drivers" is available online, but for a start you can also look for some tutorials. Just google for "linux device drivers tutorials" and you'll find articles, introductions and programming tutorials at all levels of details. I couldn't find the one I was using some years ago ...
I have gone through all the chapters related to character devices. But the book doesnt talk about any hardware to be connected to serial port and any other ports in pc
Jun 1 '07 #3
arne
315 Expert 100+
I have gone through all the chapters related to character devices. But the book doesnt talk about any hardware to be connected to serial port and any other ports in pc
Well, chapter 9 is talking about IO ports and how to access the
parallel port, no?

Anyway, I found it more helpful to read the code of other drivers
(if I knew that they had to do similar operations as I wanted my
driver to do). See the Linux Cross Reference.
This helped me lot.

arne
Jun 1 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Wouter van Ooijen | last post by:
I want to use Python to interface with an USB HID device (not a keyboard or mouse, just something that uses the HID driver to avoid the need for a specific driver). Is this possible in pure Python...
2
by: nbhalala | last post by:
Hello Friends, Hi Myself Naresh (B.E. Comp. Eng) from Mumbai... I'm a Linux Device Driver Writer... I would like to learn writing Driver of "USB Devices"...BUT before that I'm presently working...
12
by: Steve | last post by:
I wrote a simple virtual device driver int15.sys, Is C# support load the device driver from AP?
8
by: Tony Liu | last post by:
I am having a "Null Device is Missing" compile error when compiling a c++ project. The documentation from MSDN said it could be caused by low system resource or the user account does not have...
7
by: Ritu | last post by:
Hi All, Can any body please tell me how i can write a device driver using CSharp. Thanks, Ritu
0
by: am | last post by:
Hi, I have an USB hardware device that came with some (poor) software. I would like to write my own software to use the hardware in dotnet. There are no COM dll's to reference from the...
6
by: Fla | last post by:
Hy! I'm newbie to VB 2005 and I'm trying to read value from a device driver, as I used in VB6 with CreateFile and DeveiceIoControl. I get a correct driver handle with CreateFile but I can't read...
0
by: Fla | last post by:
Hy! I'm newbie to VB 2005 and I'm trying to read value from a device driver, as I used in VB6 with CreateFile and DeveiceIoControl. I get a correct driver handle with CreateFile but I can't read...
1
by: =?Utf-8?B?15DXldeo158=?= | last post by:
I have recently installed my windows XP, the process went smoothly, but I had encounterd some drivers issues after the installation. I managed to solve the ethernet adapter driver issue, but I...
1
by: Concepts Systems | last post by:
Hello All, Kernel Programming is the key to the digital city of device drivers: If you know the language for drivers you can get a device to do almost anything you want. Learn how to write...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.