Has anyone been able to use devmem2 at runtime to re-mux Overo UART2 Tx/Rx to the GPIO146_PWM11/GPIO147_PWM8 signals on the 40-pin TOBI header? I have successfully re-muxed these signals using a modified u-boot, but I'm wondering whether the same thing can be done in a shell script using devmem2 after the kernel has booted.
So far, I've tried running the following bash script under a (2.6.39) factory console image to try and adjust the mux settings :
#!/bin/sh
# Clear the existing UART2 mapping to the BT module
devmem2 0x4800216C w 0
devmem2 0x48002170 w 0
# Map UART2 to TOBI pin signals
devmem2 0x48002178 w 0x01000000
This results in the following console output:
Memory mapped at address 0x401e0000.
Read at address 0x4800216C (0x401e016c): 0x00000000
Write at address 0x4800216C (0x401e016c): 0x00000000, readback 0x00000000
/dev/mem opened.
Memory mapped at address 0x402e2000.
Read at address 0x48002179 (0x402e2178): 0x01000000
Write at address 0x48002179 (0x402e2178): 0x00000000, readback 0x00000000
/dev/mem opened.
Memory mapped at address 0x40126000.
Read at address 0x48002178 (0x40126178): 0x00000000
Write at address 0x48002178 (0x40126178): 0x01000000, readback 0x01000000
I have an oscilloscope connected to the GPIO146_PWM11 pin on the TOBI board so that I can observe whether serial data is present. To check whether the mux changes have been applied, I run:
echo 'hello' > /dev/ttyO1
The echo command does not appear to work, however. The command does not return (i.e. I have to Ctrl-C out of it), and my scope shows no activity on the Tx pin. For what it's worth, I did verify that the scope *does* show activity when my console image with a modified u-boot is used.
I can continue to use my custom image with mapping done in u-boot, but I'd love to know whether the devmem2 approach is also possible.
Best Regards,
Dave Billin
Graduate Research Assistant --MS Computer
Engineering
University of
Idaho
Moscow, Idaho 83844
e-mail: david.billin@...

Try using a powered hub between your host port and the sound card. I have
had such issues (not with a sound card) and this proved gto be a viable
workaround.
On Thu, Oct 27, 2011 at 4:57 AM, Alexander Thomas <
alexander.thomas@...> wrote:
> Hi Nathan,
>
> I have used USB sound cards successfully with my Overo (through hubs
> or connected to the OTG port), but I only tried a stock 2.6.36 kernel
> and a custom 2.6.35 kernel.
>
> I checked the config for the kernel you're using and it does have USB
> audio built-in, so that can't be the problem. Does anything show up in
> the system logs when you plug in a USB device, or nothing at all? In
> the latter case it is probably a hardware issue.
>
> Alexander
>
>
> On Thu, Oct 27, 2011 at 6:45 AM, Nathan Young <youngn111@...> wrote:
> > Hi All.
> >
> > I am new to the gumstix mail list. I am designing embedded HW for an
> audio
> > project, and am planning on using gumstix as part of the early production
> > hardware.
> >
> > USB Host does not seem to be working on my board. I do not get any
> messages
> > at a terminal prompt when devices are plugged. Nor does 'lsusb' show
> > anything. Should it 'work' out of the box, or am I doing something
> wrong?
> >
> > Here's the setup & background:
> >
> > I purchased an Overo Earth + Tobi board last week from gumstix.com, and
> > found it had a build image dated from 2009. This seemed pretty stale, so
> I
> > created an SD card with the latest build per the directions on the
> gumstix
> > site. http://cumulus.gumstix.org/images/angstrom/factory/
> > The build is dated 2011-08-30, and results in a kernel of 2.6.39.
> >
> > After the OS was intalled, I began to port our software from our other
> > platform, and have been able to successfully get data to/from the Tobi
> > onboard audio input/outputs. Our application requires a second audio
> port.
> > To accomplish this, I am trying to connect a Behringer UCA202 USB Sound
> card
> > to the Tobi board. When I plug the sound card into the USB Host port,
> > nothing happens. After reading these archives, I find this is not too
> > surprising as the port only communicates with 2.0 devices (and this sound
> > card is 1.1). So I tried a USB Flash drive, 2.0 unpowered hub, and 2.0
> > powered hub, as well as combinations of these devices. Still nothing.
> > Lsusb always returns this...
> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >
> > Incidentally, I have tested the UCA202 on a Linux PC, and it works
> > perfectly.
> >
> > I have read about the R26 on early Overo boards which kept the USB Host
> from
> > working correctly. Given that my Overo Earth came with kernel build from
> > 2009, I am concerned that perhaps somehow my order was fulfilled with a
> > really old module that might still contain R26. Does anyone know where
> to
> > find this resistor on the board? I studied the silkscreen pretty
> carefully,
> > but could not find R26.
> >
> > I also turned up a few internet threads talking about the 2.6.39rc1 and
> rc2
> > having polarity reversed on an (reset/enable?) line for the USB Host PHY.
> > It appeared from the threads that the problem was well understood and
> would
> > be fixed in the 2.6.39 release. Has anyone confirmed USB Host operation
> > with the 2011-08-30 pre-canned build from Gumstix website?
> >
> > Last, it seems that in general, users have more success interfacing with
> the
> > OTG port. I understand that a special cable is needed with ground
> present
> > on the ID pin to activate host mode on the Overo/Tobi. Gumstix sells a
> > cable, but it terminates to Mini connectors, which are not the typical
> hub
> > interface of a Standard A connector. If anyone is using a hub on the OTG
> > port, could you describe your setup, please? Did you have to use
> converter
> > cables to interwork the different connector styles and genders from the
> hub
> > to the Tobi?
> >
> > Any other ideas to check?
> >
> > Thanks much!
> >
> > Regards,
> > Nate
> >
>
>
> --
> Alexander Thomas
> Research Engineer
>
> eSATURNUS NV
> T +32 16 40 12 82
> M +32 477 51 63 62
> http://www.esaturnus.com
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@... Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

Hello,
I am having some problems with the tovi dvi interface. A few days ago I have
experimented the GNOME image and everything seemed to work fine.
Yesterday when I pluged my overo again, the screen just binks and no image
appears. I have already changed the resolution, also have re-installed a new
GNOME image, but no success.
Can you help me in this one.

Hi Nathan,
I have used USB sound cards successfully with my Overo (through hubs
or connected to the OTG port), but I only tried a stock 2.6.36 kernel
and a custom 2.6.35 kernel.
I checked the config for the kernel you're using and it does have USB
audio built-in, so that can't be the problem. Does anything show up in
the system logs when you plug in a USB device, or nothing at all? In
the latter case it is probably a hardware issue.
Alexander
On Thu, Oct 27, 2011 at 6:45 AM, Nathan Young <youngn111@...> wrote:
> Hi All.
>
> I am new to the gumstix mail list. I am designing embedded HW for an audio
> project, and am planning on using gumstix as part of the early production
> hardware.
>
> USB Host does not seem to be working on my board. I do not get any messages
> at a terminal prompt when devices are plugged. Nor does 'lsusb' show
> anything. Should it 'work' out of the box, or am I doing something wrong?
>
> Here's the setup & background:
>
> I purchased an Overo Earth + Tobi board last week from gumstix.com, and
> found it had a build image dated from 2009. This seemed pretty stale, so I
> created an SD card with the latest build per the directions on the gumstix
> site. http://cumulus.gumstix.org/images/angstrom/factory/
> The build is dated 2011-08-30, and results in a kernel of 2.6.39.
>
> After the OS was intalled, I began to port our software from our other
> platform, and have been able to successfully get data to/from the Tobi
> onboard audio input/outputs. Our application requires a second audio port.
> To accomplish this, I am trying to connect a Behringer UCA202 USB Sound card
> to the Tobi board. When I plug the sound card into the USB Host port,
> nothing happens. After reading these archives, I find this is not too
> surprising as the port only communicates with 2.0 devices (and this sound
> card is 1.1). So I tried a USB Flash drive, 2.0 unpowered hub, and 2.0
> powered hub, as well as combinations of these devices. Still nothing.
> Lsusb always returns this...
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> Incidentally, I have tested the UCA202 on a Linux PC, and it works
> perfectly.
>
> I have read about the R26 on early Overo boards which kept the USB Host from
> working correctly. Given that my Overo Earth came with kernel build from
> 2009, I am concerned that perhaps somehow my order was fulfilled with a
> really old module that might still contain R26. Does anyone know where to
> find this resistor on the board? I studied the silkscreen pretty carefully,
> but could not find R26.
>
> I also turned up a few internet threads talking about the 2.6.39rc1 and rc2
> having polarity reversed on an (reset/enable?) line for the USB Host PHY.
> It appeared from the threads that the problem was well understood and would
> be fixed in the 2.6.39 release. Has anyone confirmed USB Host operation
> with the 2011-08-30 pre-canned build from Gumstix website?
>
> Last, it seems that in general, users have more success interfacing with the
> OTG port. I understand that a special cable is needed with ground present
> on the ID pin to activate host mode on the Overo/Tobi. Gumstix sells a
> cable, but it terminates to Mini connectors, which are not the typical hub
> interface of a Standard A connector. If anyone is using a hub on the OTG
> port, could you describe your setup, please? Did you have to use converter
> cables to interwork the different connector styles and genders from the hub
> to the Tobi?
>
> Any other ideas to check?
>
> Thanks much!
>
> Regards,
> Nate
>
--
Alexander Thomas
Research Engineer
eSATURNUS NV
T +32 16 40 12 82
M +32 477 51 63 62
http://www.esaturnus.com

hi Nate,
I am also a new user of gumstix and I hope my limited experience may somehow help you narrow your problem.
I bought Tide + Tobi and made the boot micro SD following instruction(http://www.gumstix.org/create-a-bootable-microsd-card.html). And I can connect the miniA USB with a USB hub which connects my keyboard/mouse. The hub needs a converter from miniA to Standard of course. With the standard A usb I connect with my usb web camera because I found my usb hub is not functioning properly if I connect camera also through usb hub with mouse/keyboard. The mouse is becoming crazy when web camera is working. So, web camera needs using separate USB port.
I don't see any difficulty of usb connection.
However, the audio seems not working properly and I have no idea at all.
Hope it may help you a little.
Nick Huang/Qingzhe Huang
Date: Wed, 26 Oct 2011 23:45:04 -0500
From: youngn111@...
To: gumstix-users@...
Subject: [Gumstix-users] Overo Earth + Tobi. USB Host interface.
Hi All.
I am new to the gumstix mail list. I am designing embedded HW for an audio project, and am planning on using gumstix as part of the early production hardware.
USB Host does not seem to be working on my board. I do not get any messages at a terminal prompt when devices are plugged. Nor does 'lsusb' show anything. Should it 'work' out of the box, or am I doing something wrong?
Here's the setup & background:
I purchased an Overo Earth + Tobi board last week from gumstix.com, and found it had a build image dated from 2009. This seemed pretty stale, so I created an SD card with the latest build per the directions on the gumstix site. http://cumulus.gumstix.org/images/angstrom/factory/
The build is dated 2011-08-30, and results in a kernel of 2.6.39.
After the OS was intalled, I began to port our software from our other platform, and have been able to successfully get data to/from the Tobi onboard audio input/outputs. Our application requires a second audio port. To accomplish this, I am trying to connect a Behringer UCA202 USB Sound card to the Tobi board. When I plug the sound card into the USB Host port, nothing happens. After reading these archives, I find this is not too surprising as the port only communicates with 2.0 devices (and this sound card is 1.1). So I tried a USB Flash drive, 2.0 unpowered hub, and 2.0 powered hub, as well as combinations of these devices. Still nothing. Lsusb always returns this...
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Incidentally, I have tested the UCA202 on a Linux PC, and it works perfectly.
I have read about the R26 on early Overo boards which kept the USB Host from working correctly. Given that my Overo Earth came with kernel build from 2009, I am concerned that perhaps somehow my order was fulfilled with a really old module that might still contain R26. Does anyone know where to find this resistor on the board? I studied the silkscreen pretty carefully, but could not find R26.
I also turned up a few internet threads talking about the 2.6.39rc1 and rc2 having polarity reversed on an (reset/enable?) line for the USB Host PHY. It appeared from the threads that the problem was well understood and would be fixed in the 2.6.39 release. Has anyone confirmed USB Host operation with the 2011-08-30 pre-canned build from Gumstix website?
Last, it seems that in general, users have more success interfacing with the OTG port. I understand that a special cable is needed with ground present on the ID pin to activate host mode on the Overo/Tobi. Gumstix sells a cable, but it terminates to Mini connectors, which are not the typical hub interface of a Standard A connector. If anyone is using a hub on the OTG port, could you describe your setup, please? Did you have to use converter cables to interwork the different connector styles and genders from the hub to the Tobi?
Any other ideas to check?
Thanks much!
Regards,
Nate
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@... Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Hi All.
I am new to the gumstix mail list. I am designing embedded HW for an audio
project, and am planning on using gumstix as part of the early production
hardware.
USB Host does not seem to be working on my board. I do not get any messages
at a terminal prompt when devices are plugged. Nor does 'lsusb' show
anything. Should it 'work' out of the box, or am I doing something wrong?
Here's the setup & background:
I purchased an Overo Earth + Tobi board last week from gumstix.com, and
found it had a build image dated from 2009. This seemed pretty stale, so I
created an SD card with the latest build per the directions on the gumstix
site. http://cumulus.gumstix.org/images/angstrom/factory/
The build is dated 2011-08-30, and results in a kernel of 2.6.39.
After the OS was intalled, I began to port our software from our other
platform, and have been able to successfully get data to/from the Tobi
onboard audio input/outputs. Our application requires a second audio port.
To accomplish this, I am trying to connect a Behringer UCA202 USB Sound card
to the Tobi board. When I plug the sound card into the USB Host port,
nothing happens. After reading these archives, I find this is not too
surprising as the port only communicates with 2.0 devices (and this sound
card is 1.1). So I tried a USB Flash drive, 2.0 unpowered hub, and 2.0
powered hub, as well as combinations of these devices. Still nothing.
Lsusb always returns this...
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Incidentally, I have tested the UCA202 on a Linux PC, and it works
perfectly.
I have read about the R26 on early Overo boards which kept the USB Host from
working correctly. Given that my Overo Earth came with kernel build from
2009, I am concerned that perhaps somehow my order was fulfilled with a
really old module that might still contain R26. Does anyone know where to
find this resistor on the board? I studied the silkscreen pretty carefully,
but could not find R26.
I also turned up a few internet threads talking about the 2.6.39rc1 and rc2
having polarity reversed on an (reset/enable?) line for the USB Host PHY.
It appeared from the threads that the problem was well understood and would
be fixed in the 2.6.39 release. Has anyone confirmed USB Host operation
with the 2011-08-30 pre-canned build from Gumstix website?
Last, it seems that in general, users have more success interfacing with the
OTG port. I understand that a special cable is needed with ground present
on the ID pin to activate host mode on the Overo/Tobi. Gumstix sells a
cable, but it terminates to Mini connectors, which are not the typical hub
interface of a Standard A connector. If anyone is using a hub on the OTG
port, could you describe your setup, please? Did you have to use converter
cables to interwork the different connector styles and genders from the hub
to the Tobi?
Any other ideas to check?
Thanks much!
Regards,
Nate

Hey guys,
I was wondering if anyone could tell me were I could find the cross
GCC configuration file for either the Buildroot or Bitbake cross
compiling environment so that I could recreate a similar environment
but with crosstool-ng.
Casey

On 27/10/2011 3:46 AM, Jason C. Mecham wrote:
> I'm sure there exist some kind of digital spring scale that you can hook up the Overo
>
> Where you could detect something suddenly weighing down the bird feeder, and then when it moves off.
>
> I'd probably get one of ones off amazon that had the correct weight range for what I was trying to measure, and then break it open. I don't have any experience in using them.
>
Don't think of suggesting load cells.
But probably a bit out of the price range for this sort of project.
Last time I used them was for under road weighing of trucks.
sparkfun sells a very cheap one for $50 but its rated up to 50kg
Another way would be a couple of accelerometers and measure the force
from the birds landing. Might have difficulty with small finches but
should work for Bob's vultures.
Alex

I'm using a 2.6.39 image so the ADC inputs are brought out in sys/class.
I wrote a simple script to dump all of the ADC readings to console
#!/bin/sh
for file in /sys/class/hwmon/hwmon1/device/in*
do
echo -n "${file}: "; cat $file
done
then I can watch the readings coming from the ADC
# modprobe twl4030-madc-hwmon
# watch ./adc
Comparing the Tobi and the Pinto I'm getting the same behaviour on
ADCIN4. Are you sure your sensor is connected identically in both
cases?
-
Neil
On Tue, Oct 25, 2011 at 3:22 AM, itamarwe <weiss.itamar@...> wrote:
>
> Hi,
> I see the bias and I see a threshold the limits the output. I am not sure
> regarding scaling since I do not have the proper equipment in order to test
> it with reference inputs.
> I am using the code found here:
>
> https://github.com/scottellis/madc
>
> Thank you,
> Itamar.
>
>
> enmach wrote:
>>
>> Hi there,
>>
>> Aside from the 120mV bias are your measurements consistent with your
>> expectations? How are you making the ADC measurement? If you provide
>> your code I will test with my Pinto.
>>
>> -
>> Neil
>>
>>
>>
>>
>> On Thu, Aug 25, 2011 at 4:20 AM, itamarwe <weiss.itamar@...> wrote:
>>>
>>> Hi all,
>>> I am having trouble using the ADC of the Gumstix Overo with the Pinto-TH.
>>> I am measuring an analog output of an ultrasound sensor with one of the
>>> ADCs.
>>> Everything works fine, and I get good results when I use the Tobi board,
>>> but
>>> when I use
>>> the Pinto board, I get a minimum reading of 120mV even when I ground the
>>> ADC
>>> input.
>>> It also seems like the scale of the ADC has changed.
>>>
>>> Has anyone ever encountered such a phenomenon?
>>> Might it be related to the parts that are not placed on the Pinto?
>>>
>>> Just to be clear I would mention that I used exactly the same power
>>> source
>>> for both boards, with exactly the same configuration, and I tried both
>>> ADC4
>>> and ADC6 that give the same results.
>>>
>>> Thank you in advance for your help.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/PINTO-TH-ADC-Issue-tp32333340p32333340.html
>>> Sent from the Gumstix mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> EMC VNX: the world's simplest storage, starting under $10K
>>> The only unified storage solution that offers unified management
>>> Up to 160% more powerful than alternatives and 25% more efficient.
>>> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
>>> _______________________________________________
>>> gumstix-users mailing list
>>> gumstix-users@...
>>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> http://p.sf.net/sfu/splunk-d2d-oct
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@...
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>>
>>
>
> --
> View this message in context: http://old.nabble.com/PINTO-TH-ADC-Issue-tp32333340p32716425.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@... Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

I've tracked the problem down to the size of the write. The fw_setenv
utility fails when it attempts to write the 2-byte CRC to NAND. The
nandwrite program checks the meminfo first to determine the minimum
write size, and then writes blocks of that are a multiple of that size.
I modified fw_env.c to make an image in RAM including the CRC and all
of the data before dumping the whole image to NAND, and it succeeds.
However, the version that I modified appears to be incompatible with
version of u-boot that I'm using. The modified code can write and
read back the environment successfully, but it complains about an
invalid CRC if I trie to read back the original contents.
Patrick
> -----Original Message-----
> From: itodroid [mailto:itodroid@...]
> Sent: October 20, 2011 19:00
> To: gumstix-users@...
> Subject: [Gumstix-users] u-boot fw_saveenv doesn't work?
>
> Hello all. I'm setting up a Gumstix Firestorm to have a
> default factory
> image that it can always boot from (redundant Linux images).
> However, I've
> run across a snag in setting u-boot variables from the Linux
> environment (to
> control which image is booted).
>
>
>
> For some reason, fw_printenv succeeds in printing out all the u-boot
> variables, but the fw_saveenv fails. It fails with the following:
>
>
>
> nand_do_write_ops: Attempt to write not page aligned data
>
> Writing environment to /dev/mtd2...
>
> CRC write error on /dev/mtd2: Invalid argument
>
> Error: can't write fw_env to flash
>
>
>
> Anyone ever see this before? I'm using the linux-omap3-caspa (2.6.34
> kernel) along with u-boot 2010.12. See below for the output
> along with the
> fw_env.config file as well as the /proc/mtd.

Hi Sascha,
Since you might be in testing mode...
I have two Caspa patches I've been sitting on based on an exchange from
another Gumstix developer, Rob Smith.
mt9v032-correct-bad-ioctl-indexing.patch
https://gist.github.com/1316947
mt9v032-increase-max-exposure.patch
https://gist.github.com/1316952
The 'correct-bad-ioctl' patch fixes a bug introduced with the
'queryctl-ordering' patch I submitted awhile back. The ioctl for
exposure was controlling gain and the ioctl for gain was controlling
horizontal flipping. Bad bug.
The other is an observation from Rob that the max exposure calculation
gives a value of 566, but the v4l2_queryctrl struct restricts 480 to be
the maximum.
WARNING - WARNING - WARNING
I did not test either of these patches. They compile clean and they look
reasonable. But my only Caspa boards are off doing useful work, so I
have nothing to test with.
If you or someone else wants to validate these patches that would be
great.
I don't expect to have access to a Caspa board anytime soon unless I
order another (which I am unlikely to do just for this test.)
Scott

I'm sure there exist some kind of digital spring scale that you can hook up the Overo
Where you could detect something suddenly weighing down the bird feeder, and then when it moves off.
I'd probably get one of ones off amazon that had the correct weight range for what I was trying to measure, and then break it open. I don't have any experience in using them.
-----Original Message-----
From: Alex Gibson [mailto:alxx@...]
Sent: Tuesday, October 25, 2011 7:59 PM
To: General mailing list for gumstix users.
Subject: Re: [Gumstix-users] Pressure Type Sensor To Connect To Overo
On 26/10/2011 1:36 PM, Bob Cochran wrote:
> On 10/25/11 6:37 PM, Alex Gibson wrote:
>> On 25/10/2011 12:52 PM, Bob Cochran wrote:
>>> On 10/24/11 6:06 PM, Alex Gibson wrote:
>>>> On 24/10/2011 2:26 PM, Bob Cochran wrote:
>>>>> I want to connect something to an Overo -- perhaps a pressure type
>>>>> sensor? -- that can signal when a bird has landed on my bird feeder, and
>>>>> when the bird has taken off. It would have to work for the entire
>>>>> physical perch. Birds must not be harmed or disturbed by the sensor or
>>>>> device. They should be able to stay on the perch for as long as they
>>>>> want in order to feed. The bird perch is circular in shape, going around
>>>>> the feeding area. What would that "something", sensor, or device be?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Bob Cochran
>>>>>
>>>> maybe one of these force sensitive resistors ?
>>>> http://www.sparkfun.com/categories/143
>>> Thanks, Alex! I guess Sparkfun is the place to go!
>>>
>>> Bob
>> Maybe easier/more reliable to use a spring switch or switches
>>
>> Mount the bird feeder via a hinge with a small spring and switch
>> (also make sure to fix it so a good wind can't open it the full way)
>>
>>
>>
>> Wouldn't want to try something like this here as you'd get everything
>> from small finches and sparrows up to the galahs and cockatoos
>> weight range of around 20g to 1kg+
>>
>> Problem feeding sulfur crested cockatoos is if you miss one day or they
>> decide they don't like the feed one day then they may just chew up the
>> feeder
>> or decide to chomp part of your house to sharpen their beaks.
>>
>> http://www.smh.com.au/environment/animals/there-goes-the-neighbourhood-as-tearaways-move-in-20110324-1c8lv.html
>>
>> http://www.environment.nsw.gov.au/animals/KeepingWildlifeWild.htm
>> http://www.smh.com.au/environment/animals/sydneys-old-crock-of-a-cockie-was-a-legend-at-120-20110831-1jkz2.html
>
> Hi Alex!
>
> Thank you for the suggestion, a spring and switch might work over here
> for what I want. You and Paul have now offered me 3 possible ways to
> sense a bird at a feeder.
Was just trying to think of the simpliest and easiest "sensor".
Only problem is the spring needs to be strong enough to resist any wind
but weak enough for small birds.
Could try a few different motion detectors/beams.
Maybe a shielded ir beam or laser(pointer) so the sun/reflections don't
trigger it
Camera with motion detector is probably the most reliable way
but not the cheapest unless you do it all in software.
There is an open source video alarm software - detects motion in the
video then can trigger events etc.
Fun thing is setting it up so a moving branch etc doesn't trigger it.
The mobotix cameras can do a similiar thing internally in their software
just a matter of settings in their interface but probably a bit to pricey.
> My own personal problem is squirrels in the neighborhood. I hate them!
> They dig up my tree seedlings (after I leave for work.) They dig up my
> bonsai too.
>
squirrels are a lot more gracefull and quieter/less destructive than possums
"Possums had "terrible temper problems", he said. "They really hold a
grudge. Legally we can only move them 25 metres to 50 metres from where
we catch them, which means just moving them from your roof to your
backyard, and then fixing the roof so they can't get back in.
''Often possums I've removed from roofs have come back and pushed over
pot plants in the backyard and torn leaves off bushes,'' he said."
http://www.smh.com.au/environment/animals/not-even-the-pms-pansies-are-safe-from-citys-possum-plague-20110225-1b8s8.htmlhttp://www.abc.net.au/science/articles/2006/09/07/2041855.htm
> We do have one local bird problem: vultures in the neighborhood. Yes, I
> live in a very urban, city environment and we have vultures. Very few
> compared to your cockatoo population. Apparently one of my neighbors (if
> someone a few blocks away is a neighbor?) was or is feeding vultures, so
> they hang around. I walked past one while on an exercise walk and we
> both startled each other.
>
> Thanks again to you for the great suggestions. I have been looking over
> the Sparkfun resistive force sensors and I'm wondering if a tiny finch
> is able to land with 100g (grams) of force.
>
> Bob
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@... Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Thanks ... just read it ... it worked, and it does take a time to get the
interface up ... but now everything is working ...
Thanks
Best regards
Juan David
On Oct 26, 2011 6:13 PM, "Neil MacMunn" <neil@...> wrote:
Have a look at this tutorial: http://robovero.org/index.php/wireless
It explains how to set up networking so that wifi comes up
automatically on boot. I have heard that it can take some time for the
interface to come up but I haven't seen the problem personally.
-
Neil
2011/10/26 Juan David Hernández Vega <juandhv@...>:
> Hi Neil,
>
> Thanks, I'm already using the Robovero Python library, I'm reading the IMU
with the e...

Hi Sascha,
If Neil is correct about the exposure pin on the sensor not being
connected, then getting into the mt9v032 driver will not be very useful.
Here are some userland test programs I wrote while working on another
camera driver. With some modifications you can probably use them with
the Caspa camera. The modifications should only be to the particular
IOCTLs that the Caspa camera supports, the ranges and maybe the image
formats.
The programs are all examples using the V4L2 interface that cameras in
the 2.6.32-2.6.34 kernel era exported. The new >2.6.39 media-ctl changes
may have broken all these programs. I think you are using 2.6.34 though.
snap - takes a single picture and saves it raw format to disk (uSD card)
yuv2rgb - reads raw yuv images from disk using OpenCV and then saves the
images as jpegs.
Combining the two and removing the pieces you don't need, you could read
snapshots into OpenCV to do your own image processing.
Here are a few more projects you might get something from
snapx - does continuous threaded image reads, similar to snap
camctl - more testing of some camera ioctls
bayer2rgb - similar to yuv2rgb but handles bayer images
gum-opencv-test - simple test of the opencv dev tools on a Gumstix.
There are instructions for how I installed opencv on the Overo.
These are all just development test programs for a particular sensor. I
didn't put a lot of effort into making them robust or generic and I
haven't looked at any of them for 6 months. They might be a starting
point for you though.
All the programs I listed can be found on github as
https://github.com/scottellis/<project-name&gt;
Scott

You might want to think of it another way.
I think capacitance is out, but if you have access to a bird, you
might see if it does work (like motion sensors, iphone touch
screens, etc): no moving parts, no worries about wind/weight, etc.
If the feeding station is a straight run, you could put up an IR
LED/sensor on either end... when something blocks the light,
you know you've got something (no moving parts again).
Even simpler might be photo-analysis (I did this _years_ ago).
Paint your bird house a color that's unique to the color of the
birds you expect. Snap a photo every 1 second or so. If you
can format it as BMP or GIF you're home free: Towards the
beginning of the header will be a color palette. If a unique
color is detected, it's probably something new in your field of view
(squirrel, bird, vulture, etc). If the native format is JPG, it'll take
a little more work to determine if a new color is in the frame.
Tschuss!

Thank you.
So I should patch the kernel => Instead of
drivers/media/video/mt9v032.ko(which is currently in my folder) i will find
drivers/media/video/mt9v032.c and mt9v032.h
Afterwards i shall use mt9v032.c and mt9v032.h for writing a C file which is
able to use those file(commands) for setting up a connection with
/dev/video0 (i2c) and for changing the register values and capturing the
frames. Is that correct? Or did i misunderstand you? Sry, but this is really
new for me!
sascha
--
View this message in context: http://old.nabble.com/How-to-change-Register-values-of-the-Caspa-FS-tp32683557p32723246.html
Sent from the Gumstix mailing list archive at Nabble.com.

On Tue, Oct 25, 2011 at 1:09 AM, Alexander Thomas
<alexander.thomas@...> wrote:
> On Tue, Oct 25, 2011 at 5:57 AM, Charles Howard <howar039@...> wrote:
>> Does the omap3 console image contain a compiler?
...
>> If nit is it possible to add one?
>
> Yes!
> Add “task-native-sdk” to the TOOLS_INSTALL section of the
> ‘images/omap3-console-image.bb’ recipe and rebuild the console image.
It might be better not to edit the console image recipe directly.
Instead have a look at how the omap3-desktop-image.bb image includes
the console image recipe, then make a similar recipe for yourself that
includes the extra packages that you need, but not all the packages
that the desktop recipe includes.
I'm planning to make a developer's desktop image recipe that includes
not just task-native-sdk, but also some basic GUI stuff that can be
built in a lot less time than the desktop image can be built.
The desktop image recipe builds a whole whack of packages, the vast
majority of which I don't expect to ever use.
--
Don Quixote de la Mancha
Dulcinea Technologies Corporation
Software of Elegance and Beauty
http://www.dulcineatech.com
quixote@...

On Tue, Oct 25, 2011 at 2:58 PM, Charles Howard <howar039@...> wrote:
> Is there a list of these commands online? I also want to add a text editor.
Packages can be browsed at http://www.angstrom-distribution.org/repo/
You can also get a list of all packages on your Overo with `opkg
list`. For more details, see
http://gumstix.org/add-software-packages.html
On Tue, Oct 25, 2011 at 3:12 PM, Charles Howard <howar039@...> wrote:
> Also after rebuild, will there be a certain file I will need to add to microSD so that compiler will be present?
>
> Again thanks for your help
>
> Sent from my iPhone
After building, your new console image will be in
tmp/deploy/glibc/images/overo/ inside your openembedded directory. You
should decompress the .tar.gz file to the root of your microSD card.
This will overwrite any existing files of course, resetting any config
changes you may have made.
--
Alexander Thomas
Research Engineer
eSATURNUS NV
T +32 16 40 12 82
M +32 477 51 63 62
http://www.esaturnus.com

On 26/10/2011 1:36 PM, Bob Cochran wrote:
> On 10/25/11 6:37 PM, Alex Gibson wrote:
>> On 25/10/2011 12:52 PM, Bob Cochran wrote:
>>> On 10/24/11 6:06 PM, Alex Gibson wrote:
>>>> On 24/10/2011 2:26 PM, Bob Cochran wrote:
>>>>> I want to connect something to an Overo -- perhaps a pressure type
>>>>> sensor? -- that can signal when a bird has landed on my bird feeder, and
>>>>> when the bird has taken off. It would have to work for the entire
>>>>> physical perch. Birds must not be harmed or disturbed by the sensor or
>>>>> device. They should be able to stay on the perch for as long as they
>>>>> want in order to feed. The bird perch is circular in shape, going around
>>>>> the feeding area. What would that "something", sensor, or device be?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Bob Cochran
>>>>>
>>>> maybe one of these force sensitive resistors ?
>>>> http://www.sparkfun.com/categories/143
>>> Thanks, Alex! I guess Sparkfun is the place to go!
>>>
>>> Bob
>> Maybe easier/more reliable to use a spring switch or switches
>>
>> Mount the bird feeder via a hinge with a small spring and switch
>> (also make sure to fix it so a good wind can't open it the full way)
>>
>>
>>
>> Wouldn't want to try something like this here as you'd get everything
>> from small finches and sparrows up to the galahs and cockatoos
>> weight range of around 20g to 1kg+
>>
>> Problem feeding sulfur crested cockatoos is if you miss one day or they
>> decide they don't like the feed one day then they may just chew up the
>> feeder
>> or decide to chomp part of your house to sharpen their beaks.
>>
>> http://www.smh.com.au/environment/animals/there-goes-the-neighbourhood-as-tearaways-move-in-20110324-1c8lv.html
>>
>> http://www.environment.nsw.gov.au/animals/KeepingWildlifeWild.htm
>> http://www.smh.com.au/environment/animals/sydneys-old-crock-of-a-cockie-was-a-legend-at-120-20110831-1jkz2.html
>
> Hi Alex!
>
> Thank you for the suggestion, a spring and switch might work over here
> for what I want. You and Paul have now offered me 3 possible ways to
> sense a bird at a feeder.
Was just trying to think of the simpliest and easiest "sensor".
Only problem is the spring needs to be strong enough to resist any wind
but weak enough for small birds.
Could try a few different motion detectors/beams.
Maybe a shielded ir beam or laser(pointer) so the sun/reflections don't
trigger it
Camera with motion detector is probably the most reliable way
but not the cheapest unless you do it all in software.
There is an open source video alarm software - detects motion in the
video then can trigger events etc.
Fun thing is setting it up so a moving branch etc doesn't trigger it.
The mobotix cameras can do a similiar thing internally in their software
just a matter of settings in their interface but probably a bit to pricey.
> My own personal problem is squirrels in the neighborhood. I hate them!
> They dig up my tree seedlings (after I leave for work.) They dig up my
> bonsai too.
>
squirrels are a lot more gracefull and quieter/less destructive than possums
"Possums had "terrible temper problems", he said. "They really hold a
grudge. Legally we can only move them 25 metres to 50 metres from where
we catch them, which means just moving them from your roof to your
backyard, and then fixing the roof so they can't get back in.
''Often possums I've removed from roofs have come back and pushed over
pot plants in the backyard and torn leaves off bushes,'' he said."
http://www.smh.com.au/environment/animals/not-even-the-pms-pansies-are-safe-from-citys-possum-plague-20110225-1b8s8.htmlhttp://www.abc.net.au/science/articles/2006/09/07/2041855.htm
> We do have one local bird problem: vultures in the neighborhood. Yes, I
> live in a very urban, city environment and we have vultures. Very few
> compared to your cockatoo population. Apparently one of my neighbors (if
> someone a few blocks away is a neighbor?) was or is feeding vultures, so
> they hang around. I walked past one while on an exercise walk and we
> both startled each other.
>
> Thanks again to you for the great suggestions. I have been looking over
> the Sparkfun resistive force sensors and I'm wondering if a tiny finch
> is able to land with 100g (grams) of force.
>
> Bob

On 10/25/11 6:37 PM, Alex Gibson wrote:
> On 25/10/2011 12:52 PM, Bob Cochran wrote:
>> On 10/24/11 6:06 PM, Alex Gibson wrote:
>>> On 24/10/2011 2:26 PM, Bob Cochran wrote:
>>>> I want to connect something to an Overo -- perhaps a pressure type
>>>> sensor? -- that can signal when a bird has landed on my bird feeder, and
>>>> when the bird has taken off. It would have to work for the entire
>>>> physical perch. Birds must not be harmed or disturbed by the sensor or
>>>> device. They should be able to stay on the perch for as long as they
>>>> want in order to feed. The bird perch is circular in shape, going around
>>>> the feeding area. What would that "something", sensor, or device be?
>>>>
>>>> Thanks
>>>>
>>>> Bob Cochran
>>>>
>>> maybe one of these force sensitive resistors ?
>>> http://www.sparkfun.com/categories/143
>> Thanks, Alex! I guess Sparkfun is the place to go!
>>
>> Bob
> Maybe easier/more reliable to use a spring switch or switches
>
> Mount the bird feeder via a hinge with a small spring and switch
> (also make sure to fix it so a good wind can't open it the full way)
>
>
>
> Wouldn't want to try something like this here as you'd get everything
> from small finches and sparrows up to the galahs and cockatoos
> weight range of around 20g to 1kg+
>
> Problem feeding sulfur crested cockatoos is if you miss one day or they
> decide they don't like the feed one day then they may just chew up the
> feeder
> or decide to chomp part of your house to sharpen their beaks.
>
> http://www.smh.com.au/environment/animals/there-goes-the-neighbourhood-as-tearaways-move-in-20110324-1c8lv.html
>
> http://www.environment.nsw.gov.au/animals/KeepingWildlifeWild.htm
> http://www.smh.com.au/environment/animals/sydneys-old-crock-of-a-cockie-was-a-legend-at-120-20110831-1jkz2.html
Hi Alex!
Thank you for the suggestion, a spring and switch might work over here
for what I want. You and Paul have now offered me 3 possible ways to
sense a bird at a feeder.
My own personal problem is squirrels in the neighborhood. I hate them!
They dig up my tree seedlings (after I leave for work.) They dig up my
bonsai too.
We do have one local bird problem: vultures in the neighborhood. Yes, I
live in a very urban, city environment and we have vultures. Very few
compared to your cockatoo population. Apparently one of my neighbors (if
someone a few blocks away is a neighbor?) was or is feeding vultures, so
they hang around. I walked past one while on an exercise walk and we
both startled each other.
Thanks again to you for the great suggestions. I have been looking over
the Sparkfun resistive force sensors and I'm wondering if a tiny finch
is able to land with 100g (grams) of force.
Bob

On 25/10/2011 12:52 PM, Bob Cochran wrote:
> On 10/24/11 6:06 PM, Alex Gibson wrote:
>> On 24/10/2011 2:26 PM, Bob Cochran wrote:
>>> I want to connect something to an Overo -- perhaps a pressure type
>>> sensor? -- that can signal when a bird has landed on my bird feeder, and
>>> when the bird has taken off. It would have to work for the entire
>>> physical perch. Birds must not be harmed or disturbed by the sensor or
>>> device. They should be able to stay on the perch for as long as they
>>> want in order to feed. The bird perch is circular in shape, going around
>>> the feeding area. What would that "something", sensor, or device be?
>>>
>>> Thanks
>>>
>>> Bob Cochran
>>>
>> maybe one of these force sensitive resistors ?
>> http://www.sparkfun.com/categories/143
>
> Thanks, Alex! I guess Sparkfun is the place to go!
>
> Bob
Maybe easier/more reliable to use a spring switch or switches
Mount the bird feeder via a hinge with a small spring and switch
(also make sure to fix it so a good wind can't open it the full way)
Wouldn't want to try something like this here as you'd get everything
from small finches and sparrows up to the galahs and cockatoos
weight range of around 20g to 1kg+
Problem feeding sulfur crested cockatoos is if you miss one day or they
decide they don't like the feed one day then they may just chew up the
feeder
or decide to chomp part of your house to sharpen their beaks.
http://www.smh.com.au/environment/animals/there-goes-the-neighbourhood-as-tearaways-move-in-20110324-1c8lv.htmlhttp://www.environment.nsw.gov.au/animals/KeepingWildlifeWild.htmhttp://www.smh.com.au/environment/animals/sydneys-old-crock-of-a-cockie-was-a-legend-at-120-20110831-1jkz2.html

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details