19
# ./MAKEDEV ttySx
Where x is the COM port. This will create the appropriate files.
Note: There is no MAKEDEV in OpenLinux. The commands will be as follows
(as root):
# mknod /dev/ttyS4 c 4 68
# mknod /dev/cua4 c 5 68
Note: Versions of Linux with the 2.2x kernel or newer versions of Linux, the /
dev/cua4 device is obsolete.
Step 2 Many programs use the /dev/modem symbolic link to refer to the modem.
To create this link, type:
# ln -s /dev/ttyS4 /dev/modem
Typing
# chmod 666 /dev/ttySx
# chmod 666 /dev/modem
(where x is the COM port) will let all users access the modem.
Step 3 Determine the port and IRQ assigned to the device by typing:
# cat /proc/pci
The following is an example of a possible outcome:
5. Non-prefetchable 32 bit memory at 0x00000000.
Bus 0, device 17, function 0:
Communication controller: Unknown vendor Unknown de-
vice (rev 0).
Vendor id=11c1. Device id=480
Medium devsel. Fast back-to-back capable. IRQ 11.
Master Capable
No Bursts
Min Gnt=252.Max Lat=14
Non-prefetchable 32 bit memory at 0xe4000000.
I/O at 0x6400.
I/O at 0x6800.
I/O at 0x6c00.