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>
as i already saw you added the other's day book in the wiki :-)
erikkugel has joined #qi-hardware
unclouded has joined #qi-hardware
<unclouded>
Hi, I'm having trouble backing up my NanoNote. It's booted to MMC and I want to back up the NAND. I do "mount -t ubifs ubi0:rootfs /mnt" and it works, but all the files and directories in /mnt are owned by uid and gid 1001, not 0 as I was expecting. The web and man pages for mount aren't helping. Is there something I've missed?
<unclouded>
Spot the idiot. I just booted to NAND and the files really -are- owned by 1001
<kristianpaul>
why you expcted 0?
<kristianpaul>
i mean had you confimed it on /etc/passwd ?
<unclouded>
I expected all the entries in / to be owned by root but they're owned by 1001, which doesn't even have an entry in /etc/passwd, but it's OK, I thought I had used "mount" badly but it turns out the files really are owned by 1001. Don't know how they got like that though
<unclouded>
I haven't checked that file to see if the files are all owned by 1001 though
<kristianpaul>
!seen nielsk
<qi-bot>
kristianpaul, nielsk? hmm... I'm trying to remember... maybe... I'm not sure... no. I don't remember nielsk.
<kristianpaul>
!seen niel*
<qi-bot>
kristianpaul, I found 2 matches to your query: nielsle, nielsle_. nielsle (~nielsle@4135136-cl69.boa.fiberby.dk) was last seen quitting #qi-hardware 31 weeks 2 days 14 hours 19 minutes ago (15.07. 11:44) stating "Client Quit" after spending 1 minute there.
<kristianpaul>
ah same nanonomap dont support gpsd..
<kristianpaul>
s/same/shame
<qi-bot>
kristianpaul meant: "ah shame nanonomap dont support gpsd.."
<unclouded>
how are you connecting your GPS to your NN?
<kristianpaul>
actually i'm sourcing another gps receiver box for a frien's project
<whitequark>
anyone knows if tuxbrain is still alive? :/
<kristianpaul>
he is yes
<unclouded>
There's an interesting side effect of all files being owned by 1001 in the rootfs: All the files that -are- owned by root are the ones changed -after- the initial flashing of NAND, so you could even do this deliberately as a crude change-tracking mechanism
<kristianpaul>
but nanomap is very good for adding marks, but afaik no gpsd supprot..
<kristianpaul>
seems i need try OE again..
<whitequark>
unclouded: not changed, but recreated
<whitequark>
truncating a file and writing over it/appending to it does not change the uid
<whitequark>
check it yourself
<unclouded>
ah ok, not such a good change-tracking mechanism then. shame, it would be a good hack
<whitequark>
pfft, you can make selinux do same things for you
<whitequark>
or even plain inotify
<whitequark>
would have been quite cpu-hungry, through
<unclouded>
I can't remember what I changed on this file system. I want to reflash to the latest but I don't want to have to keep a full backup yet I don't want to lose anything I did create or change
<unclouded>
perhaps more importantly, I want to re-apply any changes to the freshly flashed image
<unclouded>
packages I installed, configuration I changed and so on
<qwebirc70840>
I got full imagemagick running on my Ben
<qwebirc70840>
this is cenobyte by the way
<qwebirc70840>
and i have an idea on how to bring csound to the OpenWRT image
<qwebirc70840>
let me know if anyone is there
<xiangfu_>
qwebirc70840, what is the different on your imagemagick with the upstream one?
<qwebirc70840>
Well first off, I am running Debian Sid on the NAND
<qwebirc70840>
and I have the full debian cli version
<xiangfu_>
oh.
<qwebirc70840>
it requires swap to be enabled
<qwebirc70840>
what's funny is that it took 10 minutes to resize a very large image to half size
<qwebirc70840>
but it DID do it!
pabspabspabs has joined #qi-hardware
<qwebirc70840>
for 320x240 to probably 800x600 images it should be better
<qwebirc70840>
well maybe i will just try mailing list
<qwebirc70840>
just for the record, I found old csound 4.0 source code in a book which can be made with the standard 'make' as opposed to scons
<qwebirc70840>
I am thinking it should be trivial to make for OpenWRTqi
<qwebirc70840>
OK well bye
xiangfu has joined #qi-hardware
jekhor has joined #qi-hardware
<unclouded>
What's the tidiest way to prevent a service starting up on the NanoNote? Should I simply delete the link in /etc/rc.d or is there a nicer way like Debian's update-rc.d?
<whitequark>
wolfspraul: do you know of any distributors of NN which actually ship ?
ankit has joined #qi-hardware
<whitequark>
wpwrak: ^ also
<wpwrak>
sharism ? :)
<whitequark>
mhm
<whitequark>
I'm interested in atben/atusb
<whitequark>
mainly
ankit has joined #qi-hardware
<whitequark>
sharism doesn't seem to distribute them
<wpwrak>
sharism should have these soon (it seems)
<wpwrak>
but they come from tuxbrain, so ...
<whitequark>
well, tuxbrain eventually just cancelled my order. and I have yet to get a moneyback, as the Visa payment is already authorized
<whitequark>
:/
<whitequark>
I'd prefer to get the hardware, but...
<wpwrak>
(tuxbrain) oh :(
<wpwrak>
maybe he already sent all his atben/atusb to wolfgang
<whitequark>
he didn't mention that
<whitequark>
just no reply within 20 days of order placement
<wpwrak>
yeah, that's bad
<whitequark>
it would be faster to get the pcbs manufactured at a fab and place an order on digikey, seriously
<whitequark>
maybe I should just do that
<whitequark>
not to mention it would be significantly cheaper in this case
<wpwrak>
if you're planning to modify the design, then making your own board can be a good idea. but ... unless you have good RF measurement equipment, you may want to have a reference device you can compare with
<wpwrak>
a reference does make life quite a lot easier :)
<wolfspraul>
I have atben/atusb
<wolfspraul>
whitequark: how many do you want?
<whitequark>
yes, that's what I wanted to buy some premade devices
<whitequark>
wolfspraul: hm, I'm unlikely to fry atusb but quite the opposite for atben
<whitequark>
hence I think 2 atben/1 atusb is good enough
<whitequark>
*why I wanted
<wolfspraul>
anything else you want? also some nanos?
<whitequark>
probably no at the moment. I realized that I have a lot of devices which could act as SPI hosts
<whitequark>
m1, ft232, stm32, arduinos, whatever
<whitequark>
buying a NN just for that purpose is silly
<wolfspraul>
m1 is cool :-)
<wolfspraul>
a little overkill - *maybe* :-)
<whitequark>
hehe
jekhor has joined #qi-hardware
<whitequark>
I've already decided to use stm32 anyway as the main CPU for that project
<whitequark>
cheap, easy as atmegas, faster and more powerful than atmegas, uses less power than atmegas.
kukac has joined #qi-hardware
cladamw has joined #qi-hardware
ankit__ has joined #qi-hardware
woakas has joined #qi-hardware
Ayla has joined #qi-hardware
zenlunatic has joined #qi-hardware
<whitequark>
the as-it-turns-out-really-opensource-osPID is in production!
<roh>
whitequark: do you know if and when they will do a variant legal to use in sold products?
<roh>
or electrical installations. means CE and a rail-mount case
<roh>
top-hat-rail mountable case
<whitequark>
hm
<whitequark>
I can ask, of course, but what do you mean by "legal to use"?
<whitequark>
some certification?
<whitequark>
ah, got it. CE. ok, I'll ask
emeb has joined #qi-hardware
<roh>
whitequark: well.. as it is i couldnt mount it onto a customers wall, with ce i can. makes it more interresting. commercial pid controllers start at ~60€ when temperature only and ~120€ when generic and end somewhere at around 500€
<whitequark>
roh: I emailed him
<whitequark>
also, ordered the thingy.
<roh>
hehe. nice. please report your experiences
<whitequark>
I really like how it's done. IMO everything is very well thought-of in it.
<whitequark>
definitely
<whitequark>
roh: yeah, sure. I'll write in my blog probably.
<roh>
even when i will not use an extra 'device' as a pid regulator but most likely do it in some 'extra avr' but not any extra high-power output or pcb
<whitequark>
yeah, that's why I bought ospid and not the reflow shield
<roh>
i can understand why the industrie 'modularizes' such stuff.. but in a opensource industry we can just 'use the code' and integrate such stuff and save money on extra hw
<whitequark>
(apart from my dislike of countless arduinos)
<roh>
i havent bought a single real arduino afaik. always just worked on other peoples ones or soldered boards myself
<whitequark>
^ that. just put in a damned atmega.
<roh>
sure. in the end its nothing different.
<whitequark>
you don't need a fancy name for an atmega with a bootloader. neither you need an IDE nor all other crazy stuff
<whitequark>
shields consisting of ten wires
<whitequark>
wtf, people
<roh>
the reason i like arduino is reproducability
<whitequark>
hm?
<roh>
i can drop a commented pde file somewhere and people can replicate my results.
<roh>
even when i do not use their ui and only a makefile and their libs
<roh>
my editor is vim. i dont use the java stuff.
pabs3 has joined #qi-hardware
* whitequark
prefers kate, but that does not really matter
<whitequark>
well, won't they be able to replicate it with just an atmega?
<roh>
mostly i dont even have the real bootloader flashed. but the code stays the same and arduino is like the 'documentation layer' to communicate knowledge. helps beginners with less hw and sw knowledge replicate what ive built
<roh>
no. when somebody is forced to solder or forced to use a makefile you have upped the requirements immensively.
<whitequark>
then you have some very simple or very typical projects
<roh>
when you only say 'use this .pde file and wire it accordingly the comments' every 10 year old who can read can do it in one afternoon. makes people have success on hacking. makes them happy and come back, hack some more. its a motivational question.
<roh>
whitequark: not really. but i split em up into multiple simple ones.
<whitequark>
can I take a look at them?
<roh>
i havent really put stuff online yet with documentation
<whitequark>
are you teaching someone in a public school or a hackerspace?
<roh>
i have helped getting our hackerspace started and am thinking about how to go on