Re: is dbus-uuidgen --ensure ok in an install script?

2008-09-03 Thread Brad Midgley
Faheem I don't think this will help your problem described in your reply but instead of using dbus-uuidgen, you can use run-standalone.sh name of program instead. Maybe a su - user -c 'name of program' may work. fwiw, both the dbus-uuidgen and run-standalone.sh approaches result in an

is dbus-uuidgen --ensure ok in an install script?

2008-09-02 Thread Brad Midgley
Hey I have an issue that goes away after running dbus-uuidgen --ensure. Is this safe enough to put in a post-install script? I'm writing a daemon that needs to be able to keep the tablet awake (long story). osso_initialize will complete if run from the terminal as user but will fail and abort

Re: is dbus-uuidgen --ensure ok in an install script?

2008-09-02 Thread Brad Midgley
hmm fwiw, maybe it's not so simple... turning on the gps from my daemon doesn't activate the gps status display in the system tray. Is there a better way to do this stuff from the background? -- Brad ___ maemo-developers mailing list

Re: Some questions about liblocation and gpsd

2008-08-18 Thread Brad Midgley
David NAN is used by gpsd for out of bounds values. You should test the float using isnan(value) before you assume it has something valid. Brad ___ maemo-developers mailing list maemo-developers@maemo.org

Re: javascript interruption

2008-08-11 Thread Brad Midgley
fwiw, I've noticed that when using the browser, if I haven't clicked anything on my n810 for a while, the javascript execution in the browser is halted. it's sort of cosmic... the answer was 42. I had to build and periodically execute acpi_fakekey 42 to keep the browser awake. 42 is the

javascript interruption

2008-08-10 Thread Brad Midgley
Hey I've noticed that when using the browser, if I haven't clicked anything on my n810 for a while, the javascript execution in the browser is halted. It doesn't matter if the browser is the front application, it doesn't matter if the screen has blanked, etc. As soon as I tap something again,

Re: powering on gps, playing nice with others

2008-08-07 Thread Brad Midgley
Till Do you call gpsbt_stop when closing your app? gpxview also uses gpsbt_start and _stop and i have never encountered any problems. I tried again but couldn't replicate the issue I had using gpsbt_start/stop. Maybe operator error. :) I'll stick with using those. thanks Brad

powering on gps, playing nice with others

2008-08-06 Thread Brad Midgley
Hey I'm having trouble finding the way to power on the gps for my own program in a way that plays nice with maemo mapper. IIt might be that maemo mapper is bending some rules too but it's hard to tell. If I use the call gpsbt_start(NULL, 0, 0, 0, errors, 256, 0, ctx) then the gps will start and

Re: DSP SBC debugging

2008-06-12 Thread Brad Midgley
Simon Right, well goodish news, the dsp sbc encoder appears to work. It can be used with mplayer to play ~1s of audio, then it all goes quiet. this is how it was when trying the floating point version on an emulated fpu. There's no way it could keep up. though as I understood that the code

Re: Replacing the standard maemo bluetooth pairing dialog.

2008-06-08 Thread Brad Midgley
Fheem This program works on the principle of default security pins and the program comes with a script to do just this. one application registers itself as the passkey agent using d-bus. A second agent trying to register will fail. maybe there's a way to intercept at a different layer. --

Re: DSP SBC encoder task

2008-06-06 Thread Brad Midgley
Simon Atm we have to use ALSA to produce A2DP output, is the data sent thought here simply piped straight into sbcenc running standalone? the alsa plugin with most of the bluez logic is a shared object, so the alsa audio client is effectively transmitting directly to the headset. I'd like to

Re: DSP SBC encoder task

2008-06-06 Thread Brad Midgley
Simon I have been thinking more about this and I think another approach could be considered. It would be easier to plug your work into everything else if you wrote it up as a patch to the regular sbc.c so it transparently chooses the soft or dsp codec at runtime. It would work with the alsa

Re: DSP SBC encoder task

2008-06-06 Thread Brad Midgley
Simon I only say stepping around gstreamer since the gst way would be to make one gst plugin for soft and one for dsp codec and let gst choose one when building a pipeline. ie, they're prepared for multiple implementations of a given codec. -- Brad

Re: DSP SBC encoder task

2008-06-05 Thread Brad Midgley
Simon Just a quick note to say that the DSP task encodes the test .au file correctly. Still a minor ;) issue that the DSP crashes It sounds like an awesome achievement. I'm looking over things now. If it can be coded generically, it would be nice if the standard bluez gstreamer plugin could

Re: How can I test a GPS application without using the device?

2008-02-07 Thread Brad Midgley
Andrea I haven't tried with n810 yet, but making gumstix or neo1973 act as a bluetooth gps is fairly straightforward as long as gpspipe is installed. sdptool add SP rfcomm -r watch 0 1 sh -c /usr/bin/gpspipe -r /dev/rfcomm0 Brad On Feb 7, 2008 9:42 AM, Andrea Grandi [EMAIL PROTECTED] wrote:

gpsd data quality

2008-02-01 Thread Brad Midgley
Hey I haven't seen this myself, but does it qualify as a bug? Is there an intentional change to the data gpsd produces? I couldn't find any docs or existing bugs talking about it. http://www.kismetwireless.net/Forum/General/Messages/1201749708.949826 -- Brad

Re: USB host mode on N800

2007-11-23 Thread Brad Midgley
Sebastian Is it any harder or easier to get the host mode cable sorted out with the n810 and its new connector? -- Brad ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

gps listener

2007-10-24 Thread Brad Midgley
Hey Is there a way with the gps api to watch the gpsd/gps status without affecting it? I'd like to leave an app running which doesn't force gpsd startup gps power-on but would use it whenever another app has started it... hopefully such an app would not force the gps to stay on... fwiw, I

Re: Anyone know where to get the VMWare application for maemo development?

2007-10-10 Thread Brad Midgley
Hey You're talking bora right? When you do get it, the first thing you need to do so dns works in sb is ln -sf /etc/resolv.conf /scratchbox/etc/resolv.conf I can't host this but I could mail it to you on a dvd. Might not get there faster than 1kbps but certainly faster than 0kbps. Brad On

Re: Developing for maemo...

2007-10-10 Thread Brad Midgley
Tim It seems the ruby bindings to maemo-specific stuff aren't as complete (sadly) Brad On 10/10/07, Tim [EMAIL PROTECTED] wrote: Hey everyone, I'm going to have some time on my hands pretty soon and I thought I'd try to start learning a programming language... And, I want it to be

beta 4 sdk vs. maemo-mapper

2007-09-19 Thread Brad Midgley
Hey Do regular apps need a lot of tweaks to be built in chinook? maemo-mapper trunk fails the configure stage: ./autogen.sh ; ./configure --prefix=/usr ... checking for OSSO... configure: error: Package requirements (libosso = 1 libossohelp osso-ic) were not met: No package 'libossohelp' found

Re: a2dp bluez 3.11 and libhal-dev

2007-06-11 Thread Brad Midgley
with a2dpd. It's CPU usage fluctuates a bit depending on how many times I run mplayer... but this is very promising. On Sat, 9 Jun 2007 07:04:48 -0600 Brad Midgley [EMAIL PROTECTED] wrote: try putting master in hcid.conf's lm setting and take rswitch and sniff out of the lp setting (then reboot

Re: a2dp bluez 3.11 and libhal-dev

2007-06-09 Thread Brad Midgley
try putting master in hcid.conf's lm setting and take rswitch and sniff out of the lp setting (then reboot or restart hcid) ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers

Re: maemo-mapper crashes on os2007 hacker edition

2007-04-06 Thread Brad Midgley
hey as a data point, mm was crashing for me on loading topo maps because there was a corrupt map in the cache. Cleaning the cache fixed the crashing. Brad ___ maemo-developers mailing list maemo-developers@maemo.org

Re: [maemo-developers] N800 GUI Improvements from a Newton Developer's Perspective

2007-01-21 Thread Brad Midgley
Levi Overall, you made some good points, but it felt to me like they were semi-submerged within the general current of, I'm angry because the N800 isn't a Newton with updated hardware and a stripped-down OSX. I enjoyed reading Sean's criticism. He states at the start of the document that he

Re: [maemo-developers] N800 GUI Improvements from a Newton Developer's Perspective

2007-01-21 Thread Brad Midgley
Sean I did indeed, and a semi-snark-filled article deserves semi-snark-filled feedback. It's reasonable. Several of the criticisms were valid, and I'll tweak the article a bit appropriately. And respond later on perhaps to some of the criticisms that I think were off the mark; at the very

Re: [maemo-developers] Bluetooth Headset Support - Status update?

2007-01-14 Thread Brad Midgley
Martin * resulting audio is not very loud and occasionally makes a pop sound on high-volume input. 64-bit version runs without these problems. This are the problems I also noticed with libsbc from sf.net. Where can I find the 64-bit Version? I have actually been tinkering again with the

Re: [maemo-developers] Bluetooth Headset Support - Status update?

2007-01-13 Thread Brad Midgley
Gopi I'm pretty sure that you could write an A2DP music player that worked on the 770 without any help from Nokia. It wouldn't be nicely integrated, but it should work. I tested an app awhile ago, and got music coming out of my headset, it was just not real time - a second of music, 5 seconds

Re: [maemo-developers] Using the N770/N800 as a remote control.

2007-01-09 Thread Brad Midgley
hey There is another problem: The N770 has a USB-Host mode (which is necessary if you want to run such IrDA adapters) but it does not power the USB port. I have made an adapter cable to power 5 Volts to an external HDD drive via USB and it worked very well. But I think for a IR

Re: [maemo-developers] ALSA

2006-09-12 Thread Brad Midgley
Devesh https://garage.maemo.org/plugins/scmsvn/viewcvs.php/alsa-plugin/?root=dsp-alsa If I understood this correct, this provides the ALSA interface through ALSA-DSP PCM plugin. would this help with integrating userspace output plugins? I have been working on alsa plugins for a2dp audio but

Re: [maemo-developers] Bluetooth headset status on OS2006

2006-08-07 Thread Brad Midgley
Pierre gizmo developers claims on: http://support.gizmoproject.com/FAQs/nokia770.php That you can use a bluetooth headset on the 770, but various other sources tells that it cant: http://www.gossamer-threads.com/lists/maemo/developers/3167?search_string=bluetooth%20headset;#3167

[maemo-developers] Re: [maemo-announce] Maemo 2.0 beta published

2006-06-09 Thread Brad Midgley
erkko Today we published the maemo 2.0 beta on _http://www.maemo.org_. This release includes both the maemo 2.0 beta development environment and the Internet Tablet 2006 OS Beta image. For more details about the release you can check out _http://maemo.org/downloads/releases.html_ Should I

Re: [maemo-developers] New Nokia 770 software image available

2006-04-24 Thread Brad Midgley
hey Isn't SD a closed format requiring non-disclosure agreements (and it does not mix well with Linux for this reason) ??? Plenty of linux devices with SD exist. (The entire zaurus line, for example.) Even skipping the whole SD thing, how about a full-size mmc? I noticed the rs-mmc

Re: [maemo-developers] sound architecture question

2006-04-06 Thread Brad Midgley
Dale Is there any work toward making zinf work more directly as a gstreamer client? It wouldn't have to go through emulation layers that way. It looks like rhythmbox is sometimes grouped together with zinf but it has gstreamer support now

[maemo-developers] Re: Bluetooth headset news?

2006-02-18 Thread Brad Midgley
Laurent Any news on this? I've been unable to locate any information using google. I've seen some nice Nokia Bluetooth Headsets while shopping this afternoon, would be great if Nokia Headsets worked with Nokia 770 :). I'm curious as well as to where Nokia is with voice headsets. There's a

[maemo-developers] bluetooth development

2006-01-26 Thread Brad Midgley
Hi I am working with the arm1.1 scratchbox root and the laika 1.1 plugin for using eclipse with maemo. I'm trying to get A2DP working. My main question: Is there any way for the emulator to see a real usb bluetooth adapter on my host machine? I could stop hcid on my host if I needed to. I can't

Re: [maemo-developers] Re: backlight

2006-01-20 Thread Brad Midgley
Frantisek I think the cleanest way to deal with this is to keep 15(?) levels so the gui doesn't change but change the actual curve to be nonlinear inside the sysfs interface. Does Nokia provide everything we need to install a modified kernel? brad I hope the darkest level won't be too bright

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-17 Thread Brad Midgley
Andy What do you mean 30mb wouldn't work? I put a 32meg swapFILE on the 64meg mmc I received and it worked fine (/proc/meminfo and /proc/swaps showed swap usage, and I could get numerous things running with out problems. Now I'm trying to partition a 512meg MMC into two partitions, and

Re: backlight , Re: [maemo-developers] How to prevent display from shutting down after idle timeout?

2006-01-17 Thread Brad Midgley
Frantisek I noticed this too, but we know it can go lower... the backlight goes just a bit lower when you're idle and before it turns off altogether. Brad As for the backlight - the default minimum is too bright at night. Is this hardware or software limitation? I cannot find API for this and

Re: [maemo-developers] Bluetooth keyboard update

2006-01-17 Thread Brad Midgley
Tomas This is working great for me using a think outside/stowaway keyboard. I did get one reset while trying to re-do the pairing but my nokia is behaving again. Excellent work! Now your app is a complete model for the ui for other bluetooth stuff like bluetooth stereo. (I need to get busy :)

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-16 Thread Brad Midgley
Urho If user has swapon. User opens MMC door. System pops up a large RED GUI that states: You have swap active. Please turn off swap before removing MMC from the slot. GUI would have one large button (turn off swap). After swapoff, GUI would turn green and say, it's safe to detach MMC now.

[maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Brad Midgley
hey I decided to try the swap partition on my flash card and it made a HUGE difference. Even with only 25mb swap (30mb wouldn't work for me), now memory is not nearly the concern it was. I can run multiple apps, look at complex pdf documents, etc. Just like I expected my 770 to do in the first

Re: [maemo-developers] swapfile is a huge improvement!

2006-01-14 Thread Brad Midgley
Vladislav with swap on, what happens to the system when you manually remove the mmc card? Or when you connect the USB cable to the unit? I am pretty sure the nokia will just crash if I eject it when swap is active. We need to latch into the cardslot-opening and -closing events if we want to

Re: [maemo-developers] Bluetooth headset - not really working?

2006-01-10 Thread Brad Midgley
Ralph Is there a bandwidth problem, or just people being silly with the design? There is a bandwidth problem. High-quality audio is compressed on the fly before transmission. We will probably be able to build in the delay to the video player so it slips the video stream a bit. gstreamer may

Re: [maemo-developers] Bluetooth headset - not really working?

2006-01-10 Thread Brad Midgley
Razvan [4.046356] Bluetooth: SCO (Voice Link) ver 0.4 [4.051147] Bluetooth: SCO socket layer initialized this will be printed both for adapters with and without sco support. The driver does not detect and disable the interface on unsupported hardware. (Although it should--we get

Re: [maemo-developers] Bluetooth headset - not really working?

2006-01-09 Thread Brad Midgley
the audio stream. Brad On Tue, 2005-12-20 at 10:16 -0700, Brad Midgley wrote: I'm overseeing the bluetooth audio on linux project... Linux only supports SCO transfers for CSR chips. To use the current btsco stuff, Nokia is going to have to contribute a SCO driver to the kernel for whatever

Re: [maemo-developers] Bluetooth headset - not really working?

2006-01-09 Thread Brad Midgley
Ralph Hmm. Linux support aside, does this mean I'm never going to find a bt headset with both a mic for voice and high quality stereo playback for music in the same device? More or less what all the game consoles use, for example? I assumed you're aware that a lot of the stereo sets will

Re: [maemo-developers] Bluetooth headset - not really working?

2005-12-20 Thread Brad Midgley
Razvan This seems to have been reported before (not for the 770): http://sourceforge.net/tracker/index.php?func=detailaid=1273754group_id=116589atid=678258 http://sourceforge.net/tracker/index.php?func=detailaid=1273754group_id=116589atid=678258 . However, the solution pskey mapsco 0 only

[maemo-developers] bluetooth stereo devel

2005-12-18 Thread Brad Midgley
Hi I put a placeholder for this project on http://maemo.org/maemowiki/ApplicationCatalogWip Some questions: Is there work being done to unify all the bluetooth scan/connect/disconnect operations together? Audio and keyboard should probably be siblings in the bluetooth menu button that you get

[maemo-developers] A2DP/bluetooth stereo

2005-12-15 Thread Brad Midgley
Hi I am working on the bluetooth-audio-linux project (http://bluetooth-alsa.sf.net) and I'd like to get bluetooth stereo working on maemo. Is this something Nokia is working on? What about the codec? We can run what we have now in integer math on the arm side, but the SBC codec would be a great