ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Wow, talk about jumping in at the deep end. Are you doing this just as a academic exercise, or is this "dummy modem" (?) something that you actually need to get working. Since you say you are new to Linux and know nothing about writing device drivers I think yo may be in for a really tough time.
Anyway googling "writing linux device drivers" resulted in a number of promising links. Did you read any of them yet?
A common, dial up analog modem is something that connects to a serial port. You'd write a device driver for that, not for the modem per se. Many introductory device driver books use serial and parallel ports as simple examples, so if that's indeed what you want to do, you should be able to find that easily.
If that's not it, you should say what it is you want to accomplish. Maybe you don't need to write a device driver at all.
Actually my project is to implement communication between server and client using CDMA modem (both SMS and call)
now i have only one modem and i don't have another modem .
for that i want to create a driver for dummy modem (dev/CDMA) in the client side so that modem at the server side will send SMS commands to the client , on the other side my dummy modem has to receive that SMS
Can any one tell me to create a device driver for dummy modem on the client side , so that it has to receive SMS from server side
Please tell me the how i need to approach for my project
please help me for my project as soon as possible
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Originally Posted by trkecea
actually i am not getting the information about dummy modem and how to write a driver for dummy modem
How do you mean? Not in this forum or not in the book recommended by Pixellany?
It might not become apparent to you, but for such a specialized question, you might have to put some effort in yourself.
First I would recommend to read the book Linux Device Drivers, cover to cover, then write a detailed functional specification for your device driver, and eventually ask here your specific questions, for which the book did not provide you with an answer.
Actually my project is to implement communication between the two PCs by using two virtual modems. so for that i need to write the code for the virtual modem which it should understand all the AT commands exactly as physical modem and it should send/receive call and SMS
I have some basic knowledge about device drviers
please tell me how i need to approach
Actually my project is to implement communication between the two PCs by using two virtual modems...
please tell me how i need to approach
Actually... you have been given a reference. You have been asked what references you have already looked at. You have not indicated at all that you have read any of the replies to your thread. Have you actually done any research? Or perhaps you are hoping that by continuing to post here someone will do your work for you?
just i am aksing how i need to approach for solving my problem
As far as I know modems work through serial port, so u'll be writing a device driver for a serial port not a modem ! Check out the http://www.linuxquestions.org/questi...-linux-763595/ thread, here I have disabled the default IRQ and enabled my own for RS232. I can generate interrupts on my decided intervals. This thread will get u started and for further information if u have enough time u can read the code of the default device driver of linux systems [after reading the linux device drivers book].
Last edited by TheIndependentAquarius; 11-26-2009 at 11:44 PM.