4.2 Treiber laden/> cd usr /usr> ls -l -rw-r--r-- 1 1000 100 4337 Mar 4 2005 boot_linux.cap -rw-r--r-- 1 1000 100 135796 Jun 29 2005 hello-4.o drwxr-xr-x 2 1000 100 432 Mar 4 2005 led_test_cobra5282-20040324 -r-xr-xr-x 1 1000 100 3028 Mar 4 2005 led_test_cobra5282-20040324.tar.gz -rw-r--r-- 1 1000 100 139752 Aug 28 2005 qadc-1_0.o -rwxrwxrwx 1 0 0 20740 Jul 5 2005 readqadc-1_0 /usr> ls -l -rw-r--r-- 1 1000 100 4337 Mar 4 2005 boot_linux.cap -rw-r--r-- 1 1000 100 135796 Jun 29 2005 hello-4.o drwxr-xr-x 2 1000 100 432 Mar 4 2005 led_test_cobra5282-20040324 -r-xr-xr-x 1 1000 100 3028 Mar 4 2005 led_test_cobra5282-20040324.tar.gz -rw-r--r-- 1 1000 100 139752 Aug 28 2005 qadc-1_0.o -rw-r--r-- 1 1000 100 139752 Nov 1 2005 qadc-1_1.o -rwxrwxrwx 1 0 0 20740 Jul 5 2005 readqadc-1_0 /usr> ls -l -rw-r--r-- 1 1000 100 4337 Mar 4 2005 boot_linux.cap -rw-r--r-- 1 1000 100 135796 Jun 29 2005 hello-4.o drwxr-xr-x 2 1000 100 432 Mar 4 2005 led_test_cobra5282-20040324 -r-xr-xr-x 1 1000 100 3028 Mar 4 2005 led_test_cobra5282-20040324.tar.gz -rw-r--r-- 1 1000 100 139752 Aug 28 2005 qadc-1_0.o -rw-r--r-- 1 1000 100 139752 Nov 1 2005 qadc-1_1.o -rwxrwxrwx 1 0 0 20740 Jul 5 2005 readqadc-1_0 -rwxrwxrwx 1 0 0 20816 Nov 1 2005 readqadc-1_1 /usr> insmod qadc-1_1 insmod: /lib/modules/2.4.24-uc0: No such file or directory insmod: qadc-1_1.o: no module by that name found pid 25: failed 256 /usr> insmod qadc.1_1.o insmod: /lib/modules/2.4.24-uc0: No such file or directory insmod: qadc.1_1.o: no module by that name found pid 26: failed 256 /usr> insmod qadc-1_1.o Using qadc-1_1.o QADC Driver 1.0 Device registered using major 124. To talk to the driver, create a dev file with 'mknod /dev/qadc c 124 0'. Try various minor numbers. Try to cat and echo to the device file. Remove the device file and module when done. Copyright © Andreas Birkert Letzte Aktualisierung am 20. Dezember 2013 |