I have a USB modem when I connect to a BPI directly the board dont detect it, I have no error message either any message at all that some device was conected. In the same board, if I conect a USB HUB, and connect the exact same modem the BPI detect it correctly.
The same modem works fine connected directly to a Rpi board.
Maybe I need to enable ehci manually to detect the modem?
This is the dmesg when I connect the hub
[ 95.968167] [ehci0-controller]: sunxi_usb_enable_ehci
[ 95.968218] [sunxi-ehci0]: probe, pdev->name: 1c1a000.ehci0-controller, sunxi_ehci: 0xc11f5a60, 0x:f1c1a000, irq_no:84
[ 95.968351] sunxi-ehci 1c1a000.ehci0-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 95.968464] sunxi-ehci 1c1a000.ehci0-controller: new USB bus registered, assigned bus number 1
[ 95.969951] sunxi-ehci 1c1a000.ehci0-controller: irq 132, io mem 0x00000000
[ 95.987926] sunxi-ehci 1c1a000.ehci0-controller: USB 0.0 started, EHCI 1.00
[ 95.988046] sunxi-ehci 1c1a000.ehci0-controller: ehci_irq: highspeed device connect
[ 95.991472] hub 1-0:1.0: USB hub found
[ 95.991643] hub 1-0:1.0: 1 port detected
[ 95.993558] [ohci0-controller]: sunxi_usb_enable_ohci
[ 95.993597] [sunxi-ohci0]: probe, pdev->name: 1c1a000.ohci0-controller, sunxi_ohci: 0xc11f53d0
[ 95.993708] sunxi-ohci 1c1a000.ohci0-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 95.993793] sunxi-ohci 1c1a000.ohci0-controller: new USB bus registered, assigned bus number 2
[ 95.993920] sunxi-ohci 1c1a000.ohci0-controller: irq 133, io mem 0x00000199
[ 96.064891] hub 2-0:1.0: USB hub found
[ 96.065025] hub 2-0:1.0: 1 port detected
[ 96.307394] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[ 96.458838] hub 1-1:1.0: USB hub found
[ 96.459009] hub 1-1:1.0: 4 ports detected
This is the dmesg when I connect the modem
[ 197.255333] usb 1-1.1: new high-speed USB device number 3 using sunxi-ehci
[ 197.589540] usbcore: registered new interface driver cdc_wdm
[ 197.662477] qmi_wwan 1-1.1:1.4: cdc-wdm0: USB WDM device
[ 197.666303] qmi_wwan 1-1.1:1.4 wwan0: register 'qmi_wwan' at usb-sunxi-ehci-1.1, WWAN/QMI device, d2:e6:bf:a8:ad:44
[ 197.666561] usbcore: registered new interface driver qmi_wwan
[ 197.675874] usbcore: registered new interface driver option
[ 197.676001] usbserial: USB Serial support registered for GSM modem (1-port)
[ 197.676403] option 1-1.1:1.0: GSM modem (1-port) converter detected
[ 197.681431] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 197.681878] option 1-1.1:1.1: GSM modem (1-port) converter detected
[ 197.682704] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 197.683169] option 1-1.1:1.2: GSM modem (1-port) converter detected
[ 197.683937] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 197.684265] option 1-1.1:1.3: GSM modem (1-port) converter detected
[ 197.684904] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3