IRC log for #webos-internals on 20110326

00:00.15rwhitbywhat does the package do?
00:00.25mgschuon-device ipk fetcher
00:00.46rwhitbyfetch from where?
00:00.55mgschuls2 files should all be in place, but it tells me "not permitted to send to com.mgschu.dummy.srv"
00:01.19mgschuit creates a blank ipk on device and installs it, then launches the update service to update to the real version
00:04.16rwhitbyis that exploiting some vulnerability in the app catalog?
00:04.31mgschusort of
00:04.43mgschusame way that pc version of ipk-fetcher did
00:05.10rwhitbyI see. So it works for free apps and bypasses geo-restrictions on those.
00:05.13mgschuIt doesn't help with paid apps though, no way to get those abroad
00:05.18mgschuyes
00:15.47destinalrwhitby: hard to decide whether to call it a vulnerability or not.
00:16.23destinalat any rate, same thing as ipk fetcher, seems like a positive thing
00:16.29mgschudestinal: a harmless vulnerability. unless you like georestrict?
00:17.25destinalmgschu: yeah, hopefully they'll totally get rid of geo restrictions soon, for now, having something like this seems very good for those people suffering from the lack of app availability around the world
00:18.12mgschudestinal: I'm just waiting for them to tell us it'll change "in the coming months"
00:18.15torchiegeo restrictions should like uh die
00:18.17torchieand stuff
00:18.24mgschuwe haven't heard that in far too long
00:18.51rwhitbymgschu: how was this packaged?
00:19.10mgschush script, it's in the root of the git
00:19.26mgschuI've also tried Jay Canuck's Packager but to the same effect
00:19.38rwhitbypalm-package will complain that you can't have the service be the same id as the app. I've told that to Jason too.
00:19.51rwhitbyservice has be be a subdomain of the app domain.
00:20.12mgschuI'll ditch the srv off the app then
00:21.03*** join/#webos-internals joeb_ (~joeb@c-67-164-211-10.hsd1.ca.comcast.net)
00:21.03*** join/#webos-internals joeb_ (~joeb@unaffiliated/joeb-/x-9613002)
00:21.42rwhitbyMy approach is usually to comply with any packaging restrictions that palm-package has, since then you're less likely to come across subtle incompatibilities.  Jason unfortunately doesn't subscribe to that philosophy.
00:23.28mgschuHow can I get palm-package to package the service? without an appinfo.json it doesn't package, and with it installs to /applications/
00:24.02rwhitbymgschu: the 2.1 SDK has details of how to package services
00:26.47rwhitbythat'd be the first thing I'd try, anyway.
00:34.09mgschurwhity: Is the documentation with the SDK? Can find palm-package and a sample service but no documentation
00:34.27RagingMindmgschu, it's on the download page for the SDK
00:34.30RagingMindit's separate
00:34.45*** join/#webos-internals Error454 (47edb948@gateway/web/freenode/ip.71.237.185.72)
00:35.41Error454iso based mounting may have to wait until 3.0
00:36.21ka6sox-workError454, why?
00:37.02wgreenhouseis the latest update of wIRC borked for everybody?
00:37.13wgreenhousemine just sits at "Waiting for plugin" now
00:37.28halfhalowgreenhouse: reinstall
00:37.49wgreenhousehalfhalo: all right, I'll see how it goes
00:37.49Error454ka6sox-work: The gadget driver that provides this functionality is quite down-revved in the stock kernel.  The latest version that is backportable isn't much better, only linux hosts can see the ISO and you can't boot off it.
00:38.06halfhaloI sometimes get that when I install an update while wirc is running
00:39.59ka6sox-workError454, so you were attempting to hook up a ISO disk drive external or something in the /media/internal?
00:40.33Error454ka6sox-work: I was allowing the Pre to mount an ISO in /media/internal and present that as ISO9660 to the host
00:41.05Error454ka6sox-work: So I had an ubuntu iso sitting in /media/internal and wanted to present it
00:41.10ka6sox-workError454, its probably not in /proc/filesystems
00:41.28ka6sox-workor is that the change you made?
00:41.54Error454ka6sox-work: isoFS isn't and that is easy to include, just having isoFS doesn't allow you to present that mounted filesystem over the USB as a cd-rom
00:42.12Error454ka6sox-work: I was working on the driver that allows you to do that
00:42.49ka6sox-workokay so you want to be able to loop mount a iso that is located in the /media/internal vfat partition?
00:43.01*** join/#webos-internals dgathright (~dgathrigh@static-71-160-191-167.lsanca.dsl-w.verizon.net)
00:43.07ka6sox-workand then make that visible to the host.
00:43.17Error454ka6sox-work: And then present that over USB as if the Pre is a cd-rom drive
00:43.30halfhalointeresting...
00:44.06*** join/#webos-internals tmandry (~tyler@dhcp-128-194-7-238.resnet.tamu.edu)
00:44.13*** join/#webos-internals tmandry (~tyler@unaffiliated/tman)
00:44.30Error454I can already present a disk based image, just can't present it as a cd-rom device.  This support is baked into the mass storage drivers in recent kernels but you end up back-porting the entire kernel to get this 1 piece of functionality.
00:44.32ka6sox-workError454, I haven't looked at the code that allows things to be seen over the gadget.
00:45.29Error454ka6sox-work: I've been looking at it for a few months in my spare time, the learning curve for me was quite steep since I didn't know how usb drivers worked prior to my hacking
00:45.33ka6sox-workbut I'll take your word that a 2.6.24 probably is too old for such a thing.
00:46.15Error454yeah, I back-ported something from 2.6.28 but it works poorly - still this was 2009 so things have improved a lot
00:46.43Error454I guess I'll have to shelve this piece of functionality for now
00:47.27Error454On another note, why hasn't anyone taken a serious stab at getting a vlc equivalent on webos?  I threw together a quick compile of ffplay last night and threw it in a jail-free service and it seems to work pretty well
00:47.31ka6sox-workprobably but it is intriguing...
00:47.59halfhalosomeone for mplayer working on the pre did they not?
00:48.01ka6sox-workhas ffmpeg been ported to work on omap3 without neon support?
00:48.04Error454it is, maybe someone out there has a better use-case.  For me it was mostly novelty.
00:48.21Error454I don't think so, my cpu ran pretty high
00:48.49Error454I'm decoding on CPU but still, it opens up a whole ton of codecs that the pre doesn't have
00:48.58Error454For flash videos and low rez stuff, it runs fine
00:49.03destinalError454: just saw your blog entry on the xbox360 mass storage stuff.  awesome.  and uber kernel ftw :)
00:49.20Error454destinal: uber kernel ftw indeed
00:49.26ka6sox-workright I would suspect it would...but for higher res stuff running without neon support would be "intense"
00:49.31*** join/#webos-internals elpollodiablo1 (62ec1905@gateway/web/freenode/ip.98.236.25.5)
00:49.34*** join/#webos-internals PatrickC_Pre2 (~Patrick_C@unaffiliated/patrick-c/x-9440769)
00:50.17*** join/#webos-internals Sargun (~Sargun@customers.dundee.opal.ask4.co.uk)
00:50.17*** join/#webos-internals Sargun (~Sargun@atarack/Staff/Sargun)
00:50.17*** mode/#webos-internals [+v Sargun] by ChanServ
00:50.17Error454ka6sox-work: Yeah, I tried some 720p stuff and it was a series of stills as expected.  Still I'd like to dig in and learn about how the hardware accelerated support gets thrown in.
00:51.24ka6sox-workthe whole gles/opencl thing is a can of worms I'd rather not deal with.
00:52.34destinalso what about using the DSP to accelerate video?
00:53.12elpollodiablo1rwhitby: is there a reason for compiling mplayer with the --disable-neon flag?
00:53.15destinalTBH I know almost nothing about how one would do that..
00:53.16Error454It sounds nice, but I know very little about DSP programming.
00:53.56ka6sox-workError454, its a black art.
00:54.16Error454I know just a little about some codecs and how they pack the data but don't have it connected to how codec gets hardware accelerated.  What is the codec running on? GPU?
00:54.59ka6sox-workusually there are bits of it there.
00:55.14ka6sox-workI dunno what implementation that HPalm chose
00:55.46rwhitbyelpollodiablo1: does mplayer work on the Pre and Pixi with neon enabled?
00:56.01ka6sox-workit will, of course, be different for pixi and pre.
00:57.15ka6sox-workwe would have to see the package flags to know.
00:57.19elpollodiablo1rwhitby: it should, ffmpeg is compiled on WebOS2.0 with neon enabled
00:57.25Error454I didn't disable-neon when I built ffmpeg
00:57.42destinalka6sox-work: shame that the build in video players are closed source.. would be interesting to see how they're doing what they do
00:57.51rwhitbyelpollodiablo1: ok, give it a try and let us know how it goes.
00:58.15ka6sox-workdestinal, ya. one of the things however that sets WebOS apart though.
00:58.19ka6sox-workbetter video.
00:59.06Error454elpollodiablo1: Didn't we have a thread about this on the palm forums?
00:59.17Error454hold on
00:59.31Error454https://developer.palm.com/distribution/viewtopic.php?f=70&t=8505
00:59.40elpollodiablo1yes we did back in the day. I just didnt have a 2.0 to test it on
01:00.38halfhaloI would love to see better vidoeo support, because webos pales in comparison to my epics video support unfortunately
01:01.51elpollodiablo1it might help a little but not as much as it running through  DSP
01:02.59Error454I don't need to play HD video on my phone, I just want to play SD content, for that I don't need acceleration.
01:06.03Error454I think having the option to play something unaccelerated is better than not being able to play it at all
01:07.04Error454Sometimes I'll queue up a bunch of youtube videos using youtube-dl, I could throw those on the Pre and watch them during my daily transit
01:20.28elpollodiablo1rwhitby: where is the mplayer code, patch and make instructions. I cant seem to find them on git.webos-internals.org
01:20.41rwhitbyelpollodiablo1: in the WIDK
01:20.45*** join/#webos-internals jrmuizel (~jrmuizel@CPE001f5be79d0f-CM0017ee62f8b0.cpe.net.cable.rogers.com)
01:21.18rwhitbyhttp://git.webos-internals.org/?p=preware/cross-compile.git;a=tree;f=packages/media/mplayer;h=1927db1a2cad5919592d26ba99b35c6e0adfd1db;hb=HEAD
01:22.24elpollodiablo1thanks I knew I was looking through it before, just couldnt seem to located it.
01:24.39*** join/#webos-internals Adora (~adora@c-71-198-0-164.hsd1.ca.comcast.net)
01:27.42elpollodiablo1adora: are you the adora(Lisa Brewster) from Palm Developer Relations?
01:27.53*** join/#webos-internals idontwan2know (~kaiser@89.243.189.72.cfl.res.rr.com)
01:31.56mgschurwhitby: palm-package works for me now, thanks.   Next I need to use a postinst script to allow me to installnoverify
01:33.23Error454Hey, odd question, what do you folks where to work? Shorts/T-shirt or slacks/button-up shirt?
01:33.30Error454^wear
01:33.54mgschuError454: Today, linens and a shirt. It was hot in the UK
01:34.22*** join/#webos-internals STiK (~Freakshow@c-76-104-165-86.hsd1.wa.comcast.net)
01:34.39rwhitbyError454: anything from shorts and short sleeve business shirt to full suit and tie, depending on weather and who's visiting.
01:34.39RagingMindError454, work provides a polo uniform thingy that I hate
01:36.00Error454I find the history of technical work attire fascinating, if you look at photos from old IBM, programmers wore a suit/tie to sit at a computer all day.  Now it seems like most of my co-workers are shorts/t-shirt but I kind of like dressing up.
01:36.54Error454When/if you folk work at home, do you dress down compared to going into the office?
01:37.04elpollodiablo1Business casual for me. no tie
01:37.28RagingMindwhen I worked in tech support I'd dress up sometimes.  no customers could see me, but it felt nice
01:38.21elpollodiablo1work from home I wear sweats or gym shorts and t-shirt
01:38.33Error454RagingMind: Yeah there's something about that.  I usually dress up when I work from home just because it helps me feel more productive and professional.
01:38.57RagingMindif I worked at home, I'd be lucky to get out of my PJ's
01:39.11elpollodiablo1I bet you will find a corilation to that and age.
01:39.26mgschuk or 1/k?
01:39.39Error454hehe, working from home is odd, always this strange guilt of wondering if it's ok to do household stuff during the workday
01:40.12RagingMindI wish my old employer had a work from home in my area... then I'd still have a full time job
01:47.07mgschuIs there a good linux music manager that allows sftp to be mounted as a device?
01:54.20*** join/#webos-internals idontwan2know (~kaiser@107.31.88.245)
02:06.23destinalmgschu: a what?
02:06.40rwhitbymgschu: use sshfs
02:07.24destinalnot sure whether the music manager would be able to detect the ssh mount point as a device, but I'm not really sure why not, either
02:07.54destinalI don't generally use that kind of software
02:08.16mgschuI'm envious of winamp and android
02:08.33mgschuor iTunes and that wireless sync app that didn't break any rules but got rejected
02:11.49destinalhmm, songbird dropped Linux support?  .. but.. why?
02:12.33destinallooks like some of the devs are starting a support for linux project called Nightingale but no releases yet
02:13.02PatrickCfor sshing on the pre, isnt it "chmod 700 /var/home/root/.ssh/authorized_keys/id_rsa.pub"
02:13.54mgschuauthorized_keys is a file, not a directory
02:14.14mgschuid_rsa.pub should be renamed or appended into authorized_keys
02:14.21PatrickCah ok
02:16.37PatrickCwhat is the easiest way to remove a directory?
02:17.10mgschurm -rf
02:18.46PatrickCthen, i run the chmod 700 thing, right?
02:25.30*** join/#webos-internals NuttyBunny (~cnegrete@189.137.51.54)
02:27.09mgschudestinal: songbird works under wine
02:28.15destinalmgschu: sounds like they started out with linux support though, right?  why drop it?
02:28.47NuttyBunnyHey everyone
02:28.52PatrickChay
02:29.43*** join/#webos-internals lumines (~lumines@p508EE686.dip.t-dialin.net)
02:30.36*** join/#webos-internals spiffyfitz (~chrisfitz@pool-98-117-167-167.bflony.fios.verizon.net)
02:30.45*** join/#webos-internals venefyxatu (~venefyxat@unaffiliated/venefyxatu)
02:35.21*** join/#webos-internals oc80z (oc80z@blea.ch)
02:35.35*** join/#webos-internals idontwan2know (~kaiser@89.243.189.72.cfl.res.rr.com)
02:46.40mgschurwhitby: is there an easy way to customize the ls2 files? ie before installation
02:48.55wgreenhousedestinal: they did start out with linux support
02:51.05mgschunot well in wine, I've lost all trace of the window and it's still playing...
02:55.54*** join/#webos-internals NickNick (nick.seife@157.sub-75-213-116.myvzw.com)
02:56.26NickNickAnyone active?
02:57.00NickNickI'm trying to get some help: i am having what seems to be a memory leak when using any music app on my Pre+ with 2.1
02:57.45PatrickCwhat do you mean, a memory leak?
02:57.48NickNickI'm trying to 1) find out if others are having this issue, and B) figure out how to track it down, if that is even possible
02:58.04rwhitbyI've seen mention of it on one of the forums
02:58.12NickNickwhen i play music the memory usage as reported by Govnah increases
02:58.27NickNickuntil it hits 486 or 488, then music starts stuttering
02:58.37NickNickand the phone gets really laggy
02:59.00NickNickonce i reboot the lag goes away, and memory usage is stable
02:59.00PatrickCrwhitby will be able to help you a lot more then i can
03:00.11NickNickrwhitby: you may have seen this thread: http://forums.precentral.net/general-webos-chat/279044-does-webos-audio-system-2-1-have-memory-leak.html
03:03.43*** join/#webos-internals noradtux_ (~quassel@g224052024.adsl.alicedsl.de)
03:04.14NickNickso the thread is to try and answer question 1), but i'm hoping someone here can help me with B)
03:08.39NickNick... and by help i mean offer suggestions on what i might do, not do the work for me
03:13.45*** join/#webos-internals mgschu (a301a77f@gateway/web/freenode/ip.163.1.167.127)
03:15.43NickNick<crickets>
03:18.58NuttyBunnyneeds a faster machine, or a way to make a cluster to cross compile ;)
03:19.24*** part/#webos-internals PatrickC_Pre2 (~Patrick_C@unaffiliated/patrick-c/x-9440769)
03:19.32*** join/#webos-internals PatrickC_Pre2 (~Patrick_C@unaffiliated/patrick-c/x-9440769)
03:22.54NickNickAnyone willing to try and replicate my results? The procedure is here: http://forums.precentral.net/general-webos-chat/279044-does-webos-audio-system-2-1-have-memory-leak-2.html#post2919798
03:23.13mgschuis there a way to use pmPostInstall.script with palm-package?
03:24.04NuttyBunnyuse ipkg-build :)
03:24.17mgschu?
03:25.05NuttyBunnyat least ipkg-build stores postinst and prerm scripts
03:25.39mgschuI'm having serious issues with prerm and postinst scripts
03:26.04mgschuIf I install the app from palm-package, I have insufficient priviliges to run my code
03:26.27mgschuIf I add prerm and postinst, it doesn't install correctly and I get "not permitted to send"
03:26.54mgschuand to fix the app I need to change the files post installation of the palm-package and then reboot
03:28.42bhueyrwhitby: another full reset
03:29.23bhueyno clue as to what's going on, I don't have it easily in a developer context either
03:29.59NickNickI believe i'm correct in calling this issue a memory leak: whenever i use a music app my available memory decreases up to the limit. When i close that music app it doesn't come back
03:30.49rwhitbymgschu: you can use ar to add the scripts to the ipk after palm-package is done
03:31.14mgschurwhitby: have done, screws up the app
03:31.50mgschuhttp://pastebin.com/MnFtbRV4
03:33.14rwhitbyhttp://git.webos-internals.org/?p=applications/hello.git;a=blob;f=Makefile
03:35.12NickNickdo i need a secret handshake or sometihing to get anyone's attention ;)
03:35.50rwhitbyNickNick: nope, it's just that I have no further info
03:37.08mgschurwhitby: Think your git may be having some issues, "XML Parsing Error: undefined entity" for any file in that git
03:37.43mgschuwait, is tht my side?
03:37.51halfhaloit might be your side
03:38.08NuttyBunnymsgchu: git seems fine for me
03:38.22rwhitbyyour side
03:39.20NuttyBunnyrwhitby behaves like Sheldon Cooper: He doesn't assume he's right, he's just right ;)
03:40.20mgschuhow odd. It breaks on the ampersand of the first &nbsp; it comes across
03:41.09NickNickrwhitby: ok, thanks. So that means if there is a memory leak on legacy devices with 2.1 than there is nothing to be done...?
03:46.40NuttyBunnypretty much, 2.1 on legacy isn't supported
03:47.40rwhitbyNickNick: depends whether it occurs on the official 2.1 on legacy devices releases (e.g. for O2 Pre+) or whether it only occurs on Pre- or something.
03:51.07NickNickThere is one report of an O2 Pre+ with this issue in that thread. Should i PM him/her to request support through HP?
03:51.36rwhitbyyep
03:52.48mgschuNuttyBunny rhitby ipkg-build didn't seem to do the job, but rebooting to check
03:52.54NickNick10-4. I'll do that.
03:52.58NickNickthanks
03:57.43PatrickC_Pre2how many nodes should the "phone" app take?
03:57.51PatrickC_Pre2is 2351 too many?
03:58.53mgschurwhitby: any modification of the ipk seems to stop it from installing correctly, and I get "not permitted to send to com.mgschu.dummy.srv" when I run it.
04:00.16PatrickC_Pre2I just checked against my other pre, which is only using 106 nodes..w
04:00.27PatrickC_Pre2what are nodes exactly?
04:01.35mgschufeel free to play with this http://ompldr.org/vN3l3Ng/dummy.zip while I'm gone
04:01.38mgschuGoodnight
04:01.43*** join/#webos-internals lamawithonel (~lucas@184-200-245-153.pools.spcsdns.net)
04:01.45NickNickPatrickC_Pre2: my Pre+ does not have nearly that many nodes on my Pre+
04:01.57NickNickfor the phone app, i mean
04:02.07PatrickC_Pre2that is on 2 different pre-'s
04:02.23PatrickC_Pre22351 on one, and 106 on the other
04:12.40PatrickC_Pre2any ideas? the phone is super sluggish...
04:17.11*** join/#webos-internals idontwan2know (~kaiser@89.243.189.72.cfl.res.rr.com)
04:22.42NickNickPatrickC_Pre2: reboot?
04:22.49PatrickC_Pre2I did
04:22.54PatrickC_Pre2now everything seems fine
04:22.58PatrickC_Pre2(for the time being)
04:23.09NickNicknext would be re-doctor probably
04:23.16NickNickdo they have the same patches?
04:24.46PatrickC_Pre2almost exactly the same
04:25.00PatrickC_Pre2and they are both OCed to 1GHz
04:51.49*** part/#webos-internals NickNick (nick.seife@157.sub-75-213-116.myvzw.com)
05:30.00*** join/#webos-internals idontwan2know (~kaiser@89.243.189.72.cfl.res.rr.com)
05:45.15*** join/#webos-internals slseed1969 (~slseed196@99-60-178-137.lightspeed.irvnca.sbcglobal.net)
05:48.48bhueystupid question time
05:48.58bhueyhow do I know that the optware feeds are correct ?
05:49.17PatrickC_Pre2what do you mean?
05:49.19bhueyI'm not able to install 'less' with ipkg-opt install less....for instance
05:50.11bhueythe ipkg and ipkg-opt binaries are installed
05:55.27rwhitbyipkg-opt update
05:55.57bhueynothing happened
05:56.17bhueytried that already
05:56.20bhueyI have preware here
05:56.24bhueyand quick install
05:56.39bhueyso I can either reinstall or install those packages if you think it'll help
05:58.16bhueytrying to set up my environment so that I can use it like a normal Linux box, etc...
05:58.17*** join/#webos-internals oil (~oil@66-189-216-38.dhcp.yakm.wa.charter.com)
05:58.18*** mode/#webos-internals [+v oil] by ChanServ
05:58.26bhueyany suggestions ?
05:59.38*** join/#webos-internals jeffgus (~jeffgus@green.zimage.com)
06:06.55bhueythis is 2.1 btw
06:07.00bhueymeta-doctored
06:10.27bhueygot it :)
06:10.43bhueywrong version of the program
06:12.03*** join/#webos-internals jeffgus_ (~jeffgus@2001:470:f2eb:1::4)
06:52.20*** join/#webos-internals muesli (~muesli@amarok/developer/muesli)
06:59.36PatrickC_Pre2nite
07:08.11*** join/#webos-internals Fuu (~fuu@p5DF7C296.dip.t-dialin.net)
07:09.38*** join/#webos-internals tmandry (~tyler@dhcp-128-194-7-238.resnet.tamu.edu)
07:09.38*** join/#webos-internals tmandry (~tyler@unaffiliated/tman)
07:19.37*** join/#webos-internals morphis (~morphis@p5B3E6721.dip.t-dialin.net)
07:59.41*** join/#webos-internals DaemnChyld (~wircer@cpe-173-168-129-66.tampabay.res.rr.com)
07:59.50DaemnChyldhi everyone
08:02.50*** part/#webos-internals DaemnChyld (~wircer@cpe-173-168-129-66.tampabay.res.rr.com)
08:07.55*** join/#webos-internals acydlord (~acydlord@63-225-206-50.phnx.qwest.net)
08:08.19*** join/#webos-internals acydlord (~acydlord@63-225-206-50.phnx.qwest.net)
08:33.37*** join/#webos-internals Draecos (~Draecos@w-35.cust-3550.ip.static.uno.uk.net)
08:36.18*** join/#webos-internals MrTango (~maik@dslb-092-078-003-087.pools.arcor-ip.net)
08:47.18*** join/#webos-internals Darkmagister (~Darkmagis@93-38-175-223.ip71.fastwebnet.it)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.