IRC #olimex 2014-04-12

[00:13:51] <WarheadsSE> for those that care -- curl http://paste.debian.net/plain/93213 > a20-gentoo.html
[00:39:29] <DevWork_> Any hope of getting decent video playback on the lime?
[02:16:55] <DevWork_> No one?
[02:27:21] <ssvb> DevWork_: maybe https://github.com/linux-sunxi/libvdpau-sunxi ?
[02:27:52] <DevWork_> What about it? Its not in the debian build already?
[02:28:28] <ssvb> it provides you with "decent video playback"
[02:28:59] <DevWork_> Does it work under something like xbmc? Cause the only thing I've seen with an olimex is stuttery 720, nevermind 1080
[02:30:14] <ssvb> http://linux-sunxi.org/XBMC
[02:30:38] <DevWork_> I've researched this before coming here, I know the links thank you.
[02:30:54] <ssvb> you are welcome
[02:34:14] <DevWork_> I've installed xbmc like this, with libvdpau, I don't get "decent video playback"
[02:34:28] <DevWork_> I get stuttery frame by frame.
[02:34:29] <ssvb> if smplayer is close enough to be "something like xbmc" for you, then you still can have "decent video playback"
[02:34:44] <DevWork_> I don't really care how its done, but I want to playback a network stream.
[02:34:58] <DevWork_> I have another box that shoots video over the network, I used xbmc in the past.
[02:35:04] <ssvb> yes, because you are getting software decoding in xbmc
[02:35:24] <DevWork_> I don't think its doing software decoding, I do believe it is utilizing the HW.
[02:36:49] <ssvb> then why are you getting poor performance?
[02:37:15] <DevWork_> I don't know, thats why I came to #olimex asking how to get it not to be poor.
[02:38:21] <ssvb> you can follow the instructions from http://linux-sunxi.org/XBMC and get a somewhat buggy, but hardware accelerated xbmc
[02:38:39] <DevWork_> Ok sure. What is buggy though?
[02:38:52] <DevWork_> If I can play video that is all I care about.
[02:39:12] <DevWork_> I did follow them though, and my video performance was like I said stuttery.
[02:39:44] <DevWork_> I can try on a fresh image again, it's not like I haven't already done exactly that though.
[02:40:09] <ssvb> that's how it works - http://linux-sunxi.org/CedarXVideoRenderingChart
[02:40:42] <ssvb> you can see which video samples are problem free and which are not so much
[02:41:36] <DevWork_> so its certain A/V codec combinations, avoid that bad ones sweet.
[02:42:58] <ssvb> libvdpau-sunxi with mplayer (or with smplayer gui) works the best
[02:43:47] <DevWork_> k can try that.
[14:18:13] <mav> Hi! URGENTLY need SimCom SIM300DZ modem firmware!
[14:21:47] <mav> Hi! URGENTLY need SimCom SIM300DZ modem firmware!
[14:47:58] <mav> anybody of Olimex online here?
[15:06:36] <linuxnewbi> Guys, I know how to echo a string on a port/console from a c program on linux - by using system(echo 'stringtext' etc etc). However, I want to print data stored as an int. I am not using the printf statement to do the conversions for me as would normally be the case...please show me an example of how to do it in a system(echo ) approach. thanks
[15:09:31] <trygvis> the right answer is to use printf
[15:12:06] <trygvis> if not you can format a string with vsnprintf
[15:16:48] <linuxnewbi> interesting i had never come cross that in any c books. IF i set the buffer length to five (will never have more than 4 digits), but only give it a single digit integer, does it matter or will th result be correct please? thanks
[15:36:07] <linuxnewbi> I am having trouble get my integer to be accepted by vsnprintf. Is there an easy way to apply this va_start macro business to single int to make it work?
[15:38:55] <linuxnewbi> actually sprintf is best fit for this problem!
[17:44:48] <al44> hi
[17:52:01] <de_> #linux-sunxi
[19:06:57] <axelp> hello
[21:16:47] <uniqdom> https://olimex.wordpress.com/2013/11/05/building-the-ultimate-debian-sd-card-for-linux-with-kernel-3-4-for-a20-olinuxino-micro/ says that you were using commit a7350cb6a9ec1aae510e26cdc730f05f12e13f9f for building linux kernel in a20-olinuxino-micro.
[21:17:13] <uniqdom> does the ultimate SD-card .img that is in the wiki is using the same commit?
[23:14:23] <linuxnewbie> Hi, I'm running a program on Arch Linux 2.x on imx23. I have a C program where I attempt to write to tty using system(echo etc etc etc), but when I run the program, i get warnings about permission. Can I resolve this from within C program or with some sort of shell command before i run program please? thanks
[23:16:26] <uniqdom> I don't know if this is the correct way, but in one ocassion I have changed the permission of the tty device with "chmod o+rw /dev/ttyX" to solve a similar problem
[23:16:35] <uniqdom> linuxnewbie ^
[23:17:15] <linuxnewbie> I give it a lash and see what happens now, thanks.
[23:17:20] <uniqdom> you must run that command as the root user
[23:17:50] <uniqdom> don't know if you must do that in every reboot...
[23:25:13] <linuxnewbie> doesn't seem to work for me, either on tty1 or ttyUSB0. Is there another approach I could try?
[23:25:39] <linuxnewbie> logged in as root
[23:27:45] <uniqdom> give me a second to try something
[23:32:26] <uniqdom> try this: http://pastebin.com/WM95sgQt
[23:32:31] <uniqdom> linuxnewbie ^
[23:34:47] <linuxnewbie> enter this at bash shell? at shell, i can already echo commands, it only fails from within my c program.