[uClinux-dev] Kernel modules don't work on read-only filesystems ?

Gavin Lambert gavinl at compacsort.com
Wed Oct 10 17:40:11 EDT 2007


Quoth Josue de Freitas:
> I already do it. I add "scull0,c,222,0" to the DEVICES variable on this 
> Makefile, it was created on /dev but I cannot write data to it. The 
> /dev/console ("console,c,5,1" on the Makefile) is writable since a 
> "echo test > /dev/console" prints 'test' on the console. 

Are you sure the major/minor numbers are correct?

Also, try adding debugging output to the driver, getting it to display its
major/minor numbers, and when key routines (such as open, write, etc) are
getting called.





More information about the uClinux-dev mailing list