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
<kristianpaul> http://www.hiqsdr.org/
urandom__ [urandom__!~user@p548A573F.dip.t-dialin.net] has joined #qi-hardware
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
Openfree` [Openfree`!~Openfreer@116.228.88.131] has joined #qi-hardware
skynet-2000 [skynet-2000!~skynet-20@99-62-100-172.lightspeed.tukrga.sbcglobal.net] has joined #qi-hardware
skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware
DocScrutinizer [DocScrutinizer!~halley@openmoko/engineers/joerg] has joined #qi-hardware
Jay7 [Jay7!jay@176.15.91.97] has joined #qi-hardware
<viric> I'll backport the color fb fonts from 2.6.37 to 2.6.36...
<viric> because I can't boot 2.6.37 and I don't have a serial cable ready to see the error message well
patterson [patterson!~ethics@c-24-4-180-66.hsd1.ca.comcast.net] has joined #qi-hardware
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
<kyak> the main reason for kernel not booting (at least for me) was that the partition layout (hardcoded in kernel) was not correct
<viric> ahm
<viric> that changed for 37?
<viric> hm
<viric> that sounds like a good reason
<viric> I keep the old one
<viric> argh, my backport to 2.6.36 fails... the font doesn't load
<viric> ah I wrote it bad
<viric> right
<viric> I'll skip the data-partition thing
<viric> kyak: thank you!
<kyak> does 37 boot now or you made it work for 36?
<viric> I build both :)
<viric> kyak: queued into ts :)
<kyak> heh :)
<viric> I've a slow computer
<viric> 760s per kernel build
<viric> 1 core
<kyak> oh, that's really slow - even for the small kernel with almost no modules
<viric> well, you saw it :)
<kyak> yeah, and i'm still amazed by the first (and the only) person i saw who was using tiling wm :)
<viric> really?
<viric> hmmm
<viric> at my office, two more people use it. And among my friends using gnu/linux, I think... 90% use tiling wm
<viric> users of 'aweesome', 'dwm', 'lars', 'stumpwm' and 'xmonad'.
<kyak> heh, ok :)
<viric> choose your favourite :)
<viric> I meant 'awesome', btw.
<kyak> i'm way too stuck with my old habits
<viric> lispers like stumpwm, haskelers like xmonad, old people like larswm, ...
<viric> I used windowmaker before switching
<kyak> i'm using openbox on my slower machine and gnome on faster one
<viric> I never used those
<viric> And for years I used 'rio'
<kyak> this one is even hard to google :)
<viric> it's part of plan9port
<viric> the backport of 2.6.36 does not work, for what I tried.
<viric> and 2.6.37 lacks PERF_EVENTS!
<viric> grr
<viric> I spent a lot of time cross-building the 'perf' tool, to know that the nanonote kernel does not build with such PERF_EVENTS. maybe lars wants to take a look :)
<viric> lasrc
<viric> larsc
<kyak> viric: probably you could have a look at the same patch for 2.6.32, to see what's wrong with your port
<kyak> you can find it in release_2011-05-28
<kyak> some file names have changed.. like drivers/char/vt.c -> drivers/tty/vt/vt.c
<viric> kyak: yes, that's the case of 2.6.36
<viric> I tried the filename change, but that's not enough
<viric> the name change was between 2.6.36 and 2.6.37 :)
<viric> # flash_eraseall /dev/mtd1
<viric> Erasing 512 Kibyte @ 400000 -- 100 % complete.
<viric> why it does not say erasing 4MiB?
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<viric> kyak: how are your 30k rss posts per day? :)
<kyak> "From your 82 subscriptions, over the last 30 days you read 233 items, clicked 8 items, starred 0 items, and emailed 0 items." :)
<viric> and 'received' how much?
<kyak> it's around 2.5k per day
<kyak> as you can see, i filter out a lot :)
<viric> with what complex heuristics? ;)
<kyak> i have a trained eye :)
<viric> I imagined so. hehe
<kyak> if the name has changed from 2.6.36 to 2.6.37, perhaps you would have better luck porting the patch from 2.6.32?
<viric> where is that 2.6.32 patch?
<viric> isn't it removed from git'
<viric> ?
<kyak> of course not, it's in release_2011-05-28 branch
<viric> iirc, I did not use 2.6.32 for some reason
<viric> I can't remember
<kyak> probably it will even apply clean to 2.6.36, who knows :)
<viric> aha
<viric> we'll, 2.6.37 built again
<viric> let's see now
<viric> boots!
<viric> I've your font!
<viric> great! :D
<viric> what a big improvement
<kyak> it's good for certain applications.. not for those requiring colors
<viric> Ah
<viric> ouch.
<kyak> didn't i mention that before? :)
<viric> no ;)
<kyak> from my experience, it's good in almost all cases
<kyak> who cares if irssi or centerim is black and white
<kyak> ah, it also lacks bold :)
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<viric> ugm
<viric> I see
<viric> why? :)
<kyak> it is explained in some details here
<viric> hm
<viric> it looks as if my consoles aren't unicode
<viric> lynx utf8 fails to show the nonascii glyphs
<kyak> beware that the font only contains ascii, cyrillic and some line drawing glyphs
<kyak> and you also need the trans file to map those glyphs correctly
<viric> cyrillic fails
<kyak> the font itself doesn't contain this information
<viric> maybe I lack some kernel thing?
<viric> almost
<viric> only setfont2 ;)
<kyak> it's not enough
<viric> aha! loadunimap did it
<viric> клёво
<viric> Now... we need more glyphs :)
<kyak> so as i said, this .trans information is usually in the font itself
<kyak> but not in this case
<kyak> yes, we need more glyphs!!
<kyak> like umlauts etc
Ayla [Ayla!~paul@87.169.26.93.rev.sfr.net] has joined #qi-hardware
<viric> can't we use a script to generate those from an X iso16464 font?
<viric> 10464
<viric> whatever
<kyak> no, unfortunately, it's a manual work
<viric> hm
<viric> I can't believe
<viric> why?
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<kyak> you use tools/un-fuzzy.py to create pnm fonts from png files
<kyak> with GIMP, for example
<viric> why manually?
<viric> this has double horizontal resolution?
<kyak> i have a discussion with neil, the author of setfont2; i can forward it to you
<viric> yes, please include me
<kyak> if you give me your mail
<kyak> double horizontal resolution - that's right, the glyphs in png file are like that.. they become "normal" in pnm file
kilae [kilae!~chatzilla@catv-161-018.tbwil.ch] has joined #qi-hardware
<viric> kyak: I'm closer to the fbterm patch...
Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware
<whitequark> don't forget λ
<viric> :)
wolfspraul [wolfspraul!~wolfsprau@p5B0AEA22.dip.t-dialin.net] has joined #qi-hardware
jekhor [jekhor!~jek@178.121.207.42] has joined #qi-hardware
<viric> what about 'caneta'?
<whitequark> caneta?
<whitequark> (offtopic: do you, or anyone, possibly know why writing "sepErator" is quite a common error?)
<viric> hm
<viric> sorry.
<viric> whitequark: I can't recall seeing that error even once
<viric> caneda. sorry. :)
<viric> Brazilians, sorry for the confusion :)
<viric> whitequark: caneda.sf.net
wolfspraul [wolfspraul!~wolfsprau@p5B0AEA22.dip.t-dialin.net] has joined #qi-hardware
<whitequark> viric: looks very incomplete
<whitequark> and, err
<whitequark> chip layout editing?
<whitequark> I don't know not only anyone who'd be editing chip layout by hand
<whitequark> but I don't ever know a blog of anyone doing such things
<whitequark> given that there is a blog about everything on the net...
jekhor [jekhor!~jek@178.121.207.42] has joined #qi-hardware
<viric> someone here was writing it, iirc
<whitequark> can anyone answer a few questions about m1 firmware build process?
<wolfspraul> whitequark: you might better ask in #milkymist
<wolfspraul> if you try to reduce channels, then ask here...
<whitequark> uh
<whitequark> yes
Ayla [Ayla!~paul@str90-h01-31-34-166-22.dsl.sta.abo.bbox.fr] has joined #qi-hardware
<viric> I'm trying fbida
<viric> ah! I think it scales with floating point
<viric> that's why it's super slow scaling
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
jekhor [jekhor!~jek@178.121.11.248] has joined #qi-hardware
<kyak> viric: any screenshots to compare fbterm with/without patch?
<kristianpaul> fbterm was always ugly before ;)
<kyak> depends on font and font size
<kyak> but basically, all straight lines are ugly on Ben
qwebirc15093 [qwebirc15093!503bdc3e@gateway/web/freenode/ip.80.59.220.62] has joined #qi-hardware
<qwebirc15093> hi
<qwebirc15093> anybody knows ho to edit "/proc/sys/net/ipv4/ip_forward" ?
<kristianpaul> echo "1" > /proc/sys/net/ipv4/ip_forward
<kyak> :)
<qwebirc15093> yes yes, but i had to edit it manualy and copy the edited file from the terminal, using echo doens't let me
urandom__ [urandom__!~user@p548A4FD6.dip.t-dialin.net] has joined #qi-hardware
<qwebirc15093> with the last firmware image, it isn't neccesary to edit NN's routing table manually? (i've followed every sigle step, but doesn't connect to internet)
<viric> hm
<viric> kyak: how could I take screenshots?
<viric> hm
<viric> with a photo camera...
<qwebirc15093> there's a program, but only works for console, i think
<viric> well, but that won't help :)
<viric> I'm preparing screenshots
<viric> kristianpaul: those who are happy without utf-8, they can go without fbterm
<qwebirc15093> how can i disble dhcp on usb0 ?
<kristianpaul> qwebirc15093: what's your linux distro?
<qwebirc15093> ubuntu 10.10
<viric> kyak: I took pictures... the camera does not take well the detail
<kristianpaul> try in /etc/network/interfaces to add a line for usb0
<kristianpaul> perhaps and auto is okay
<kristianpaul> so this way the network manager should not try to do automatically things around it
DocScrutinizer51 [DocScrutinizer51!~lagrange@openmoko/engineers/joerg] has joined #qi-hardware
<qwebirc15093> i remember that on a page i found a interfaces file
<kristianpaul> at least we start to ship a built-in dhcp server for next release to make easiersetup netowrking..?
<viric> kyak: screenshots sent to the list.
DocScrutinizer51 [DocScrutinizer51!~lagrange@openmoko/engineers/joerg] has joined #qi-hardware
<kristianpaul> a bit less blurry it seems
DocScrutinizer51 [DocScrutinizer51!~lagrange@openmoko/engineers/joerg] has joined #qi-hardware
<qwebirc15093> this in uncredible
<qwebirc15093> i follow every step on the wiki tutorial, and i can make ping from the NN to the pc and vice versa, but can't get access to the net :S
DocScrutinizer51 [DocScrutinizer51!~lagrange@openmoko/engineers/joerg] has joined #qi-hardware
emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has joined #qi-hardware
urandom_ [urandom_!~user@p548A485B.dip.t-dialin.net] has joined #qi-hardware
<wpwrak> maybe you need to set up NAT ?
<qwebirc15093> i don't know, i've followed every step on the tutorial of the wiki
<wpwrak> if eth0 is your interface to the outside world, the command would be something along the lines of /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
<qwebirc15093> yes, i put that also
<qwebirc15093> but nothing, doesn't ping to google
<kristianpaul> qwebirc15093: your get internet trought wi-fi or.... ?
<qwebirc15093> oh, wifi XDD
<qwebirc15093> what a fail XDD
<qwebirc15093> other question, the key with the "Qi" Logo, has any use?
<kyak> viric: looks great!
<kyak> the patch is definitely worth it
<kyak> btw, you can use fbgrab to capture screen
<kyak> though its captures look weird with setfont2 (lines not straight)
<kyak> i guess fbgrab needs to be patched for bgr-whatever as well :)
<kyak> viric: what is the font you are using with fbterm?
<kyak> seems better than unifont
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
<DocScrutinizer> !seen DocScrutinizer
<qi-bot> DocScrutinizer, do I look like a mirror? ^_^
<qwebirc15093> is there a mplayer frontend?
<DocScrutinizer> !seen ChanServ
<qi-bot> DocScrutinizer, if you can't see ChanServ here right now, you probably need new glasses. ^_^
<larsc> hmpf. you talk too much. lastlog doesn't even contain msg from last night
<larsc> ;)
jivs [jivs!~jivs@92.40.254.247.threembb.co.uk] has joined #qi-hardware
<kyak> yeah, let's beat ML once and for all! :)
urandom__ [urandom__!~user@p548A485B.dip.t-dialin.net] has joined #qi-hardware
kyak [kyak!~kyak@95-26-80-51.broadband.corbina.ru] has joined #qi-hardware
kyak [kyak!~kyak@unaffiliated/kyak] has joined #qi-hardware
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
<qi-bot> [commit] kyak: config.full_system: enable swap-utils (master) http://qi-hw.com/p/openwrt-packages/0e220dd
wej [wej!~j@m2.mullvad.net] has joined #qi-hardware
skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
<viric> kyak: hmmm freesomething
<viric> kyak: 'freefont'
<viric> iirc
<viric> ah no
<viric> it's the Micros~1 Arial Unicode :)
<viric> size 10
<viric> larsc: I use lots of short sentences, for what I could write in a simple longer sentence.
<larsc> viric: were you able to solve your problems?
<qi-bot> [commit] kyak: fbterm: incorporate viric's patch for Ben LCD (master) http://qi-hw.com/p/openwrt-packages/8389ba0
<kyak> viric: thanks
<kyak> it's using Dejavu Sans Mono by default here
jekhor [jekhor!~jek@vulture2-nat-43.telecom.by] has joined #qi-hardware
<viric> larsc: yes, 2.6.37 boots fine. BUT
<viric> I tried suspend, and it hanged with the screen on.
<viric> I think it worked in 2.6.36
<kyak> you see how fbgrab plays this trick :)
<viric> well, the effect on screen is similar to what you get in a usual lcd from 'patch' to 'orig'. :)
<kyak> yep, similar in reverse :)
<viric> I did not look hard for fonts
<viric> I don't know much about that.
<kyak> me too. In fact, when i tryed changing some fonts that ship by default (with anything) i only made it worse :)
<kyak> i use terminus for console on my laptop (it is also available on Ben). It is a usual setfont font, and it's very popular in Russia (it looks nice, too)
<viric> I'm more classic
<viric> I use -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
<viric> for xterm
<viric> I don't touch what is in console
<kyak> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 in my urxvt :)
mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware
Ayla [Ayla!~paul@str90-h01-31-34-166-22.dsl.sta.abo.bbox.fr] has joined #qi-hardware
skynet-1000 [skynet-1000!~skynet-10@unaffiliated/skynet2000] has joined #qi-hardware
<viric> another classic :)
skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware
woakas [woakas!~woakas@200.106.218.64] has joined #qi-hardware