Re: Sample driver for 2.6

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

 



Deekshit Mantampady wrote:

See if this is useful: http://members.home.nl/rene.herman/foobar.tar.gz

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....

Yes, without the device node present, you would've gotten:

open: No such file or directory

The "No such device or address" means nobody's listening on 240,0 kernelwise. That is, the foo module is not loaded:

su -c "insmod ./foo.ko"

Rene.








-- 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