B&B Electronics 3PCIOU1 Spezifikationen Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 57
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 28
Installing Linux Driver Software
Document Number 3PCI-4310m Chapter 5 23
11. Change the current working directory to where the MIport driver source code is
located.
username@computer$ cd MIport-3.0.0 
12. Compile the MIport device driver.
username@computer$ make 
make -C /lib/modules/2.6.32-24-generic/build M=/home/username/MIport-
3.0.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
CC [M] /home/username/MIport-3.0.0/MIport.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/username/MIport-3.0.0/MIport.mod.o
LD [M] /home/username/MIport-3.0.0/MIport.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
13. Determine the present working directory. The output may be different than shown
below.
username@computer$ pwd 
/home/username/MIport-3.0.0
14. Install the MIport device driver. The part after “PWD=” of the command below
should match the output from the command above.
username@computer$ sudo make install PWD=/home/username/MIport-3.0.0
make -C /lib/modules/2.6.32-24-generic/build M=/home/username/MIport-
3.0.0 modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
INSTALL /home/username/MIport-3.0.0/MIport.ko
DEPMOD 2.6.32-24-generic
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
cp ./rc.MIport /etc/rc.MIport
chmod 755 /etc/rc.MIport
15. Start the MIport driver.
username@computer$ sudo /etc/rc.MIport 
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 56 57

Kommentare zu diesen Handbüchern

Keine Kommentare