On Sun, Sep 26, 2010 at 3:43 AM, Venkatram Tummala
<venkatram...@gmail.com>wrote:

>
> Do the following steps :
>
> 1) insmod <MODULE.ko>
>
> 2) cat /proc/devices |grep <DEVICENAME>     This will fetch you a number.
> Use it in step 3
>
> 3) mknod /dev/<DEVICENAME> c <Number from step 2> 0
>
In the above you  need to do chmod 666 /dev/<DEVICENAME>
otherwise only root will be able to read and write.
I was doing all this as a normal user.

>
> 4) echo  -n "whatever" > /dev/<DEVICENAME>
>
> 5) cat /dev/<DEVICENAME>
>

Reply via email to