From: Ken P. <par...@ms...> - 2003-03-04 06:30:59
|
> > Ok, try "ifconfig irda0". [root@localhost root]# ifconfig irda0 irda0 Link encap:IrLAP HWaddr 63:13:32:33 UP RUNNING NOARP MTU:2048 Metric:1 RX packets:30 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:8 RX bytes:534 (534.0 b) TX bytes:30 (30.0 b) > > You need to : > o make sure the serial driver is not loaded (or not using this port) Serial driver is not a module, it is builtin > o specify the io address and irq line options [root@localhost root]# setserial /dev/ttyS0 /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 > Check /proc/interrupt and /proc/ioports for details... [root@localhost root]# cat /proc/ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0220-022f : soundblaster 02f8-02ff : serial(auto) 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 4000-40ff : PCI CardBus #01 4400-44ff : PCI CardBus #01 4800-48ff : PCI CardBus #05 4c00-4cff : PCI CardBus #05 f4c8-f4cf : Lucent Microelectronics 56k WinModem f4d0-f4df : Intel Corp. 82371AB PIIX4 IDE f4d0-f4d7 : ide0 f4d8-f4df : ide1 f4e0-f4ff : Intel Corp. 82371AB PIIX4 USB f4e0-f4ff : usb-uhci f800-f8ff : Lucent Microelectronics 56k WinModem f800-f8ff : ltserial ff00-ff3f : Intel Corp. 82371AB PIIX4 ACPI ff80-ff9f : Intel Corp. 82371AB PIIX4 ACPI [root@localhost root]# cat /proc/interrupts CPU0 0: 50540 XT-PIC timer 1: 1634 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 137 XT-PIC serial 5: 1 XT-PIC soundblaster 8: 1 XT-PIC rtc 9: 143646 XT-PIC usb-uhci, Texas Instruments PCI1131, Texas Instruments PCI1131 (#2), ltserial 12: 7570 XT-PIC PS/2 Mouse 14: 2679 XT-PIC ide0 15: 3 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 |