hi all,
we are in the process of installing pda[1] to an embedded device aka gumstix. the buildroot of the so called device has TCL but of course, no TK.
we were told to install TK manually but i has dependencies on X11 and is an embedded device that has no display to control and is intended to run fast and lightly.
has anyone go around something similar before? any advice on what route to take?
tx!, /a
[1]the source for pda is here: http://gige.xdv.org/pda/release/
alejo d wrote:
hi all,
we are in the process of installing pda[1] to an embedded device aka gumstix. the buildroot of the so called device has TCL but of course, no TK.
we were told to install TK manually but i has dependencies on X11 and is an embedded device that has no display to control and is intended to run fast and lightly.
has anyone go around something similar before? any advice on what route to take?
do you need pd-gui? pd-gui is the only part of pd that depends on tcl/tk and is not strictly needed for running pd (e.g. when running pd with "-nogui" then pd-gui is not needed at all)
if that is ok for you, try building pd without pd-gui (search the archives for instructions on what exactly to do; basically it is just deleting the tcl/tk search thingies from configure.in and the pd-gui thingies from Makefile(.in))
mfg.asd IOhannes
thanks iohannes, i will follow the archives and your suggestion and report back.
:)
/a
On 4/2/07, IOhannes m zmoelnig zmoelnig@iem.at wrote:
alejo d wrote:
hi all,
we are in the process of installing pda[1] to an embedded device aka gumstix. the buildroot of the so called device has TCL but of course, no TK.
we were told to install TK manually but i has dependencies on X11 and is an embedded device that has no display to control and is intended to run fast and lightly.
has anyone go around something similar before? any advice on what route to take?
do you need pd-gui? pd-gui is the only part of pd that depends on tcl/tk and is not strictly needed for running pd (e.g. when running pd with "-nogui" then pd-gui is not needed at all)
if that is ok for you, try building pd without pd-gui (search the archives for instructions on what exactly to do; basically it is just deleting the tcl/tk search thingies from configure.in and the pd-gui thingies from Makefile(.in))
mfg.asd IOhannes
On Mon, Apr 02, 2007 at 04:19:16PM +0200, alejo d wrote:
we are in the process of installing pda[1] to an embedded device aka gumstix. the buildroot of the so called device has TCL but of course, no TK.
we were told to install TK manually but i has dependencies on X11 and is an embedded device that has no display to control and is intended to run fast and lightly.
has anyone go around something similar before? any advice on what route to take?
Hi,
You might also like to take a look at gp2xPd since it builds PDa without the gui libraries. There's a description of how I did that in the file src/gp2x.readme which is available in a patched version of PDa. So download PDa 0.6 from GÃŒenter's site, then apply the patch from here: http://mccormick.cx/projects/gp2xPd/files/gp2x-PDa.patch and then read the file src/gp2x.readme and have a look at the gp2x section in the makefiles. You should be able to use something very similar for gumstix.
So great that you are porting to gumstix - let us know how it runs.
Best,
Chris.
chris@mccormick.cx http://mccormick.cx
On 4/3/07, Chris McCormick chris@mccormick.cx wrote:
You might also like to take a look at gp2xPd since it builds PDa without the gui libraries. There's a description of how I did that in the file src/gp2x.readme which is available in a patched version of PDa. So download PDa 0.6 from Güenter's site, then apply the patch from here: http://mccormick.cx/projects/gp2xPd/files/gp2x-PDa.patch and then read the file src/gp2x.readme and have a look at the gp2x section in the makefiles. You should be able to use something very similar for gumstix.
So great that you are porting to gumstix - let us know how it runs.
so following your directions chris, patching the Makefile along with compiling using:
CC=/bin/arm-linux-uclibcgnueabi-gcc make
i ended up with the following pda port for the gumstix:
http://bekstation.bek.no/immigrante/pd_gumstix
it seems to run with the following flags:
pd -nogui -noadc -nomidi -verbose sys_audioapi 2 Pd version 0.37.4 compiled 23:12:25 Apr 23 2007 opened 0 MIDI input device(s) and 0 MIDI output device(s). input channels = 0, output channels = 2 opened /dev/dsp for writing only
error: OSS: SNDCTL_DSP_CHANNELS failed /dev/dsp opened audio output on /dev/dsp; got 0 channels
but unfortunaltely oss or alsa seem to be broken by now, when i try via alsa i get this:
aplay -l **** List of PLAYBACK Hardware Devices **** card 0: UCB1400 [UCB1400], device 0: PXA2xx-PCM [] Subdevices: 1/1 Subdevice #0: subdevice #0
so it looks like a sound device is up, but as far as i can tell the compiled pda is not alsa enabled...
unfortunately the gusmtix has problems with sound right now, phps someone has audio working fine and could give me some feedback testing the above port (im asking in the gumstix list also). else i will continue testing stuff and report a more detailed error log.
/a
Hi Alejo,
On Wed, Apr 25, 2007 at 12:04:01AM +0200, alejo d wrote:
On 4/3/07, Chris McCormick chris@mccormick.cx wrote:
So great that you are porting to gumstix - let us know how it runs.
so following your directions chris, patching the Makefile along with compiling using:
i ended up with the following pda port for the gumstix:
http://bekstation.bek.no/immigrante/pd_gumstix
it seems to run with the following flags:
That's really cool that you got it working. Let us know if you get the audio working too.
Chris.