installation of perl:PDL

2007-10-17 Thread Jesus A. Baro
Hello, developers, Back in time, there were reports in this forum of somebody (Xavier Calvet) who successfully installed perl:PDL in maemo. But I can't! there is no CPAN nor MakeMaker, so I am left to following make-ing instructions "by hand". Any suggestions? Thanks, Jesus A. Baro ETSIIAA-Palenci

Re: dealing with non-GTK windows

2007-10-17 Thread Tapani Pälli
Hello; ext Austin Che wrote: > Some questions about non-GTK windows that applications may show: > > What type of window are you talking about? Using Xlib directly? SDL? > - Is it possible to force such a window into fullscreen? I don't > care if it needs to be done manually. For

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Austin Che
> Here's how I did it in Python, took some testing. > https://www.guardiani.us/projects/kagu/changeset/670 Thanks Kemal, that works great. The trick was to actually read the data from the file to cancel the condition... ___ maemo-developers mail

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Kemal Hadimli
Here's how I did it in Python, took some testing. https://www.guardiani.us/projects/kagu/changeset/670 The SVN Kagu now pauses playback if the headphones are disconnected. On 10/18/07, Austin Che <[EMAIL PROTECTED]> wrote: > > > g_io_add_watch() if you're using glib, inotify if you're not (man >

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Austin Che
> g_io_add_watch() if you're using glib, inotify if you're not (man > inotify(7)). > > Regards: David Thanks for the suggestion but I can't get this to work. If I use: GIOChannel *io = g_io_channel_new_file("/sys/devices/platform/gpio-switch/headphone/state", "r", NULL); g_io_add_wa

Re: Nokia N810 Q

2007-10-17 Thread David Weinehall
On ons, 2007-10-17 at 20:51 +0200, ext Laurent GUERBY wrote: > It looks like the buttons do not have the same pictures on them, > will their function change in Hildon (one is now hidden with the > keyboard)? The icons were modified, since a lot of users found the old ones confusing, the keys are

Re: how to detect if the headphones are plugged?

2007-10-17 Thread David Weinehall
On ons, 2007-10-17 at 16:15 -0400, ext Austin Che wrote: > Daniel M German <[EMAIL PROTECTED]> wrote: > > > is there a way to detect if the headphones are plugged? > > > > I am irritated that music playing software does not pause when the > > headphones are removed (like the ipod) and would l

Building microb in scratchbox

2007-10-17 Thread Chris Double
I'm trying to build microb-engine in scratchbox. I've got the source building but it fails at one point with this error: microb-engine/microb-engine/build-tree/mozilla/widget/src/gtk2/nsWindow.cpp:4421: error: `gdk_event_request_motions' undeclared (first use this function) Any ideas what I might

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Daniel M German
I am starting to use the N800 in my car, and I think this would be a great feature. When I get off my car the last thing I want to do is switch to the music playing application and then hit pause. perhaps the opposite (plug headphones in, continue playing) option can also be implemented. --dmg

Nokia N810 Q

2007-10-17 Thread Laurent GUERBY
It looks like the buttons do not have the same pictures on them, will their function change in Hildon (one is now hidden with the keyboard)? Is the internal 2GB card slot still user accessible next to the battery? Will it be used to hold /usr or something like that? Will the GPS drivers be open s

DSP framebuffer access

2007-10-17 Thread Simon Pickering
Just a quick proof of concept for the 770: http://people.bath.ac.uk/enpsgp/nokia770/dsp/framebuffer_test/ The screen changes colour, though it appears that the screen updates only happen from time to time so exactly what changes colour, which colour it turns, and when is a question of luck. I

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Kemal Hadimli
You could read/monitor "/sys/devices/platform/gpio-switch/headphone/state" That's a good idea in fact, we'll try to integrate this functionality in Kagu media player in the next release. On 10/17/07, Daniel M German <[EMAIL PROTECTED]> wrote: > > > Hi everybody, > > is there a way to detect if th

Re: how to detect if the headphones are plugged?

2007-10-17 Thread Austin Che
Daniel M German <[EMAIL PROTECTED]> wrote: > is there a way to detect if the headphones are plugged? > > I am irritated that music playing software does not pause when the > headphones are removed (like the ipod) and would like to write a patch > to make it an option. ~ $ cat /sys/devices/pla

how to detect if the headphones are plugged?

2007-10-17 Thread Daniel M German
Hi everybody, is there a way to detect if the headphones are plugged? I am irritated that music playing software does not pause when the headphones are removed (like the ipod) and would like to write a patch to make it an option. thanks a lot! --daniel -- -- Daniel M. German

GStreamer PCM sink stuttering/dropouts...

2007-10-17 Thread Nils Faerber
Hi! I am playing around with some GStreamer hacking and try to output a simply WAV file. In general this works even on commandline: gst-launch-0.10 filesrc location=./wsh.wav \! wavparse \! dsppcmsink (run as root via ssh commandline) But strangely this behaves differently than the shipped media

dealing with non-GTK windows

2007-10-17 Thread Austin Che
Some questions about non-GTK windows that applications may show: - Is it possible to force such a window into fullscreen? I don't care if it needs to be done manually. For example, is it possible to have a program that takes whatever window is currently on top/in focus a

browser and virtual keyboard

2007-10-17 Thread tj
I have an N800 and I ahve a question. I am starting on a Linux project that uses a touch screen display and uses a virtual keyboard. My main question is how to tie the appearance of the keyboard to selecting a text inpuit field ala the N800. Is there example code available somplace that demonst

RE: Trying to build modest

2007-10-17 Thread Dirk-Jan.Binnema
Hi Luca, > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of ext > Luca Donaggio > Sent: Wednesday, October 17, 2007 12:55 > To: maemo-developers@maemo.org > Subject: Re: Trying to build modest > > I know that modest is not yet ready for general audi

Re: Trying to build modest

2007-10-17 Thread Luca Donaggio
I know that modest is not yet ready for general audience, but it would be extremely useful if at least an alfa-testing-unstable-usatyourownrisk armel debian package would be made avilable! Thanks, Luca Donaggio 2007/10/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi Steve, > > > -Original

Re: N800 experimental host mode patches updated

2007-10-17 Thread Frantisek Dufka
Juuso Räsänen wrote: > What is the role of this latter file? kernel modules (i.e. drivers), you need to extract it somewhere and use insmod (as root) to add some of them to kernel at runtime (depends on device you want to use). For usb storage you need to insert those in drivers/scsi/ and dri

RE: N800 experimental host mode patches updated

2007-10-17 Thread Juuso Räsänen
>> OK, my attempt is here > http://fanoush.wz.cz/maemo/4.2007-usbhost-kernel.tar.gz > http://fanoush.wz.cz/maemo/4.2007-usbhost-modules.tar.gz Thank you! What is the role of this latter file? Should I copy the files of this "modules" directory into somewhere at N800? Currently I just flashe