Please mentioned more *practical* details about your device. 

[#]If it belongs to some standard bus like USB and if kernel detects it then
you will see entry in *proc* and *sys*. 

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Radu
Sent: Friday, August 21, 2009 3:25 AM
To: Manish Rangankar
Cc: [email protected]
Subject: Re: getting started with drivers

 

Thanks, I am already reading Linux Device Drivers and I am subscribed to
lkml from which I read whatever I understand :)
I was asking about something more practical ... how do I know that the
device is connected? Does it make sense to do it, when obviously it is
already detected by the kernel?

On Thu, Aug 20, 2009 at 8:34 PM, Manish Rangankar
<[email protected]> wrote:

I think you should first go through LDD book, then try running some sample
programs given in the book. Also go through pdf *lkml*. Both LDD and lkml
are available on net. After this try to get understanding of the ALSA or
OSS. 

 

May be try writing your own driver which will play MP3 on you PC console
speaker.

 

-Manish R  

On Thu, Aug 20, 2009 at 4:29 PM, Radu <[email protected]> wrote:

Hi, 

I am trying for some time to write some kernel code, but as we all know
that's not that easy. I want to write a driver for a no-name mp3 player,
just for academic purposes, but I am not sure how should I tackle the
problem - will it be a char driver ? how can I detect when it's plugged
in/do I need to do that?. Where do I start? How do I do it? Is there any
place where I can read about something similar? I've been reading quite a
lot lately, but probably not enough. 

Thanks a lot for any hints, 
Radu. 

P.S: Sorry if this message has already sent to the list from another address
of mine, but I couldn't get subscribed with it (probably I am greylisted).

 

 

 


_____________________________________________________________________ 

This e-mail message may contain proprietary, confidential or legally privileged 
information for the sole use of the person or entity to whom this message was 
originally addressed. Any review, e-transmission dissemination or other use of 
or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you have received 
this e-mail in error kindly delete this e-mail from your records. If it appears 
that this mail has been forwarded to you without proper authority, please 
notify us immediately at [email protected] and delete this mail.
_____________________________________________________________________

Reply via email to