Giter Site home page Giter Site logo

Comments (17)

avafinger avatar avafinger commented on June 8, 2024

This patch is for Kernel 3.4.112/113.

CONFIG_USB_OTG is not set for a reason, although I have it in DTB

&usb_otg {
	dr_mode = "**otg**";
	status = "okay";
};

When configured and enabled you will experience a high avg load > 1.0 and thus generate heat.
I can configure it on next release as experimental, although I don't use it and never tested it.

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Can I enable it by decompiling the dtb or does it take a kernel recompilation?

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

It needs a kernel recompilation, I was expecting kernel 4.18.6 for today and I set it for one shot and you tell the results unless you are in a hurry.

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Oh great! Let me know when the deb is up and I'll test it.

Thanks for all your work. Best image out there! You actually make this sbc useful.

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

I will build one with OTG support, takes a couple of hours...

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Thanks, I'm not home anyway.

In the readme you say the board is colder if you disable hdmi. How would I go about doing that?

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

Ok, i will do thist on 4.18.6...

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

Please, try this kernel image and report back your findings...
b753342

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

[ 51.164710] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Does this sound like it makes sense to this issue?

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

Seems so, I will build a new kernel image with that config set, please report back when you test.

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

Small question, do you have this working on 3.4.112?

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

I have not tested otg on the board at all. I was concentrating on i2c, spi, wifi and ethernet. I just now got around to otg.

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

b91c110

Built-in modules, you should have now OTG / gadget functionality. Hopefully.

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Got the same dmesg output. Should I try a banana-supplied image, figure out what makes it tick, and come back? I don't want you spending hours on this if there's some trick we need to know.

I'm going to try this They claim it supports USB Ethernet. I'll report back if it works, and we can try to disect how.

from bananapi-zero-ubuntu-base-minimal.

avafinger avatar avafinger commented on June 8, 2024

Maybe you should have some g_ether params like this: https://gist.github.com/dwilkins/2be58627bfdd675e3a53a011f55c5d07

Try that image and see if it is working and there are parameters to be passed to g_ether

Sounds like you can't have OTG and gadget at the same time, who knows...

from bananapi-zero-ubuntu-base-minimal.

peterberbec avatar peterberbec commented on June 8, 2024

Possibly. The inner workings of these devices follow rules only Dali would understand...

from bananapi-zero-ubuntu-base-minimal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.