linux - Android Device Driver make node -


i have course project involves setting device driver on android. have worked device drivers in linux kernel , used 2 commands initialize device , make node: insmod , mknod

now when launched emulator shell using adb shell, able use insmod mknod did not work. have tried find alternatives not lucky.

from know, mknod in linux kernel lists device under /dev directory , allows user programs read/write using file ops.

so alternative android?

perhaps, android device you're using don't have mknod command. need supported rootfs, android rootfs built using busybox. probably, mknod dropped busybox config. possible option be, use custom android image you've mknod installed.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -