**** BEGIN LOGGING AT Mon Oct 31 02:59:56 2011 Oct 31 05:23:09 hewball, a question about usb audio... Oct 31 05:23:19 sure Oct 31 05:23:44 you had said the device enumerates as an HID device? Oct 31 05:23:50 what is its 'name'? Oct 31 05:24:30 1 [Headset ]: USB-Audio - Logitech USB Headset Oct 31 05:24:30 Logitech Logitech USB Headset at usb-msm_hsusb_host.0-1.4, full speed Oct 31 05:24:48 okay, and it shows up as /dev/? Oct 31 05:25:06 /dev/hid/something? Oct 31 05:25:08 ill take a screenshot of dmesg for ya Oct 31 05:25:12 ty Oct 31 05:26:06 also, I have a Qstarz GPS that I need to rename so maptool and other things that expect GPS to be in the name so the API works. what did you do about that? Oct 31 05:26:41 I was just going to create a link to the real device name that contained GPS in it. Oct 31 05:26:52 i had my bluetooth named as GPS so i didnt have a problem Oct 31 05:29:11 ah, okay. Oct 31 05:29:21 well..the TP doesn't have one so there is no conflict. Oct 31 05:31:47 now I just need a way to make the picture that I take with the Veer add an entry into the gpx file for date/time/location so I can easily tag the pics as I go along. Oct 31 05:32:42 i have one of theses on my arduino http://www.ebay.com.au/itm/Bluetooth-UART-RS232-serial-Converter-Module-TTL-/190527209620 so i named it what i wanted Oct 31 05:34:20 ah, okay Oct 31 05:34:22 ka6sox: http://hewball.com.au/img/xserver_2011-31-10_132239.png dmesg output for 2 different usb audio devices plugged into a hub on the touchpad Oct 31 05:36:40 interesting, found 3 inputs but doesn't talk about any outputs at all. Oct 31 05:37:43 yeah both have a mic and headphones too Oct 31 05:38:25 I should see what my Belkin units enumerate as. Oct 31 05:38:44 iMics Oct 31 05:38:55 if you want my custom uberkernel with usb audio support let me know Oct 31 05:39:23 I just need the patch for what you changed please. Oct 31 05:39:58 then I can test and, with your permission, push it upstream to eventually get it into UK... Oct 31 05:41:05 yeah ill grab a diff now for ya Oct 31 05:42:43 ty Oct 31 05:42:45 =m ! Oct 31 05:43:02 dwc-, why? Oct 31 05:43:21 you are worried about kernel size right? :P Oct 31 05:45:35 back when I had tiny Flash drives and things were tough (like the Slug) made sense. Oct 31 05:46:05 mostly, yes Oct 31 05:46:24 for many things it's also easier to swap out Oct 31 05:47:00 I dunno, I mostly stopped building my own kernels Oct 31 05:47:32 the kernel supports so much stuff these days, the time investment to trim it down and remove all the crap for hardware I don't own Oct 31 05:47:48 ill leave that up to who ever to work out, me first time ive ever had to compile one Oct 31 05:47:49 doesn't really save me enough on compilation time Oct 31 05:48:50 but, given TMC on our devices, yes, in this case it seems like more of a concern to me Oct 31 05:51:44 seems to me there is alot of crap already built in too Oct 31 05:52:11 as i watch FM drivers fly past Oct 31 05:53:03 and sierra and huawei usb serial drivers Oct 31 06:07:54 anyone know if source for uberkernel is available? Oct 31 06:08:12 it is Oct 31 06:08:19 where can I find it? Oct 31 06:08:25 I've looked everywhere. Oct 31 06:08:42 under /preware/build on the git repo Oct 31 06:09:20 there should be a kernels group with UK in it Oct 31 06:09:32 and the makefile should point you at the source repo and patch sets Oct 31 06:09:40 k sweet, thanks Oct 31 06:11:46 np Oct 31 06:13:34 one more q, can I build on my x86 machine targeted for the TP? if so, is there some sort of toolchain to do so? Oct 31 06:14:14 acfrazier: wiki had all that info for me, worked great following the instructions Oct 31 06:14:19 ah nice Oct 31 06:18:06 lesse if I can remember the trigger Oct 31 06:18:11 ~kernels Oct 31 06:18:11 hmm... kernels is see kernel Oct 31 06:18:16 ~kernel Oct 31 06:18:19 Linux kernel versions, linux-next: next-20110831, linux-next: next-20110831, snapshot 3: 3.1-rc4-git2, mainline 3: 3.1-rc4 , stable 3.0: 3.0.4 , stable 2.6.39: 2.6.39.4 , stable 2.6.38: 2.6.38.8 , stable 2.6.37: 2.6.37.6 , longterm 2.6.35: 2.6.35.14 , longterm 2.6.34: 2.6.34.10 , longterm 2.6.33: 2.6.33.19 , longterm 2.6.32: 2.6.32.46 , longterm 2.6.27: 2.6.27.59 Oct 31 06:18:27 wrong tree Oct 31 06:18:34 there's a wiki page, something like "building apps and kernels" Oct 31 06:18:55 you should have a cross-compiler if you installed the Palm SDK Oct 31 06:19:09 that will build the ARM binaries for the devices Oct 31 09:06:18 Hello guys~~ Oct 31 09:06:31 I am a newbie of webos Oct 31 09:06:58 anyone can introduce the internal of enyo framework? Oct 31 09:09:41 which parts of developer.palm.com have you read so far? Oct 31 09:10:46 actually I am not interested in the sdk development of webos, I am wondering if we have any approach to analyze the source code of webos framework Oct 31 09:11:11 which are not released in hp webos's opensource site Oct 31 09:12:07 enyo is javascript, the complete source code is in the SDK. Oct 31 09:12:13 it is not, however, open source. Oct 31 09:13:52 How about activity manager? Oct 31 09:14:12 it's not part of enyo Oct 31 09:14:28 it's a webOS service Oct 31 09:14:41 what is your goal? Oct 31 09:15:58 I am trying to analyze the webos framework, and try to make similar demo system... Oct 31 09:16:17 for what purpose? Oct 31 09:16:20 which take advantage of html/css/js as programming language in this system Oct 31 09:16:51 so, I am interested in the window manager, application manager, UI f/w in webos Oct 31 09:17:14 for what purpose? Oct 31 09:17:35 it's my project in college Oct 31 09:18:02 all those things you listed are proprietary closed source binary applications Oct 31 09:18:38 thanks you for your reply, is there anybody here got the chance to know these internals? Oct 31 09:19:07 oh, where I can find some reference docs about these? Oct 31 09:19:19 Thanks a lot~~ Oct 31 09:22:49 developer.palm.com has the SDK documentation of these services. Oct 31 09:22:57 there is no other documentation about the internals Oct 31 09:23:55 mobilekenny: email pdc@palm.com with your request, and they might be able to help you for you college project Oct 31 09:25:20 thank you very much, I have analyzed the phonegap, it's quite simple and clear to make webapp in this framework, however, it's just a middleware which only support standalone app Oct 31 09:25:56 I want to know how webos makes lifecycle for multi-apps Oct 31 09:26:09 and manage multi-app Oct 31 09:27:05 anyone here have any clue about this? Oct 31 09:27:07 :) Oct 31 09:29:10 yes, all of those things are explained on developer.palm.com Oct 31 09:29:44 as I said previously. perhaps you should study that resource first ... Oct 31 09:31:19 ok, thanks, I am going to read more in developer.palm.com Oct 31 09:34:07 https://developer.palm.com/content/api/dev-guide/js-services/activity-manager.html Oct 31 09:34:14 I found this page, quite helpful Oct 31 09:34:20 :-) Oct 31 09:35:56 anyone know of a dismantled touchpad touchstone in pics? Oct 31 09:36:05 rwhitby: thanks Oct 31 09:36:20 wonder if i have to do this blind :| Oct 31 09:36:39 hewball: nope, haven't seen a teardown of a touchpad touchstone yet. I did one of the phone touchstone. Oct 31 09:37:00 rwhitby: ive seen that ame in very handy :D thanks Oct 31 09:37:35 guess ill be getting out my camera for this too Oct 31 09:38:12 sweet, I'll be interested Oct 31 09:39:12 car mount i want to make just wont fit a full touchstone in my design Oct 31 11:59:14 I've implemented a simple pdf viewer and associated it with .pdf files, but when I try to open a pdf file from internalz, the luna is restarted. It's a pdk application. Oct 31 12:00:13 I can run it manually from the command line though. Oct 31 13:54:41 LunohoD, best way to get help on issues like this is to: Oct 31 13:55:04 1) point us to the code respository so we can look too Oct 31 13:55:28 2) give us an example file to look @ so we can share in the Joy of the Luna Restart Oct 31 13:55:42 3) send Logfile Pastebin locations. Oct 31 14:07:51 ka6sox: I'm not sure how, but the issue is solved now ;) Oct 31 14:08:50 excellent Oct 31 14:09:15 hopefully that doesn't mean it will rear its ugly head and bite you later :D Oct 31 14:10:41 bbl Oct 31 14:49:09 hi all Oct 31 14:50:19 howdy Oct 31 18:09:53 Just got my new touchpad, and I am wondering about hacking with pulseaudio a little. Do you know has anyone ever routed pulseaudio over TCP to another pulseaudio machine to play the audio? Oct 31 18:10:42 searching touchpad+pulseaudio just gives me the no audio bug, sorry if I am overlooking another post Oct 31 18:12:22 Bah: http://www.webos-internals.org/wiki/Tutorials_Linux_Pulseaudio_redirect Oct 31 18:18:06 So, I compiled avahi and I have everything put in /usr/palm/applications/org.webosinternals.avahi. I'm going to want the daemon to start for it, how do i get it accomplished? Oct 31 18:18:56 I got the upstart script for it. I've seen other things copy things into /var/usr in the postinst, is that what I have to do? Oct 31 19:25:59 Does anyone know (off hand) what the lib name is for OpenGL ES 2.0? Oct 31 19:26:12 is it -lGLESv2_CM? Oct 31 19:27:09 Oh, it's GLESv2 Oct 31 19:27:15 Sorry for the interruption :) Oct 31 21:39:07 Hello, all. Want to ask a question. Oct 31 21:39:27 I've created a patch for enabling 3rd-party photo synergy for Touchpad. Oct 31 21:39:43 Though 3.0.2 and 3.0.4 original files are pretty different, diffs are the same, as they affects only first unchanged part. Oct 31 21:41:01 The question is should I submit 2 different patches, or should I go with two same diff files with different meta-data and in different patches. Oct 31 21:42:38 sorry, first option should say in one patch for both versions. Oct 31 22:15:58 hey wondering about those impersonate-as-att scripts.. Oct 31 22:16:28 I actually want to use an ATT Veer, but impersonate as att because i don't have them.. easily done I assume? Oct 31 22:18:24 s/dont have them/don't have a ATT SIM/ Oct 31 22:19:21 ajay: i'm unfamiliar with the "impersonate" bit--what are you trying to do? Oct 31 22:19:32 sounds like either unlocking you veer would get you what you wanted Oct 31 22:19:39 Yeah Oct 31 22:19:40 or using metadoctor to use the device without any sim at all Oct 31 22:20:02 That's what I'm doing with mine Oct 31 22:20:05 dtzWill: that would cause it to lose the ATT Appcatalog Oct 31 22:20:15 (and add wrea to that last line :) Oct 31 22:20:34 (has anyone here used OpenGL on webOS?) Oct 31 22:21:07 singmajesty: yep Oct 31 22:21:18 ajay: the att app catalog?? Oct 31 22:21:47 Is there anything that is att only on the veer? Oct 31 22:21:49 well anyway my gf has an unlocked veer on tmobile and afaik her app catalog works swimmingly. not sure what you're saying, sorry. Oct 31 22:21:59 there might be? some navigation app or the like Oct 31 22:22:13 I have a book on OpenGL ES. I was trying to test the first sample on the device, but I'm not seeing anything on screen Oct 31 22:22:16 No errors, though Oct 31 22:22:31 I'm trying to use SDL to initialize the context instead of EGL, and wondering if I missed anything Oct 31 22:22:34 The navigation app is on it stock, no download needed Oct 31 22:23:04 The shaders seemed to compile correctly, though, and my render loop is running properly. The main loop is the same as an SDL application I had working before Oct 31 22:23:10 Someone want to check my postinst: http://pastebin.com/WWUhWduX Oct 31 22:23:18 singmajesty: if you have the code i can take a look Oct 31 22:23:26 else make sure you're calling SDL_GL_SwapBuffers Oct 31 22:23:39 * ajay sings that song famous at college parties.. "skype skype skype, skype.. everybody!" Oct 31 22:23:51 http://www.webos-internals.org/wiki/OpenGL_Triangle_of_Doom that code should work, ignoring the build setup for whatever you have Oct 31 22:24:53 https://gist.github.com/1329213 Oct 31 22:24:57 wrea/dtz: you haven't seen dwc- complaining about how he's missing skype? The wifi app catalog is missing apps that the WR/ATT/Vz/etc catalogs have. Activating a pre3/veer with a non-att sim, or over wifi.. not recommended. There are some horror tales too (not having any apps, not having any paid apps, etc.) Oct 31 22:25:06 Do you call SDL_GL_SwapBuffers and then SDL_Flip? Oct 31 22:25:10 Or instead of SDL_Flip? Oct 31 22:25:47 no sdl_flip at all Oct 31 22:25:58 http://sdl.beuc.net/sdl.wiki/SDL_Flip Oct 31 22:26:03 Note : If you want to swap the buffers of an initialized OpenGL context, use the function SDL_GL_SwapBuffers instead. Oct 31 22:26:15 (although i wasn't sure, which is why i went to the documentation at all hehe) Oct 31 22:27:14 Do you need to call any GL specific calls, between SDL_Init and SDL_SetVideoMode? Oct 31 22:27:38 singmajesty: you used to have to explicitly tell SDL to use the particular GLES version Oct 31 22:27:44 and i still do, b/c i don't wanna track what the default is Oct 31 22:28:05 but that might've only been necessary to run GLESv1 stuff, don't remember which way the default went Oct 31 22:28:15 I think the default on webOS is GLES 2 Oct 31 22:28:21 (which I'm using) Oct 31 22:28:49 have you tried calling SDL_GL_SwapBuffers intead? i see it commented out there Oct 31 22:29:01 just wanna make sure that doesn't fix it before looking any deeper at it :) Oct 31 22:29:13 after reading the meta impersonate scripts, looks like they won't serve this purpose.. wonder if dwc- submitted the impostah patch for it then.. Oct 31 22:29:52 I have... still a black screen :) Oct 31 22:29:59 ajay: oh wow. well things seem fine here, i guess she doesn't use skype. strange. Oct 31 22:30:09 The veer is a nice phone. But if someone gave me a pre3... :P Oct 31 22:30:25 I really like the Veer Oct 31 22:30:39 I prefer the size over the Pre 3, but my eyes have felt tired lately, so the Pre 3 helps Oct 31 22:31:06 oh, you know what skype's not available on the veer come to think, so i was thinking of the pre3. Oct 31 22:31:42 Yeah, I didnt think skype would be on the veer Oct 31 22:31:45 singmajesty: you check glGetError? Oct 31 22:31:47 Not sure what the veer is missing, but if i had the choice, i wouldn't find out :) Oct 31 22:32:11 wrea: i'm hoping they'll make skype available for all phones soon Oct 31 22:32:18 i have a debug macro that checks glGetError (and logs accordingly) that i invoke after....every GL call i make >_> Oct 31 22:32:22 tad overkill, but works wonders when something goes wrong Oct 31 22:32:51 Hmm, that's a good idea Oct 31 22:32:56 I like overkill :) Oct 31 22:33:33 I'd like to use my pre2 as my new wifi-only device, but since skype is only avail on the pre3 i might have to use it instead.. (it really ought to be returned to the factory :( ) Oct 31 22:33:50 1281? Oct 31 22:34:02 i wonder if i could get insurance on the pre3 and get someone to repair it.. (haha, who would even know how! oh wait, sigh..) Oct 31 22:35:01 preware doesnt like my postinst script Oct 31 22:35:56 singmajesty: print it in hex :) Oct 31 22:36:05 and compare to GL.h Oct 31 22:36:07 what i do anyway Oct 31 22:36:21 singmajesty: that's GL_INVALID_VALUE Oct 31 22:36:40 if you look at the call that caused that, they generally define pretty well what errors happen when Oct 31 22:36:51 How do I know what caused it? Oct 31 22:37:01 Call glGetError () after every call, like your macro? :) Oct 31 22:37:17 >_> yep Oct 31 22:37:35 there are probably more useful GL debuggers or something, but i've never used one Oct 31 22:38:18 Thanks, this is helping Oct 31 22:38:28 I also just tried changing the clear color, and yes, I'm getting a red screen Oct 31 22:38:37 Which is promising Oct 31 22:38:45 ok lunchtime? Oct 31 22:38:55 singmajesty: that is promising! :) Oct 31 22:42:17 glVertexAttribPointer (0, 0, GL_FLOAT, GL_FALSE, 0, vVertices); Oct 31 22:42:20 That line gives me 1281 Oct 31 22:42:27 Then this one: Oct 31 22:42:28 glDrawArrays (GL_TRIANGLES, 0, 3); Oct 31 22:42:32 Gives me 1282 Oct 31 22:43:51 0, vvErtices seems wrong Oct 31 22:44:33 ah, nvm that's a defined value Oct 31 22:45:06 the first two parameters--i've been using for 'index' the result of glGetAttribLocation, maybe that's overly verbose Oct 31 22:45:13 but Oct 31 22:45:19 the 2nd parameter is 'size' Oct 31 22:45:49 must be 1, 2, 3, or 4 it says? idk what it means "the initial value is 4"--maybe '0' works there too. Oct 31 22:46:49 Ah, got it Oct 31 22:46:54 Yeah, with 3 it works Oct 31 22:47:00 Thanks :) Oct 31 22:48:37 \o/ Oct 31 22:49:07 So what do you think would be a good way to call glViewport with the device screen size, rather than explicit dimensions? Oct 31 22:49:16 I know I use 0,0 when I initialize the video mode Oct 31 22:49:31 Do I pull the screen info with SDL, then save and reuse that? Oct 31 22:51:34 not sure. i've used GL plenty on webos devices, but not nearly enough in other contexts to have any .... experience-based opinions that i'd trust to give you a good answer Oct 31 22:52:18 depends what you're doing? using hardcoded dimensions might be neater for things that can auto-scale, but what you said seems to make more sense for things that have a natural aspect ratio/size/etc Oct 31 22:52:55 I guess I just have to use 0, 0, then hit SDL video info to get the width and height? Oct 31 22:53:12 Oh, wait -- I bet there's a way to check the size of the SDL_Surface Oct 31 22:54:10 Perfect! Oct 31 22:54:18 I was already passing the surface into my render callback Oct 31 22:54:26 screen -> w, screen -> h Oct 31 22:54:56 I've never felt more proud about a triangle in my life ;) Oct 31 22:55:07 hahaha :D Oct 31 22:55:15 (congrats!) Oct 31 22:59:54 If I used NME instead, I think it would be like this... Oct 31 22:59:55 https://gist.github.com/1329311 Oct 31 22:59:56 ;) Oct 31 23:00:13 I know that using OpenGL directly is going to help me make NME better Oct 31 23:06:54 never used NME and such, although often i wish i'd invested some time Oct 31 23:07:37 I was waiting for Adobe to bring Flash to webOS... waiting and waiting... Oct 31 23:07:41 I was a Flash developer before Oct 31 23:07:51 Chuq said to give up and go C++ or Canvas Oct 31 23:08:00 I started researching, and stumbled on NME Oct 31 23:08:08 So I got excited and ported it for webOS Oct 31 23:08:20 (Though I never wrote the OpenGL stuff myself) Oct 31 23:08:27 Now its polished a lot more Oct 31 23:08:49 It has a device installer, so you can use "haxelib run nme test MyProject.nmml webos" and it will compile, package, install and launch on webOS Oct 31 23:08:59 or "haxelib run nme test MyProject.nmml android" and it will do the same for Android Oct 31 23:09:04 ...so on Oct 31 23:09:42 I have an event I'll be speaking at, where I'd like to share how you can use C++ and OpenGL to create cross-platform games, then share how NME is an option for people who would prefer not to have to write C++ or to write OpenGL calls by hand Oct 31 23:10:20 Your code gets compiled to C++, so you get the benefits of native code, and being able to integrate your own low-level calls Oct 31 23:10:30 wrea: for loop syntax error - missing "done" Oct 31 23:12:44 thanks Oct 31 23:12:51 I'm not sure that'll work right anyways.... you'll end up with symlinks to "lib/libfoo.so" in /var/usr/lib Oct 31 23:13:00 which would resolve to /var/usr/lib/lib/libfoo.so Oct 31 23:13:41 but... that entire for loop looks replaceable by ln -s $appdir/usr/lib/* /var/usr/lib Oct 31 23:17:41 For some reason I didnt think you could do that. But you're right and it'll make that simple Oct 31 23:22:37 thanks dwc- Oct 31 23:26:29 though, one reason to use the for loop is if you want to store the names of files that you symlinked Oct 31 23:26:37 successfully, for use in a prerm Oct 31 23:27:37 or just go through the files that should be a symlink and check if in fact they're symlinks to your directory, and remove all such files :) Oct 31 23:27:46 but that's a bit more complicated Oct 31 23:28:03 has nice property of doing the right thing regardless of any state Oct 31 23:28:32 right Nov 01 00:33:45 think i got it sorted out Nov 01 01:31:26 update to custom browsers gestures submitted to preware feeds. thanks for the quick approval. Nov 01 01:31:42 np Nov 01 01:42:14 dtzWill: LunohoD is here in this channel. Nov 01 01:42:32 (Re: http://forums.precentral.net/hp-touchpad-homebrew/301953-patch-request-map-top-left-key-hp-bluetooth-keyboard-esc-xterm.html#post3194968) Nov 01 01:42:45 rwhitby: ty :) Nov 01 01:44:58 LunohoD: any thoughts on how we might progress towards automatically deploying the qmap replacement? Nov 01 01:45:51 i can of course apply the xsdl/xkeyboardconfig patches, they're straightforward and correct as i think we've discussed before Nov 01 01:46:09 but it'd be good to take it from a random forum post and get that out to the good users :) Nov 01 01:48:37 folks Nov 01 01:48:46 bhuey: hi :) Nov 01 01:50:49 g'day bhuey Nov 01 02:14:24 Anyone else experienced a bug where Google Calendar syncs every day except wednesday? Nov 01 02:44:57 hey dtzWill and rwhitby **** ENDING LOGGING AT Tue Nov 01 02:59:57 2011