Micro USB OTG and keyboard case

Discussion in 'UDOO NEO' started by Swity910, Jan 18, 2016.

  1. Swity910

    Swity910 New Member

    Joined:
    Dec 5, 2015
    Messages:
    9
    Likes Received:
    1
    Last edited: Jan 18, 2016
  2. GeekChannel

    GeekChannel New Member

    Joined:
    Nov 21, 2013
    Messages:
    13
    Likes Received:
    4
    Hey, swity, great question, I had a test planned for something very similar, so I gave it a quick try.

    I am using a very similar version for the 10" . It had a micro-USB male header on the keyboard. I plugged it into the Neo otg port and it did not work by simply connecting directly to the MicroUSB OTG port of the Neo.

    I did use the MicroUSB to MiniUSB included connector. Then I added a MicroUSB to USB A fullsize connector. Then I plugged it into the USB normal Neo port and it did work just fine. See the cobbled up photo attachment.

    This leads me to believe that the version I have is not an OTG, OR the OTG port for the Neo needs some assistance via software.
    Or as always assumed, I am doing/forgetting something silly. {always a possibility}

    I am using the latest public release software dated 12-23-2015 on the Neo.

    At the moment my neo is buried in a test jig I built [see photo] . therefore it's not so easy to show the physical setup.

    I don't have my other Neo on the latest code to show a clearer picture of only this issue.

    From /var/log/syslog I see this shortly after plugging in the keyboard to the OTG usb port of the neo.
    --- plug in keyboard physically----
    Jan 19 02:37:21 localhost kernel: [710478.609870] ci_hdrc ci_hdrc.0: timeout waiting for 00000800 in 12
    Jan 19 02:37:21 localhost kernel: [710478.616111] ci_hdrc ci_hdrc.0: EHCI Host Controller
    Jan 19 02:37:21 localhost kernel: [710478.616155] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2
    Jan 19 02:37:21 localhost kernel: [710478.629879] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    Jan 19 02:37:21 localhost kernel: [710478.632884] hub 2-0:1.0: USB hub found
    Jan 19 02:37:21 localhost kernel: [710478.632962] hub 2-0:1.0: 1 port detected​
    --- Unplug keyboard physically----
    Jan 19 02:38:20 localhost kernel: [710537.524500] ci_hdrc ci_hdrc.0: remove, state 4
    Jan 19 02:38:20 localhost kernel: [710537.524565] usb usb2: USB disconnect, device number 1
    Jan 19 02:38:20 localhost kernel: [710537.528836] ci_hdrc ci_hdrc.0: USB bus 2 deregistered​
    ---
    This time I plugin the keyboard and connector adapter chain into the regular USB A port of the Neo and I get this set of transactions noted in /var/log/syslog
    ---Plugin frankenstein adapters to regular USB port----
    Jan 19 02:41:20 localhost kernel: [710717.071646] usb 1-1: new low-speed USB device number 7 using ci_hdrc
    Jan 19 02:41:20 localhost kernel: [710717.239463] input: SIGMACHIP USB Keyboard as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1:1.0/0003:1C4F:0002.000C/input/input13
    Jan 19 02:41:20 localhost kernel: [710717.241293] hid-generic 0003:1C4F:0002.000C: input: USB HID v1.10 Keyboard [SIGMACHIP USB Keyboard] on usb-ci_hdrc.1-1/input0
    Jan 19 02:41:20 localhost kernel: [710717.256103] input: SIGMACHIP USB Keyboard as /devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1:1.1/0003:1C4F:0002.000D/input/input14
    Jan 19 02:41:20 localhost kernel: [710717.257170] hid-generic 0003:1C4F:0002.000D: input: USB HID v1.10 Device [SIGMACHIP USB Keyboard] on usb-ci_hdrc.1-1/input1
    Jan 19 02:41:20 localhost mtp-probe: checking bus 1, device 7: "/sys/devices/soc0/soc.0/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1"
    Jan 19 02:41:20 localhost mtp-probe: bus: 1, device: 7 was not an MTP device​
    ----Unplug from regular USB----
    Jan 19 02:41:56 localhost kernel: [710753.494166] usb 1-1: USB disconnect, device number 7​
    -----
    Bottom line is that something needs tweaking, not sure what from this first test. The bummer is that the notebook built in does not have a trackpad or other pointing device included. I can make it work via the non-OTG port if that helps you at all. Also I think that if I had the right physical adapters to bit-twiddle the OTG port that this could work directly. {I am thinking cross-over mode}
    I will share more once I get my 2nd Neo out and have it all attached like a laptop using this keyboard setup as part of the planned system.
     

    Attached Files:

    Swity910 likes this.
  3. Swity910

    Swity910 New Member

    Joined:
    Dec 5, 2015
    Messages:
    9
    Likes Received:
    1
    Thank you for the detailed replying!!
    I'll read it after school
    :):)
     
  4. Swity910

    Swity910 New Member

    Joined:
    Dec 5, 2015
    Messages:
    9
    Likes Received:
    1
    Do you mean your keyboard might not an OTG version?
    I'll test the OTG keyboard after I get my keyboard, and I'll post the results here.
    And if it's still not working, it should be a software problem?
    If I plug OTG adapter cable (http://www.amazon.com/Adapter-Samus...UTF8&qid=1453193393&sr=1-3&keywords=OTG+cable) will it work?
    Thank you for replying!!!!:):)
     
  5. GeekChannel

    GeekChannel New Member

    Joined:
    Nov 21, 2013
    Messages:
    13
    Likes Received:
    4
    I tried using two different USB-MicroMale B to USB-MicroFemale A connectors. One I believe is otg and very likely the same wiring as the one you mention. I also tried one that I think is NOT OTG, it's a simple adapter 1" long instead of 6" pigtail version. Both reproduce the same results in the syslog and neither result in success for use. I saw another thread on this forum that suggests that there is a known issue of the OTG port not working as a normal USB port, but the wording of that thread is unclear if it is relevant to this specific issue.
     
    Swity910 likes this.
  6. Swity910

    Swity910 New Member

    Joined:
    Dec 5, 2015
    Messages:
    9
    Likes Received:
    1
    Thank you for testing!!
    I think I just use the normal USB port:)
     

Share This Page