| Action: kristianpaul had consider migrate to stereolithography | 14:48 | |
| kristianpaul | i just wondering sourcing the resin or if buying fair prices... | 14:53 |
|---|---|---|
| kyak | how do you think guys, is it possible to "wake on USB" Ben? | 15:12 |
| kristianpaul | you could provide power just by usb | 15:19 |
| kristianpaul | the problem at the other side will be control usb power by software | 15:19 |
| kristianpaul | now about wake up.. i dont know :-/ | 15:20 |
| kyak | kristianpaul: that's a good idea.. i think i can remove the battery and control USB power from my host.. this will make Ben switch on/off | 15:35 |
| mth | kyak: you can wake up on any GPIO interrupt, so the question is whether there is a GPIO you can easily control remotely | 15:50 |
| mth | there might be a GPIO for USB cable detection, but I don't know if it detects something that is software controllable | 15:51 |
| kyak | mth: would UBB fit for this purpose (toggle GPIO to wake up)? | 15:53 |
| mth | I think it would | 15:54 |
| mth | I'm not sure though if wakeup works from deep sleep too or only from suspend to RAM | 15:55 |
| mth | on the Dingoo A320 we wake up from suspend using the power slider, which is a GPIO button | 15:55 |
| kyak | intersting.. | 15:56 |
| mth | the gpio-keys driver has a .wakeup field to indicate which buttons have a wakeup function | 15:57 |
| mth | I think the Ben uses a different driver, but you could enable both and just give gpio-keys a single "button" to monitor | 15:58 |
| kyak | mth: ok, thanks for ideas! | 16:15 |
| qi-bot | [commit] Maarten ter Huurne: MIPS: JZ4740: A320: defconfig: Enable RNDIS support in cdcether driver (jz-3.5) http://qi-hw.com/p/qi-kernel/67aaee4 | 16:15 |
| kyak | mth: btw, is RNDIS working on Windows? I was not able to make it work (using linux.inf) | 16:32 |
| whitequark | it's kinda broken | 16:32 |
| mth | I got it to work with 4 different Win7 systems last week | 16:33 |
| mth | I was very surprised, since before last week I never got it to work anywhere | 16:33 |
| kyak | could you share the inf file? | 16:33 |
| kyak | i never tried RNDIS in 3.5 | 16:33 |
| mth | yes, but it needs cleanup since it's a Frankensteinian merge of the one from the kernel source tree and an example | 16:34 |
| kyak | last kernel version i tried RNDIS on was 3.2 i think | 16:34 |
| mth | http://www.treewalker.org/temp/linux.inf | 16:34 |
| mth | I've tried it with 3.6 | 16:34 |
| kyak | it's a really great news if it's finalyl working | 16:34 |
| kyak | thanks | 16:34 |
| mth | this was with a JZ4770 device, but I don't think that should really matter | 16:35 |
| kyak | i think i will upgrade to latest available kernel and try vanilla linux.inf: http://www.kernel.org/doc/Documentation/usb/linux.inf | 16:36 |
| kyak | then i'll try yours, if it makes any difference | 16:36 |
| mth | the plain one gave me a "this driver cannot be installed" type of error | 16:36 |
| kyak | ah, that error code 10.. | 16:37 |
| mth | that disappeared when copy-pasting the example code in | 16:37 |
| mth | you have to wait until Windows gives up on finding the driver, then in Device Manger choose "Update Driver" and pick the directory containing the .inf file | 16:37 |
| mth | the latest kernel for the Ben is 3.5, I can update it to 3.6 though if needed | 16:38 |
| kyak | let me try first with the current kernel, which is 3.2.1.. maybe your linux.inf does a magic trick | 16:40 |
| mth | someone on #dingoonity is tested with 3.5 kernel and Windows XP and so far it doesn't work there | 16:41 |
| mth | all tests I did was with Windows 7 | 16:42 |
| kyak | i don't have Windows 7 at hand atm.. i just checked, it doesn't work with Windows XP and 3.2.1 | 16:43 |
| mth | I don't have a Windows machine myself, but I can test the 3.5 kernel on the 4740 tomorrow on a friend's netbook | 16:43 |
| kyak | i will test tomorrow on Windows 7 (have it at work) | 16:44 |
| kyak | meanwhile i will prepare a 3.5 or 3.6 kernel .. | 16:44 |
| kyak | do you know if 3.5 should work with Windows 7? | 16:45 |
| kyak | or i should go for 3.6? | 16:45 |
| mth | I have only tested the combination WIn7 + JZ4770 + Linux 3.6 | 16:45 |
| mth | you do need RNDIS enabled in the kernel config, did you check that? | 16:45 |
| kyak | do you think the JZ4770 variable is important here? | 16:45 |
| kyak | oh yea, it's enabled | 16:46 |
| kyak | when i plug in the USB cable on Windows, i see that the driver chooses "config #2: RNDIS" | 16:46 |
| mth | the JZ4770 kernel uses the musb driver, not the USB device driver from Ingenic that the 4740 uses | 16:46 |
| mth | I think larsc said that the musb driver could be used for 4740 too with the right glue, but I don't really know how to do that | 16:47 |
| kyak | i hope this doesn't make a difference.. | 16:47 |
| kyak | when you said "can update it to 3.6 for Ben", what did you mean? | 16:48 |
| kyak | just update the nanonote_config? | 16:48 |
| mth | I mean there is a jz-3.5 branch but not yet a jz-3.6 branch | 16:48 |
| kyak | ah! | 16:48 |
| mth | I can make a jz-3.6 branch, but it will take a few hours (depending on how many merge conflicts there are this time) | 16:49 |
| larsc | to come back to wakeup interrupts, you can actually use any interrupt to wake the device up, doesn't have to be a gpio | 16:49 |
| kyak | mth: don't bother doing it yet, i will try jz-3.5 and Windows 7 and your inf | 16:50 |
| mth | I'll have to make a jz-3.6 branch sooner or later anyway, since I want to keep up with mainline kernel releases | 16:51 |
| mth | but if it can be done in a few weeks, it would better fit my timing | 16:51 |
| kyak | larsc: can interrupt be used to resume from suspend to RAM, or are you saying that interrupt can bring it from complete power off?.. | 16:51 |
| larsc | suspend to ram | 17:12 |
| larsc | poweron is only possible by asserting the PWR_ON pin | 17:13 |
| kyak | i see, thanks | 17:15 |
| kyak | hm, jz-3.5 boots, but freezes after "Freeing unused kernel memory" | 17:20 |
| kyak | i'm using jz-3.5 at latest commit + 0020-qi_lb60-NAND-add-data-partition.patch since i have a data partition | 17:20 |
| kyak | also i boot it from /boot/uImage (via F4) | 17:20 |
| kyak | believe it or not, but that helped: http://forums-web1.gentoo.org/viewtopic-p-6709377.html?sid=86ec6f490268087bd9feb84fc7071dad | 17:46 |
| kyak | i guess the default config should add CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y | 17:46 |
| qi-bot | [commit] Paul Cercueil: menu.cpp: Don't use stat() to know if a FS entry is a directory (packages) http://qi-hw.com/p/gmenu2x/3dc12d0 | 19:49 |
| qi-bot | [commit] Paul Cercueil: configure.in: Perform a check for the 'libopk' library. (packages) http://qi-hw.com/p/gmenu2x/45be8af | 19:49 |
| qi-bot | [commit] Paul Cercueil: Make loadPNG() able to read files from OPK packages. (packages) http://qi-hw.com/p/gmenu2x/0cbb5ee | 19:49 |
| qi-bot | [commit] Paul Cercueil: If a filename contains '#' don't check if the file exists. (packages) http://qi-hw.com/p/gmenu2x/e3837fc | 19:49 |
| qi-bot | [commit] Paul Cercueil: LinkApp: Added support for reading OPK packages. (packages) http://qi-hw.com/p/gmenu2x/61d22e2 | 19:49 |
| qi-bot | [commit] Paul Cercueil: During init, load all packages in CARD_ROOT/*/apps (packages) http://qi-hw.com/p/gmenu2x/cd48093 | 19:49 |
| LunaVorax | hi! | 22:04 |
| --- Mon Oct 8 2012 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!