LCDProc Matrix Orbital and USB Port assignments - Under ESXI 6.5



  • Hi All,

    I'm having a bit of an issue with the above setup.
    I've managed to get the MO display usb port added to pfSense, however it's being assign ugen0.4.
    This ugen isn't listed in LCDProc's config, so I can't get the display to work.

    Could anyone advise how I either;
    1. Change the assigned ugen at the command line to one that LCDProc can use or
    2. Change the options in LCDProc to select the assigned ugen.

    Many Thanks!

    Jon



  • In my case, the port that was reported to be assigned was incorrect. I suggest you try ALL available option. In my case /dev/cuaU0 worked.



  • Hi,

    Thanks for the response, tried all the port options on the list, no dice.  :(



  • Further testing and editing the LCDd.conf file so that the Device is now;
    Device=/dev/ugen0.4

    This produces an error in the event log;
    (MtxOrb: failed to configure port (Inappropriate ioctl for device)

    I think I have the formatting incorrect, can anyone advise on how this should be constructed?

    Thanks!

    [server]
    DriverPath=/usr/local/lib/lcdproc/
    Driver=MtxOrb
    Bind=127.0.0.1
    Port=13666
    ReportLevel=3
    ReportToSyslog=yes
    User=nobody
    Foreground=no
    ServerScreen=no
    GoodBye="Thanks for using"
    GoodBye="    pfSense     "
    WaitTime=5
    ToggleRotateKey=Enter
    PrevScreenKey=Left
    NextScreenKey=Right
    ScrollUpKey=Up
    ScrollDownKey=Down
    [menu]
    MenuKey=Escape
    EnterKey=Enter
    UpKey=Up
    DownKey=Down
    [MtxOrb]
    Device=/dev/ugen0.4
    Size=16x2
    Type=lcd
    hasAdjustableBacklight=yes
    Reboot=no
    Contrast=480
    Brightness=1000
    OffBrightness=0
    

    Edit: Ok, it's constructed ok, so now I'm really stumped.  ???



  • The MatrixOrbital compatible displays let you print directly to the LCD. This way you can separate issues with the display from those with LCDproc. Use the following command for testing and cycle through possible device names until "Hello World" appears on your LCD:

    
    printf "%b" 'Hello World' > /dev/cuaU0
    
    


  • @revengineer:

    The MatrixOrbital compatible displays let you print directly to the LCD. This way you can separate issues with the display from those with LCDproc. Use the following command for testing and cycle through possible device names until "Hello World" appears on your LCD:

    
    printf "%b" 'Hello World' > /dev/cuaU0
    
    

    Thought I might have a dodgy LCD as none of the devices produced an output on it.
    Oddly though the LCD seems to work under Windows, which suggests the issue is elsewhere.

    Maybe it's ESXI, I'll try passing the whole USB controller through to pfSense.



  • That made no difference which suggests it's not an ESXi issue.
    Is there a driver needed for this to work?
    :'(

    Edit: Got a bit further.
    After a reinstall of pfSense and restore of settings from backup, I can now get the LCDProc service started on CUA0!

    However the display is stuck with the Matrix Orbital banner.

    Checking the Log shows the below issues;

    Jul 3 22:55:17 	LCDd 		LCDd version 0.5.7 starting
    Jul 3 22:55:17 	LCDd 		Using Configuration File: /usr/local/etc/LCDd.conf
    Jul 3 22:55:17 	LCDd 		Listening for queries on 127.0.0.1:13666
    Jul 3 22:55:17 	LCDd 		MtxOrb: unable to read device type
    Jul 3 22:55:17 	LCDd 		MtxOrb: unable to read device firmware revision
    Jul 3 22:55:17 	LCDd 		MtxOrb: unable to read device serial number
    Jul 3 22:55:17 	php 		lcdproc: Start client procedure. Error counter: (0) 
    

    Any ideas?

    Cheers

    Jon