Re: [beagleboard] Re: Driver for Adafruit BMP280 Barometric Pressure & Temperature Sensor

2016-02-29 Thread Nuno Sucena Almeida
On 02/29/2016 08:28 PM, AV8TOR wrote:
> Update:
> I anticipate someone will want to know how the sensor is interfaced:
> Again, using the BMP085 as a reference for my BMP280
> The actual BMP280 pinout BMP280 Pinout
> 
> the below steps snipped from this link: BMP On the Beaglebone Black
> 
> 
>  1. Connect GND from the BMP085 to P9.1 of your BBB.
>  2. Connect VIN from the BMP085 to P9.3 of your BBB.
>  3. Connect SCL from the BMP085 to P9.19 of your BBB.
>  4. Connect SDA from the BMP085 to P9.20 of your BBB.  (NOTE: the BMP280
> does not have SDA, so I'm using SDI instead)

You might want to make sure that you are using the BMP280 in I2C mode,
instead of SPI mode, as it supports both.

Before assigning a driver to it (your echo command), you can try to see
if it's actually being detected on the i2c bus and dump its registers
using the i2c tools (i2cdetect, i2cdump)

You also didn't mention what linux/kernel versions you are running.
There's support for BMP280 on newer linux kernels within the kernel iio
framework as of 2014/2015.

regards,
Nuno

-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] DHT11 sensor with Beaglebone black using python

2015-12-25 Thread Nuno Sucena Almeida
On 12/25/2015 07:19 AM, karthi geyan wrote:
> Hi . I tried to learn python programming to use the hardware interfacing
> in Beaglebone Black. I am building a weather station, so i need to read
> data from DHT11 sensor using BBB in python.  I tried
> http://www.uugear.com/portfolio/dht11-humidity-temperature-sensor-module/ this
> by converting the code for Beaglebone but i get some error.  Give me
> shome suggestions and help me?

Just a word of caution, DHTxx or requivalent AM type sensors don't
have very good accuracy.

I've been using BME280 and BME180 for humidity/temperature/pressure
measurements with good success.

The BME280/180 use i2c, which is easier to work with, contrasting with
the DHTxx that need precise timing for their proprietary protocol.

regards,
Nuno

-- 
https://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: X11VNC fighting me tooth and nail. Would really appreciate some help.

2015-12-10 Thread Nuno Sucena Almeida
On 12/07/2015 10:36 AM, Bill Dussault wrote:
> How do I get into the logfile? I did not know about that
> Thanks 

Run x11vnc on thet beaglebone without the '-bg' argument.  You probably
also need to run it as sudo, if you are using the '-auth' argument.

I'm confused about your more recent email. You have to run x11vnc on the
beaglebone, not on your laptop. On the laptop (client), you need to run
a vnc client, e.g., vinagre.

Can you explain what you are trying to do ?

regards,
Nuno

-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] X11VNC fighting me tooth and nail. Would really appreciate some help.

2015-12-06 Thread Nuno Sucena Almeida
On 12/06/2015 08:29 PM, Bill Dussault wrote:
> I start  tightVNC on my laptop
> 
> 
> 192.168.1.XX:5901  
> 

You could try port 5900 instead of 5901 and look into the x11vnc logfile
to confirm that your vnc client is connecting.

Nuno

--

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone pin header initialization during boot

2015-10-15 Thread Nuno Sucena Almeida
On 10/15/2015 11:41 AM, LT Smit wrote:
> So, somewere, pin P9_29 is explicitly set high during the boot process.
> This can be in u-boot, or in the linux kernel (I guess u-boot).

You could try to connect an oscilloscope to the pins, with trigger
properly set and pay attention what's happening when it transitions.

cheers,
Nuno

--

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] libiio on BBB?

2015-10-10 Thread Nuno Sucena Almeida
On 10/08/2015 10:06 PM, Rick Mann wrote:
> What would it take to get libiio:
> 
>   https://wiki.analog.com/resources/tools-software/linux-software/libiio
> 
> Into the BBB kernels? I think this would be amazing.

Hi Rick,

the linux kernel supports IIO (industrial input output) for quite some
time and the BBB ADC has a IIO driver. You will have to enable the ADC
pins in the device tree.

I just started using the libiio on the BBB to read all 8 ADC channels. I
initially tried it with the latest 4.2.x-bone linux kernel, but ran into
issues enabling buffer continuous mode, so reverted back to 4.1.5-ti-r10
(ubuntu 15.10). Didn't investigate further what makes it different, will
do whenever have the opportunity.

I'm also investigating the low sample rates I'm getting...when creating
the buffer the library complains: "WARNING: High-speed mode not
enabled". The full source code is available and the documentation has
reasonable quality, so it's just a matter of putting some time and
effort improving it.

Just for reference, here's the list of loaded modules after enabling the
ADC through the device tree:

~$ lsmod
Module  Size  Used by
ti_am335x_adc   5984  0
kfifo_buf   3524  1 ti_am335x_adc
industrialio   52301  2 ti_am335x_adc,kfifo_buf
omap_rng5254  0
rng_core8737  1 omap_rng
ti_am335x_tsc   6048  0
ti_am335x_tscadc6199  2 ti_am335x_adc,ti_am335x_tsc
uio_pdrv_genirq 3745  0
uio10395  1 uio_pdrv_genirq
tilcdc 32944  0

~$ uname -r
4.1.5-ti-r10

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu Wily Werewolf (development branch)
Release:15.10
Codename:   wily

regards,
Nuno

-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Using /dev/ttyS0 under read-only rootfs

2015-09-20 Thread Nuno Sucena Almeida
On 09/20/2015 08:09 PM, Mark Fisher wrote:
> I assume that the fact that the system is read only is the problem but I
> am not sure how I can "mount" the tty as read-write. Does anyone have
> any suggestions? 

You might want to mount your /dev as a tmpfs? A quick google gave me this:

https://sites.google.com/site/linuxpendrive/rorootfs

cheers,
Nuno
-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Ubuntu 14.04 hangs on the BBB

2015-09-04 Thread Nuno Sucena Almeida
On 09/03/2015 12:12 PM, gianluca.sa...@gmail.com wrote:
> I need it to be as reliable as its big brothers Ubuntu servers...

As Dieter asked, what power supply are you using ? I have a few BBB
24/24h with no issue, but I use a good 5V 2A power supply. What are the
USB sensor power requirements ?

You can start to understand what's going on by connecting to the board
console serial port (3.3V!) from another system and logging it to a file
and see if there's any kernel error messages.

Nuno

--

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ADC generic_buffer.c issues || Accessing ADC from own kernel module

2015-08-12 Thread Nuno Sucena Almeida
On 08/12/2015 06:51 PM, Maro wrote:
 So the goal is almost identical to the generic_buffer.c application
 referenced on this wiki [
 http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver's_Guide] 
 

It shouldn't matter, but if you are willing to upgrade the kernel (ubuntu 
14.04, Linux kernel 4.1.4-ti-r9), 
you could follow the updated version instead:

http://processors.wiki.ti.com/index.php/Linux_Core_ADC_User's_Guide

I just used Robert Nelson kernel (linux-image-4.1.4-ti-r9) and updated/added 
the required entry 
to the device tree:

tscadc@44e0d000 {
compatible = ti,am3359-tscadc;
reg = 0x44e0d000 0x1000;
interrupt-parent = 0x1;
interrupts = 0x10;
ti,hwmods = adc_tsc;
status = okay;
linux,phandle = 0xc5;
phandle = 0xc5;

tsc {
compatible = ti,am3359-tsc;
};

adc {
#io-channel-cells = 0x1;
compatible = ti,am3359-adc;
linux,phandle = 0xc6;
phandle = 0xc6;
ti,adc-channels = 0 1 2 3 4 5 6 7;
};
};



I didn't try with the .c application with this version yet, but I can read the 
raw values directly:

(AN4 connected to the board analog ground)

~$ cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw 
12

(AN4 connected to the board 1.8V )

~$ cat /sys/bus/iio/devices/iio\:device0/in_voltage4_raw 
4083


cheers,
Nuno

-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Beaglebone Black Wifi Managed and Master mode

2015-08-12 Thread Nuno Sucena Almeida
On 08/12/2015 04:53 PM, Colin Bester wrote:
 USB WiFi to debian 3.8.13-boneX where they are able to connect to
 existing access points AND configure the wifi to act as an access point
 (master mode) using hostapd.

Not using debian, but ubuntu 15.04 with hostapd in bridge mode, in the 5GHz 
wifi band:

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 15.04
Release:15.04
Codename:   vivid

~$ uname -srpo
Linux 4.1.3-bone15 armv7l GNU/Linux

~$ lsusb 
Bus 001 Device 002: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless 
Adapter

regards,
Nuno

-- 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: BeagleBoard bash flaw

2014-09-27 Thread Nuno Sucena Almeida
On 09/27/2014 05:35 AM, c...@isbd.net wrote:
 If your BBB is on a LAN behind a NAT
 router and you don't have any ports open and redirected to the BBB
 then your BBB isn't at risk even if not patched yet.

Unless the router dhcp daemon gets compromised:

https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-proof-concept/

--

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Some help required

2014-06-06 Thread Nuno Sucena Almeida
On 06/06/2014 06:05 AM, Alastair Gilmore wrote:
 Hi, I'm working on a project to grab images from a webcam and send them to 
 a web site, triggered by an alarm system. I have the image grab working and 

If the objective is to have something working right now, you can take a
look at the motion package, that does that and much more:

sudo apt-get install motion

http://packages.ubuntu.com/precise/motion

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Cross compiling for Ubuntu 14.04

2014-05-29 Thread Nuno Sucena Almeida
On 05/28/2014 08:46 PM, Andrew Core wrote:
 dpkg -i *.deb

In general, not specific to this case, using dpkg -i is usually not
recommended, you could try gdebi (from gdebi-core) to check the
dependencies for you.

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] QEMU emulation of BeagleBone and Raring

2014-04-02 Thread Nuno Sucena Almeida
On 04/02/2014 06:05 PM, Boris Rybalkin wrote:
 roblem here I have no network:

You might want to try adding something like the following to your qemu
calling parameters:

-net nic,model=rtl8139 -net user

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] This is a C++ working code example of using multithreading with semaphores and mutex.

2014-03-28 Thread Nuno Sucena Almeida
On 03/28/2014 06:22 PM, Patrick Ireland wrote:
 I did not find a C++ example of multithreading for the BeagleBoardBlack 
 when I searched before.

Hi,
if you are going to use multi-threading and locking mechanisms with
C++, I would recommend using the new functionality from C++11, there's a
lot of documentation and examples about it. If you prefer, somehow
equivalent, you could use the boost threading library.
regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Problems opening pictures and running gtk programs

2014-03-17 Thread Nuno Sucena Almeida
On 03/16/2014 01:16 PM, woelf...@arcor.de wrote:
 The borders of the terminal from where i start the program are gone.
 The terminals are dead.
 
 The window is fixed on top left of the screen, and I have to kill the
 task via smartty from outside.

It seems you are not running a X window manager
(https://en.wikipedia.org/wiki/X_window_manager)

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Problems opening pictures and running gtk programs

2014-03-17 Thread Nuno Sucena Almeida
On 03/17/2014 01:13 PM, woelf...@arcor.de wrote:
 I am on X.Windows on HDMI Monitor
 Regards
 Werner

Yes, you are running a X server, but are you also running an X Windows
manager, like the ones in the link on my previous post?

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Problems opening pictures and running gtk programs

2014-03-17 Thread Nuno Sucena Almeida
On 03/17/2014 03:47 PM, woelf...@arcor.de wrote:
 Hello Nuno,
 the distributions i use, i have described in my initial mail.
 the result of the ps axwf You find as attachment.
 
 regards
 Werner

Hi Werner,
you are right, sorry for that, I missed the distro you mentioned.
Can you point me to the youtube video and the instructions that you
followed ? I wonder if you are running your gtk application on the linux
framebuffer instead of the X server? From the process tree, it gives
that impression.

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBB wifi lockup

2014-01-26 Thread Nuno Sucena Almeida
On 01/26/2014 04:04 PM, rattus wrote:
 I am running Debian Wheezy from the eMMC and am using an Edimax 7811 wifi 
 adapter. iwconfig tells me power management is off.

https://github.com/xbianonpi/xbian/issues/217

I have this (both rpi and bbb boards):

~$ cat /etc/modprobe.d/8192cu.conf
# disable power management and usb auto-suspend for wireless card:
# https://github.com/xbianonpi/xbian/issues/217
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
# cat /sys/module/8192cu/parameters/rtw_power_mgnt

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Re: Octave accessing BBB GPIO's

2014-01-20 Thread Nuno Sucena Almeida
On 01/19/2014 09:23 AM, xmog1...@gmail.com wrote:
 Hello!
 
 I'm looking at the same problem right now, have you managed to control io 
 pins from octave?

You might want to create a octave C++ extension:

https://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html

http://www.swig.org/Doc1.3/Octave.html

and use something like

https://github.com/jackmitch/libsoc

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Use BBB as an Ethernet Sniffer on eth0

2014-01-06 Thread Nuno Sucena Almeida
On 01/06/2014 05:17 PM, Wayne Veilleux wrote:
 Any ideas what is 
 causing this ?

Is the network interface being set to promiscuous mode ?

cheers,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-06 Thread Nuno Sucena Almeida
On 01/05/2014 01:07 AM, loonsailor wrote:
 The Startech device, with the TI chipset, continues to have the same 
 problem.  I've tried a couple of other converters, Keyspan and Trendnet, 
 both of which use the Prolific chipset, and they do work, making both 

Hi,

if you feel brave enough, you could try to patch the kernel
drivers/usb/serial/ti_usb_3410_5052.{c,h} files and add the startech usb
vendor id, see attachment.
Since I don't have that device, I cannot test it myself, but if works
with you it can then be sent upstream.
Which kernel do you have (cat /proc/version)? I could compile the
module for you, if you are willing to test it.

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index c9a3569..085afb3 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -146,6 +146,7 @@ static int closing_wait = TI_DEFAULT_CLOSING_WAIT;
 static struct usb_device_id ti_id_table_3410[] = {
 	{ USB_DEVICE(TI_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ USB_DEVICE(TI_VENDOR_ID, TI_3410_EZ430_ID) },
+	{ USB_DEVICE(STARTECH_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_GSM_NO_FW_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_CDMA_NO_FW_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_CDMA_PRODUCT_ID) },
@@ -174,6 +175,7 @@ static struct usb_device_id ti_id_table_5052[] = {
 static struct usb_device_id ti_id_table_combined[] = {
 	{ USB_DEVICE(TI_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ USB_DEVICE(TI_VENDOR_ID, TI_3410_EZ430_ID) },
+	{ USB_DEVICE(STARTECH_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_GSM_NO_FW_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_CDMA_NO_FW_PRODUCT_ID) },
 	{ USB_DEVICE(MTS_VENDOR_ID, MTS_CDMA_PRODUCT_ID) },
diff --git a/drivers/usb/serial/ti_usb_3410_5052.h b/drivers/usb/serial/ti_usb_3410_5052.h
index 4a2423e..10a2879 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.h
+++ b/drivers/usb/serial/ti_usb_3410_5052.h
@@ -28,6 +28,7 @@
 /* Vendor and product ids */
 #define TI_VENDOR_ID			0x0451
 #define IBM_VENDOR_ID			0x04b3
+#define STARTECH_VENDOR_ID		0x14b0
 #define TI_3410_PRODUCT_ID		0x3410
 #define IBM_4543_PRODUCT_ID		0x4543
 #define IBM_454B_PRODUCT_ID		0x454b


Re: [beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-04 Thread Nuno Sucena Almeida
On 01/03/2014 10:52 PM, loonsailor wrote:
 'ERROR: could not insert 
 'ti_usb_3410_5052': Operation not permitted'.  
 
 Thanks for the help.  This is a bit new to me.

Try to do that using sudo or as root :)

sudo modprobe ti_usb_3410_5052

If you want a more permanent solution that survives reboots, you can
either put that module into /etc/modules or setup udev to load it on
insertion.

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] usb-serial device doesn't appear in /dev. Need a udev rule?

2014-01-03 Thread Nuno Sucena Almeida
On 01/03/2014 08:36 PM, loonsailor wrote:
 Bus 001 Device 003: ID 14b0:3410 StarTech.com Ltd. 

A quick search leads me to the 'ti_usb_3410_5052' module, is it being
loaded? You can check with lsmod:

~$ lsmod

~$ modinfo -d ti_usb_3410_5052
TI USB 3410/5052 Serial Driver

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] setting up VNC for ubuntu

2013-11-23 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/22/2013 01:29 PM, Bill Dussault wrote:
 *** x11vnc was unable to open the X DISPLAY: :0, it cannot continue.
 *** There may be Xlib: error messages above with details about the 
 failure.

It doesn't seem that your x11vnc is actually starting from this error
message. Do you have X running on the BBB ? If you have X running, do this:

ps ax | fgrep -- -auth
  /usr/bin/X :0 vt7 -nr -nolisten tcp -auth /var/run/xauth/A:0-Hu3Jac

See that '-auth /var/run/xauth/A:0-Hu3Jac' ? You will have something
similar, use that like this, replacing where appropriate:

sudo x11vnc -auth -auth /var/run/xauth/A:0-Hu3Jac

You can usually go without the '-auth' as long you run x11vnc as the
user that started X.

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSkLtnAAoJEPIY6fuKMkz5yHMP/3dETeRLQNkPp8CP6w7EtTwf
Crw3/cN/IHEK+arwBcfZCJ+5P41Evwz8wKW0rAq189YQ+R1dGFxS2AMzE+jV3ONO
g6iHIWHQhEaROVmCcF2FmEAmU+Duy12Nx0bONcwrPstXAAIjt40aaU0NLLiYSsFn
OjsXqesi3cbWsYO72K+XQUci1M7XkVp90HQBVJcKzkAvaw+kBXExBDMeQVwLpFkf
ueAQ9b7+lR0sMusPTyncwRwhGTG7If3UDM/PDmsJ7RIxqeTTpbvG/YnzfNWfW4YI
msql/V7W4RWnmKN7oQ2MqoN7DewudTRUb5HFisytkqEYk0PlgUMcn6LSgDRkrFVt
7t5ot83CRjy5zU6WNDh1+L1DCchFbNCBV8GOrqajv5rUG98fvaKXi+dnppEo4thM
sXOj2PcnXyknzxKYZEI1ds3Nw0yT0xh4YKnA72pyv9PqeDE8PrAKJzx3/ao0jkwM
gXQpWfwmt3AiatUxf0v3D7OEu7fajDJX6uWPesTzwLa0niaUeIB2JrSU9N2y1Pz2
WrrvE3IuZYVR1051C2t3xmLk1pEJCBef92pani/IQZMAiYmCd6ZyCzc7oLBCCEru
N4QvVr9pzqHpZgOcw6lHCv+P2YZMKPgH6eG4Smdia41QuHd1rLXz2YXMCZ0E8fvv
MQen9My/8mTxdIF2wEwC
=U+kT
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Upload OS on Beagle Bone Black

2013-11-23 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/22/2013 01:12 AM, rod calabio wrote:
 Gerald,
  
 How do you make a flashing image versus just a regular boot image? 

How it's done:

http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSkLwOAAoJEPIY6fuKMkz5xJwP/AwGoo0kXkGYG1kvNKWc58W8
csy7hawzBXuVsZsKzaTgL8QDzKe7I+2HT2VXKwv/MI8PE3Kb3uprY4zidMEp1zd8
mhtmU4sAHeX+Gk6W+9dznKBmGwhvxJ1R/tXbN+LfxlnLOaO4ywB1t8b+gcJycdBl
VeaMbzen9nQOcb3je74RfzX3m+JL3bflADSThOokXDJ6uDa/gWsvqyJry5Xg5jnK
Lpqo+D8WgJUakrTsZfPOXRYDhSZymemd4gT7NqBw09Bm2Vjf0khIfx6Bs8C92jQ7
fITlxCf2i+OFObd6dL09SG0qLIlOXQAAIZ9PhjUnW8eGYY1SmnGn8h595rACfEHk
zTK7nTQ7CbmxkYXXCpIQULWMVD0ww9vV81vb5297RrhgsuROXmhwmYD2my0uwK3n
CLsqQ211upnPoXs9kut1zaLSDiK5d/Zm03liKAd4VdJt31DhSe4098swArEIpGnz
1V4dAqmbaa/Fni0mDNVudLMo6b29mUjOBvXQHEeBrt9psPYA8MDJIU3QCMEu+gIs
XRhpnpQMPdbGvRwy0+Ip4ZY+YFB+yxkHWWMYBJLiTArGpb9fNXdctcASxZAX8C7G
bYQaBYwavMYUQi6LAoeHvXsZlolU+pvxF2R/8+4MKD/lSe2Mrzuk+n/Oot5QR8F4
YJPaRc3o1D70NAIZ0tVV
=j0it
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] setting up VNC for ubuntu

2013-11-23 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/23/2013 09:27 AM, Nuno Sucena Almeida wrote:
 sudo x11vnc -auth -auth /var/run/xauth/A:0-Hu3Jac

one too many -auth, pass just one:

sudo x11vnc -auth /var/run/xauth/A:0-Hu3Jac

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSkLyCAAoJEPIY6fuKMkz5oVEQAIK7ItcTgSeIv6YPlxJvrVpz
FBt7MZG/rcU7mMHXK8ZI/mCYjF61VrQ10W348H7MHAEUm4uMTBlaVzadhn4LqFGu
GWAa3FkpY76rzMYIruvr6eIrL8JsX7uoyjX8scoj7lkZUogmFjlMMpCVBqU/XotT
hposBPfvLBOnNSythvPUKDKINJ/gnjx5RSqk6o9w3syOX46/DNhGw5b4OqoD7gBM
lvKaHEWSkthNmGS6cKBWm8TCxn647QCQHKe/nmNj4NZN3aDbEfnSZTnDdz6LDRYG
OJr5G74AOM3ekBxreiXn5bZwN8emb1ifOrV2PKv+gHc3LJiwd1fSFovC84sJQaDD
AKrJoY8IAT2N8k13X33BV8EZp2pDBKo7+9HRBNsb/ihGwwsj0V0N3UbC9ba680dj
tN7g8NoTq6ks+OSRzLGilFJ6xvj+K1KlNRUebGTLqg6PHdwVOKfdG62eqsYhhEhO
FNzCGHBlyhJSkYfz9SRYlbZNehyD7soOi5vhzyCglQccVmAYnISr2T5HNu12VnQi
ovuC8pfsXGwmbSkFo0liIj8/AzWi7pWYVjI62s8wVpJbqL6xFYDRMfk0b2efVsZZ
5Z1DgUugBs5NhabT1dg9MOg6FQtgC7gfW07Si8gsnmETSWLUniXU6/lpWjEYlJYD
6srhqORVZ5MEmPda96ch
=NiBq
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 07:43 AM, Jacob Ole Juul Kolding wrote:
 Can anyone tell me whats wrong?
 
 Thanks!
 /Jacob

What hardware do you have? You might to build a new driver out of tree,
the one that comes with the kernel doesn't work properly with some
devices. I managed to cross compile the kernel by following Robert's
instructions and then cross compiled the driver and now it's working fine.
I'm running ubuntu 13.04 armhf and I used the driver git repository
mentioned here:

http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/

You might also want to add a few options to the driver:

https://github.com/xbianonpi/xbian/issues/217#issuecomment-12995990

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg3xYAAoJEPIY6fuKMkz5O7oP/isbWwjelwRbZJhKu+ehEN9i
q7EuWL89tyyksRpdScsknJsfWRwHrdoDuJJXciNxX9tAl+bo1wfQ7zeXG1rs3fKn
SNN/BwExhDzDKwUcgR4bliPRsIBs8/d471rWpdCT75ySWcIvjSRvPECFRpeFLEDV
FhynIqOQQx2cTrjf1M/qgcn8CvpLKXH2FOwB6XmDLqisTAbKZEM9zt9SpcAGf4R5
0HyTjfHCEE5bGIQPOF49NGCJigNfOtXfkSd0jjv+ZArL9HMoO8dMKJlKJHXOlXIz
EzZ6PziyEwVVFf9C3U+gUUMKmWF1KW1Eys2318+l4CuyC9S6QTBOJbiWAl/OLGES
Bdf31M15YazwRUi6cf2h/xKKq4/JW2FRJd+gbP9NBK7fm2e9HHUaoJE8KcqGuuLM
WiQa8E0DZSgpsyl5vuWKgtNTrQioNa4/d3w1lMzRC4neplYUyBAGZaJak4vEj7HB
RZicJB9otRxmg/w75YSioYLOHfelEENNJBTMueLE5KkL4mCziJGSENPZvHYyx0/T
7BDTtmFEnijGoRyQ07eumuLjXTu5bp0qTRM+KpypNDznet9tznOni2B/NzFAWbwR
+Vvrno9bWXf6uOdQmGWtxNyP7M6s4G8i7byiR5VpYnsnwrfQXsbvSSo8jq6l4zly
wRp/UUrrvWaZrNR15fKl
=YIPp
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 08:42 AM, Jacob Ole Juul Kolding wrote:
 But ifconfig shows that there is no inet4 address: ??

You might be missing a few steps there. Did you configure wpa supplicant
with wifi password, etc ? You can check what wpa supplicant is doing
with wpa_cli

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg4QiAAoJEPIY6fuKMkz59LIP/3rPtx8DofihVofupiful2+0
UlzoQoj9sZ0yK0FfwO5UxlbNy/nLzMdX9rXbzt/OaMwrYcmp7RmMh/AhzzU600sp
M4gavVVTDVJs9DN2ETw83pwDvYC3xhUs6VPl5rZt8kTl6TXKKnkFr0eDpLNGmW/r
3ZhCdspyYHQEl/sYFif6mGo6Nax+Qut6JLDW6Nr3Kg/CkaSZFO6XlHXhbasdlDyR
47u7jLN2gAe3i4DNJRsELWYASVs85zNPjyDY7hkbEmnQQx4IEKJj5a55owwd1tLO
OGv9JOhiRvD+QmQxd7T4+6R8cvLi3gW+SV1T9yhF3NcvIP9NoJ4UNrLVyUXxhVSf
R/9AcafDKtuP+De0L55/M187uvlnS+INQlE9IuCc2Bwhnf1B/srbb8YcaI6lUODj
Wt5/focu2bgP4xAgmG3Vb6KnAAjUukaOExJN2VAQvgBkFFwm0YuSbFSEX1n36qXZ
rg+35UTQXNH+3cq4Xe2+YRwTclrvA61A2+/95VE8mpafjlGfJWQpO5w3C/ouFryA
q0IRXw/4RjcX4oefd1FMQedPATX2djLEeAlMLqE9Xotx1AndlW/Z5i5fVRP7tOPZ
NIGFIVAJS+moVqZH7oj+Ux/MPWkt4ppqvu/8kbL3SgM0/+8rdtEitGQlZhJD8ZBS
6YROKXuiCLHWKVUwqj1D
=LZX7
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/13/2013 09:01 AM, Jacob Ole Juul Kolding wrote:
 I'm not using  wpa supplicant, just dhcp

Cross-compiling from a x86_64 machine, with gnuabihf:

~$ arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

driver source:
rtl8192cu_beaglebone $ git remote -v
origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (fetch)
origin  https://github.com/cmicali/rtl8192cu_beaglebone.git (push)

rtl8192cu_beaglebone $ make KSRC=../kernel/linux-dev/KERNEL/
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C
../kernel/linux-dev/KERNEL/ M=...

where KSRC=../kernel/linux-dev is Robert Nelson's kernel checkout:

kernel/linux-dev $ git remote -v
origin  git://github.com/RobertCNelson/linux-dev.git (fetch)
origin  git://github.com/RobertCNelson/linux-dev.git (push)

Install the module (and kernel) into the BBB.

wlan0 entry in /etc/network/interfaces:
auto wlan0
iface wlan0 inet dhcp
wpa-ssid MYSSID
wpa-psk  MYPASSWORD

/etc/modprobe.d/blacklist-rtl8192.conf:
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

/etc/modprobe.d/8192cu.conf:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

uname -a
Linux bb1 3.8.13-nuno-bone28 #1 SMP Sat Oct 19 17:58:59 EDT 2013 armv7l
armv7l armv7l GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 13.04
Release:13.04
Codename:   raring

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSg4zPAAoJEPIY6fuKMkz5guQP/1k/O2C+Res8BNBNu1p3yFVx
xJihDHeLFV9PjGhhoOI2h1u9L3goEInrWoGHShECc44pM/qjE3ixM8dChz6D+CCl
sGfMjKAjpjnH9k1d1B7acNLkowsFrILEupS/vz9akl0winx6fBywpSWSMRL+mths
N9/ZyEavrHp2W8LBXfBQJvT6ZMxfb9tXtjfOlAnCv8uQ/fDeZr/pyqDllg7KOvd8
PJQjHv6DQPCPWle+bxeyL3i+eYWA+kl/KQloaeRwL4knp5Zv6HPDAgsVivJn19Nr
/8C1XoISu4SUNb7KVKm9MynyKKy803Ow87H9OQXCXPpz4plHXYguXw93iD8nDG4V
0zyoL30/xShF9lfxiTZcfZ8C/Wk9neeta4qyvOv+k5fbBTa/jy+rNFrv26v36KZF
nwCsnZpGYRBrpi07x9rxbuz/Q85LKH7aUejEVLd32JrHW7gZTSRXUxy+ZWRywBRp
gFRwiRnCLnMH/RXJYSB0RZq7TZAA6LVQjAFLePScRsurqjsZ6IM8oik9xNvh7KGg
0KywZhpSVVaS84zH4G/KJzxaShQ5OjiflQtE92awjn1GrePKsFzLR4E4jDytWAd5
juC1DiPLFlZuPHgyWzoNIEPFt4N0Xj8DjEB27F7ocsxl29DM6XVw0yWicod9O0Qk
bVGq9v0/1twa1rrU3xO1
=41Kq
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] disassociating from 00:25...[snip] by local choice (reason=3) ?

2013-11-13 Thread Nuno Sucena Almeida
On 11/13/2013 10:48 AM, Jacob Ole Juul Kolding wrote:
 I tried compiling using your instructions but still get the same error:

Did you cross-compile the kernel successfully before building the 8192
module? Which kernel version are you building?

Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] Missing packages in Ubuntu 13.04 on BeagleBone Black

2013-11-11 Thread Nuno Sucena Almeida
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/11/2013 03:20 AM, Rick M wrote:
 I've been trying to install ROS robot from source onto Ubuntu 13.04. I've 

Hi,

would be sufficient with the deb package installation?

http://wiki.ros.org/hydro/Installation/UbuntuARM

I have a BBB running ubuntu 13.04 with ROS Hydro.

regards,
Nuno

- -- 
http://aeminium.org/nuno/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJSgNKcAAoJEPIY6fuKMkz5DtIP/1JY/htSkLkMiKPc99kNvuTf
uerTEwLgEqAVks/31olYXf1lB0zQEFd1dolxw5XMTcuh8xUBRNjsodzzyUHlOz+s
AswupJHQBcISSOD1Uu/YXcdgaKqJD1VoA2/AC39d1+OZHpdvxVo8n+ahG6CenzXd
wvMAxp0e1Esj6WBDQjB/OJlI8UlLr5wgOfVmWnrqQD64LdrD5IuuDUVe4kLzEtOq
nAwFlQH7894hcdC7lTfYNHLUnx/TbdPNqiTS1ho7vGsQj5/lEzkGAnC5waM+Ujc9
gPE8jFqD792wZlGPW/13uuo0pZlBn3Ya9NX9iOPG9T7e7NX8ownj7ybSboR4hqQN
IDeiLxHHeuh5IH8jtMNwgmBYGXYpK9UKjh0bA/n2Bb4PC+PuGj0u1kZwTGSf9pzj
QlJvfkBqo5g9DClJiKDp0akYyQpjkI/wHetfyU6nrHYMCKiPK5QowYG79lQf8bUc
3AviJaO+hb4Uhqpm5aInYi3jvQYwo7JPNxiyRC13s8RGJI6whnkbw8AXZvWNXtYl
Jz8j8wUrkmYY60B8Min0MWgP0NU0ONvlSt3SVuNIF8Z/yIfHdT+JWyW7W5KVVR3e
UbKYMIAyHYDFV7E7BVkYxdBW0qA215BP9DoTqi0jPwqH6fqvnxyT+zB4TbxBx7Xq
5vzRyAs2P4XFYiVd3iat
=O61Y
-END PGP SIGNATURE-

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [beagleboard] elapsed time microseconds c++

2013-09-26 Thread Nuno Sucena Almeida
On 09/26/2013 03:36 PM, ignacio.mata...@gmail.com wrote:
 hello,
 
 I tried several ways ( clock(), gettimeofday()..) but I can get the proper 
 way to measure the elapsed time in microseconds.
 
 I am using eclipse to program in ansi c. Could anybody help me about how to 
 measure the elapsed time in microsecond? Could it be possible to enclosed 
 the code that I should use? 
 
 thank you so much and sorry for the inconveniences
 
 Regards
 

Hi,
use a search engine and look for linux measure time nanoseconds.
Also: man clock_gettime

regards,
Nuno

-- 
http://aeminium.org/nuno/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.