Help with USB

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #8545
      Dan GeorgeDanG
      Participant

      The USB devices do not appear in /sys/bus (no /sys/bus/usb/…). I am using the device tree files included in linux kernel v4.19.50.

      My goal is to use USB host and hub to get more serial ports.

      The stock debian file system, with 4.9.45-ti-r57, works and does just what I need. Unfortunately, I’ve been unable to determine the important difference in my configuration.

      The kernel config is attached, along with the buildroot config and dts[i] files. They look okay but there must be an error, or maybe I’m missing some other step.

      Perhaps you can provide some hints on how I can find my problem.

      Thank you

    • #8547
      Neeraj Dantu
      Moderator

      DanG,

      First, please make sure that the schematic circuit for USB is correct. Examples for USB host and client can be found in the reference design: https://octavosystems.com/docs/osd3358-sm-red-schematics-pdf/ . Design files(EAGLE) are also available on https://octavosystems.com/octavo_products/osd3358-sm-red/ .

      From the files that you attached, looks like there USB storage(for host mode) has not been enabled in kernel config: “# CONFIG_USB_STORAGE is not set”.  The default device tree for 4.19 should work as it includes structures for USB. Please change the kernel config to enable mass storage and see if that works.

      For additional info on USB kernel configuration, please see:

      1. http://processors.wiki.ti.com/index.php/AM335x_USB_Driver%27s_Guide

      2. http://processors.wiki.ti.com/index.php/UsbgeneralpageLinux-v3p1

      Hope that helps.

      Best,

      Neeraj

Viewing 1 reply thread
  • You must be logged in to reply to this topic.