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
AwAyla joined #qi-hardware
Ornotermes joined #qi-hardware
AwAyla joined #qi-hardware
aw_ joined #qi-hardware
aw joined #qi-hardware
xiangfu joined #qi-hardware
xiangfu joined #qi-hardware
skynet-2000 joined #qi-hardware
freakazoid0223 joined #qi-hardware
tonghuix joined #qi-hardware
<wpwrak> how long does the RTC actually maintain time ?
panda|x201 joined #qi-hardware
<kristianpaul> nothing
<kristianpaul> well, seconds i guess
<wpwrak> there's a circuit that's supposed to power it for a bit: D1 and C20 (47 uF). but i'm not sure this does much good.
<kristianpaul> bit? like the first palm m100 ;)
<wpwrak> hmm, the diode has a reverse current of about 2 uA
<wpwrak> hmm, simulation says that this should be sufficient for about 4 seconds
<wpwrak> kristianpaul: your estimate wasn't so bad :)
kristianpaul joined #qi-hardware
kristianpaul joined #qi-hardware
<wpwrak> actually, it's worse. since the diode drops some 200-300 mV. that's just about the voltage range the cap could buffer over. so it's ~1 second, worst-case.
<wpwrak> maybe in real life this translates to up to 10 s. perhaps that's what causes the ben to lock up if you do a very quick power cycle.
qwebirc81799 joined #qi-hardware
<rjeffries> has this been discussed? has the right license it woudl appear. nice design http://teholabs.com/docs/procyon:overview
xiangfu joined #qi-hardware
tonghuix joined #qi-hardware
AwAyla joined #qi-hardware
DocScrutinizer joined #qi-hardware
aw_ joined #qi-hardware
aw joined #qi-hardware
aw_ joined #qi-hardware
aw joined #qi-hardware
jekhor joined #qi-hardware
lekernel_ joined #qi-hardware
stefan_schmidt joined #qi-hardware
wolfspraul joined #qi-hardware
lekernel__ joined #qi-hardware
lekernel joined #qi-hardware
zedstar joined #qi-hardware
zedstar joined #qi-hardware
SoulRaven joined #qi-hardware
zedstar joined #qi-hardware
zedstar joined #qi-hardware
<qi-bot> [commit] Werner Almesberger: m1/patches/rtems/: added Milkymist-specific USB-MIDI forwarding (master) http://qi-hw.com/p/wernermisc/a946aac
mstevens joined #qi-hardware
xiangfu joined #qi-hardware
urandom__ joined #qi-hardware
antoniodariush joined #qi-hardware
jekhor joined #qi-hardware
<wolfspraul> kristianpaul: you are too fast! [spam] :-)
<wolfspraul> thanks for helping
<kristianpaul> hehe :-), just getting ready to go work :)
jivs joined #qi-hardware
<kristianpaul> btw is taking so long the package with stickers/brochure to arrive
<kristianpaul> but i guess no rush, a package from Artyom took near 3 months to get here..
<wolfspraul> who knows
<kristianpaul> indeed
<kristianpaul> must go, read you later
<wolfspraul> in the last 2.5 years that I've sent hundreds of packages I think I can remember loosing one, and that was to Colombia
<kristianpaul> :-|
<wolfspraul> Mirko dropped a letter (unregistered, untrackable) into the mail but it never arrived
<wolfspraul> that was the only case ever
<wolfspraul> so let's see
<wolfspraul> maybe it arrives, maybe not
<wolfspraul> if not, then we need to send another one...
<kristianpaul> lets wait
<kristianpaul> will be the first package i fail to receiver, hope not
aw_ joined #qi-hardware
aw joined #qi-hardware
xiangfu joined #qi-hardware
kristoffer_ joined #qi-hardware
wolfspraul joined #qi-hardware
wejp joined #qi-hardware
stefan_schmidt joined #qi-hardware
rzk joined #qi-hardware
kuribas joined #qi-hardware
<antoniodariush> wpwrak, hi, if "dmesg | grep at86rf230" does not return anything in the nanonote, does this mean that the kernel is not configured for the atben?
<blogic> "lsmod | grep at" ?
<antoniodariush> blogic, nothing
<blogic> then i would assume that the image lacks atben support
<antoniodariush> even though I have these http://pastebin.com/5TnB5Fkk
<antoniodariush> ?
<blogic> hmmmm
<blogic> not sure
<wpwrak> maybe the module isn't loaded ?
<antoniodariush> what u mean by loaded
<wpwrak> and you also need CONFIG_IEEE802154_DRIVERS, CONFIG_SPI_BITBANG, CONFIG_SPI_GPIO
<blogic> antoniodariush: find /lib/modules/ | grep at
<blogic> are they even installed int he rfs ?
<wpwrak> heh :)
<wpwrak> and if they exist, lsmod will show is they're being used
mstevens joined #qi-hardware
rzk joined #qi-hardware
aw_ joined #qi-hardware
aw joined #qi-hardware
<jivs> I get this /lib/modules/3.0.0/at86rf230.ko
<jivs> /lib/modules/3.0.0/spi_atben.ko
<jivs> for the find command above
<jivs> but nothing for lsmod |grep at
<blogic> there will be some missing package then
<blogic> causing those packets to not be installed
<blogic> causing those packets to not be inserted
<jivs> okay i will try to reflash by adding more packages as wpwrak suggested..
<blogic> xiangfu: is this the latest http://patchwork.openwrt.org/patch/1439/ ?
<blogic> ah he is not online
<blogic> does xiangfu have access to target/linux/xburst in the owrt repo ?
<blogic> it seems weird that i need to merge this for him
<jivs> wpwrak, is IEEE802154_DRIVERS same as PACKAGE_kmod-ieee802154 . I don't see any package with ieee on its name in my toolchain
panda|x201 joined #qi-hardware
<wpwrak> jivs: i don't know how those packages translate to kernel config options. but there is also a CONFIG_IEEE802154, so chances are that CONFIG_IEEE802154_DRIVERS and PACKAGE_kmod-ieee802154 are not the same
<blogic> wpwrak: i asusme he uses this http://phrozen.org/wpan.mk
<blogic> i gave that link to xiangfu and i assume he integrated it to the qi tree
<jivs> okay
<wpwrak> this looks like a typo: CONFIG_IEEE802154_DRIVER vs. CONFIG_IEEE802154_DRIVERS
<blogic> indeed
<wpwrak> also, no =y needed for CONFIG_MAC802154 ?
* blogic looks
arti joined #qi-hardware
<blogic> nope
<blogic> that is correct
<blogic> the CONFIG_IEEE802154_DRIVER=y vs CONFIG_IEEE802154_DRIVERS=y looks like the candidate for the borkage
<blogic> (missing S at the end)
<blogic> jivs: i am almost certain this is the case
<blogic> the dependency chain of at86rf230 is broken without that symbol
<blogic> jivs: did you build the image yourself ?
<jivs> yes blogic
<antoniodariush> so i guess we need to wait for xiangfu ?
<jivs> how can we fix this on our image? if we can
<blogic> you need to rebuild the image
<blogic> vi package/kernel/module/wpan.mk
<jivs> ok
<blogic> go to the line that has CONFIG_IEEE802154_DRIVER=y \ and add a S before the =y
<blogic> then do
<blogic> rm -r tmp/ && make menuconfig (save and exit to update the config
<jow_laptop> (make defconfig)
<blogic> make package/kernel/clean && make V=99
<blogic> :D
<blogic> jow_laptop: ok
<blogic> rm -r tmp/ && make defconfig && make package/kernel/clean && make V=99
<blogic> that will build an image with the fix applied
<blogic> before flashing it you can see if the file is now included
<blogic> you can do so by calling
<blogic> ls build_dir/target-mips_r2_uClibc-0.9.32/root-xburst/lib/modules/
<jivs> thank u blogic and jow_laptop , i am building new image now
<blogic> the path might be slightly different to build_dir/target-mips_r2_uClibc-0.9.32/root-xburst/lib/modules/
<blogic> is the nanonote mips or mipsel ?
<jow_laptop> mipsel
<jivs> mipsel
<blogic> ok
<blogic> it will be build_dir/target-mipsel_r2_uClibc-0.9.32/root-xburst/lib/modules/... in that case
<blogic> there will only be one folder of the format target-mipsel_r2_uClibc-0.9.32 so just use ls to check please
* blogic might continue to integrate 802.15.4 in owrt tonight
<jivs> okay
<jivs> the folder now had these files af_802154.ko crc-ccitt.ko fakelb.ko mac802154.ko spidev.ko
<jivs> at86rf230.ko fakehard.ko ieee802154.ko spi_atben.ko usbcore.ko
<blogic> good
<blogic> check 1 more thing
<jivs> ok
<blogic> ..../root-lantiq/etc/modules.d/
<blogic> oops
<blogic> ..../root-xburst/etc/modules.d/
<jivs> ok
<jivs> 20-crc-ccitt 20-usb-core 90-ieee802154 91-mac802154 92-fakehard 92-fakelb 93-spi-dev
<blogic> you should corresponding files there that tell the system to insmod the drivers that will now be part of the image
<blogic> ok at86rf230 is missing
<blogic> let me look at wpan.mk 1 moment please
<jivs> ok
emeb joined #qi-hardware
<blogic> hmmmm
<blogic> ok i will need to look indetail
<blogic> you can flash the image but will need to manually insmod the modules atm
<blogic> i will ping you when i have a update wpan.mk
<jivs> sure
<blogic> i will build an image in a sec to play around
<jivs> okay :-)
arti left #qi-hardware
erikkugel joined #qi-hardware
skynet-2000 joined #qi-hardware
AwAyla joined #qi-hardware
antgreen joined #qi-hardware
skynet-2000 joined #qi-hardware
skynet-2000 joined #qi-hardware
mstevens joined #qi-hardware
AwAyla joined #qi-hardware
jekhor joined #qi-hardware
wejp joined #qi-hardware
<qi-bot> [commit] Werner Almesberger: m1nor: accept multiple file arguments; clarified diagnostics (master) http://qi-hw.com/p/wernermisc/037be50
LunaVorax joined #qi-hardware
<qi-bot> [commit] Werner Almesberger: m1/BUILD-CHEAT-SHEET: updated for new RTEMS patch and local changes (master) http://qi-hw.com/p/wernermisc/9343b61
Ayla joined #qi-hardware
kuribas joined #qi-hardware
rzk joined #qi-hardware