IRC #olimex 2014-04-16

[00:26:01] <neutrx> Hello
[00:26:23] <neutrx> I would like to know how can I install wvdial on a olinuxino a13
[00:26:39] <neutrx> I don't know how to find it for arm architecture
[00:41:38] <neutrx> another question please
[00:42:07] <neutrx> What should active when building a image to detect the usb storages?
[10:41:21] <users> hi
[10:55:26] <_xor_> how to enable i2c in /dev ?
[11:35:36] <_xor_> есть кто?
[12:04:13] <nabblet> _xor_: probalbly no one around here knows
[12:04:35] <nabblet> _xor_: iirc there was a blog entry from olimex discussing your question (with solution)
[12:05:29] <nabblet> _xor_: https://olimex.wordpress.com/tag/i2c/
[12:05:33] <nabblet> there are some of them
[13:23:12] <_xor_> thx
[13:53:10] <HeHoPMaJIeH> _xor_: android or linux ?
[13:53:17] <_xor_> linux
[13:53:29] <HeHoPMaJIeH> and your board is ?
[13:53:42] <_xor_> можно и по рус)
[13:53:55] <_xor_> imx233 maxi
[13:54:09] <nabblet> _xor_: where are you from?
[13:54:17] <_xor_> russia
[13:54:28] <HeHoPMaJIeH> _xor_: i don't speak russian sorry :)
[13:54:50] <HeHoPMaJIeH> i am not familiar with imx233 but i think i2c i supported in official images
[13:54:51] <_xor_> your nick is russian word
[13:55:13] <nabblet> is it? i didn't know! what does it say?
[13:55:23] <HeHoPMaJIeH> it is written in Cyrillic :)
[13:56:03] <HeHoPMaJIeH> i am from Bulgaria :)
[13:56:15] <_xor_> :)
[13:56:38] <_xor_> ok
[13:56:45] <_xor_> about ixm233 i2c
[13:57:14] <HeHoPMaJIeH> so i am pretty sure that official olimex image support i2c
[13:57:40] <_xor_> device must register in /dev automatically ?
[13:57:55] <HeHoPMaJIeH> i suppose
[13:58:03] <HeHoPMaJIeH> try to load module manually
[13:58:17] <_xor_> i try modprobe i2c-dev
[13:58:27] <_xor_> nothing happend
[13:58:35] <HeHoPMaJIeH> i am not sure about module name
[13:58:47] <HeHoPMaJIeH> find /lib/modules -name *i2c*
[14:02:11] <_xor_> i compile kernel with i2c support and write node to device tree,but nothing...
[14:05:28] <HeHoPMaJIeH> you can try with official image, i suppose this is configuration issue
[14:05:45] <HeHoPMaJIeH> also try to decompile dts and compare it to yours
[14:06:02] <nabblet> HeHoPMaJIeH: what is dts ?
[14:06:21] <HeHoPMaJIeH> sorry dtb :)
[14:06:52] <HeHoPMaJIeH> nabblet: device tree source file
[14:07:02] <_xor_> dts-device tree source dtb-device tree blob
[14:08:34] <nabblet> is that this fex stuff?
[14:08:51] <_xor_> i tried with official image, result is similar
[14:09:55] <HeHoPMaJIeH> nabblet: we talking about imx233
[14:12:41] <hramrach> hello
[14:12:58] <hramrach> where can I buy a Lime?
[14:13:06] <HeHoPMaJIeH> _xor_: this is strange , as far i know official images are tested
[14:13:19] <HeHoPMaJIeH> hramrach: olimex's website :) olimex.com
[14:13:27] <hramrach> did not find it there
[14:13:47] <HeHoPMaJIeH> hramrach: https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME/open-source-hardware
[14:14:04] <hramrach> ok, thanks
[14:14:35] <hramrach> they should make a lime category :p
[14:14:54] <hramrach> did not realize they did not manage to make an a10 olinuxino until Lime
[14:16:19] <HeHoPMaJIeH> :)
[14:17:04] <HeHoPMaJIeH> yes categories are little bit messed up :)
[14:17:57] <hramrach> it's fine to have by-SoC but by-form-factor is also important
[14:21:13] <HeHoPMaJIeH> You can propose your adjustments to Tzvetan :)
[14:22:07] <hramrach> any plan on making boards with nand?
[14:22:33] <hramrach> uSD is fine but the cards tend to lose contact occasionally
[14:24:01] <hramrach> but maybe Olimex uses better quality SD slots than the Chinese
[14:24:05] <HeHoPMaJIeH> hramrach: i cant answer you properly , because i do not work for olimex. You may send this question to info@olimex.com
[14:24:40] <_xor_> HeHoPMaJIeH: maybe my SoC have a defect :(
[14:24:57] <hramrach> Well, I don;t really care that much. Whatever they assemble is fine
[14:25:47] <HeHoPMaJIeH> _xor_: i dont think so , do you see any dmesg entries about i2c
[14:27:06] <HeHoPMaJIeH> hramrach: there is a place for nand on board :) if you are good with soldering iron you can add it by yourself
[14:39:12] <_xor_> HeHoPMaJIeH: yes, only one message, "I2C /dev entries driver"
[14:39:54] <_xor_> HeHoPMaJIeH: and i dont see any adapter in /sys/class
[14:41:20] <hramrach> HeHoPMaJIeH: nty
[15:15:14] <ikgb> Hello
[15:15:32] <ikgb> I would like to know how to set up some programs like g++, the iceweasel explorer or dpkg by default in a Debian image
[15:15:45] <ikgb> I followed this tutorial: http://olimex.wordpress.com/2014/01/15/building-debian-linux-bootable-sd-card-with-hardware-accelerated-video-decoding-and-kernel-3-4-for-a13-olinuxino/
[15:25:23] <hramrach> ikgb: you can install the programs and make a copy of the card with the program installed
[15:27:28] <ikgb> hramrach: how can i do that?
[15:27:54] <ikgb> i don't know if I understood it
[15:28:45] <ikgb> you mean install the programs in the image of the olinuxino an then do a backup of the card?
[15:31:46] <ikgb> I have another question
[15:32:24] <ikgb> What driver should I enable to detect storage usb's?
[19:43:45] <ikgb> What driver should I enable to detect storage usb's?
[20:01:31] <DevWork_> XBMC on the lime? I thought there was a guide I'm having trouble finding it.
[20:01:58] <DevWork_> http://linux-sunxi.org/XBMC ?
[20:03:23] <torindel> DevWork_: lime is for 3d acceleration not video acceleration and its not ready for anything yet
[20:04:07] <torindel> (aka opensource mali, atm it somewhat works using custom api, no opengl es yet)
[20:05:06] <torindel> for video accel you want cedarx (closed blob) or sunxi version of libvdpau (higly experimental)
[20:05:15] <torindel> highly*
[20:07:06] <DevWork_> Can the hardware handle it or not?
[20:07:49] <torindel> with hardware video acceleration it should
[20:08:16] <DevWork_> And the hardware supports, hardware video acceleration, for things like what XBMC would want?
[20:09:07] <torindel> yes if you would force it to use vdpau with patched vdpau lib or if you would patch xbmc to use cedarx
[20:09:28] <DevWork_> The hardware doesn't care about the software, it either can do it or it can't. I realize the software is shaky.
[20:10:04] <DevWork_> The XBMC guide at linux-sunxi seems to walk through doing cedarx.
[20:10:22] <torindel> yea but either you force it to use hardware accelerated lib or you get software generated "framing" ^^
[20:10:46] <DevWork_> Ok, so why the big prefix and its not ready for anything yet
[20:10:54] <DevWork_> if I can complike xbmc to work, then whats the problem here.
[20:11:20] <torindel> theres no problem and you can find recpies for both
[20:11:21] <DevWork_> Out of the box it doesn't hold my hand and give me a pony ;) ?
[20:11:35] <torindel> DevWork_: wouldnt think so :P
[20:11:41] <torindel> check
[20:11:57] <torindel> and get some sane player that shows you what it uses like mplayer
[20:12:02] <torindel> to compare to
[20:12:15] <DevWork_> I gotta use xbmc so don't really matter :)
[20:12:20] <DevWork_> But I will.
[20:12:25] <DevWork_> I normally test with mplayer.
[20:12:32] <DevWork_> If not I got a stack of pis as well I know I can use.
[20:12:50] <DevWork_> Now to go hdmi stealin.
[20:12:59] <torindel> yea but if mplayer goes smoothly with vdpau, xbmc should too, you'll have something to compare to at last with certanity that it uses something
[20:13:41] <torindel> (and i think that xbmc will use gl rendering by default)
[20:13:51] <torindel> but i could be wrong
[20:17:59] <DevWork_> Whys the software stack so rough for the limes?
[20:19:04] <torindel> DevWork_: ask libv why in 6months he hadnt made any push to git? xd
[20:20:07] <torindel> DevWork_: or ask olimex why dont we have mali sources from arm/allwinner :P
[20:21:55] <torindel> (and no arm doesnt support endusers, it gives licencing company (i.e. allwinner) the source for mali, and forces driver distribution on it
[20:22:05] <DevWork_> I'm aware.
[20:22:29] <DevWork_> ARM is in the IP business.
[20:23:28] <DevWork_> libv pushed to sunxi-mali 22 days ago :)
[20:23:43] <torindel> DevWork_: you asked about lime
[20:23:58] <DevWork_> Its relevant towards lime work.
[20:24:22] <torindel> DevWork_: https://gitorious.org/lima
[20:24:41] <torindel> last push at Sunday, June 9 2013
[20:27:12] <DevWork_> what source has allwinner not dropped for the mali?
[20:27:28] <torindel> DevWork_: if you want work on lima go ahead, it was reverse enginered up to the point that heavly modified q3 (no opengl/opengl es but with custom api) ran on it faster than with mali drivers
[20:27:53] <DevWork_> And, really, whats wrong with the binary driver?
[20:28:05] <torindel> DevWork_: allwinner didnt give out anything mali related at all except for android on some sample android images
[20:28:23] <torindel> DevWork_: its a blob and it could go faster :P
[20:28:30] <DevWork_> does it do 1080p?
[20:29:05] <DevWork_> Im all for open source. but I have the devices, and I get what I get. Blob? Works? No problem. Philosophical qualms aside.
[20:29:06] <torindel> it could but not with satisfing frame rate, at least on normal mali400
[20:29:48] <torindel> just dont forget that that blob is gles only no normal gl
[20:30:35] <DevWork_> yea well mali was never spec'd to ogl. just es as you mention.
[20:30:58] <DevWork_> gl es 2.0
[20:31:50] <DevWork_> Does the PI use opengl es 2.0 as well?
[20:32:00] <DevWork_> I think thats a thing.
[20:32:29] <torindel> yep gl es 2.0 too
[22:08:06] <DevWork_> can the lime stream data fast enough over the network for video? I seem to get some abysmal rates doing random stuff.
[23:24:10] <ikgb> What driver should I enable to detect storage usb's?