Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDevice node
Hi, Now after I boot uclinux I use the command mknod to create my "/dev/name(device)" to control my hardware. Also I have done a script to do it when the system's boot, but I would like to...
Altera_Forum
Honored Contributor
16 years agoHi,
This is what I was looking for, thanks for the answer. I have tested the command mdev-s in the terminal, but I would like that It do it automatic when I insert a module. I have read the file “mdev.txt”, as I understand I have to introduce two lines of code(1- About hotplugging,2-mdev) in the init script( For me /etc/rc). The problem is when I recompiled to make the zImage again, lines of code that I have introduced were erased. I don't know if it is the correct "init script" or if I have to change something in menuconfig to preserve the code that I have introduced. Thanks a lot.