Cubieboard2 g_ether and USB OTG

This forum is for supported devices using an ARMv7 Allwinner SoC.

Cubieboard2 g_ether and USB OTG

Postby karmerer » Fri Dec 04, 2015 11:47 am

Hello everyone. I've just tried to enable USB OTG Ethernet on my Cubieboard2. As far as I understand, the kernel isn't compiled with support of this feature by default and a kernel module should be loaded. I've found the kernel module g_ether.ko.gz in /lib/modules/'uname -r'/drivers/usb/gadget/legacy folder, I modprobe'ed all its dependencies but got only "There is no such device" when tried to modprobe it. Any ideas?
karmerer
 
Posts: 6
Joined: Fri Dec 04, 2015 11:15 am

Re: Cubieboard2 g_ether and USB OTG

Postby karmerer » Tue Dec 08, 2015 4:37 pm

Well, I had three ideas, but I have none anymore.
First was that kernel is compiled without USB OTG support, but /proc/config.gz says CONFIG_USB_OTG=y
Second was that it is somehow disabled in the device tree, but dts compiled from /proc/device-tree says nothing I could guess it realy is:
$this->bbcode_second_pass_code('', 'usb_otg = "/soc@01c00000/usb@01c13000";')
where usb@01c13000 in its turn is
$this->bbcode_second_pass_code('', 'usb@01c13000 {
phys = <0x0>;
clocks = <0x0>;
extcon = <0x0>;
allwinner,sram = <0x0>;
};')

Third was that usb otg hardware driver (kernel module) isn't installed, but I couldn't find it's name if such exists at all.

Still no ethernet through usb otg. Some more ideas to check?
karmerer
 
Posts: 6
Joined: Fri Dec 04, 2015 11:15 am

Re: Cubieboard2 g_ether and USB OTG

Postby WarheadsSE » Tue Dec 08, 2015 6:08 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard2 g_ether and USB OTG

Postby karmerer » Tue Dec 15, 2015 4:38 pm

Cloned this source and made & installed the package with "makepkg -srci". Nothing happen. Modprobe g_ether refuses to load the module with "no such device" error.
karmerer
 
Posts: 6
Joined: Fri Dec 04, 2015 11:15 am


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 12 guests