NAS4Free mit einer APC Smartup UPS verbinden

Ich wollte die vorhandene UPS von APC an meinem NAS4Free Server anschließen. Leider war ich lange Zeit recht erfolglos. Ich habe nicht die richtige Konfiguration aus Treiber und Port gefunden.

dmesg | grep usb
ugen0.3: <Prolific Technology Inc.> at usbus0
uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3> on usbus0
ugen0.3: <Prolific Technology Inc.> at usbus0 (disconnected)
ugen0.3: <Prolific Technology Inc.> at usbus0
uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3> on usbus0

Nach diesen Informationen wurde “etwas” am USB Port erkannt.

Erst dieser Beitrag hat mich auf die richtige Fährte gebracht

sysctl -a | grep USB
options	USB_DEBUG
uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3> on usbus0
uplcom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3> on usbus0
dev.ohci.0.%desc: AMD SB7x0/SB8x0/SB9x0 USB controller
dev.ohci.1.%desc: AMD SB7x0/SB8x0/SB9x0 USB controller
dev.ohci.1.%location: slot=19 function=0 handle=\_SB_.PCI0.USB3
dev.ohci.2.%desc: AMD SB7x0/SB8x0/SB9x0 USB controller
dev.ohci.2.%location: slot=22 function=0 handle=\_SB_.PCI0.USB5
dev.ehci.0.%desc: AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller
dev.ehci.1.%desc: AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller
dev.ehci.2.%desc: AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller
dev.ukbd.0.%desc: CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 2
dev.ums.0.%desc: CHESEN PS2 to USB Converter, class 0/0, rev 1.10/0.10, addr 2
dev.uplcom.0.%desc: Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3

und dann ein

 sysctl -a dev.uplcom
dev.uplcom.0.%desc: Prolific Technology Inc. USB-Serial Controller, class 0/0, rev 1.10/3.00, addr 3
dev.uplcom.0.%driver: uplcom
dev.uplcom.0.%location: bus=1 hubaddr=2 port=0 devaddr=3 interface=0
dev.uplcom.0.%pnpinfo: vendor=0x067b product=0x2303 devclass=0x00 devsubclass=0x00 sernum="" release=0x0300 mode=host intclass=0xff intsubclass=0x00 intprotocol=0x00  **ttyname=U0** ttyports=1
dev.uplcom.0.%parent: uhub0
dev.uplcom.0.ttyname: U0
dev.uplcom.0.ttyports: 1

ttyU0 scheint das Zauberwort zu sein.

alternat-txt

alternat-txt