Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
mth has quit [Remote host closed the connection]
urandom__ has quit [Quit: Konversation terminated!]
nikescar has quit [Read error: Connection reset by peer]
nikescar has joined #qi-hardware
mth has joined #qi-hardware
cladamw has joined #qi-hardware
cladamw has quit [Quit: Ex-Chat]
freakazoid0223 has quit [Ping timeout: 260 seconds]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
cladamw has joined #qi-hardware
cladamw has quit [Quit: Ex-Chat]
guanucoluis has joined #qi-hardware
guanucoluis has quit [Remote host closed the connection]
pcercuei has quit [Quit: dodo]
rejon has joined #qi-hardware
aisa has quit [Quit: leaving]
GNUtoo-desktop has joined #qi-hardware
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
jekhor has joined #qi-hardware
kristoffer has joined #qi-hardware
rejon has quit [Ping timeout: 256 seconds]
lekernel has quit [Quit: Konversation terminated!]
jluis has quit [Read error: Connection reset by peer]
jluis has joined #qi-hardware
rz2k has joined #qi-hardware
he2 has joined #qi-hardware
jekhor has quit [Ping timeout: 252 seconds]
he2 has quit [Ping timeout: 246 seconds]
rz2k has quit [Ping timeout: 245 seconds]
he2 has joined #qi-hardware
kilae has joined #qi-hardware
ChanServ has quit [*.net *.split]
ChanServ has joined #qi-hardware
kristianpaul has quit [Ping timeout: 272 seconds]
newcup has joined #qi-hardware
kilae_ has joined #qi-hardware
kilae has quit [Ping timeout: 260 seconds]
jekhor has joined #qi-hardware
he2 has quit [Ping timeout: 246 seconds]
guanucoluis has joined #qi-hardware
GNUtoo-desktop has joined #qi-hardware
urandom__ has joined #qi-hardware
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
* kristianpaul
had consider migrate to stereolithography
<kristianpaul>
i just wondering sourcing the resin or if buying fair prices...
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
<kyak>
how do you think guys, is it possible to "wake on USB" Ben?
guanucoluis has quit [Ping timeout: 246 seconds]
<kristianpaul>
you could provide power just by usb
<kristianpaul>
the problem at the other side will be control usb power by software
<kristianpaul>
now about wake up.. i dont know :-/
pcercuei has joined #qi-hardware
kilae has joined #qi-hardware
kilae_ has quit [Ping timeout: 245 seconds]
gargon has joined #qi-hardware
<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
freakazoid0223 has joined #qi-hardware
<mth>
kyak: you can wake up on any GPIO interrupt, so the question is whether there is a GPIO you can easily control remotely
<mth>
there might be a GPIO for USB cable detection, but I don't know if it detects something that is software controllable
<kyak>
mth: would UBB fit for this purpose (toggle GPIO to wake up)?
<mth>
I think it would
<mth>
I'm not sure though if wakeup works from deep sleep too or only from suspend to RAM
<mth>
on the Dingoo A320 we wake up from suspend using the power slider, which is a GPIO button
he2 has joined #qi-hardware
<kyak>
intersting..
<mth>
the gpio-keys driver has a .wakeup field to indicate which buttons have a wakeup function
<mth>
I think the Ben uses a different driver, but you could enable both and just give gpio-keys a single "button" to monitor
Jurting has joined #qi-hardware
gargon has quit [Ping timeout: 246 seconds]
aisa has joined #qi-hardware
<kyak>
mth: ok, thanks for ideas!
<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
<kyak>
mth: btw, is RNDIS working on Windows? I was not able to make it work (using linux.inf)
<whitequark>
it's kinda broken
<mth>
I got it to work with 4 different Win7 systems last week
<mth>
I was very surprised, since before last week I never got it to work anywhere
<kyak>
could you share the inf file?
<kyak>
i never tried RNDIS in 3.5
<mth>
yes, but it needs cleanup since it's a Frankensteinian merge of the one from the kernel source tree and an example
<kyak>
last kernel version i tried RNDIS on was 3.2 i think
<kyak>
then i'll try yours, if it makes any difference
<mth>
the plain one gave me a "this driver cannot be installed" type of error
<kyak>
ah, that error code 10..
<mth>
that disappeared when copy-pasting the example code in
<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
<mth>
the latest kernel for the Ben is 3.5, I can update it to 3.6 though if needed
<kyak>
let me try first with the current kernel, which is 3.2.1.. maybe your linux.inf does a magic trick
he2 has quit [Ping timeout: 252 seconds]
<mth>
someone on #dingoonity is tested with 3.5 kernel and Windows XP and so far it doesn't work there
<mth>
all tests I did was with Windows 7
<kyak>
i don't have Windows 7 at hand atm.. i just checked, it doesn't work with Windows XP and 3.2.1
<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
<kyak>
i will test tomorrow on Windows 7 (have it at work)
<kyak>
meanwhile i will prepare a 3.5 or 3.6 kernel ..
<kyak>
do you know if 3.5 should work with Windows 7?
<kyak>
or i should go for 3.6?
<mth>
I have only tested the combination WIn7 + JZ4770 + Linux 3.6
<mth>
you do need RNDIS enabled in the kernel config, did you check that?
<kyak>
do you think the JZ4770 variable is important here?
<kyak>
oh yea, it's enabled
<kyak>
when i plug in the USB cable on Windows, i see that the driver chooses "config #2: RNDIS"
<mth>
the JZ4770 kernel uses the musb driver, not the USB device driver from Ingenic that the 4740 uses
<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
<kyak>
i hope this doesn't make a difference..
<kyak>
when you said "can update it to 3.6 for Ben", what did you mean?
<kyak>
just update the nanonote_config?
<mth>
I mean there is a jz-3.5 branch but not yet a jz-3.6 branch
<kyak>
ah!
<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)
<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
lekernel has joined #qi-hardware
<kyak>
mth: don't bother doing it yet, i will try jz-3.5 and Windows 7 and your inf
<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
<mth>
but if it can be done in a few weeks, it would better fit my timing
<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?..
<larsc>
suspend to ram
<larsc>
poweron is only possible by asserting the PWR_ON pin
emeb has joined #qi-hardware
<kyak>
i see, thanks
<kyak>
hm, jz-3.5 boots, but freezes after "Freeing unused kernel memory"
<kyak>
i'm using jz-3.5 at latest commit + 0020-qi_lb60-NAND-add-data-partition.patch since i have a data partition