Re: Help PLEASE! on proper kernel config file to use serial ports with puc driver

From: stan (stanb_at_panix.com)
Date: 07/31/03

  • Next message: Matthew Seaman: "Re: Apache/1.3.28 will not bind to other port"
    Date: Thu, 31 Jul 2003 12:25:42 -0400
    To: "J. Seth Henry" <jshamlet@comcast.net>
    
    

    On Thu, Jul 31, 2003 at 10:34:14AM -0400, J. Seth Henry wrote:
    > All you need in your kernel config is 'device puc'. You already appear
    > to have this in your config, as your system detected the adapter.
    >
    > You will have to "sh MAKEDEV cuaa<n>" (where 0 < n < NUM_PORTS) to get
    > the device nodes in your /dev directory.
    >

    Thanbks so much for the help on this!

    I have now made the devise:

    crw-rw---- 1 uucp dialer 28, 128 Jul 21 10:50 cuaa0
    crw-rw---- 1 uucp dialer 28, 129 Jul 29 10:59 cuaa1
    crw-rw---- 1 uucp dialer 28, 130 Jul 17 06:22 cuaa2
    crw-rw---- 1 uucp dialer 28, 131 Jul 17 06:22 cuaa3
    crw-rw---- 1 uucp dialer 28, 132 Jul 31 12:17 cuaa4
    crw-rw---- 1 uucp dialer 28, 133 Jul 31 12:17 cuaa5
    crw-rw---- 1 uucp dialer 28, 134 Jul 31 12:17 cuaa6
    crw-rw---- 1 uucp dialer 28, 135 Jul 31 12:17 cuaa7
    crw-rw---- 1 uucp dialer 28, 136 Jul 31 12:16 cuaa8
    crw-rw---- 1 uucp dialer 28, 160 Jul 17 06:22 cuaia0
    crw-rw---- 1 uucp dialer 28, 161 Jul 17 06:22 cuaia1
    crw-rw---- 1 uucp dialer 28, 162 Jul 17 06:22 cuaia2
    crw-rw---- 1 uucp dialer 28, 163 Jul 17 06:22 cuaia3
    crw-rw---- 1 uucp dialer 28, 164 Jul 31 12:17 cuaia4
    crw-rw---- 1 uucp dialer 28, 165 Jul 31 12:17 cuaia5
    crw-rw---- 1 uucp dialer 28, 166 Jul 31 12:17 cuaia6
    crw-rw---- 1 uucp dialer 28, 167 Jul 31 12:17 cuaia7
    crw-rw---- 1 uucp dialer 28, 168 Jul 31 12:16 cuaia8
    crw-rw---- 1 uucp dialer 28, 192 Jul 17 06:22 cuala0
    crw-rw---- 1 uucp dialer 28, 193 Jul 17 06:22 cuala1
    crw-rw---- 1 uucp dialer 28, 194 Jul 17 06:22 cuala2
    crw-rw---- 1 uucp dialer 28, 195 Jul 17 06:22 cuala3
    crw-rw---- 1 uucp dialer 28, 196 Jul 31 12:17 cuala4
    crw-rw---- 1 uucp dialer 28, 197 Jul 31 12:17 cuala5
    crw-rw---- 1 uucp dialer 28, 198 Jul 31 12:17 cuala6
    crw-rw---- 1 uucp dialer 28, 199 Jul 31 12:17 cuala7
    crw-rw---- 1 uucp dialer 28, 200 Jul 31 12:16 cuala8

    And here is what I have in my kernel conf file:

    device puc
    options COM_MULTIPORT

    # Serial (COM) ports
    device sio0 at isa? port IO_COM1 flags 0x10 irq 4
    device sio1 at isa? port IO_COM2 irq 3
    device sio2 at isa? disable port IO_COM3 irq 11
    device sio3 at isa? disable port IO_COM4 irq 11
    device sio4 at isa? disable port IO_COM3 irq 11
    device sio5 at isa? disable port IO_COM4 irq 11

    Which is probably wrong. I must have tried 20 deifferent things since
    yesterday afternoon :-(

    And here is the output of dmesg:

    puc0: <Dolphin Peripherals 4036> port 0xfce0-0xfcff irq 11 at device 6.0 on pci0
    sio6: type 16550A
    sio7: type 16550A
    fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xfcc0-0xfcdf mem
    0xfec00000-0xfecfffff,0xfedfb000-0xfedfbfff irq 10 at device 10.0 on pci0
    fxp0: Ethernet address 00:a0:c9:71:41:b7
    inphy0: <i82555 10/100 media interface> on miibus0
    inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    pci0: <Matrox MGA Millennium II 2164W graphics accelerator> at 12.0 irq 9
    orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
    fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
    fdc0: FIFO enabled, 8 bytes threshold
    fd0: <1440-KB 3.5" drive> on fdc0 drive 0
    atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
    atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
    psm0: <PS/2 Mouse> irq 12 on atkbdc0
    psm0: model IntelliMouse Explorer, device ID 4
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sio0: configured irq 4 not in bitmap of probed irqs 0
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 8250
    sio1: configured irq 3 not in bitmap of probed irqs 0
    ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0

    So, it looks to me like something is still not right.

    Am I understnading you to say that I don't need any (nonstandard) sio
    entries in my kernel config file? If that's the case, I must have a basic
    misunderstanding (which is certainly possible). I thought the puc driver
    was a "bridge" driver that allowed the sio driver(s) to be connected to
    serial ports on PCI based cards. Is this incorect?

    Again, thnaks VERY much for helping me with this!

    -- 
    "They that would give up essential liberty for temporary safety deserve
    neither liberty nor safety."
    						-- Benjamin Franklin
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Matthew Seaman: "Re: Apache/1.3.28 will not bind to other port"

    Relevant Pages