Re: Sample driver for 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Dec 2004 09:00:11 +0100, Rene Herman
<rene.herman@xxxxxxxxxxxx> wrote:
> Deekshit Mantampady wrote:
> 
> > Can anybody point me to an example of a kernel module which creates a
> > char. device along with all steps, including a sample program to test
> > the module, I mean by opening a device and writing something to it.
> 
> See if this is useful: http://members.home.nl/rene.herman/foobar.tar.gz
> 
> Rene.
> 

I am getting the same error with this one. To be specific the
following error when I run 'bar' executable in the example.

"open: No such device or address"

Even though the device exists in the directory....

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux