element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General CP210X driver install on RHEL?
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 346 subscribers
  • Views 602 views
  • Users 0 members are here
  • ZedBoard General Questions
  • zedboardcmty
Related

CP210X driver install on RHEL?

willmarchant
willmarchant over 4 years ago

The UltraZed-EG starter guide at UltraZed-EG Starter Kit | Zedboard  has a setting up the host PC section that points to www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx to get drivers.  That page no longer exists.

 

I did find the https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers  page and tried that.

 

The RedHat install instructions at https://www.silabs.com/documents/public/release-notes/Linux_CP210x_VCP_3.x.x_4.x.x_Release_Notes.txt  had some issues:

The first step of "yum update kernel*" said nothing needed doing.  The "yum install kernel-devel kernel-headers" step threw a "network is unreachable" error and then said that nothing needed doing.

 

The reboot, make, and copy worked.

 

But the insmod step 6a failed because usbserial.ko was missing.

 

And then step 6 "insmod cp210x.ko" failed saying that the module was already installed.

 

Here's the output from lsusb:

 

mymachine% lsusb

Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 002 Device 005: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]

Bus 002 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120

Bus 002 Device 003: ID 0b95:6804 ASIX Electronics Corp.

Bus 002 Device 002: ID 10c4:ea70 Silicon Labs CP2105 Dual UART Bridge

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

spherex-1% lsusb -d 10c4:ea70

Bus 002 Device 002: ID 10c4:ea70 Silicon Labs CP2105 Dual UART Bridge

spherex-1% lsusb -d 10c4:ea70 -v

 

Bus 002 Device 002: ID 10c4:ea70 Silicon Labs CP2105 Dual UART Bridge

Couldn't open device, some information will be missing

Device Descriptor:

  bLength                18

  bDescriptorType         1

  bcdUSB               2.00

  bDeviceClass            0 (Defined at Interface level)

  bDeviceSubClass         0

  bDeviceProtocol         0

  bMaxPacketSize0        64

  idVendor           0x10c4 Silicon Labs

  idProduct          0xea70 CP2105 Dual UART Bridge

  bcdDevice            1.00

  iManufacturer           1

  iProduct                2

  iSerial                 5

  bNumConfigurations      1

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength           55

    bNumInterfaces          2

    bConfigurationValue     1

    iConfiguration          0

    bmAttributes         0x80

      (Bus Powered)

    MaxPower              100mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           2

      bInterfaceClass       255 Vendor Specific Class

      bInterfaceSubClass      0

      bInterfaceProtocol      0

      iInterface              3

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0040  1x 64 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x01  EP 1 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0040  1x 64 bytes

        bInterval               0

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        1

      bAlternateSetting       0

      bNumEndpoints           2

      bInterfaceClass       255 Vendor Specific Class

      bInterfaceSubClass      0

      bInterfaceProtocol      0

      iInterface              4

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x82  EP 2 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0020  1x 32 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x02  EP 2 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0020  1x 32 bytes

        bInterval               0

mymachine%

 

And I can connect to the serial ports with tio but I don't see anything when the UltraZed-EG Starter Kit boots.  I sent a video of the board lights to a colleague who says the lights look OK and they think the board is booting.  So I'm guessing the serial drivers are messed up.

 

Any suggestions?  My next step will be to try an Ubuntu or Windows box...

  • Sign in to reply
  • Cancel
Parents
  • drozwood90
    0 drozwood90 over 4 years ago

    Hi there,

     

    Sorry you are having troubles like this.  Those instructions were really for Windows.  I am not sure what RedHat includes - driver-wise, but I can 100% confirm with NO additional driver, under Ubuntu 16+18 (both I use with developing on this board) the serial port just works.  I've never installed a driver specific to the serial port and they show up as ttyUSBx without fail.  The only issues I have run into is using my laptop dock.  That can be flaky sometimes.

     

    Note that I do install the JTAG drivers, but that should not effect your setup to the serial port.

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • drozwood90
    0 drozwood90 over 4 years ago

    Hi there,

     

    Sorry you are having troubles like this.  Those instructions were really for Windows.  I am not sure what RedHat includes - driver-wise, but I can 100% confirm with NO additional driver, under Ubuntu 16+18 (both I use with developing on this board) the serial port just works.  I've never installed a driver specific to the serial port and they show up as ttyUSBx without fail.  The only issues I have run into is using my laptop dock.  That can be flaky sometimes.

     

    Note that I do install the JTAG drivers, but that should not effect your setup to the serial port.

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube