Re: Moxa 8-port serial multiplexor, how-to
On 7/29/09, Doug Poland d...@polands.org wrote: On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Many thanks for your help. -- Regards, Doug Trying to help a buddy who also has a Moxa multiport serial card. He followed this thread and isn't seeing the same success Doug, can I get the following in a pastebin or in this thread? pciconf -lvvv thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Moxa 8-port serial multiplexor, how-to
On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: On 7/29/09, Doug Poland d...@polands.org wrote: On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. Watanabe, I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Trying to help a buddy who also has a Moxa multiport serial card. He followed this thread and isn't seeing the same success Doug, can I get the following in a pastebin or in this thread? pciconf -lvvv Certainly... hos...@pci0:0:0:0: class=0x06 card=0x01511028 chip=0x25708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' class = bridge subclass = HOST-PCI vgap...@pci0:0:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA uh...@pci0:0:29:0: class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:1: class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:2: class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:3: class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB eh...@pci0:0:29:7: class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pc...@pci0:0:30:0: class=0x060400 card=0x chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI is...@pci0:0:31:0: class=0x060100 card=0x chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atap...@pci0:0:31:1:class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' class = mass storage subclass = ATA atap...@pci0:0:31:2:class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA no...@pci0:0:31:3: class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' class = serial bus subclass = SMBus no...@pci0:0:31:5: class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '815B104D
Re: Moxa 8-port serial multiplexor, how-to
On 8/5/09, Doug Poland d...@polands.org wrote: On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: On 7/29/09, Doug Poland d...@polands.org wrote: On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. Watanabe, I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Trying to help a buddy who also has a Moxa multiport serial card. He followed this thread and isn't seeing the same success Doug, can I get the following in a pastebin or in this thread? pciconf -lvvv Certainly... hos...@pci0:0:0:0:class=0x06 card=0x01511028 chip=0x25708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' class = bridge subclass = HOST-PCI vgap...@pci0:0:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA uh...@pci0:0:29:0:class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:1:class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:2:class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:3:class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB eh...@pci0:0:29:7:class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pc...@pci0:0:30:0:class=0x060400 card=0x chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI is...@pci0:0:31:0:class=0x060100 card=0x chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atap...@pci0:0:31:1: class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' class = mass storage subclass = ATA atap...@pci0:0:31:2: class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA no...@pci0:0:31:3:class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) SMBus Controller' class = serial bus subclass = SMBus no...@pci0:0:31:5:class=0x040100 card=0x01511028 chip=0x24d58086 rev=0x02
Re: Moxa 8-port serial multiplexor, how-to
On Wed, Aug 05, 2009 at 06:34:45PM -0600, Tim Judd wrote: On 8/5/09, Doug Poland d...@polands.org wrote: On Wed, Aug 05, 2009 at 05:54:30PM -0600, Tim Judd wrote: On 7/29/09, Doug Poland d...@polands.org wrote: On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. Watanabe, I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Trying to help a buddy who also has a Moxa multiport serial card. He followed this thread and isn't seeing the same success Doug, can I get the following in a pastebin or in this thread? pciconf -lvvv Certainly... hos...@pci0:0:0:0: class=0x06 card=0x01511028 chip=0x25708086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G/PE/P, 82848P DRAM Controller / Host-Hub Interface' class = bridge subclass = HOST-PCI vgap...@pci0:0:2:0: class=0x03 card=0x01511028 chip=0x25728086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82865G Integrated Graphics Device' class = display subclass = VGA uh...@pci0:0:29:0: class=0x0c0300 card=0x01511028 chip=0x24d28086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:1: class=0x0c0300 card=0x01511028 chip=0x24d48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:2: class=0x0c0300 card=0x01511028 chip=0x24d78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB uh...@pci0:0:29:3: class=0x0c0300 card=0x01511028 chip=0x24de8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB UHCI Controller' class = serial bus subclass = USB eh...@pci0:0:29:7: class=0x0c0320 card=0x01511028 chip=0x24dd8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) USB 2.0 EHCI Controller' class = serial bus subclass = USB pc...@pci0:0:30:0: class=0x060400 card=0x chip=0x244e8086 rev=0xc2 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI is...@pci0:0:31:0: class=0x060100 card=0x chip=0x24d08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) LPC Interface Bridge' class = bridge subclass = PCI-ISA atap...@pci0:0:31:1:class=0x01018a card=0x01511028 chip=0x24db8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB/ER (ICH5/ICH5R) EIDE Controller' class = mass storage subclass = ATA atap...@pci0:0:31:2:class=0x01018f card=0x01511028 chip=0x24d18086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801EB (ICH5) SATA Controller' class = mass storage subclass = ATA no...@pci0:0:31:3: class=0x0c0500 card=0x01511028 chip=0x24d38086 rev=0x02
Re: Moxa 8-port serial multiplexor, how-to
Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. -- Regards, Doug --- WATANABE Kazuhiro (cqg00...@nifty.ne.jp) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Moxa 8-port serial multiplexor, how-to
On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: At Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland wrote: Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. Hi. If you want to load the puc(4) driver as a loadable module, you should load the sio(4) or uart(4) driver module as well. But these drivers are included in the GENERIC kernel. So you should to remove sio(4) or uart(4) from the kernel and load it as a loadable module. The other solution is to builtin the puc(4) driver to the kernel. i.e.: sio(4) puc(4) status or uart(4) module module work builtin builtin work builtin module not work - current choice? module builtin not work (module = loadable module, builtin = kernel builtin) Other modifications will not be needed for PCI multiport cards. I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Many thanks for your help. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Moxa 8-port serial multiplexor, how-to
On Sat, July 25, 2009 01:46, Polytropon wrote: On Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland d...@polands.org wrote: After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. The file is /boot/device.hints. For each serial port, the following dataset has to be completed: hint.sio.N.at=isa hint.sio.N.port=0x3F8 ---+ hint.sio.N.flags=0x10 ---+--- set up hint.sio.N.irq=4---+ Still, I don't know how to determine the correct addresses and IRQs, maybe the documentation belonging to the expansion card can help... Yeah, their product manual(PDF) doesn't help with this type of information. I'll email them and see if they can give me these data. If I see this correctly, each serial port should then be visible as a /dev/cuadN device file. Thanks for your help. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Moxa 8-port serial multiplexor, how-to
On Fri, 24 Jul 2009 10:32:52 -0500, Doug Poland d...@polands.org wrote: After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. The file is /boot/device.hints. For each serial port, the following dataset has to be completed: hint.sio.N.at=isa hint.sio.N.port=0x3F8 ---+ hint.sio.N.flags=0x10 ---+--- set up hint.sio.N.irq=4---+ Still, I don't know how to determine the correct addresses and IRQs, maybe the documentation belonging to the expansion card can help... If I see this correctly, each serial port should then be visible as a /dev/cuadN device file. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Moxa 8-port serial multiplexor, how-to
Hello, I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card working in 7.2-RELEASE(i386). I've recompiled a GENERIC kernel with options COM_MULTIPORT and loaded the puc(4) module. I don't have any new ttyd? or cuad? devices in /dev. After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) talks about adding /boot/device.hints but not for my particular hardware. I'm at a loss on how to continue. Suggestions, pointers, URLs welcome. -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org