Loading a new charecter device

blesson paul (blessonpaul@msn.com)
Mon, 22 Apr 2002 14:48:03 +0530


Hi
I wrote a driver for a new charecter device and put the major number as
200. Then I created a new device say 'XYZ' by the following command
mknod m=rw XYZ c 200 0. I didn't specified the minor value in the program. I
given the minor value as 0 when I made the device. But I think it will not
make any problems. Still my driver is not working. When I try to open the
device, it will return no such device. How to know whether the device driver
has loaded perfectly. What is the problem. Please somebody help me.
regards
Blesson Paul

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/