**** BEGIN LOGGING AT Wed Jan 21 02:59:58 2015 Jan 21 21:21:20 Hello all Jan 21 21:28:13 I feel somewhat stupid but I have no idea how to enable USB networking. There are no "usb0" or similar neither on my gta04 nor on my laptop. Jan 21 22:25:49 quatrox: I don't know the details, but you need the right kernel module loaded on the device, which should allow you to set up the interface (not sure what it's named) on the device. this should actually happen automatically though if the software stack works right... Jan 21 22:27:11 antrik: I just thought about it. Maybe it is missing the USB gadget driver Jan 21 22:27:33 afterwards, again with the right kernel module available, you should see a device on the PC once you plug in the device Jan 21 22:28:37 possibly. still surprising -- but I guess that's a good place to start debugging :-) Jan 21 22:32:46 antrik: Do you remember what the USB gadget module is called? Is it g_ether? Jan 21 22:34:41 that's a name I did hear before -- but I'm not sure it's that one. I can check here, but I only have GTA02, and I don't know whether it's the same on GTA04... Jan 21 22:35:11 It should be the same Jan 21 22:35:15 yeah, it's g_ether on GTA02 Jan 21 22:35:58 gives me a usb0 network interface on the device Jan 21 22:36:12 thank you very much Jan 21 22:36:35 the module on the PC side is cdc_ether Jan 21 22:36:55 OK Jan 21 22:36:59 good to know Jan 21 22:38:02 So on the host side, /sbin/lsmod |grep usbnet will show only cdc_ether and usbnet? Jan 21 22:39:11 there is also cdc_subset. both cdc_ether and cdc_subset are used by usbnet Jan 21 22:39:21 btw, which distro are you running on your freerunner? Jan 21 22:39:26 err, the other way around actually Jan 21 22:39:32 qtmoko Jan 21 22:39:59 I guess qtmoko is the only one still maintained for neo Freerunner Jan 21 22:41:30 yeah, probably. but SHR never got anything stable, so not much loss really ;-) Jan 21 22:42:47 I tried SHR-next on my GTA04 a few days ago, but I assume it has the same kernel, so with no network. Jan 21 22:43:46 don't know whether that's a general problem with GTA04? haven't been following Jan 21 22:44:06 I am not using qtmoko, maybe that works better Jan 21 22:44:18 I am trying replicant Jan 21 22:44:43 I decided that my gta04 have been collecting dust for too long Jan 21 22:47:10 antrik: In your opinion, what is the most annoying bugs in qtmoko for Freerunner? Jan 21 23:01:05 ah, replicant... I guess that's rather unfinished in general on GTA04, so I'm not surprised about the missing network stuff :-) Jan 21 23:01:56 well, I'm running a very old version of qtmoko, so I'm not sure which bugs are still present in recent versions... Jan 21 23:02:04 anyway, I could always build the modules myself Jan 21 23:02:37 I was just very surprised not to find them there by default Jan 21 23:04:51 yeah, that's the kind of stuff that needs to be done to get the port fully functional -- as I said, the replicant port is quite unfinished from what I gathered... Jan 21 23:05:14 I guess you should talk to the replicant developers about that... Jan 21 23:05:58 I might do that, but first I want to test a bit more Jan 21 23:34:00 according to projects.goldelico.com/p/gta04+kernel/issues/473/ it looks like the USB gadget driver was added to the kernel on October the 27., 2013 Jan 21 23:40:32 and I am running the same kernel version, so it should be possible to compile it Jan 22 00:27:00 hm.. g_ether.ko is there Jan 22 00:27:51 quatrox, fling might be able to help Jan 22 00:28:38 bootlog from gta04 with shrimage from 20141203 http://pastebin.com/QzuHkUx7, systemd says this http://pastebin.com/3nYDPLfj Jan 22 00:29:10 root@om-gta04:~# find /lib/modules/3.12.7/ -name "g_ether.ko" Jan 22 00:29:11 /lib/modules/3.12.7/kernel/drivers/usb/gadget/g_ether.ko Jan 22 00:29:33 root@om-gta04:~# modprobe g_ether Jan 22 00:29:33 [ 599.602783] g_ether musb-hdrc.1.auto: failed to start g_ether: -2 Jan 22 00:29:33 modprobe: ERROR: could not insert 'g_ether': Unknown symbol in module, or unknown parameter (see dmesg) Jan 22 00:32:58 compiling 3.12.7 with oe from git.goldelico with arch/arm/configs/gta04_defconfig got me a working usbnet **** BEGIN LOGGING AT Thu Jan 22 01:55:46 2015 **** ENDING LOGGING AT Thu Jan 22 02:59:59 2015