[beagleboard] Re: Of SPI and such

2017-01-31 Thread mickeyf
If you want one 'thing' to talk to a bunch of 'things', or a bunch of 
'things' to all talk to each other, you should read up on that mysterious 
CAN stuff. That is exactly what it was designed for. 

On Monday, January 30, 2017 at 1:16:41 PM UTC-8, woody stanford wrote:
>
> The answer I was looking for. Thank you much Graham. A yes...this is good 
> as now I have control of my BBB UARTS from C (and thus python, etc. etc.)
>
> My next question might be an elaboration on how to access the 
> GPIO/SPI/I2C/CAN/ADC however I have the magic key to BBB because I'm lazy 
> and I can just break everything out to external MCU via UART. Clever huh?
>
> My PIC's have bad ass multichannel 10-bit ADC, and I do the PWM in 
> software which gives me absolutely perfect wave form control. I can even 
> slow down my motors before stopping them at 20 Mhz on my PIC16Fx. I mean 
> I'm not YouTube needing DMA-driven super streaming capability for my next 
> round of financing. I'm just me.
>
> I just want GPS, 9DOF accel/gyro with magnetometer calibration, RS485, 
> MAX232, thermistor, pressure, stepper motor and industrial-strength servo 
> motor control. I don't ask much. Not to mention ganged isolated MOSFET 
> power handling and relay board capability. You know...the usual. :)
>
> On Monday, January 30, 2017 at 5:55:06 AM UTC-7, woody stanford wrote:
>>
>> I'm of the opinion that a lot of the terminology being used is being 
>> mixed, slurred, shifted in such a way to make basic concepts difficult to 
>> understand. I thought I would just talk about it.
>>
>> What is SPI? You can use the terms UART and SPI interchangably. Bear with 
>> me on this...my point is cultural. SPI is ***serial***, asynchronous (in 
>> that it doesn't require a clock line, it uses timing purely) and 0V meaning 
>> zero and +5V meaning one (TTL). That I suppose you can have SPI use +3.3V 
>> to represent one is acceptable.
>>
>> This whole idea about SPI "throwing ioctl errors" is preposterous based 
>> on the previous. SPI is generated by a UART, a chip, a piece of hardware 
>> (that you can code a software UART not withstanding). SPI is the protocol 
>> that is the raw output of a UART.
>>
>> I2C is understood to be (1) a protocol that uses a clock signal in 
>> conjunction with a data line, and (2) has something to do with being able 
>> to multiplex several "peripherals" at the same time with allusions to being 
>> the little brother of RS485. And no one really knows what CAN does, only 
>> that it is there and is comforting to know that you can connect as many 
>> things to your CPU as you could possibly conceive. It is a mystery lol. 
>>
>> That we are being held hostage by electrical engineers and the whole 
>> microcontroller community does in no way change the fact that the BBB is a 
>> true UN*X host. Its just the way that it is.
>>
>> Which leads to the inevitable question, why this ambiguity regarding the 
>> correct procedure to configure and utilize the P8 and P9 connectors. This 
>> is a TRIVIAL issue on a microcontroller. You just set the configuration 
>> registers such and communicate. Why this ambiguity on the BBB, whether real 
>> or perceived? I suppose that someone in authority at Beagleboard has to 
>> settle the issue for the prime path to success in using the P8/9 
>> connectors. This ambiguity is killing me. Does libpruio do it? I don't know 
>> :)
>>
>> My understanding of it is thus (and I'm sure its inaccurate and I beg 
>> someone to definitively explain it better so that I might understand), that 
>> it is a combination of a systems administration task combined with a 
>> programming task, that both must be done in order to unlock the potent 
>> connectivity powers of the BBB's P8 and P9 headers.That the crux of the 
>> issue is two fold, that I must add some lines to various configuration 
>> files so that it activates the ttyO1 thru ttyO6 "terminals" which allows 
>> civilized serial (and other communication like GPIO) to happen. My 
>> instincts tell me that this pertains intimately to the UN*X concept of a 
>> "stream", a concept of power and thus an element of our UN*X faith.
>>
>> Is this so? And if not, how is it? Is my question to the minds greater 
>> than my own.
>>
>> Thenwe use such programming concepts such as fopen() and open() to 
>> communicate with ttyO1 thru ttyO6 providing abstraction yet nimble, 
>> universal connectivity.
>>
>> Thoughts?
>>
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/20778ea6-ca26-46b7-8911-fd120cfdfdd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Running .exe file after boot

2016-10-28 Thread mickeyf
Depending on how things are set up, you may need to run not "my_xxx.exe", 
but "mono my_xxx.exe".

On Wednesday, October 26, 2016 at 10:28:19 AM UTC-7, Dror Lugasi wrote:
>
> Hello guys.. 
> I have a code i wrote in monodevelop and i have the program .exe file that 
> i want to run after the desktop is loaded.
> When i go into the terminal and change the dir to the debug folder and run 
> ./thefile.exe it works.
>
> I tried to add this command to a shell script that i run at boot as
> ./thefile.exe
> And also cd  and then ./thefile.exe but none has worked.
>
> Can anyone please help me to figure out how to run my .exe file 
> automatically after boot (prefer as root if possible)
>
> Cheers!
> Dror.
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/78832f2b-408d-4449-b720-71788282b5d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Monodevelop running terminal commands

2016-08-22 Thread mickeyf
As a probably better alternative to sudo, you may want to look at 
'capabilities', which will allow your code permission for specific actions 
and against specific object, rather than being root.

http://www.linux-tutorial.info/modules.php?name=ManPage=7=capabilities

http://man7.org/linux/man-pages/man7/capabilities.7.html

http://man7.org/linux/man-pages/man8/setcap.8.html


On Sunday, August 21, 2016 at 1:46:30 AM UTC-7, Dror Lugasi wrote:
>
> Hey!
>
> I am using monodevelop with the BBB and i have managed to write terminal 
> command through code
> but i can't run root commands. 
>
> how can i write commands that need sudo permission? 
>
> thanks! :)
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/163519a4-5f19-4a74-8a6a-45f091c76859%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: When I connect the ethernet cable the board freezes.

2016-08-10 Thread mickeyf
No chance it's something as simple as a flaky cable? Worth trying a 
different one...

On Monday, August 8, 2016 at 11:25:52 PM UTC-7, William Hermans wrote:
>
> Thank you guys! I will update the kernel next week and see if it works, if 
>> not I'll try to find a power supply.
>>
>> Also, I tried plugging in the cable while the board was off and then turn 
>> the board on, after a few seconds some usr leds would change the default 
>> behavior and remain lit
>>
>
> That does not sound right for either case. Not enough power, or hotplug 
> issue. That sounds like a software fault of some sort. But maybe it is 
> power related ?
>
> On Mon, Aug 8, 2016 at 10:16 PM, Denis Cosmin  > wrote:
>
>> Thank you guys! I will update the kernel next week and see if it works, 
>> if not I'll try to find a power supply.
>>
>> Also, I tried plugging in the cable while the board was off and then turn 
>> the board on, after a few seconds some usr leds would change the default 
>> behavior and remain lit.
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/2d6715ab-f6c7-45ce-a842-df9eed01781d%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ac6620ce-8682-441d-9fa2-74aa771efded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: How to write a data file to Beaglebone from Python

2016-04-13 Thread mickeyf
I'm not a Python developer either, 'though I know it is very popular of 
late. Does it say something about Python itself that it did not throw up a 
big error in your face when the quotes were omitted? Or is the problem 
elsewhere?

On Wednesday, April 6, 2016 at 11:24:18 AM UTC-7, John Baker wrote:
>
> Gosh, how did I miss that, that the mode is a string. Well it had to be 
> something simple like that. Quoting the w and r fixed the problem. Very 
> embarrassing. 
> :-[ 
> Thanks, 
> John 
>
>
>

-- 
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] CVE-2015-7547 glibc bug

2016-02-23 Thread mickeyf
The whole story:

vigil@VE1cba8ca9e5fb:~$ ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6) 2.19
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper

But at this point I don't care too much, it's now merely academic curiosity 
and is not getting in the way of getting anything done.

On Tuesday, February 23, 2016 at 2:33:41 PM UTC-8, Peter Hurley wrote:
>
> On 02/23/2016 01:15 PM, mickeyf wrote: 
> > I don't get that on my BBBs ( which have ubuntu 14.04, if that matters). 
>
> It's beyond my power to see what you actually do get for output if you 
> don't post it. 
> And I pulled that 'ldd --version' output from a 14.04 bbb as well. 
>
>
> > I'm speculating that since what ldd is actually showing, as I understand 
> it, is the version number and dependencies of ldd itself, it is showing the 
> version number of what it requires, i.e. any libc6, not the one actually in 
> use, i.e. libc6.7. Or maybe more likely,  libc6 is actually a link to 
> libc6.x, and that's what ldd is reporting? Pure speculation, tho'. I'd live 
> to hear to the real story. 
> > 
> > On Tuesday, February 23, 2016 at 11:41:30 AM UTC-8, Peter Hurley wrote: 
> > 
> > On 02/23/2016 10:47 AM, mickeyf wrote: 
> > > Bingo! 'dpkg-query --show libc6 ' does show 6.7. 
> > > 
> > > Curious why ldd does not. 
> > 
> > ?? 
> > 
> > peter@black:~$ ldd --version 
> > ldd (Ubuntu EGLIBC 2.19-0ubuntu6.7) 2.19 
> >^^^ 
>
>

-- 
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] CVE-2015-7547 glibc bug

2016-02-23 Thread mickeyf
I don't get that on my BBBs ( which have ubuntu 14.04, if that matters). 

I'm speculating that since what ldd is actually showing, as I understand 
it, is the version number and dependencies of ldd itself, it is showing the 
version number of what it requires, i.e. any libc6, not the one actually in 
use, i.e. libc6.7. Or maybe more likely,  libc6 is actually a link to 
libc6.x, and that's what ldd is reporting? Pure speculation, tho'. I'd live 
to hear to the real story.

On Tuesday, February 23, 2016 at 11:41:30 AM UTC-8, Peter Hurley wrote:
>
> On 02/23/2016 10:47 AM, mickeyf wrote: 
> > Bingo! 'dpkg-query --show libc6 ' does show 6.7. 
> > 
> > Curious why ldd does not. 
>
> ?? 
>
> peter@black:~$ ldd --version 
> ldd (Ubuntu EGLIBC 2.19-0ubuntu6.7) 2.19 
>^^^ 
>
>
>

-- 
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] CVE-2015-7547 glibc bug

2016-02-23 Thread mickeyf
Bingo! 'dpkg-query --show libc6 ' does show 6.7.

Curious why ldd does not.

Thanks!

On Tuesday, February 23, 2016 at 10:33:30 AM UTC-8, Peter Hurley wrote:
>
> On 02/23/2016 10:14 AM, mickeyf wrote: 
> > So if I updated today, that should be what I get. But as I said, what I 
> actually see is not "2.19-0ubuntu6.7" but "2.19-0ubuntu6" ( no ".7"). 
>
> $ dpkg-query --show libc6 
>
>
>

-- 
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.


[beagleboard] CVE-2015-7547 glibc bug

2016-02-23 Thread mickeyf
We have a number of BBB that are running Ubuntu 14.04. Everything I've 
found on this bug/patch indicates that 'ldd --version' should show the 
vulnerable version of libc as 2.19-0ubuntu6.6, and the patched one as 
2.19-0ubuntu6.7. Both before and after running 'apt-get install libc6' all 
I see is '2.19-0ubuntu6', with no minor version number.

I don't know if this is because this is the ARMHF build, or for some other 
reason, but the bottom line is I don't know whether these BBBs are 
vulnerable or not. Can someone suggest a simple alternate way of confirming 
which libc6 is installed, or shed light on this?

Thanks

-- 
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.


[beagleboard] Re: 46 position female stackable header ?

2016-02-17 Thread mickeyf
Less than ideal, but can't you take shorter headers and put them 
end-to-end? (Ok for a few, if not for serious production...)

On Tuesday, February 16, 2016 at 7:03:26 AM UTC-8, Taceant Omnes wrote:
>
> I could use a 46 position female stackable header to make some 
> distance between the BBB and my own PCB. This header is hard to find. 
> There is SSHQ-123-D-08-F-LF made by MLE however it is not for sale - 
> as far as I can tell - in the distributors we already have an account 
> with (Digikey, Mouser, Farnell, Avnet, RS). 
>
> Does anybody know of any other manufacturer of this part that is 
> available in one of the distributors above? 
>
> Digikey lists this part as sold by Adafruit but it is out of stock, 
> and it does not appear in the Adafruit website, so I guess it won't be 
> available any time soon. 
>

-- 
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 BeagleBoneBlack to emulate USB keyboard?

2015-12-01 Thread mickeyf
There may be a quick and dirty shortcut to avoid going down the "gotta 
learn the low-level details of usb" rabbit hole. You can use a usb gadget 
to make the mini usb port appear as a serial port to your BBB software. 
Took about 2 lines of bash if I recall. Sorry, I don't have the details 
handy at the moment, I did this a while back. I think I got this from Jan 
Axelrod, maybe even on her website. If not, then her USB complete book.


On Monday, November 30, 2015 at 10:23:26 AM UTC-8, William Hermans wrote:
>
> err, yeah oops. Where ? Use google and keywords "USB HID protocol", 
> "libusb", and just start reading everything you can find.
>
> On Mon, Nov 30, 2015 at 11:21 AM, William Hermans  > wrote:
>
>> Yes, it is possible.
>>
>> As far as where to start leaning ? Well, you need to learn libusb, and 
>> about the USB HID protocol. Passed that, you're going to have to figure out 
>> how to write a Windows USB HID driver, prorbably also using libusb . . . 
>> It's a fairly complex subject that I also personally did some reading on, 
>> but never finished.
>>
>> On Wed, Nov 25, 2015 at 8:25 PM, 'William Park' via BeagleBoard <
>> beagl...@googlegroups.com > wrote:
>>
>>> Hi,
>>>
>>> I have an old BeagleBone Black (A5A, 2GB version), and I would like to
>>> use it to emulate an external USB keyboard.  I was thinking... I would
>>> SSH into BBB and run some commands to send keymap data to PC through
>>> - either mini-USB port
>>> - or debug serial-to-USB cable.
>>> As far as PC is concerned, it's receiving key presses.
>>>
>>> Is this possible?
>>> Where can I start my reading?
>>> --
>>> William
>>>
>>> --
>>> 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...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
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] Unlimited storage on Amazon cloud drive for $5

2015-12-01 Thread mickeyf
My ignorance of this stuff is very nearly 100%, but why does "Issues found 
: 0" equate to 'Only'  "Overall Health Rating 89.9%" ?

Also, how do they get :
"Latency Time (Read) : 0 ns"
"Latency Time (Write): 0 ns"

...unless this was programmed by the "rogue  engineers" at Volkswagon? 
Surely it has latency > 0?

Real questions, not facetious, just curious.


On Sunday, November 29, 2015 at 2:32:22 PM UTC-8, john3909 wrote:
>
> Hi William,
>
> My comment was just a heads up so other developer’s don’t get take a hit 
> like I did. Just look at your disk SMART data and you will be surprised by 
> the number of errors on those disks. Here is an example of SMART info from 
> one of my 4TB WD disks I use with TimeMachine. As you can see, 0 errors in 
> the log. On my development system, I use 1TB Seagate SSD drives and they 
> work great. 
>
> Last Checked : November 29, 2015 2:25:14 PM PST
> Last Checked (ISO 8601 format)   : 2015-11-29T14:25:14
>
> Advanced SMART Status: OK
> Overall Health Rating: GOOD 89.9%
> Overall Performance Rating   : GOOD 89.9%
> Issues found : 0
>
> Serial Number: WD-WCC4E0HHFLY1
> WWN Id   : 5 0014ee 260fbf0bd
> Volumes  : TimeMachine1
> Device Path  : /dev/disk4
> Total Capacity   : 4.0 TB (4,000,787,030,016 Bytes)
> Model Family : Western Digital Red
> Model: WDC WD40EFRX-68WT0N0
> Firmware Version : 82.00A82
> Drive Type   : HDD 5400 rpm
>
> Power On Time: 5,078 hours (7 months 1 days 14 
> hours)
> Power Cycles Count   : 54
> Current Power Cycle Time : 22.1 hours
>
>
>
> === DEVICE CAPABILITIES ===
> S.M.A.R.T. support enabled   : yes
> DriveDx Active Diagnostic Config : Base config [hdd.default]
> Sector Logical Size  : 512
> Sector Physical Size : 4096
> Physical Interconnect: SATA
> Removable: no
> Ejectable: no
> ATA Version  : ACS-2 (minor revision not indicated)
> SATA Version : SATA 3.0, 6.0 Gb/s (current: 6.0 
> Gb/s)
> Bay #: 1
> I/O Path : 
> IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEG1@1,1/IOPP/UPSB@0/IOPP/DSB2@4/IOPP/UPS0@0/IOPP/pci-bridge@3/IOPP/pci1b21,612@0/AppleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice
> Attributes Data Structure Revision   : 16
> SMART Command Transport (SCT) flags  : 0x703d
> SCT Status supported : yes
> SCT Feature Control supported: yes
> SCT Data Table supported : yes
> Error logging capabilities   : 0x1
> Self-tests supported : yes
> Offline Data Collection capabilities : 0x7b
> Offline Data Collection status   : 0x0
> Auto Offline Data Collection flags   : 0x0
> [Known device   ]: yes
> [Drive State Flags  ]: 0x0
>
>
> === CURRENT POWER CYCLE STATISTICS ===
> Data Read   : 2.2 GB
> Data Written: 3.5 GB
> Data Read/Write Ratio   : 0.62
> Average Throughput (Read)   : 1.2 MB/s
> Average Throughput (Write)  : 932.4 KB/s
>
> Operations (Read)   : 175,372
> Operations (Write)  : 153,554
> Operations Read/Write Ratio : 1
> Throughput per operation (Read) : 12.9 KB/Op
> Throughput per operation (Write): 23.6 KB/Op
>
> Latency Time (Read) : 0 ns
> Latency Time (Write): 0 ns
> Retries (Read)  : 0
> Retries (Write) : 0
> Errors (Read)   : 0
> Errors (Write)  : 0
>
>
> === PROBLEMS SUMMARY ===
> Failed Indicators (life-span / pre-fail)  : 0 (0 / 0)
> Failing Indicators (life-span / pre-fail) : 0 (0 / 0)
> Warnings (life-span / pre-fail)   : 0 (0 / 0)
> Recently failed Self-tests (Short / Full) : 0 (0 / 0)
> I/O Errors Count  : 0 (0 / 0)
> Time in Under temperature : 0 minutes
> Time in Over temperature  : 0 minutes
>
>
> === IMPORTANT HEALTH INDICATORS ===
> ID  NAME RAW VALUE 
>  STATUS
>   5 Reallocated Sector Count 0 
>  100% OK
> 197 Current Pending Sectors Count0 
>  100% OK
> 198 Offline Uncorrectable Sector Count   0 
>  100% OK
> 199 UDMA CRC Error Count 0 
>  100% OK
>
>
> === 

[beagleboard] Re: CAN bus speed issue on Beaglebone Black

2015-11-02 Thread mickeyf
We have only used the one speed which our other devices expect, but that 
has worked correctly with a couple of dozen BBBs, "since forever".

On Friday, October 30, 2015 at 11:48:28 AM UTC-7, Glenn Cutler wrote:
>
> I'm using DCAN0 on the Beaglebone Black to communicate with other devices 
> on a CAN bus at 125 Kbps. Everything is working well but in order to get 
> 125 Kbps from the BBB I actually had to command 135 Kbps ("ip link set can0 
> up type can bitrate 135000") - I've verified this with a scope. In fact, in 
> order to get any desired speed, I have to command a speed 8% higher. I 
> initially thought it might be a problem with the Rev.A5A BBB I was using 
> but I've since experienced the problem with a Rev.C board as well. I've 
> also tried different images to no avail. Has anyone else encountered this 
> problem?
>
>
>

-- 
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.


[beagleboard] Re: usb mass storage not working

2015-10-28 Thread mickeyf
I have not tried any of this or searched for the old post, but I vaguely 
recall there being a post about this long ago, and that it was not 
automatically recognized but had to be mounted manually? 

On Tuesday, October 27, 2015 at 10:25:49 PM UTC-7, Luke Shields wrote:
>
> you ever solve this?
>>
>

-- 
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.


[beagleboard] Re: Remotely connect to Beagleboard

2015-07-02 Thread mickeyf
The way we do this is as follows:

The BBB is monitoring processes and sending data via json to a web server, 
where it is displayed.
The BBB is behind a firewall, so it must be the one to initiate the 
communication. The BBB ultimately is the boss here, not the server.
When there is no data coming in, the BBB just sends out a periodic json 
message to a web server  : Got any commands for me?
The web server responds with Nothing at the moment or any of a set of 
commands that are recognized by the BBB.
The BBB reports success or failure for each command it receives.
One of the possible commands it recognizes it Start an ssh session 
(reverse tunnel) at server x on port y. This allows us to ssh into the BBB 
when something needs to be done that was not provided for in the command 
set.
There are several layers of fail safe built in, so that if something 
fails then the guilty subsystem, then the app itself, and if need be 
eventually the entire board may be restarted.

This may or may not work for you or be what you have in mind.

-- 
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] Oh No!!! Did I brick my board?

2015-06-24 Thread mickeyf
Yes, I just tried this. Updated /etc/apt/sources.list to make sure the 
Debian repositories were listed (had Ubuntu installed), but it still failed 
to locate the package.

On Tuesday, June 23, 2015 at 10:33:47 PM UTC-7, Adam Weiss wrote:

 One last question.
 I can't seem to get Jessie.

 From my fresh Wheezy install, I did:

 sudo apt-get update

 and when that was done:

 sudo apt-get install linux-image-armmp

 But I get: 
 E: Unable to locate package linux-image-armmp

 Two questions:
 1. Any idea why it can't locate it?
 2. Is there a way to get that image in an img file?

 On Wed, Jun 24, 2015 at 12:02 AM, Adam Weiss adama...@gmail.com 
 javascript: wrote:

 I was able to restore from microSD...had to boot from microSD, mount the 
 eMMC and edit /boot/uEnv.txt, then flash it.
 I did that with Wheezy.

 Now that I'm booting Wheezy, I should be able to update to Jessie.
 Thanks for the guidance...hopefully I've learned my lesson ;-)

 On Tue, Jun 23, 2015 at 11:08 PM, Adam Weiss adama...@gmail.com 
 javascript: wrote:

 I think I'm in pretty bad shape now.
 After power cycling the BBB, I can't get it to boot at all.
 I've tried downloading an image to an SD card, but no luck.

 On Tue, Jun 23, 2015 at 9:41 PM, Robert Nelson robert...@gmail.com 
 javascript: wrote:

 On Tue, Jun 23, 2015 at 9:22 PM, Adam Weiss adama...@gmail.com 
 javascript: wrote:
  I guess I answered my own question with regard to the BBB version 
 being
  Wheezy.
 
  However, is there anything special about the build for BBB?
  If I grab the official Debian Jessie armhf image, will it work 
 properly on
  BBB hardware?

 Debian's official Jessie image should boot on the BBB just fine.

 Infact, that's an option with beagleboard.org's Debian Jessie image's..

 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_8:_jessie

 Debian 8: jessie

 sudo apt-get install linux-image-armmp
 sudo reboot

 Regards,

 --
 Robert Nelson
 https://rcn-ee.com/

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to a topic in the 
 Google Groups BeagleBoard group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/beagleboard/NnmoIoMTofM/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.






-- 
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.


[beagleboard] Re: USB Output From BBB

2015-06-23 Thread mickeyf
Have not delved into it yet, but it looks like libusbg might be what we are 
looking for.

On Monday, June 22, 2015 at 7:56:38 AM UTC-7, GeerGuy wrote:

 I would like to do the exact same thing, but I can't find any information 
 on doing this.  I assume that you would have to make some changes to the 
 BBB so that it enumerates as a different type of device and also use a 
 modified driver.

 Thanks


-- 
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.


[beagleboard] USB Output From BBB

2015-06-17 Thread mickeyf

I want to be able to send data from a BB out the USB port to a (Windows) 
PC. Windows recognizes the BB as a mass storage device. I want to send a 
stream. I have been using BB Black for a while, but am new to programming 
for USB, and am not sure what the most straightforward approach would be on 
either the Windows side or the BBB side. Could someone please point me in 
the right direction for how to go about this? 

Note - I don't want to use the Ethernet over USB, just plain old USB. A 
constraint is that the physical connection between the boxes be a USB 
cable. If an existing generic Windows driver could be used rather than 
writing one, so much the better. BBB is using RCN build 3.8.18. 

Thanks!

-- 
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.


[beagleboard] Re: 2 out of 3 boards defective

2015-06-01 Thread mickeyf
We have used many dozens here with never a problem. All official Beagles, 
not Element 14 or other clones, it that matters.


-- 
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.


[beagleboard] Re: How to get Linux command line?

2015-02-24 Thread mickeyf
My preference is ethernet/ssh, but one more option is hdmi out and direct 
keyboard to the usb.

On Monday, February 23, 2015 at 7:33:46 AM UTC-8, ranandar...@gmail.com 
wrote:

 Long time embedded developer, first time with Beagle Board Black.
 How do I get the serial Linux command line like other Linux SBC?
 Is it possible through the USB connectors or do I need additional 
 hardware? A special cable as someone suggested?
 I want to program using C, but cannot find information besides using 
 Javascript with a HTML interface.
 Please provide links to any pertinent information. 
 Thanks.
  



-- 
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.


[beagleboard] Re: Same wire going to adc and comparator kills interrupts

2015-01-20 Thread mickeyf
Being a software guy I tend to be quick to use a sledgehammer, but if push 
came to shove would a buffer before the comparator screw things up?

On Monday, January 19, 2015 at 5:10:36 PM UTC-8, maxmike wrote:

 I have the output of an op amp go directly to the BBB adc and the values 
 are read correctly.
 But, the same wire is going to a comparator to generate interrupts.
 It looks like the comparator is not firing all the way to ground because 
 of the adc drag.
 I thought of placing a 1K resistor from the adc input to ground but that 
 does nothing.
 Anything higher is going to bother the adc. I'm stumped.


-- 
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.


[beagleboard] Re: Emergency BBB

2014-12-17 Thread mickeyf
2. If something happened to the BBB and somehow (im just thinking worst 
case scenario) the BBB is not bootable (hardware still in working order 
though) either during a drill or actual emergency, is there a way to get it 
up and running QUICK? I'm thinking like a second (backup) SD card or an 
image stored somewhere to re image the SD so it becomes bootable. Not sure 
exactly how they work/boot.

In our product the BBB communicates with a web server, reporting 
information and accepting a number of commands, including updates of our 
software. If something crashes such that we can't communicate with it, 
there is an SD card duct-taped to the bottom of the box (well, more 
elegant, but you get the idea). This does mean that someone needs to be 
physically present to effect a recovery, but that does not sound like a 
limitation in your case. So far we've not needed to actually use this; it's 
a safety net. I can't speak to your other questions. 

-- 
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.


[beagleboard] Re: Open Hardware start

2014-11-18 Thread mickeyf
This is not something I've looked at for many years, but I assume most 
manufactuers of microprocessors and other chips still typically publish a 
'reference design' which is a basic board utilizing their chip, and with 
documentation explaining its features. This is a good place to start - you 
can take that design and add and subtract peripheral chips and features to 
meet your needs. They will also (hopefully) point out the quirks and 
gotchas you may need to know about that particular product. 

On Friday, November 14, 2014 2:12:16 PM UTC-8, fuenmayo...@gmail.com wrote:

 Hi, I have been working with micro-controllers for several years and I 
 have a basic knowledge on electronics, programming and computers. I want to 
 know what information (text books, whitepapers, articles) did you need to 
 design a board like Beaglebone Black from IC's? the process of designing 
 electronics boards for a SoC's like Sitara ARM Cortex-A8 processor is 
 similar to the process of designing boards for microcontrollers? How much 
 time takes to design such a board?


-- 
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.


[beagleboard] Re: Element14 BeagleBlack, EEPROM Serial Collision

2014-09-24 Thread mickeyf
We use the MAC address, as suggested by Christian. Works for us.

On Wednesday, September 24, 2014 1:46:38 AM UTC-7, Laurent d'Havé wrote:

 Hello

 For a project we have a couple of BBB. We have ordered them from Element14 
 .

 The problem we have is that the 32kb eeprom is EXACTLY the same for boards 
 that have a following serial number.

 ex : 4002112 has the same eeprom as 4002111

 This is unacceptable for us, as we had planned to use that as a unique ID 
  (since it's supposed to be !!)


 Apart from reprogramming the eeprom ourselves (a pain as all BBB have been 
 put in enclosures already ... ), does anyone have a solution ?



 Thank you


-- 
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.


[beagleboard] Re: CAN bus recovery

2014-09-11 Thread mickeyf
This does not tell us strictly speaking if the canbus itself has issues, 
but we have a heartbeat device on the canbus. If we fail to hear from it 
(or any other traffic) for a set period of time, we reset the canbus as you 
described. In practice I've only seen this reset trigger when I've 
forgotten to specify or turn on a heartbeat device, or intentionally for 
testing. It was implemented as a safety net since the older generation 
windows based system (which was admittedly much larger, more complex, and 
used third party hardware and drivers) would sometimes fail for mysterious 
reasons.

-- 
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.


[beagleboard] Re: Accessing BeagleBoard features through Mono runtime on Ubuntu for C# development

2014-09-11 Thread mickeyf
doesn't support?

Doesn't come pre-installed, perhaps. What's not to support?

On Wednesday, September 10, 2014 7:08:48 AM UTC-7, Peter Gregory wrote:

 What version of Ubuntu are you running?
 I believe 14.04 doesn't support mono.

-- 
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.


[beagleboard] Re: C#

2014-09-03 Thread mickeyf
Mono on BB has been working fine for us for a couple of years now, but our 
app does not have a user interface on the Beagle. It talks to a web server 
and has a local display on HDMI. I have not even tried to use WindowsForms 
on Linux. You might also try the Mono forum. Perhaps someone there has some 
insights. 

http://www.go-mono.com/forums/


On Wednesday, September 3, 2014 4:16:41 AM UTC-7, Janith Mendis wrote:

 Hello Mickey,

 I have being trying to run a simple Windows.Forms application using mono 
 on Beaglebone. I was able to complie and run Windows.Forms application on 
 Ubuntu running on PC, was able to compile a simple application on 
 Beaglebone but runtime gives Errors.  

 System.ArgumentException: A null reference or invalid value was found 
 [GDI+ status: InvalidParameter]
 at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0] in 
 filename unknown:0 

 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: A null 
 reference or invalid value was found [GDI+ status: InvalidParameter]
 at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0] in 
 filename unknown:0 

 I have GDIPlus installed. 
 Are there any extra Installation/configuration changers that need to be 
 done.
 I am using  mono 3.2.8 hard float. 

 Highly appreciated if you can provide any support.
 thank you.

 On Wednesday, January 9, 2013 4:50:44 PM UTC+1, mickeyf wrote:

 We are also using mono, on RCN's Ubuntu build for Beagle Bone. This was 
 specifically because we had .NET windows applications that we really did 
 not want to totally rewrite from scratch. So far, no big problems. A bit of 
 platform specific adaptations and replacing of low level drivers for CAN 
 bus and Serial communication, which was to be expected. In some cases third 
 party windows DLLs are being (or have been) replaced with our own code. 
 Testing up to this point shows no performance concerns, using only the run 
 time. I have no experience with the AOT compiler.

 Every case is different, but my feeling is that the productivity 
 advantages using of a high level language like c# in a comprehensive 
 framework like mono go a long way to countering any potential disadvantages 
 such as increased overhead. This is even more likely to be true if you have 
 a large body of existing code you want to reuse.

 Mickey


 On Friday, 4 January 2013 10:44:17 UTC-8, JCtuga wrote:

 Hello
 Wich will be the best compiler for C# using the beaglebone ?
 I tried mono with some bad experiences in other platforms.
  
 Thanks



-- 
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.


[beagleboard] Re: long term BBB based art installation

2014-07-29 Thread mickeyf

USB and Serial are both more (cable) length limited than ethernet. If you 
have it on a private network I'd just use ssh.

Here's the approach we use access over the Internet rather than on a 
private LAN:

1) BBB periodically sends a message (json, https) to a web server, asking 
if the server has any commands for it (it does this anyway as part of our 
application)
2) servers responds with 'no command' or a command message. One possible 
command message is 'initiate ssh' 
3) the 'initiate ssh' message includes a temporarily generated user id, 
password, and port number
4) BBB initiates a reverse ssh for that user on the server
5) you connect to the server and ssh to the other end of the reverse ssh 
tunnel
6) when done, BBB shuts down the tunnel, server removes the temporary user.

Nothing is fool proof, but with the user id being pretty ephemeral, risk is 
reduced.

On Monday, July 28, 2014 2:28:49 PM UTC-7, Matt Pinner wrote:

 tldr: can i run a BBB for three years?

 I'm about to fly a BBB (w the latest debian) high into the rafters at a 
 space in Denver.

 It will control 1440 leds over SPI from pixel data sent over UDP via OPC.

 This is all very exciting for me and things have been running fairly 
 smoothly and the community support and blogs have been enormously helpful.

 Now i'm kind of freaking out bc this thing should ideally run as stably as 
 any light fixture and i'm not sure a good way to really test that kind of 
 thing.  

 the sub one-minute boot up time seems acceptible enough, so the client can 
 always reboot it, but then what does that do the filesystem?

 i've started looking into logrotate to keep the disk cleared, but there is 
 still the question how many read/write cycles will the eMMC accept before 
 drama happens?

 I plan to have a private network running so i should be able to login to 
 the BBB for some kind of maintenance and troubleshooting. do i run a long 
 (100ft) serial cable? and usb cable as well?

 im tempted to put it online so i can check from afar, but i feel that 
 invites all kinds of new room for disaster and abuse. 

 i realize these are more debian/sys-admin/collo questions than BBB 
 specific, but i thought there might be some specific examples of people 
 doing this type of thing or suggestions from this group for what to check 
 and lookout for.

 thanks for your consideration, questions, and suggestions!

 -matt



-- 
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.


[beagleboard] Re: Accessing BeagleBoard features through Mono runtime on Ubuntu for C# development

2014-07-24 Thread mickeyf
What do you need / are you looking for exactly?

You can certainly use the regular file system access to manipulate the 
GPIO, the serial ports, etc. This works fine. If you need access that is 
more direct than this, or higher performance, you'll probably have to 
develop it yourself. I don't think you are going to a BB API specifically 
designed for C#. 

-- 
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.


[beagleboard] Re: Off-Grid Beaglebone Camera

2014-07-23 Thread mickeyf
What pitfalls should I watch out for that could cause the system to hang or 
malfunction?

Not what can go wrong, but one approach to dealing with it if it does:

Our system has safety implications if it should fail. It accepts messages 
from canbus devices, outputs to a paging transmitter and to a web server, 
and accepts commands from the web server. There are safety net provisions 
both in the app itself and in the firmware of our cape. The app continually 
reports various statuses to the cape firmware. Depending on the problems 
detected, the app itself can power-cycle the paging transmitter or canbus 
power to reboot those devices via relays on the cape. Likewise, the cape 
firmware can restart just our app, or Linux, or power-cycle the entire BBB, 
depending on the perceived severity of the problem.

-- 
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.


[beagleboard] tcpdump socketcan confusion

2014-07-07 Thread mickeyf
I am trying to debug some network issues on a BBB re traffic between the 
BBB and a web server. This BBB has is also using a canbus with the 
socketcan interface. I don't have experience with these tools, but I 
thought wireshark might help, and that I could use tcpdump on the BBB to 
feed it. 

When I try to run tcpdump, with or without explicitly specifying ether[0], 
it complains that can0 does not have an IPv4 address assigned, and that CAN 
link-layer filtering is not implemented, and exits. When I run tcpdump 
-D, it shows only can0, as if eth0 does not exist at all. ifconfig does 
show eth0, and eth0 and can0 both work, I'm just trying to get more insight 
into the details of the traffic on eth0.

Can anyone tell my how to persuade tcpdump to ignore can0 and listen to 
eth0?

tcpdump 4.5.1
libpcap 1.5.3
Linux kernel 3.8.13 

Thanks

-- 
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] alternative archivers to 7za ?

2014-07-03 Thread mickeyf
Thanks - I did not know about that one. 

I have experimented with the compression flags on 7za, and found that -mx=3 
reduces the compression (in my tests, anyway) less than 10% of the  -mx=9 I 
had been using, and does not (so far!) error out in the same way. 

I will look at miniz also.

-- 
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.


[beagleboard] alternative archivers to 7za ?

2014-07-02 Thread mickeyf
My BBB application zips things up every 24 hours and copies them to a 
server. I'm finding that 7za starts reporting Can't allocate required 
memory after a day or two. Apparently 7Za is more demanding of memory than 
some other compression programs. There are only a couple dozen of files. (I 
understand that the number of files may be a limitation for 7za.) 

Has anyone else run into this issue, and what program has been the most 
successful for you on resource constrained environments like the BBB?

I don't particularly care about speed, or about squeezing the most 
compression out. Mostly I just want a reasonable reduction in size of the 
file set, and to know that it will work reliably within the limitations of 
the BBB. Apparently the free space available (on the emcc, per df) is bit 
less than 4 times the space taken up by the files I want to compress.

I can, and will be reducing the number and size of files to archive, but 
I'd like to know I have plenty of overhead room.

thanks

-- 
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.


[beagleboard] Re: Maximum current a cape on BBB is allowed to consume

2014-05-08 Thread mickeyf
This won't work for everyone, but we power our cape and let the cape power 
the BBB. This way the only limitations are those we design into our cape.

On Tuesday, May 6, 2014 3:55:47 AM UTC-7, Satz Klauer wrote:

 Hi,

 assumed the power supply is not the bottleneck: what is the maximum 
 current a BBB-cape is allowed to consume on 5V rail?

 Thanks in advance!



-- 
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.


[beagleboard] Re: BeagleBone or Black or Raspberry Pi?

2014-04-15 Thread mickeyf
Will the power for the Canbus be supplied independently, and will the BBB 
need to control or manage that in any way? Depending on what is on the 
Canbus it may be more demanding of power than the BBB.



-- 
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.


[beagleboard] Re: USB mass storage on BeagleBone shown as mass storage under Windows

2014-04-09 Thread mickeyf

My first guess would be that Windows is not able to read the Linux file 
system, and that it recognizes the uboot part because it is FAT, which can 
be read by both Windows and Linux. I don't know if there are any utilities 
that allow Windows to read foreign (non-Windows) file systems, but that 
may be what you want.



On Wednesday, April 9, 2014 1:17:16 AM UTC-7, ibinsd...@gmail.com wrote:

 Hi,
  
 I have a normal white BeagleBone with Debian and I'm trying to show a USB 
 mass storage, which is connected to the BB, as mass storage, if I connect 
 the BB to a PC.
 At the moment, if I connect it to a PC, there is only a small part of the 
 BB shown as mass storage (/boot/uboot/). This part has only about 80 mb. My 
 aim is to show a on the BB mounted USB mass storage on the PC.
  
 I already managed to mount the USB device on the BB, than mount an image 
 on the device an show this image under a linux distribution. If I do the 
 same with a windows PC, it fails to install the drivers and  nothing is 
 shown.
  
 And there is another problem: I don't have admin rights so I'm not allowed 
 to install any software or drivers because it's a PC from my company. On 
 the BB I could do everything.
  
 Can somebody please help me or give some advice?
  
 Thx a lot
 MG
  
  


-- 
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.


[beagleboard] Re: Mono on last debian

2014-04-02 Thread mickeyf

tried in ubuntu and since it runs slow, I just switched back

How much slower was Ubuntu compared to Debian?

And do you have any insights as to what the issues/differences were?

Thanks

-- 
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.


[beagleboard] Re: gpio trouble

2014-03-27 Thread mickeyf
What Gerald is saying is that in general you should not expect to drive an 
LED directly - you will want to drive a transistor which can then supply 
perhaps 20 ma or more to your LED and at the correct voltage. Perhaps you 
are already doing this, but you didn't say.

I don't know anything about the Cloud 9 interface, but if is blinking by 
just using the shell ( echo 1  pin whatever) with sleep, sleep may 
not recognize any increment of less than integral seconds. I'd look into 
that. Maybe see if it works for longer intervals like 3 or 5 seconds...

Speaking strictly for me, when something doesn't work, 99.9% of the time 
it's something I did wrong, not the hardware etc.

-- 
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.


[beagleboard] Re: Mono on last debian

2014-03-27 Thread mickeyf
Try:

https://github.com/alexrp/mono/tree/armhf

With build instructions here:

https://github.com/alexrp/mono/tree/armhf

We are using this with RCN's Ubuntu. Last built it many months ago though 
and are considering that version stable for our purposes,  so can't speak 
to any recent changes or updates.


On Wednesday, March 26, 2014 11:46:45 PM UTC-7, Erwin Ried wrote:

 Hi, any hint how to install mono in the last debian image? (I need this 
 because a little touchscreen, very jittery in angstrom)

 I get:
 root@beaglebone:/# apt-get install mono-runtime
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:

 The following packages have unmet dependencies:
  mono-runtime:armel : Depends: mono-gac:armel (= 2.10.8.1-8) but it is not 
 installable
   Recommends: binfmt-support:armel (= 1.1.2)
 E: Unable to correct problems, you have held broken packages.

 And something similar for mono-complete.

 Thanks!


-- 
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.


[beagleboard] Ubuntu nptdate can't find servers on boot

2014-03-25 Thread mickeyf
Using RCN's 13.10

I know there was some discussion of related issues quite a while ago, but 
I'm not finding an answer. The servers listed are all the ones in 
/etc/ntp.conf. 

Unless I set the date manually the BBB thinks it's Feb. after any reboot. 
What might I be missing?

From syslog:

Feb 18 16:01:53 arm ntpdate[609]: Can't find host pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:01:54 arm ntpd[1162]: ntpd 4.2.6p5@1.2349-o Wed Oct  9 18:59:40 
UTC 2013 (1)
Feb 18 16:01:54 arm ntpd[1165]: proto: precision = 0.958 usec
Feb 18 16:01:54 arm ntpd[1165]: ntp_io: estimated max descriptors: 1024, 
initial socket boundary: 16
Feb 18 16:01:54 arm ntpd[1165]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 
123
Feb 18 16:01:54 arm ntpd[1165]: Listen and drop on 1 v6wildcard :: UDP 123
Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 2 lo 127.0.0.1 UDP 123
Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 3 eth0 192.168.20.205 
UDP 123
Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 4 usb0 192.168.7.2 UDP 
123
Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 5 eth0 
fe80::1eba:8cff:fe95:1a UDP 123
Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 6 lo ::1 UDP 123
Feb 18 16:01:54 arm ntpd[1165]: peers refreshed
Feb 18 16:01:54 arm ntpd[1165]: Listening on routing socket on fd #23 for 
interface updates
Feb 18 16:01:54 arm ntpd[1165]: Listening on routing socket on fd #23 for 
interface updates
Feb 18 16:01:55 arm kernel: [   39.789811] c_can_platform 481d.d_can 
can0: setting BTR=1c0a BRPE=0001
Feb 18 16:01:55 arm kernel: [   39.870525] can: controller area network 
core (rev 20120528 abi 9)
Feb 18 16:01:55 arm kernel: [   39.870672] NET: Registered protocol family 
29
Feb 18 16:01:55 arm kernel: [   39.928294] can: raw protocol (rev 20120528)
Feb 18 16:02:13 arm ntpdate[609]: Can't find host ca.pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:02:14 arm ntpd[1165]: Deferring DNS for pool.ntp.org 1
Feb 18 16:02:33 arm ntpdate[609]: Can't find host us.pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:02:34 arm ntpd[1165]: Deferring DNS for ca.pool.ntp.org 1
Feb 18 16:02:53 arm ntpdate[609]: Can't find host 0.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:02:54 arm ntpd[1165]: Deferring DNS for us.pool.ntp.org 1
Feb 18 16:03:13 arm ntpdate[609]: Can't find host 1.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:03:14 arm ntpd[1165]: Deferring DNS for 0.ubuntu.pool.ntp.org 1
Feb 18 16:03:33 arm ntpdate[609]: Can't find host 2.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:03:34 arm ntpd[1165]: Deferring DNS for 1.ubuntu.pool.ntp.org 1
Feb 18 16:03:53 arm ntpdate[609]: Can't find host 3.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:03:54 arm ntpd[1165]: Deferring DNS for 2.ubuntu.pool.ntp.org 1
Feb 18 16:04:13 arm ntpdate[609]: Can't find host ntp.ubuntu.com: Name or 
service not known (-2)
Feb 18 16:04:13 arm ntpdate[609]: no servers can be used, exiting
Feb 18 16:04:14 arm ntpd[1165]: Deferring DNS for 3.ubuntu.pool.ntp.org 1
Feb 18 16:04:34 arm ntpd[1165]: Deferring DNS for ntp.ubuntu.com 1
Feb 18 16:04:34 arm ntpd[1660]: signal_no_reset: signal 17 had flags 400
Feb 18 16:04:41 arm ntpd[1165]: ntpd exiting on signal 15
Feb 18 16:04:56 arm ntpd_intres[1660]: host name not found: pool.ntp.org
Feb 18 16:04:56 arm ntpd_intres[1660]: parent died before we finished, 
exiting
Feb 18 16:05:01 arm ntpdate[1696]: Can't find host pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:05:21 arm ntpdate[1696]: Can't find host ca.pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:05:41 arm ntpdate[1696]: Can't find host us.pool.ntp.org: Name or 
service not known (-2)
Feb 18 16:06:01 arm ntpdate[1696]: Can't find host 0.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:06:21 arm ntpdate[1696]: Can't find host 1.ubuntu.pool.ntp.org: 
Name or service not known (-2)
Feb 18 16:06:41 arm ntpdate[1696]: Can't find host 2.ubuntu.pool.ntp.org: 
Name or service not known (-2)

-- 
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.


[beagleboard] Re: Ubuntu nptdate can't find servers on boot

2014-03-25 Thread mickeyf
ntpdate-debian behaves the same way. Specifying a server on the command 
line does not work either.

On Tuesday, March 25, 2014 11:12:04 AM UTC-7, mickeyf wrote:

 Using RCN's 13.10

 I know there was some discussion of related issues quite a while ago, but 
 I'm not finding an answer. The servers listed are all the ones in 
 /etc/ntp.conf. 

 Unless I set the date manually the BBB thinks it's Feb. after any reboot. 
 What might I be missing?



-- 
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.


[beagleboard] Re: Ubuntu nptdate can't find servers on boot

2014-03-25 Thread mickeyf
Solved! (Partly)

I'm on a Windows domain, and it has it's own time server of course. That 
was blocking access to any external time servers. However, while I can now 
do ntpdate from the command line with the local time server ip specified, I 
have to kill ntp first since it is using the same socket. I think this 
issue have been discussed in the past and I can probably find the answer 
with enough googling, but if someone wants to share the recipe that would 
be great.



On Tuesday, March 25, 2014 11:12:04 AM UTC-7, mickeyf wrote:

 Using RCN's 13.10

 I know there was some discussion of related issues quite a while ago, but 
 I'm not finding an answer. The servers listed are all the ones in 
 /etc/ntp.conf. 

 Unless I set the date manually the BBB thinks it's Feb. after any reboot. 
 What might I be missing?

 From syslog:

 Feb 18 16:01:53 arm ntpdate[609]: Can't find host pool.ntp.org: Name or 
 service not known (-2)
 Feb 18 16:01:54 arm ntpd[1162]: ntpd 4.2.6p5@1.2349-o Wed Oct  9 18:59:40 
 UTC 2013 (1)
 Feb 18 16:01:54 arm ntpd[1165]: proto: precision = 0.958 usec
 Feb 18 16:01:54 arm ntpd[1165]: ntp_io: estimated max descriptors: 1024, 
 initial socket boundary: 16
 Feb 18 16:01:54 arm ntpd[1165]: Listen and drop on 0 v4wildcard 0.0.0.0 
 UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen and drop on 1 v6wildcard :: UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 2 lo 127.0.0.1 UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 3 eth0 192.168.20.205 
 UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 4 usb0 192.168.7.2 UDP 
 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 5 eth0 
 fe80::1eba:8cff:fe95:1a UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: Listen normally on 6 lo ::1 UDP 123
 Feb 18 16:01:54 arm ntpd[1165]: peers refreshed
 Feb 18 16:01:54 arm ntpd[1165]: Listening on routing socket on fd #23 for 
 interface updates
 Feb 18 16:01:54 arm ntpd[1165]: Listening on routing socket on fd #23 for 
 interface updates
 Feb 18 16:01:55 arm kernel: [   39.789811] c_can_platform 481d.d_can 
 can0: setting BTR=1c0a BRPE=0001
 Feb 18 16:01:55 arm kernel: [   39.870525] can: controller area network 
 core (rev 20120528 abi 9)
 Feb 18 16:01:55 arm kernel: [   39.870672] NET: Registered protocol family 
 29
 Feb 18 16:01:55 arm kernel: [   39.928294] can: raw protocol (rev 20120528)
 Feb 18 16:02:13 arm ntpdate[609]: Can't find host ca.pool.ntp.org: Name 
 or service not known (-2)
 Feb 18 16:02:14 arm ntpd[1165]: Deferring DNS for pool.ntp.org 1
 Feb 18 16:02:33 arm ntpdate[609]: Can't find host us.pool.ntp.org: Name 
 or service not known (-2)
 Feb 18 16:02:34 arm ntpd[1165]: Deferring DNS for ca.pool.ntp.org 1
 Feb 18 16:02:53 arm ntpdate[609]: Can't find host 0.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:02:54 arm ntpd[1165]: Deferring DNS for us.pool.ntp.org 1
 Feb 18 16:03:13 arm ntpdate[609]: Can't find host 1.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:03:14 arm ntpd[1165]: Deferring DNS for 0.ubuntu.pool.ntp.org 1
 Feb 18 16:03:33 arm ntpdate[609]: Can't find host 2.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:03:34 arm ntpd[1165]: Deferring DNS for 1.ubuntu.pool.ntp.org 1
 Feb 18 16:03:53 arm ntpdate[609]: Can't find host 3.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:03:54 arm ntpd[1165]: Deferring DNS for 2.ubuntu.pool.ntp.org 1
 Feb 18 16:04:13 arm ntpdate[609]: Can't find host ntp.ubuntu.com: Name or 
 service not known (-2)
 Feb 18 16:04:13 arm ntpdate[609]: no servers can be used, exiting
 Feb 18 16:04:14 arm ntpd[1165]: Deferring DNS for 3.ubuntu.pool.ntp.org 1
 Feb 18 16:04:34 arm ntpd[1165]: Deferring DNS for ntp.ubuntu.com 1
 Feb 18 16:04:34 arm ntpd[1660]: signal_no_reset: signal 17 had flags 
 400
 Feb 18 16:04:41 arm ntpd[1165]: ntpd exiting on signal 15
 Feb 18 16:04:56 arm ntpd_intres[1660]: host name not found: pool.ntp.org
 Feb 18 16:04:56 arm ntpd_intres[1660]: parent died before we finished, 
 exiting
 Feb 18 16:05:01 arm ntpdate[1696]: Can't find host pool.ntp.org: Name or 
 service not known (-2)
 Feb 18 16:05:21 arm ntpdate[1696]: Can't find host ca.pool.ntp.org: Name 
 or service not known (-2)
 Feb 18 16:05:41 arm ntpdate[1696]: Can't find host us.pool.ntp.org: Name 
 or service not known (-2)
 Feb 18 16:06:01 arm ntpdate[1696]: Can't find host 0.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:06:21 arm ntpdate[1696]: Can't find host 1.ubuntu.pool.ntp.org: 
 Name or service not known (-2)
 Feb 18 16:06:41 arm ntpdate[1696]: Can't find host 2.ubuntu.pool.ntp.org: 
 Name or service not known (-2)


-- 
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

[beagleboard] Re: Ubuntu nptdate can't find servers on boot

2014-03-25 Thread mickeyf
Adding the ip of the domain time server at the top of the ntp.conf server 
list was sufficient. All working now.


-- 
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.


[beagleboard] Re: Controlling power to USB connections

2014-03-24 Thread mickeyf
Someone with greater knowledge may know different, but I suspect you will 
be breaking the USB spec if you do this. Power is part of what is expected 
on those connectors. However, if all you are using the USB connector for is 
power (like a phone charger) there is probably no real downside.

I have not checked the schematic (you should), but I don't think there is 
any way to do this unless you put your own control circuitry between the 
USB out and your device. 



On Sunday, March 23, 2014 12:37:12 AM UTC-7, Patrick Walters wrote:


 uname -a
 Linux beaglebone 3.8.13 #1 SMP Thu Sep 12 10:27:06 CEST 2013 armv7l 
 GNU/Linux

 Is it possible to control the power to the USB port on the board or a HUB 
 from the CLI?

 My scenario is that I'd like to be able to turn something on\off that is 
 powered from the USB connection.

 Thanks,
 -p


-- 
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.


[beagleboard] Re: Controlling power to USB connections

2014-03-24 Thread mickeyf
I may have spoken hastily. See section 6.11.1 in the SRM.



On Sunday, March 23, 2014 12:37:12 AM UTC-7, Patrick Walters wrote:


 uname -a
 Linux beaglebone 3.8.13 #1 SMP Thu Sep 12 10:27:06 CEST 2013 armv7l 
 GNU/Linux

 Is it possible to control the power to the USB port on the board or a HUB 
 from the CLI?

 My scenario is that I'd like to be able to turn something on\off that is 
 powered from the USB connection.

 Thanks,
 -p


-- 
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.


[beagleboard] Re: USB SSH

2014-03-04 Thread mickeyf


On Monday, March 3, 2014 7:37:07 AM UTC-8, narr...@gmail.com wrote:

 About a month ago I disabled the 192.168.2.7 USB login.  I forgot the file 
 I edited to do this.  I am trying to get back to being able to ssh over USB 
 again.  Anyone know the file I edited?


Try :

/etc/networks/interfaces 

-- 
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.


[beagleboard] Re: Developing in Mono from Windows on my BBB

2014-01-23 Thread mickeyf

Building a mono program on a Windows (or other) box then running it on the 
BBB is trivial, except that there are a few pieces of Mono that are not 
automatically supported on the ARM. Hard float being the one we ran into 
and had to recompile Mono with a patch.

If you are talking about actually running the program via the IDE in debug 
mode where the IDE is on one box and the program itself is running on the 
BBB, I'm told this may  be do-able but did not work for me. I tried this 
over a year ago, so I don't recall the details, but eventually gave up. I 
think the issue was that the debugger uses signals in a conflicting way. 
Check the Mono forum - I think there was some discussion of this.

At the time I was looking at this there was no BBB, just BBW.. With the BBB 
and HDMI you ought to be able to run MonoDevelop directly on the BBB and 
debug within it.

-- 
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.


[beagleboard] Re: TiWi/BLE Cape incompatible with BeagleBone Black

2013-11-25 Thread mickeyf
The page linked to says, in Bright Red Letters *Note: Hardware 
incompatible and will damage BeagleBone Black if used together.*

Mind you, they don't offer details

-- 
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.


[beagleboard] Re: In C++ ubuntu on BBB I think getc function isn't returning EOF when source file is closed

2013-11-07 Thread mickeyf
Speculating? Isn't this pretty easy to test?




-- 
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.


[beagleboard] Re: HDMI questions

2013-10-24 Thread mickeyf
I have not yet gotten parse-edid to work at all, and this is preliminary 
research - I don't have a BBB on my desk yet, just a BBwhite. But yes, an 
ounce of experimentation can be worth a pound of theory and I'll certainly 
see what results I get by testing.

-- 
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.


[beagleboard] Re: HDMI questions

2013-10-23 Thread mickeyf
Yes, but...


 Is there a reliable, guaranteed way to see if a given device display is 
 actually powered on?


 Is it practical to say, boot using an LCD, check for the presence of an 
 HDMI display, then switch to the HDMI output under user control? 


Thanks! 

-- 
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.


[beagleboard] Re: HDMI questions

2013-10-23 Thread mickeyf
Even being able to know if an HDMI device was connected and powered on 
would be very helpful. On one of the many posts here discussing HDMI it was 
mentioned that per spec you should be able to read the EDID even with the 
device powered off (but maybe they meant in standby?), but in practice it 
depended on the particular device. 

-- 
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.


[beagleboard] Re: HDMI questions

2013-10-23 Thread mickeyf
Yes, I was definitely getting the impression that without signing up for 
the $15K fee I could not view a legal copy of the spec. If I can find a 
monitor or two that work with the BBB and that have known behavior that's 
plenty good enough.  Section 8.5 Hot plug detect.does not indicate 
whether or not the sink is powered on...

I would have thought that a way to query whether a device was powered, 
asleep, or awake, and a command to wake it up if asleep would be obvious 
and available, and perhaps they are to people who aren't me.

Based on the very quick glance I have given it, it looks like CEC may be 
more intended for this (Section 14?), but even if that's so it's less 
supported on the BBB. At least I have a better idea where to look now. 
Thanks again.

-- 
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.