Jump to content
Sign in to follow this  
Guest guest

How to use kernel source gpio-sunxi module?

Recommended Posts

Guest guest

I known pcduino8_ubuntu_14.04_20160102.img uses gpio module which is load by /etc/init/pcduino.conf:

### enable usb power
    modprobe gpio
    echo 1 > /sys/devices/virtual/misc/gpio/pin/gpio38

 

The kernel source doesn't have opt SUN4I_GPIO_UGLY (module gpio) it uses an new CONFIG_GPIO_SUNXI (module gpio-sunxi) http://linux-sunxi.org/GPIO

 

How do I uses the new gpio-sunxi module to enable usb power?

Share this post


Link to post
Share on other sites
Guest guest

The SoC chip of H8 and A13 are different, so it can't use that method on pcDduino8 Uno.

 

Is there away to add ugly gpio to the provided kernel.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×