Jump to content

oleid

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by oleid

  1. On 11/11/2018 at 9:39 PM, TonyMac32 said:

    The C2 was using a different recipe for a while that might still have ttyS0 hiding in it, I have a few irons on the fire at the moment, I'll take a look if I get a moment

     

     

    I renamed the link and rebooted, works fine for my odroidc2; no more spam in the journal.
     

    # cd /etc/systemd/system/getty.target.wants && mv serial-getty@ttyS0.service serial-getty@ttyAML0.service
    # ls -l
    [...]
    
    lrwxrwxrwx  1 root root   34 Sep 18 11:24 getty@tty1.service -> /lib/systemd/system/getty@.service
    lrwxrwxrwx  1 root root   41 Sep 18 16:38 serial-getty@ttyAML0.service -> /lib/systemd/system/serial-getty@.service

     

  2. 15 minutes ago, TonyMac32 said:

    The gpio is claimed by the "hog", so is not able to be used by users.  This issue (non-powered hub) went away with 4.19, we're only dealing with HDMI issues so far there.

    Ah, thanks a lot! 4.19.0 seems to work.

  3. Dear all,

     

    first of all, thanks a lot for working on this device. It's great to run a mainline kernel on odroid C2. :)

     

    I just installed armbian to my C2 and noticed USB devices are unpowered and thus, don't show up via lsusb. Reading this thread and the notes on the device's page (https://www.armbian.com/odroid-c2/), I assumed that gpio126 or maybe 501 would be the one to use to power up the hub.

     

    $ cat /sys/kernel/debug/gpio
    gpiochip1: GPIOs 378-496, parent: platform/c8834000.periphs:pinctrl@4b0, periphs-banks:
     gpio-392 (                    |mdio-reset          ) out hi    
     gpio-407 (                    |reset               ) out hi    
     gpio-422 (                    |cd                  ) in  lo    
     gpio-465 (                    |TFLASH_VDD          ) out hi    
    
    gpiochip0: GPIOs 497-511, parent: platform/c8100000.bus:pinctrl@14, aobus-banks:
     gpio-500 (                    |TF_IO               ) out lo    
     gpio-501 (                    |usb-hub-reset       ) out hi    
     gpio-502 (                    |USB_OTG_PWR         ) out hi    
     gpio-510 (                    |c2:blue:alive       ) out lo    
    

    But I cannot export either gpio pin. Is there a work-around to enable the usb hub?

     

    Kind regards,

    Olaf

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines