[00:08] <Jello> Hello everyone. I'd like to develop a simple program to record videos using a OSD. Is there any document to intoduce the video recording interfaces without GUI?
[00:15] <MP0> hmm, I'm curious about that myself... lemme look at the source code.
[00:16] <Jello> Is there any high level document introducing the related interfaces?
[00:17] <MP0> I don't know; I've just gotten into the OSD myself.
[00:19] <MP0> It seems like a lot of stuff involves writing to the ingenient devices living in the /proc filesystem
[00:21] <Jello> ok, thanks for the information you provided.
[00:22] <MP0> Don't thank me just yet, I'm still looking for information...
[00:29] <MP0> have you looked at this file:
[00:29] <MP0> svn.neurostechnology.com
[00:29] <MP0> it looks to me like everything you could want to do is a C function in there
[00:30] <MP0> What is your program going to do, Jello? Command line interface?
[00:34] <Jello> a service without gui.
[00:35] <MP0> hmm... I think I should make a command line program to control the IR blaster. I always wanted to change the channel from terminal
[01:21] <daurnimator> MP0: look into MattJ100's webterface
[01:21] <daurnimator> anyway, Hi all
[01:23] * MP0  googles it
[01:40] <nerochiaro> MP0: the nms client interface that you mentioned earlier is what you generally need
[01:40] <nerochiaro> MP0: what are you trying to implement, if i may ask ?
[01:40] <MP0> I wasn't... some other guy asked how to start recording.
[01:40] <MP0> without using the GUI
[01:41] <nerochiaro> ah, I think he emailed in the list too. "jello", right ?
[01:41] <MP0> yes
[01:41] <nerochiaro> ok, i'll answer him there then
[01:41] <MP0> hopefully he liked the well-commented nms-client.c file
[01:41] <MP0> that I pointed him to
[01:41] <nerochiaro> MP0: commented, yes. "well", hmmm ;) anyway, it was the right thing to do
[01:41] <nerochiaro> thanks
[02:27] <MP0> humm, two clients cannot share the same i2c device... oh well, more work.
[02:27] <nerochiaro> MP0: sorry to hear that
[03:19] <nerochiaro> crweb: can you run a full "build-helper.sh all" build in the background, just to confirm that the main-menu builds normally for you ? for some reason it didn't build for me, very strange
[03:20] <crweb> yeah, got to hook up my drive real quick
[03:20] <nerochiaro> crweb: no problem if you have to mess up things. just give it a shot if you have it handy
[03:25] <crweb> what settings for server/port does your gaim use for gtalk
[03:26] <crweb> oh got it
[03:26] <crweb> needed ssl enabled
[03:27] <orion-uk_> .
[03:27] <orion-uk_>
[03:35] <nerochiaro> wow, that was weird. just got policeman at the door that wanted to check my "office"
[03:37] <crweb> check it for what?
[03:37] <nerochiaro> check that it existed
[03:38] <crweb> ahh.. for taxes?
[03:38] <nerochiaro> yep
[03:38] <crweb> did it exist?
[03:39] <nerochiaro> appearently. the 24" monitor was quite impressive to them
[03:39] <nerochiaro> looked like it was the proof they needed
[03:39] <crweb> mine doesn't exist...
[03:39] <crweb> suite B, is my closet
[03:39] <nerochiaro> well, technically mine neither, it's just a room in my home. but that's legal
[03:40] <crweb> yeah, usa wants to make sure you have a separate room.
[03:40] <nerochiaro> here they are thankfully more lax on that. the boring thing is that i have to go up there tomorrow morning and bring to them a bunch of paperwork.
[03:40] <nerochiaro> so i won't be around much
[03:40] <daurnimator> hey nerochiaro and crweb
[03:40] <crweb> they'd never come to my house though
[03:41] <nerochiaro> daurnimator: hi
[03:41] <crweb> daurnimator: hey
[03:42] <nerochiaro> crweb: i never expected them either. first time they show up. actually got a bit worried for a minute
[03:42] <crweb> i don't think we are required to let them in the house
[03:43] <crweb> and any more, they make us go to their office when we get audited
[03:43] <nerochiaro> ya, i have to do that tomorrow
[03:44] <nerochiaro> regarding inspecting the house, if it's the same thing as the office here they are entitled to enter. they can inspect offices if they want, i think
[03:44] <nerochiaro> they actually asked me when i was more comfortable letting them inspect, so i could've just asked them to come another day and shredded all compromising evidence, if i had any
[03:51] <crweb> JohnDesigner: ping
[03:51] <crweb> if that man has any sense. he's sleeping..
[03:55] <nerochiaro> crweb: are you following that ENTER/# key thing yourself ? I don't really understand that last email where he says "it's unsensable"
[03:55] <crweb> he's combining 2 topics
[03:55] <crweb> the ability to send the key back, and linking # and ENTER together
[03:57] <crweb> virtual keyboards don't send the key back for a reason, which is what I just explained. This is a john call though and should be implemented in NLineEdit, not the VKB (since other users/apps might not want this "enter key")
[03:57] <crweb> i failed to metion the case where, there are some widgets where sending "Enter" again would cause an infinite loop..
[03:58] <crweb> a LineEdit with a button buddy. for example
[03:58] <crweb> button opens keyboard. "Enter" in line edit sends input to button, which opens the keyboard
[04:01] <nerochiaro> be sure he doesn't get tripped up by that issue, please
[04:01] <nerochiaro> and if you can clear up the mixing of concepts, that would help a lot too
[04:02] <crweb> I told him we'd implement that later and to go ahead without it already.
[04:02] <nerochiaro> ok, i see that hunt is in agreement too
[04:02] <crweb> I'll wait for john to wake up and then we can continue
[04:07] <nerochiaro> crweb: it's ok
[04:20] <nerochiaro> crweb: did you happen to try that build-helper.sh all ?
[04:21] <crweb> it is going at the moment
[04:21] <crweb> agh. faild at no libz
[04:21] <crweb> how odd
[04:21] <nerochiaro> for me it suceeds, but it doesn't build main-menu at all
[04:22] <nerochiaro> and if i build it manually, it gives me a lot of mediakey-related errors while running
[04:22] <nerochiaro> and yet, nick did not commit his patch yet
[04:24] <nerochiaro> crweb: did you run a "build-helper up" before building ?
[04:24] <crweb> i did yes
[04:25] <crweb> i'm missing something with libz on my system..
[04:25] <crweb> someone posted notes in the guide about it i think
[04:25] <nerochiaro> yes, i think you just have to install it in your distribution
[04:28] <crweb> zlib1g
[04:29] <crweb> err, ?
[04:29] <crweb> i've never had to install that before... i don't get that..
[04:29] <nerochiaro> i've never had to install it at all
[04:30] <nerochiaro> maybe you uninstalled something that auto-uninstalled that lib too
[04:30] <nerochiaro> dunno
[04:30] <nerochiaro> anyway, check what happens now that you can run a full build again
[04:30] <crweb> now i don't follow why # must = Enter
[04:30] <crweb> that makes no sense.. no user things.. hmm I'm going to press #
[04:31] <crweb> err, thinks
[04:31] <nerochiaro> i totally have no idea
[04:31] <nerochiaro> i asked if it was from John's design
[04:31] <nerochiaro> but i don't think he answered
[04:31] <crweb> i think he got busy with my replies and missed your question
[04:31] <crweb> who presses #....
[04:32] <nerochiaro> well, if it's not in John's design, it has to be removed (and i'm thinking it has to be removed anyway)
[04:32] <crweb> never woui think we all agree with my "Enter" doesn't mean auto activate action
[04:32] <crweb> ahah. remove the "never wou"
[04:34] <nerochiaro> well, softkeyboard has and ENTER virtual button. if you press that, it close softkey and input text into widget. what is the issue ?
[04:34] <crweb> he wants that "Enter" to auto activate an action. Not _just_ put text in the widget
[04:34] <crweb> and instead of having to press "Enter" on VKB. you can just press #
[04:35] <crweb> but who knows that.
[04:35] <nerochiaro> last time i checked # on virtual keyb was to switch between modes (upcase, lowcase, symbols)
[04:36] <nerochiaro> as for auto-activate action, i'm not sure what you mean. you put text into widget, and that's it. what action ?
[04:36] <crweb> if text was Youtube Search, pressing VKB "Enter" would send the enter key to the LineEdit to activate the search
[04:37] <crweb> instead of only placing text in the line edit
[04:37] <crweb> but my beef with that is. what if i typo. I have to wait for long search to finish to edit?
[04:37] <crweb> that sort of logic pisses me off bad.
[04:38] <crweb> could just be me though..
[04:38] <nerochiaro> it just doesn't make sense
[04:39] <crweb> yeah, thats more of a Virtual Input/Action handler. not a VKB
[04:39] <nerochiaro> softkeyb closing and inputting text should be a different thing than any other action from the widget that has that softkey widget
[04:39] <nerochiaro> i mean, you have usually to press an "OK" button, or "Search" button on the search form
[04:39] <crweb> the application should listen to the signal newText(), and "activate on new text"
[04:39] <crweb> not VKB take action, or Send action key by default
[04:40] <crweb> I am not going to allow auto action in NLineEdit/VKB. I just proved it not needed. Plus, there are more edits that don't need auto action than edits that do
[04:40] <nerochiaro> whatever, it depends on the app design, but it's unrelated to softkeyb. the fact is: softkeyboard should only care about inputting text into widget.
[04:41] <crweb> agree
[04:41] <nerochiaro> application takes care of actions
[04:41] <nerochiaro> softkey doesnt' even know about what app it is being called from
[04:41] <nerochiaro> how can it trigger actions in the app ?
[04:41] <crweb> he wants to send the Enter key to the NListEdit on VKB close
[04:41] <crweb> and NListEdit would take action
[04:42] <nerochiaro> just make a specific signal that say "i finished inputting text". then each app can take the action it wants
[04:42] <crweb> already exists
[04:42] <nerochiaro> or simply if it's QT standard just attach to the text changed signal
[04:42] <nerochiaro> i bet there's one
[04:42] <crweb> thats what you do yes
[04:42] <crweb> there is, it was newText() i think
[04:42] <nerochiaro> ok, please make sure he does that and understand is
[04:42] <nerochiaro> er, it
[04:43] <crweb> so, that pretty much closes the Issue
[04:43] <crweb> # handling would be in the VKB
[04:43] <crweb> and is a different topic
[04:44] <nerochiaro> yes
[04:44] <nerochiaro> case closed, if you can keep him on the resolution and hopefully make him understand it
[04:46] <nerochiaro> now, about that build... this is freaking me out
[04:50] <crweb> nerochiaro: i built fine btw
[04:51] <crweb> completely ok
[04:52] <nerochiaro> does it run ok too ?
[04:54] <nerochiaro> crweb: is main-menu application present '
[04:54] <nerochiaro> ?
[04:54] <crweb> wtf
[04:54] <nerochiaro> neuros-bsp/rootfs/fs/usr/local/bin/main-menu
[04:55] <nerochiaro> i don't have this
[04:55] <crweb> how did that happen
[04:55] <crweb> build should fail..
[04:55] <nerochiaro> scary eh ?
[04:55] <crweb> it didn't build at all
[04:56] <nerochiaro> if you build it manually "make -C linux-r3-main-app all install" it won't create it either. you have to "make -C linux-r3-main-app/main-menu all install" to make it work
[04:56] <crweb> i went and typed make and it built fine
[04:56] <nerochiaro> ya
[04:56] <crweb> so.. who screwed up linux-r3-main-app/Makefile ?
[04:56] <nerochiaro> i checked it, but i don't see screweups
[04:56] <nerochiaro> let me check the svn log
[04:57] <crweb> its got to be jimmy
[04:57] <nerochiaro> last commits are his
[04:58] <crweb> 4353, should that be a \ before done?
[04:58] <crweb> nvrmind, guess so.
[04:58] <crweb> it all looks like copy and paste to me...
[04:59] <nerochiaro> anyway, he just added qm_install, didn't touch install itself
[04:59] <crweb> its not even being compiled.. must be pre-qm_install
[04:59] <nerochiaro> ah, i get it
[05:00] <nerochiaro> 4393 jimmy lrelease translations/*.ts || \
[05:00] <nerochiaro> 3594 mgao make all && cd .. || exit 1 ;\
[05:00] <nerochiaro> that means
[05:00] <nerochiaro> that if lrelease fails, it won't get built
[05:00] <nerochiaro> but it won't fail the build
[05:00] <nerochiaro> so, two questions:
[05:00] <crweb> linux-r3-main-app/Makefile should error out though
[05:01] <nerochiaro> why ?
[05:01] <nerochiaro> the || will prevent anthing else from executing
[05:01] <nerochiaro> and will return "ok" return code
[05:01] <crweb> right. if it errors, the make file isn't suppose to continue building the other stuff
[05:01] <nerochiaro> but it dosn't
[05:02] <nerochiaro> error
[05:02] <nerochiaro> he should just use && in place of ||
[05:02] <crweb> oh i see
[05:02] <nerochiaro> or even better
[05:02] <nerochiaro> lrelease || exit 1
[05:02] <nerochiaro> and then "make all" and so one
[05:02] <nerochiaro> let me see if this fixes it
[05:03] <crweb> crap
[05:03] <crweb> make all, in linux-r3-main-app just worked for me
[05:03] <crweb> didn't work from build-helper though..
[05:04] <crweb> checking make install now.
[05:06] <nerochiaro> i patched it: it correctly fails for me now telling me "lrelease error: Cannot open file 'translations/*.ts': No such file or directory"
[05:06] <nerochiaro> this is at least the correct error message
[05:07] <crweb> make install is failing for me. because main-menu is not completely building.
[05:07] <crweb> after you make all in main-app, go into main-menu and type make
[05:07] <nerochiaro> that is not the real issue, i think
[05:08] <crweb> the install isn't finding the files because they didn't exist.
[05:08] <nerochiaro> the real issue is that it should quit immediately when lrelease fail
[05:08] <nerochiaro> which files ?
[05:08] <crweb> main-menu/build/*
[05:09] <crweb> there is a 4 step process in main-menu/*
[05:09] <crweb> nqmake -recursive
[05:09] <crweb> make
[05:09] <crweb> nqmake -recursive
[05:09] <crweb> make install
[05:09] <crweb> make install won't install files that didn't exist the last time qmake was run
[05:09] <nerochiaro> of course they didn't exist, they were never built. and they were not built because lrelease failed failed on main menu, but instead of failing all build, it just skipped building main-menu instead
[05:10] <nerochiaro> let me send you a patch for this
[05:10] <crweb> lrelease should be run after make
[05:10] <nerochiaro> ah
[05:10] <crweb> not during the compile..
[05:10] <nerochiaro> that is another error then
[05:10] <nerochiaro> so first make, then lrelease ?
[05:10] <crweb> yeah
[05:10] <nerochiaro> and if any fail, stop the build
[05:10] <nerochiaro> let me try that
[05:11] <crweb> that way they are separate. and main-menu will still build even if language fails
[05:11] <nerochiaro> i would stop the build if lrelease fails, though
[05:11] <crweb> right, but as we see. which caused the build to fail?
[05:12] <crweb> much harder ti diag when they are both missing
[05:12] <crweb> also, the language install and application build are very separate things. applications can build and install without language packs
[05:12] <nerochiaro> so, what do you suggest ?
[05:13] <crweb> all language generation done AFTER application make and make install ?
[05:13] <nerochiaro> but do we still fail the build if they fail ?
[05:13] <crweb> or at least let the application finish building
[05:13] <crweb> yes
[05:14] <crweb> if language fails to build and script stops
[05:14] <nerochiaro> so what's the need to do it after all apps ? we can do it after each app and stop build immediately on that app
[05:14] <crweb> i still want main-menu/build/* to exist have have built app in it
[05:15] <crweb> true, if it all fails it won't matter cause you can just read where it failed
[05:15] <crweb> i'm wondering if we should just let it continue without language packs
[05:15] <nerochiaro> i think we should not
[05:15] <crweb> ok
[05:15] <crweb> kill it then, and just make it fail where ever you can
[05:16] <nerochiaro> crweb: sendign you patch in a minute to double check
[05:16] <crweb> ok
[05:16] <crweb> ahh, i was looking in qm_install
[05:17] <crweb> i see the lrelease stuff now
[05:17] <crweb> patch qm_install also to exit 1
[05:17] <nerochiaro> yes
[05:18] <crweb> no here is another issue:
[05:18] <nerochiaro> crweb: wait
[05:18] <crweb> oh nvrmind
[05:18] <crweb> i miss read
[05:19] <crweb> hahaha
[05:19] <nerochiaro> i created the patch, which cause it to run (for each app) first "make all", then lrelease translations/*.ts (and fail the whole build if any fails). but it is failing on me
[05:20] <crweb> i found it.
[05:20] <nerochiaro> on main-menu's lrelease
[05:20] <crweb> you can't *.ts in qmake file
[05:20] <crweb> the .ts files should be added to the ui.pro individually so they can be generated
[05:20] <crweb> you can't generate a *.ts file
[05:21] <nerochiaro> what is that is supposed to generate the *.ts files ?
[05:21] <crweb> qmake does
[05:22] <crweb> kind of. lrelease reads the .pro file for available translations
[05:22] <crweb> you don't tell it "*.ts" if i remember correctly
[05:22] <crweb> i will continue work on this
[05:22] <crweb> he left out some key pieces
[05:23] <nerochiaro> ok. do you want the patch i made so far ?
[05:23] <crweb> you just added exits ?
[05:23] <nerochiaro> more or less, reordered these || and && that were not right
[05:23] <crweb> yes then
[05:25] <crweb> he never runs lupdate to generate the ts files.
[05:25] <nerochiaro> sent now
[05:25] <nerochiaro> please notice the notes in the email, too
[05:25] <crweb> we are suppose to commit the ts files to the tree. he must have missed this
[05:26] <crweb> step 1: commit clean .ts files generated from source
[05:26] <crweb> step 2: email .ts file to translator
[05:26] <crweb> step 3: recieve translated .ts file from translator
[05:26] <crweb> step 4: commit translator .ts file to tree
[05:27] <crweb> step 5: run lupdate
[05:27] <crweb> step 6: send translator updated .ts
[05:27] <crweb> step 7: recieve translated .ts file
[05:27] <crweb> step 8: commit translated .ts file
[05:27] <crweb> Repeat 5-8
[05:28] <nerochiaro> let's make this clear then
[05:28] <nerochiaro> and fix this mess by failing when they are not there
[05:28] <nerochiaro> so he's forced to commit them anyway
[05:28] <crweb> well, after first commit, they will never stop existing
[05:28] <crweb> he just didn't finish
[05:28] <crweb> but, yes. fail away
[05:29] <nerochiaro> it's good to fail, in case they get deleted for some reason
[05:40] <nerochiaro> crweb: still there ?
[05:41] <crweb> yes
[05:55] <JohnDesigner> crweb: pong
[05:55] <crweb> JohnDesigner: please hold. I'm not in the mood for your shananigans
[05:55] <JohnDesigner> ?
[05:56] <crweb> yeah i dunno. I'm still not taking JohnDesigner input..
[05:56] <JohnDesigner> ah, I see.
[05:56] <crweb> i'll think about it in a few min when done meeting with pablo
[05:57] <JohnDesigner> still acting like the gal that got felt up at the movie theater I see
[05:57] <JohnDesigner> :)
[05:58] <JohnDesigner> so , #= enter on the softkeyboard. Is that the problem?
[05:59] <crweb> you just pick that up from IRC, or did someone beat me to the email?
[05:59] <JohnDesigner> IRC
[05:59] <crweb> not to much a problem
[05:59] <crweb> just not expected behavior
[05:59] <crweb> I'd never have figured out # was "Enter"
[05:59] <JohnDesigner> well...
[06:00] <JohnDesigner> what do you sugges.
[06:00] <JohnDesigner> t
[06:00] <JohnDesigner> ?
[06:00] <crweb> just leave it VKB "enter" box
[06:00] <crweb> this is really a minor issue. It would be easy to add to VKB either way. There is much larger issue
[06:00] <JohnDesigner> no "enter" shortcut? You
[06:01] <JohnDesigner> would rather navigate to the |enter| key each time?
[06:01] <crweb> i do anyway
[06:01] <crweb> a.) never knew # was (enter). b.) I'll never remember that..
[06:01] <JohnDesigner> what is the big deal with #?
[06:01] <crweb> nothing, forget about it. We can do it.
[06:01] <JohnDesigner> no, I want to hear it
[06:02] <crweb> it was tied into a larger issue from xiamen we had to decode
[06:02] <crweb> once we figured out real issue, that one became nothing..
[06:02] <JohnDesigner> ah, i see.
[06:03] <JohnDesigner> Hmm, I dont have a remote in front of me, is the # key on the right or left?
[06:03] <JohnDesigner> I cant remember
[06:03] <crweb> pfft
[06:03] <JohnDesigner> pfft?
[06:03] <crweb> like i would know
[06:03] <nerochiaro> where is it on your cellphone ?
[06:04] <JohnDesigner> do you have a remote in front of you?
[06:04] <nerochiaro> i have one at my side
[06:04] <nerochiaro> does it count ?
[06:04] <crweb> its on the right
[06:04] <crweb> funny there are 2 * keys
[06:04] <crweb> oh wait.. thats an xim
[06:04] * crweb  throws john a cheap shot
[06:05] * JohnDesigner  is leaving
[06:06] <crweb> JohnDesigner: my main issue with # being enter is that, # clearly says Clear on the button
[06:06] <crweb> and I'd expect it to clear. boy would i be pissed if it Entered and auto activated my search
[06:07] <JohnDesigner> its a shortcut
[06:07] <crweb> leading to, I'd never would have thought of hitting the "Clear" button to (Enter)
[06:08] <crweb> anyway, where ever you want to put it. whatever.
[06:08] <JohnDesigner> that is why there are words on the screen "press # to enter".
[06:08] <crweb> Main issue:, auto activation
[06:08] <JohnDesigner> no, its not a perfect situation.
[06:09] <JohnDesigner> no, I would not do that if designing the system and remote from scratch.
[06:09] <crweb> for this conversation VKB stands for Virtual Keyboard. Activation means that a task is started
[06:09] <JohnDesigner> mmhmm
[06:10] <JohnDesigner> auto activation?
[06:11] <crweb> Example: Youtube Search. User brings up VKB, enters text. Presses Enter(#), VKB closes and activates search
[06:11] <JohnDesigner> I don't see what the big deal is with the shortcut.
[06:12] <crweb> forget the shortcut
[06:12] <crweb> we'll do that
[06:12] <JohnDesigner> okay, but it was in your last questions
[06:12] <crweb> that was just a statement of events
[06:12] <JohnDesigner> so I thought ... neverming
[06:13] <JohnDesigner> alrighty
[06:13] <crweb> Auto activation is VCK closing and activating search
[06:13] <crweb> VKB
[06:14] <JohnDesigner> rgr
[06:15] <crweb> We are going to have some major problems implementing this
[06:15] <crweb> and a lot of us feel that it is not wanted, or needed
[06:16] <crweb> for instance.
[06:16] <crweb>