> here the patch + the c.file > i hope i've made the patch correctly, it's my first ;) Does look very good at first sight :) except for a few indentation issues and extra blank lines, but I'll take care of that. > i've another strange problem with the module. it works, but only if > i load it twice, so i have to load it, unload, and load again. only > then the new sysfs-files appear. > > probably a silly fault in the code. would be nice if you could have > a look at it.. Will do. Can you provide the relevant part of "dmesg" as you do the operation? Maybe it'll help. Also, is it *always* failing the first time you run it, or does it *randomly* fail? -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/