On 4/3/07, <b class="gmail_sendername">Chris McCormick</b> &lt;<a href="mailto:chris@mccormick.cx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chris@mccormick.cx</a>&gt; wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>You might also like to take a look at gp2xPd since it builds PDa without<br>the gui libraries. There&#39;s a description of how I did that in the file<br>src/gp2x.readme which is available in a patched version of PDa. So
<br>download PDa 0.6 from Güenter&#39;s site, then apply the patch from here:<br>&lt;<a href="http://mccormick.cx/projects/gp2xPd/files/gp2x-PDa.patch" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mccormick.cx/projects/gp2xPd/files/gp2x-PDa.patch</a>&gt; and then
<br>read the file src/gp2x.readme and have a look at the gp2x section in the<br>makefiles. You should be able to use something very similar for gumstix.<br><br>So great that you are porting to gumstix - let us know how it runs.
</blockquote><div><br><br>so following your directions chris, patching the Makefile along with compiling using:<br><br>CC=/bin/arm-linux-uclibcgnueabi-gcc make<br><br>i ended up with the following pda port for the gumstix:
<br><br></div><a href="http://bekstation.bek.no/immigrante/pd_gumstix" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bekstation.bek.no/immigrante/pd_gumstix</a><br><br>it seems to run with the following flags:
<br><br>pd -nogui -noadc -nomidi -verbose<br>sys_audioapi 2<br>Pd version 0.37.4<br>compiled 23:12:25 Apr 23 2007<br>opened 0 MIDI input device(s) and 0 MIDI output device(s).<br>input channels = 0, output channels = 2<br>
opened /dev/dsp for writing only<br><br>
error: OSS: SNDCTL_DSP_CHANNELS failed /dev/dsp<br>opened audio output on /dev/dsp; got 0 channels<br><br><br>but unfortunaltely oss or alsa seem to be broken by now, when i try via alsa i get this:<br><br>&nbsp;aplay -l<br>**** List of PLAYBACK Hardware Devices ****
<br>card 0: UCB1400 [UCB1400], device 0: PXA2xx-PCM []
<br>&nbsp; Subdevices: 1/1<br>&nbsp; Subdevice #0: subdevice #0<br><br>so it looks like a sound device is up, but as far as i can tell the compiled pda is not alsa enabled...<br><br></div>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.
<br><br>/a<br><br><br>