1. hishnik

    USB OTG template. Is it possible to use it with just one port?

    Hello. I've read this article and found it usable. I want to make one port of my home router to be a serial one, but didn't found how to make it with just one usb port? Some ports are seized by HDD's already. Can somebody tell me the truth? Thank You.
  2. hishnik

    Dual console configuration, both primary?

    Hello. I can't figure out how-to configure consoles to be equal. If I write this (to /boot/loader.conf): # Serial console boot boot_multicons="YES" boot_serial="YES" comconsole_speed="115200" console="comconsole,vidconsole" , then I got this (in dmesg): Dual Console: Serial Primary, Video...
  3. J

    cu and auto carriage return

    I have an embedded device which provides some debug output over good old serial. I use cu to look at the serial output on my FreeBSD host. The problem I'm experiencing is that the embedded device only sends newline \n which makes the content shown in cu appear shifting to the right due to the...
  4. aragats

    Solved How to pass a real serial port to bhyve guest?

    Using -l com1,/dev/cuau0 parameter with bhyve doesn't seem to work. I'm testing this with MS Windows 10 + PuTTY and getting garbage. Thanks for directions!
  5. Sergei_Shablovsky

    How to see which NIC is installed in which PCI slot by script ?

    Hi, FreeBSD guru! Is it possible at all to see which NIC is installed in which PCI slot by script ? As I know this may be something near the dmidecode and pciconf commands. But interesting to determine which exactly motherboard PCI slot are used for which NIC. I know that different...
  6. aragats

    Solved Default serial console to login?

    How to change the default serial console? I couldn't find any reference. In my case (BeagleBone Black) the boot messages and login prompt go to /dev/ttyu0. With the peripherals I use that port is not accessible, and I'd like to use /dev/ttyu1 instead. I don't care much about boot messages, but I...
  7. S

    COM Port Cable Confusion

    I have been successfully connecting FreeBSD machines to Windows machines through the serial port and with the help of what I call "a serial COM port cable" and a USB-COMPORT adapter. I use putty since it is the simplest. On the FreeBSD machine, I have these lines present in the /boot/loader.conf...
  8. B

    PCIe 6 port serial card

    Hello, everyone! I have STLab I-472 PCIe 6 port serial card with Moschip MCS9900 and Moschip MCS9922 chips on it, and I'm trying to get it working with FreeBSD 10.3 (amd64, generic kernel). According to what I see in the sources of uart driver both chips are supported by the driver: static...
  9. M

    USB CDC Virtual COM Port Device

    Greetings all, First up, i'm super new to FreeBSD, so please go easy on me. (i'm rather familiar with Linux though) I have a STM32 microcontroller based USB device that presents itself as a CDC VCP device. I'm using ST's USB CDC device library. On attaching the device i see in the kernel log...
  10. F

    Solved PXE boot mfsBSD onto Dell PowerEdge 1955

    Evening all, I'm attempting to PXE boot mfsBSD onto an old Dell PowerEdge 1955 blade. I've got as far as loading the image, but I get stuck here: MEMDISK 6.03 2014-10-06 Copyright 2001-2014 H. Peter Anvin et al e820: 0000000000000000 00000000000a0000 1 e820: 0000000000100000...
  11. M

    Solved Serial Console between FreeBSD server and RPi

    Dear all, I'd like to ask you for a little help here. I'm running FreeBSD 10.2 on a headless homeserver (ASRock Q1900-ITX MB with Intel J1900 CPU). I'm trying to build a Remote Access Card using a Raspberry Pi, which should act as a terminal server enabling me to connect to the homeserver...
  12. B

    Solved Hard Drive Serial Number

    How can I grab the hard drive serial number in C on a machine running FreeBSD? The hard drive in question is an mSATA SSD. Specifically the TS256GMSA370. In my searching I found the following on this forum: 9548 I receive the error 'Inappropriate ioctl for device' when running the following...
  13. P

    Solved Cannot see virtual serial port in Workstation VM

    Hello I am trying to add a virtual serial port (as a named pipe) on two FreeBSD 10 VMs in workstation. One end, I am keeping it as the server (the one VM which will actually be having the virtual serial port) and the other VM will connect to the other end. MY host is Windows 8.1. However when...
  14. D

    Forcing CR+LF in cu (Call Unix)

    I'm trying to use cu to communicate with a device that requires each line to terminate with CR+LF (i.e.. 0x0d, 0x0a). The device is a serial device connected to a USB port. Is there a way to force cu to do this, or perhaps a better utility to use instead? I need to interact with the device...