B&B Electronics 3PCIOU1 Specifikace Strana 26

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 57
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 25
Installing Linux Driver Software
20 Chapter 5 Document Number 3PCI-4310m
username@computer$ dmesg | grep MIport 
[ 271.828182] B&B Electronics PCI MIport serial driver Revision: 4.5
[ 314.159265] MIport 0000:07:05:05.0: PCI INT A -> GSI 26 (level, low)
-> IRQ 26
11. [optional] If recording was started in Step 2, stop recording. The file ~/MIport.script
contains all output recorded from the terminal.
username@computer$ exit
exit
Script done on Tue 31 Aug 2010 03:58:48 AM CDT
12. Test serial communications using gtkterm. Change the serial port under Configration
| Ports and set the port to /dev/ttyM0 (for each serial port, increment the number at the
end of the name; e.g., /dev/ttyM1).
username@computer$ gtkterm &
13. If the driver works correctly, modify /etc/rc.local to automatically load the driver when
the operating system starts.
username@computer$ sudo gedit /etc/rc.local
Add the following code to the file (before the "exit 0" statement):
if [ -f /etc/rc.MIport ] ; then
exec /etc/rc.MIport
fi
An example of the code to add to /etc/rc.local is in the MIport driver folder in the file
rc.local.
14. Restart the computer, and then test serial communications again with gtkterm.
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 56 57

Komentáře k této Příručce

Žádné komentáře