NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Using serial mouse on cRIO-9030 embedded UI with FTDI/USB interface

Hello,

does anyone know how to configure the cRIO-9030 in the XFCE desktop environment to use a clasical serial mouse with FTDI/USB interface to command the device pointer instead of an USB mouse.

The FTDI/USB interface is recognize by Linux RT as ttyUSB0 in /dev directory.

this is the result of dmesg Linux command :

dmesg cmde.jpg

I can create an xOrg.conf file with serial mouse config in, but the choice of mouse type isn't display in "Mouse and Touchplay".

this is my xOrg.conf :

Section "ServerLayout"

    Identifier     "X.org Configured"

    Screen      0  "Screen0" 0 0

    InputDevice    "Mouse0" "CorePointer"

    InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"

    ModulePath   "/usr/lib/xorg/modules"

    FontPath     "/usr/share/fonts/X11/misc/"

    FontPath     "/usr/share/fonts/X11/TTF/"

    FontPath     "/usr/share/fonts/X11/OTF/"

    FontPath     "/usr/share/fonts/X11/Type1/"

    FontPath     "/usr/share/fonts/X11/100dpi/"

    FontPath     "/usr/share/fonts/X11/75dpi/"

EndSection

Section "Module"

    Load  "glx"

EndSection

Section "InputDevice"

    Identifier  "Keyboard0"

    Driver      "kbd"

EndSection

Section "InputDevice"

    Identifier  "Mouse0"

    Driver      "mouse"

    Option        "Protocol" "auto"

    Option        "Device" "/dev/input/mice"

    Option        "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"

    Identifier   "Monitor0"

    VendorName   "Monitor Vendor"

    ModelName    "Monitor Model"

EndSection

Section "Device"

        ### Available Driver options are:-

        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",

        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",

        ### <percent>: "<f>%"

        ### [arg]: arg optional

        #Option     "SWcursor"               # [<bool>]

        #Option     "kmsdev"                 # <str>

        #Option     "ShadowFB"               # [<bool>]

    Identifier  "Card0"

    Driver      "modesetting"

    BusID       "PCI:0:2:0"

EndSection

Section "Screen"

    Identifier "Screen0"

    Device     "Card0"

    Monitor    "Monitor0"

    SubSection "Display"

        Viewport   0 0

        Depth     1

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     4

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     8

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     15

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     16

    EndSubSection

    SubSection "Display"

        Viewport   0 0

        Depth     24

    EndSubSection

EndSection

The "Mouse and Touchpad" pointing device choice : (only "Generic USB K/B"  choice is displayed, but not "serial mouse"   )

Mouse and Touchpad.jpg

Thanks.

0 Kudos
Message 1 of 2
(3,418 Views)
  1. I think you forgot to attach your Xorg.conf
  2. You can install a helpful screenshot program (note that this will be undone when you format/reinstall). From the console:
    • opkg update
    • opkg install xfce4-screenshooter
0 Kudos
Message 2 of 2
(3,061 Views)