This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: Unable to detect Lenovo Tablet connection via USB

Part Number: AM3352

Tool/software: Linux

Hi,

I am running 4.1.18 kernel version in AM3352 chip. I want to interface a tablet/smart phone to my device via USB. When I connect my Huawei phone my console shows connection detection and my phone asks which mode to start working in. But when I connect a Lenovo tablet or MotoG phone, it is not getting detected. "dmesg | grep USB" does not show any prints suggesting a connection detection. 

Do I need to enable some feature before building the kernel to detect as many devices as possible over USB?

-Ison Thomas

  • Hi Ison,

    Can you please check the following?
    1) Connect Moto G / Lenovo phone and Huawei phone, run lsusb
    2) run udevadm command for Moto G/LENOVO and Huawei phones
    3) See if there's any need to add Moto/Lenovo's device id details as part of udev rules
    Please observe the difference of working and non working devices.


    thanks,
    prabhuraj
    BlackPeppper Technologies
  • Hi Ison,

    Please compare console logs when connecting Huawei and Lenovo tablet. Then compare Android USB setting of Huawei and Lenovo tablet.
    You should observe a log similar to posted below:

    [ 1552.309834] usb 1-1.1: new high-speed USB device number 6 using xhci-hcd
    [ 1552.455602] usb-storage 1-1.1:1.1: USB Mass Storage device detected
    [ 1552.472253] scsi host1: usb-storage 1-1.1:1.1
    [ 1553.520492] scsi 1:0:0:0: Direct-Access Linux File-Stor Gadget 0318 PQ: 0 ANSI: 2
    [ 1553.535088] sd 1:0:0:0: [sda] Attached SCSI removable disk
    [ 1582.437813] usb 1-1.1: USB disconnect, device number 6
    [ 1582.799832] usb 1-1.1: new high-speed USB device number 7 using xhci-hcd
    [ 1582.951325] usb-storage 1-1.1:1.1: USB Mass Storage device detected
    [ 1582.967980] scsi host1: usb-storage 1-1.1:1.1
    [ 1584.000502] scsi 1:0:0:0: Direct-Access Linux File-Stor Gadget 0318 PQ: 0 ANSI: 2
    [ 1584.015570] sd 1:0:0:0: [sda] Attached SCSI removable disk

    BR
    Tsvetolin Shulev