Re: [beagleboard] Current drain of AIN
Hi Gerald Thank you for your Answer. I did look it up but only found Buffer strength (25 mA) which doesn't seem to be right, since it would be rather high. yours magu_ Am Montag, 30. September 2013 14:20:42 UTC+2 schrieb Gerald: Did you look at the processor datasheet? Gerald On Mon, Sep 30, 2013 at 3:12 AM, magu_ there...@gmail.com javascript:wrote: Hi I could not find any spec's on the current drain of the AIN on the BBB. Any help would be appretiated. yours magu_ -- 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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: BeagleBone Black - No HDMI Output
I've confirmed the cable isn't bad. I plugged the cable into my Sony Ericsson Xperia Neo, there is output on my HDMI monitor. But nothing happens when connected to BBB. I know there are different versions for the HDMI spec. Do you mean I have to use the cable that supports newer version? honercek On Monday, September 30, 2013 10:01:37 PM UTC+8, Gerald wrote: OK. I would look at the cable. We have had several instances of people with bad HDMI cables. Gerald On Mon, Sep 30, 2013 at 8:57 AM, Chien-Yu Chen hone...@gmail.comjavascript: wrote: I've updated BBB using the newest firmware, BBB-eMMC-flasher-2013.09.15.img. Still have the same problem. On Thursday, September 26, 2013 11:16:26 PM UTC+8, Chien-Yu Chen wrote: I met similar issue as well. My monitor is ASUS LS221H which can correctly display outputted from my mobile phone Xperia Neo V via HDMI. From here, we can confirm the monitor and the cable both function well. After powering up, sometimes I could see the logo from BeagleBone Black. Then, what I could see is just no signal reported from the monitor. I referenced the page, http://circuitco.com/**support/index.php?title=** BeagleBoneBlack_HDMIhttp://circuitco.com/support/index.php?title=BeagleBoneBlack_HDMI, and tried something described in the page via terminal https://192.168.7.2/ Followings are some information of my board. *root@beaglebone:/sys/class/drm/card0/card0-HDMI-A-1# xrandr --verbose * Screen 0: minimum 320 x 200, current 1280 x 720, maximum 2048 x 2048 HDMI-0 connected 1280x720+0+0 (0x42) normal (normal left inverted right x axis y axis) 474mm x 296mm Identifier: 0x40 Timestamp: 1523547016 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 filter: EDID: **00000469f122010101**01 **20130103802f1e782e78f5a655489b**26 **125054bfef80b30081809500950f90**40 **714f0101010121399030621a274068**b0 **3600da28111c00ff003938**4c **4d56443030343433360a00fd00**38 **4b1f5111000a20202020202000**fc **00415355532d4c533232314801**ff **02031e764b909f8594849303120107**16 **23090707830165030c0002**3a **801871382d40582c9600da2811**18 **023a80d072382d40102c4580da2811**00 **001e011d8018711c1620582c2500da**28 **119e011d80d0721c1620102c25**80 **da28119e011d00bc52d01e20b8**28 **5540da28111e00**dd 1280x720 (0x41) 74.2MHz +HSync +VSync h: width 1280 start 1720 end 1760 total 1980 skew0 clock 37.5KHz v: height 720 start 725 end 730 total 750 clock 50.0Hz 1280x720 (0x42) 74.2MHz +HSync +VSync *current h: width 1280 start 1390 end 1430 total 1650 skew0 clock 45.0KHz v: height 720 start 725 end 730 total 750 clock 60.0Hz 720x576 (0x43) 27.0MHz -HSync -VSync h: width 720 start 732 end 796 total 864 skew0 clock 31.2KHz v: height 576 start 581 end 586 total 625 clock 50.0Hz 720x480 (0x44) 27.0MHz -HSync -VSync h: width 720 start 736 end 798 total 858 skew0 clock 31.5KHz v: height 480 start 489 end 495 total 525 clock 59.9Hz 640x480 (0x45) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 59.9Hz *root@beaglebone:/sys/class/drm/card0/card0-HDMI-A-1# parse-edid edid* parse-edid: parse-edid version 2.0.0 parse-edid: EDID checksum passed. # EDID version 1 revision 3 Section Monitor # Block type: 2:0 3:ff # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier ASUS-LS221Hÿÿ VendorName ACI ModelName
Re: [beagleboard] Re: BeagleBone Black - No HDMI Output
I've confirmed the cable isn't good. I plugged the cable into my Sony Ericsson Xperia Neo, there is output on my HDMI monitor. But nothing happens when connected to BBB. I know there are different versions for the HDMI spec. Do you mean I have to use the cable that supports newer version? honercek On Monday, September 30, 2013 10:01:37 PM UTC+8, Gerald wrote: OK. I would look at the cable. We have had several instances of people with bad HDMI cables. Gerald On Mon, Sep 30, 2013 at 8:57 AM, Chien-Yu Chen hone...@gmail.comjavascript: wrote: I've updated BBB using the newest firmware, BBB-eMMC-flasher-2013.09.15.img. Still have the same problem. On Thursday, September 26, 2013 11:16:26 PM UTC+8, Chien-Yu Chen wrote: I met similar issue as well. My monitor is ASUS LS221H which can correctly display outputted from my mobile phone Xperia Neo V via HDMI. From here, we can confirm the monitor and the cable both function well. After powering up, sometimes I could see the logo from BeagleBone Black. Then, what I could see is just no signal reported from the monitor. I referenced the page, http://circuitco.com/**support/index.php?title=** BeagleBoneBlack_HDMIhttp://circuitco.com/support/index.php?title=BeagleBoneBlack_HDMI, and tried something described in the page via terminal https://192.168.7.2/ Followings are some information of my board. *root@beaglebone:/sys/class/drm/card0/card0-HDMI-A-1# xrandr --verbose * Screen 0: minimum 320 x 200, current 1280 x 720, maximum 2048 x 2048 HDMI-0 connected 1280x720+0+0 (0x42) normal (normal left inverted right x axis y axis) 474mm x 296mm Identifier: 0x40 Timestamp: 1523547016 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 filter: EDID: **00000469f122010101**01 **20130103802f1e782e78f5a655489b**26 **125054bfef80b30081809500950f90**40 **714f0101010121399030621a274068**b0 **3600da28111c00ff003938**4c **4d56443030343433360a00fd00**38 **4b1f5111000a20202020202000**fc **00415355532d4c533232314801**ff **02031e764b909f8594849303120107**16 **23090707830165030c0002**3a **801871382d40582c9600da2811**18 **023a80d072382d40102c4580da2811**00 **001e011d8018711c1620582c2500da**28 **119e011d80d0721c1620102c25**80 **da28119e011d00bc52d01e20b8**28 **5540da28111e00**dd 1280x720 (0x41) 74.2MHz +HSync +VSync h: width 1280 start 1720 end 1760 total 1980 skew0 clock 37.5KHz v: height 720 start 725 end 730 total 750 clock 50.0Hz 1280x720 (0x42) 74.2MHz +HSync +VSync *current h: width 1280 start 1390 end 1430 total 1650 skew0 clock 45.0KHz v: height 720 start 725 end 730 total 750 clock 60.0Hz 720x576 (0x43) 27.0MHz -HSync -VSync h: width 720 start 732 end 796 total 864 skew0 clock 31.2KHz v: height 576 start 581 end 586 total 625 clock 50.0Hz 720x480 (0x44) 27.0MHz -HSync -VSync h: width 720 start 736 end 798 total 858 skew0 clock 31.5KHz v: height 480 start 489 end 495 total 525 clock 59.9Hz 640x480 (0x45) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 59.9Hz *root@beaglebone:/sys/class/drm/card0/card0-HDMI-A-1# parse-edid edid* parse-edid: parse-edid version 2.0.0 parse-edid: EDID checksum passed. # EDID version 1 revision 3 Section Monitor # Block type: 2:0 3:ff # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier ASUS-LS221Hÿÿ VendorName ACI ModelName
Re: [beagleboard] Re: LCD4/LCD7/4DCAPE-43 Backlight PWM - Changing Frequency
On Wed, Oct 2, 2013 at 4:05 PM, Terry Storm terrystor...@gmail.com wrote: Bizzare how no one on this forum could help me. Think its time to join another forum. You might be misunderstanding how 'forums' work... -- 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] BBB, PRUSSV2, using timer on IEP
Thx. I already found example you mention (glad to know it's yours) and used it as guideline how to use compare registers on IEP. Did reworked the example and now it's running fine. I suspect that issue in my initial example was with following piece of code L1: LBBOrT2, rIEPBase, IEP_COUNT, 4 QBLTL1, rT1, rT2 My expectation was that quick branch instructions does comparison of complete registers (all 32 bits), but in fact it compares only 8 bits (you can chose if it's B0,B1,B3 or B4). In my case I think it was working only rT1.b0 and rT2.b0. For sure that contributed to unexpected execution flow, maybe there was also something else. Although reworked example works just fine, will debug this one as I don't want to leave open ends :) Also will try debugger you mentioned, as writing apps blindly and debug them only with LED attached to GPIO is bit of pain :) Thx Ivan On Wednesday, October 2, 2013 12:16:58 AM UTC+2, Charles Steinkuehler wrote: I don't immediately see anything obvious that is wrong with your code. I have a known working example of using the IEP timers with the PRU, but I'm using the overflow event rather than polling the count value: https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p -- Charles Steinkuehler cha...@steinkuehler.net javascript: -- 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] How can I control Servo motor by angle information?
Hello, BB group~ I'm figuring out how to control Servo motor by angle information with my BB. I made a tracking sound c++ code and this code get some angle(degree) information. And finally i got it with my BB. The next step is controlling Servo motor by this angle information. So I'm thinking of 2 methods. First one is using Arduino(send angle information to Arduino from BB), and Second one is BB directly controls a Servo motor. But I don't know how to use gpio in BB and I wonder 2 methods I thought are possible to implement coding by just using c++ in Angstrom linux. Please give me any comments. It will be great help for me. 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.
Re: [beagleboard] BBB, PRUSSV2, using timer on IEP
Hm, I have to correct my self. After throwing a second look into instruction format for quick arithmetic test and branch, where register is Op2, QBNE supports comparisons of all bits in both registers (didn't read tables Rs2Sel and Rs1Sel to the end). My mistake... Yet, this than makes my first code not working even a bigger misery. Will have to take a much deeper look at the code. Ivan On Wednesday, October 2, 2013 9:44:18 AM UTC+2, Ivan Korman wrote: Thx. I already found example you mention (glad to know it's yours) and used it as guideline how to use compare registers on IEP. Did reworked the example and now it's running fine. I suspect that issue in my initial example was with following piece of code L1: LBBOrT2, rIEPBase, IEP_COUNT, 4 QBLTL1, rT1, rT2 My expectation was that quick branch instructions does comparison of complete registers (all 32 bits), but in fact it compares only 8 bits (you can chose if it's B0,B1,B3 or B4). In my case I think it was working only rT1.b0 and rT2.b0. For sure that contributed to unexpected execution flow, maybe there was also something else. Although reworked example works just fine, will debug this one as I don't want to leave open ends :) Also will try debugger you mentioned, as writing apps blindly and debug them only with LED attached to GPIO is bit of pain :) Thx Ivan On Wednesday, October 2, 2013 12:16:58 AM UTC+2, Charles Steinkuehler wrote: I don't immediately see anything obvious that is wrong with your code. I have a known working example of using the IEP timers with the PRU, but I'm using the overflow event rather than polling the count value: https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p -- Charles Steinkuehler cha...@steinkuehler.net -- 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] How to change initial runevel
Hi Bernd take a look into /etc/inittab and the according docs. HTH! Best regards, mcc Bernd Eggink bernd.egg...@sudrala.de [13-10-02 10:52]: Hi group, I want to permanently change the initial run , so that gdm does not pop up (I guess that would be 4 or 3), but couldn't find any documentation about this. I tried adding 3 or 4 to the optargs line in /boot/uEnv.txt, but this didn't change anything, the system always boots into runlevel 5. I could of course automatically start a script in 5 which does a init 3, but I'm sure there must be a cleaner way. Can anybody help? Regards, Bernd -- 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. -- 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] How to change initial runevel
I'm surprised the number isn't working as Systemd is typically compatible but it may be worth a cursory read of how Systemd handles runlevels (like graphical.target) instead - http://fedoraproject.org/wiki/Systemd#How_do_I_change_the_default_runlevel.3F On 2 October 2013 12:27, Bernd Eggink bernd.egg...@sudrala.de wrote: On 02.10.2013 09:08, meino.cra...@gmx.de wrote: Hi Bernd take a look into /etc/inittab and the according docs. Thanks, I know about inittab, but this system (Angstrom) isn't inittab-based. Instead, runlevels are managed by the systemd daemon. I found some documentation on systemd, but unfortunately nothing about the initial runlevel. Regards, Bernd -- 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+unsubscribe@**googlegroups.combeagleboard%2bunsubscr...@googlegroups.com . For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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] How can I control Servo motor by angle information?
You can use a PWM output to drive your servo. Set the PWM cycle frequency to 50hz and the duty cycle to 1.5 ms (~7% = center position). Varying the duty cycle +/- 0.5ms should drive your servo to left and right. Power the servo by an external power source not the GPIOs of the board. Am 02.10.2013 15:43 schrieb 서재필 sjp890...@gmail.com: Hello, BB group~ I'm figuring out how to control Servo motor by angle information with my BB. I made a tracking sound c++ code and this code get some angle(degree) information. And finally i got it with my BB. The next step is controlling Servo motor by this angle information. So I'm thinking of 2 methods. First one is using Arduino(send angle information to Arduino from BB), and Second one is BB directly controls a Servo motor. But I don't know how to use gpio in BB and I wonder 2 methods I thought are possible to implement coding by just using c++ in Angstrom linux. Please give me any comments. It will be great help for me. 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. -- 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] Remote debugging thru SSH
Problem: 1. You release a wildly successful Beagleboneblack (BBK) product. The product is one where the customer connects the BBK to the Internet thru the router on their home LAN (ie. the BBK is behind a router and does NOT have a public ip address) 2. After product release you find a major bug in your software, and the customer support calls start piling up because of this bug. 3. You find a fix but because most of your customers are not technical, it is difficult for them to update the software. Your customers start ranting about how terrible your brainchild is, you start losing hair, gaining weight, and wish you had gone into accounting instead of engineering. 4. SSH'ing into each BBK would be great because then the fix could be easily applied. I'm thinking of writing a software package that provides a solution to this. In a nutshell: 1. A web server (SERVER1) is built and connected to the internet. BBK Side: 2. Each product is given a unique ID (UNIQUE_ID) before being shipped. 3. A daemon process installed on the BBK sends an HTTP request for a file named UNIQUE_ID on SERVER1. The request is repeated periodically (say once every few seconds). 4. If the request is successful then the BBK sets up an SSH connection to SERVER1. Tech Support Side: 5. Tech support has a list of the customers and their unique IDs. 6. When a customer calls in , Tech support creates and SSH connection to SERVER1. THen creates the file UNIQUE_ID on the server. 7. Tech support can now SSH into the customer's BBK. I am a little unclear still on SSH port forwarding but I am pretty sure the SSH connections thru SERVER1 should be relatively easy to set up. Thoughts, comments, opinions? Is there something out there already that is simple to use? Anybody want to work with me on this? Monzie -- 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] How to change initial runevel
On 02.10.2013 10:02, Nick Glynn wrote: I'm surprised the number isn't working as Systemd is typically compatible but it may be worth a cursory read of how Systemd handles runlevels (like graphical.target) instead - http://fedoraproject.org/wiki/Systemd#How_do_I_change_the_default_runlevel.3F Nick, thanks a lot for the link! Angström's systemctl doesn't understand the command 'set-default', but I soon figured out that 'systemctl enable multi-user.target' does what I want. Best regards, Bernd -- 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: [Issue] Debian Wheezy - No Sound, At All
On Wed, Oct 2, 2013 at 7:32 AM, Illutian Kade delvan...@gmail.com wrote: UPDATE #2: I may have found the problem. It appears accounts need to belong to the 'audio group'...problem is /etc/passwd/ doesn't have anything with audio. I now have access to audio. That's weird.. default user should be in the audio group.. https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L498 ...now to figure out why Google Music's music doesn't have any audio. Also, why VLC, too, doesn't have any sound; regardless of the 'output' chosen. Using aplay --list-devices try setting.. AUDIODEV=hw:(cardnum),(device) Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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] Remote debugging thru SSH
The subject line is about debugging, but you talk about updates on the main message. You are assuming that: 1) Every BB that needs to be updated is connected to the internet. 2) If they are connected to the Internet, the SSH port is wide open… 3) They are not turned off in the middle of an update… ;-) ;-) Why not auto update your app? When booting the BB the init script compares the release number of you app (somewhere in a file or in a filename) with the current release number. The current release number is available from an update web server (with the software). If the release number on the web site is greater than the installed, the script downloads the app, checks the integrity of the archive, and if the archive is ok, upgrades the software. This: 1) Works with only the http port open. Does not need any other ports opened. 2) Works also on a network no connected to the Intranet, as long as you place on that network a suitable web server. Warning: I don't think this update method is the subject of any valid patent, but... ;-) ;-) ;-) Best regards Paulo Ferreira -- 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] Bootchart on Ubuntu (slow boot)
Does anybody know how to get bootchart working under Ubuntu? I'm running 12.04 precise off an SD card. I have the bootchart deb installed, but nothing shows up in /var/log/bootchart after reboot. It sounds like I may need to add something to my u-boot commandline, but I'm not sure what or how. Some docs for bootchart refer to /sbin/bootchartd, but I think that's outdated and there's no such thing installed. The Ubuntu package has some stuff for updating the initrd that looks like it might be supposed to take care of things automatically, but it doesn't. The reason I ask is that it takes about two *minutes* for a login prompt to show up over my ftdi serial line. The console logging from the kernel stops after about ten seconds, then nothing for a long time, then finally the prompt comes up. Thanks, Dan -- 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: Solved - I now have reliable WiFi on the Bone
Have been wrestling with wifi on BBB. I was following this thread and the webpage at http://octopusprotos.com/?p=37 for a static address. I did go to amazon.com and buy the TP-LINK TL-WN722N. Did a fresh load of the BBB from a mid-september image then did 'opkg update ... ' as seen elsewhere. That got me recognizing the device. I installed wireless-tools. Then I replaced connman with /etc/network/interfaces and /etc/wpa_supplicant as in that octopusprotos.com posting. I had a terrible time. Device would attach then drop with reason=3. Then I discovered that I had two wpa_supplicants running! I commented out the pre-up line from the /etc/network/interfaces as found on octopusprotos and now things seem to be working swell. So my addition to the knowledge pile is not to run two wpa_supplicant processes. -- 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: Efficient voice codecs? Speex?
Any possibility I can get instructions for this? On Thursday, March 22, 2012 12:22:26 PM UTC-4, Martin AA6E wrote: Replying to my own message, in case anyone is interested. I was able to download Speex source and compile with NEON optimizations and -O3. That cut cpu usage by ~50% compared with the Ubuntu Oneiric distribution library, relieving the crisis for now. Speex has some support for C55 DSP, but that does not seem to work on the BB XM out of the box. Someone should work on this, but I can't get into it for the time being. Martin On Friday, March 16, 2012 4:35:15 PM UTC-4, Martin AA6E wrote: I am using Ubuntu Oneiric libspeex as a voice codec. For my application, it can use nearly all the BB XM CPU. Is there an alternative that is optimized for the BB's DSP? While it might be good for my little gray cells, I am hoping not to have to code it myself. Any pointers welcome! Martin -- 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] Can't get touch event on Linux 2.6.37 and QT
Hello! My goal is to make a QT application for Technexion DevKit TDM-3730 BlizzardPack. Everything is OK, but it is impossible to click a button with a touchscreen, while with mouse it's ok. I've tried evtest, here its output: *root@devkit:/dev/input# evtest touchscreen0* *Input driver version is 1.0.1* *Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0* *Input device name: prism_st* *Supported events:* * Event type 0 (Sync)* * Event type 1 (Key)* *Event code 330 (Touch)* * Event type 3 (Absolute)* *Event code 0 (X)* * Value115* * Min0* * Max 1499* *Event code 1 (Y)* * Value397* * Min0* * Max 899* *Event code 24 (Pressure)* * Value 0* * Min0* * Max 255* *Testing ... (interrupt to exit)* *Event: time 10551.906098, type 3 (Absolute), code 0 (X), value 735* *Event: time 10551.906129, type 3 (Absolute), code 1 (Y), value 461* *Event: time 10551.906129, type 3 (Absolute), code 24 (Pressure), value 255* *Event: time 10551.906129, -- Report Sync * *Event: time 10551.915772, type 3 (Absolute), code 0 (X), value 734* *Event: time 10551.915772, type 3 (Absolute), code 1 (Y), value 460* *Event: time 10551.915802, -- Report Sync * *Event: time 10551.925201, type 3 (Absolute), code 0 (X), value 733* *Event: time 10551.925201, type 3 (Absolute), code 1 (Y), value 459* *Event: time 10551.925232, -- Report Sync * *Event: time 10551.934570, type 3 (Absolute), code 0 (X), value 732* *Event: time 10551.934600, -- Report Sync * *Event: time 10551.943999, type 3 (Absolute), code 0 (X), value 730* *Event: time 10551.944030, type 3 (Absolute), code 1 (Y), value 460* *Event: time 10551.944030, -- Report Sync * *Event: time 10551.951659, type 3 (Absolute), code 0 (X), value 728* *Event: time 10551.951690, type 3 (Absolute), code 1 (Y), value 462* *Event: time 10551.951690, type 3 (Absolute), code 24 (Pressure), value 28* *Event: time 10551.951690, -- Report Sync * *Event: time 10551.959014, type 3 (Absolute), code 0 (X), value 726* *Event: time 10551.959044, type 3 (Absolute), code 1 (Y), value 464* *Event: time 10551.959044, type 3 (Absolute), code 24 (Pressure), value 1* *Event: time 10551.959044, -- Report Sync * No matter how much I tapped there is no touch event (330). I've made a GTK application and it's ok, but it isn't convenient at all. And it seems that touch-event processing realized inside GTK GUI. Am I right? Here is my system parameters: *Host - Linux Mint 15, Linux version 3.8.0-19-generic, QT 5* *Target - Angstrom, Linux version 2.6.37, qt4-embedded - 4.7.3-r33.1.9, tslib* *Cpu - TI Sitara DM3730 http://www.ti.com/product/DM3730 @ 1Ghz* *DSP Core - TMS320C64x+™ @ 800Mhz* Please, give me some advice how to get touch(tap) event? Thank you in advance. Egor* * -- 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] Get android running on Chipsee with BBB
I've been working my but off trying to get android to boot. I got the 7 inch capacitive touch screen cape for the BBB. I've tried flashing the included img to the micro USB disk, like most tutorials have said. This hasn't worked. I did it first by flashing, which showed no user LEDs, then by simply booting, which showed the first 3 user LEDs. My most luck has been opening the BBB in my computer and overwriting all the boot files with the ones chipsee included. This got me to the chipsee.com jellybean splash screen, but it doesn't go any further. I feel like I'm a bit in over my head ATM, so somebody please help. I know a lot about hardware and a bit of programming but when it comes to linux I'm a total newb. -- 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] Setting up IP address manually.
Hi, I am using the BeagleBone black for my project, it uses the default Angstorm installation. I have managed to setup ethernet using the conman tools as described in tutorials. How can I setup the ethernet IP address from a C or C++ program ??? Please help. thanks a -- 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] How can I control Servo motor by angle information?
Hi Marcus, I was only general speaking. I just got my BBB and I'm not jet familiarwith the details of programming PWMs. But google gave me this answer: http://www.phys-x.org/rbots/index.php ?option=com_contentview=articleid=106:lesson-3-beaglebone-black-pwmcatid =46:beaglebone-blackItemid=81 Perhaps you can try this. 2013/10/2 Marcus Diogo mvdiog...@gmail.com Hi Leonard, Wich drive are you using? I try with python adafruit and did not work. i can blink with gpio but pwm never work. i use ubuntu precise, bbb, root@ubuntu-armhf:/home/ubuntu# echo 51 /sys/class/gpio/export root@ubuntu-armhf:/home/ubuntu# echo out /sys/class/gpio/gpio51/direction /direction root@ubuntu-armhf:/home/ubuntu# echo low /sys/class/gpio/gpio51/direction but can i use the same step with pwm? root@ubuntu-armhf:/home/ubuntu# ls /sys/class/pwm export pwmchip0 pwmchip2 pwmchip3 pwmchip5 pwmchip7 unexport root@ubuntu-armhf:/home/ubuntu# ls /sys/class/pwm/pwmchip0 base device npwm power subsystem uevent I try echo am33xx_pwm /sys/devices/bone_capemgr.9/slots; echo bone_pwm_P8_19 /sys/devices/bone_capemgr.9/slots; # EHRPWM2A echo bone_pwm_P8_13 /sys/devices/bone_capemgr.9/slots; # EHRPWM2B echo bone_pwm_P9_14 /sys/devices/bone_capemgr.9/slots; # EHRPWM1A echo bone_pwm_P9_16 /sys/devices/bone_capemgr.9/slots; # EHRPWM1B but i get. root@ubuntu-armhf:/home/ubuntu# ls /sys/devices/ocp.2/pwm_test_* /sys/devices/ocp.2/pwm_test_P8_13.31: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P8_19.30: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P9_14.32: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P9_16.33: modalias power subsystem uevent 2013/10/2 Tux Leonard tuxl...@gmail.com You can use a PWM output to drive your servo. Set the PWM cycle frequency to 50hz and the duty cycle to 1.5 ms (~7% = center position). Varying the duty cycle +/- 0.5ms should drive your servo to left and right. Power the servo by an external power source not the GPIOs of the board. Am 02.10.2013 15:43 schrieb 서재필 sjp890...@gmail.com: Hello, BB group~ I'm figuring out how to control Servo motor by angle information with my BB. I made a tracking sound c++ code and this code get some angle(degree) information. And finally i got it with my BB. The next step is controlling Servo motor by this angle information. So I'm thinking of 2 methods. First one is using Arduino(send angle information to Arduino from BB), and Second one is BB directly controls a Servo motor. But I don't know how to use gpio in BB and I wonder 2 methods I thought are possible to implement coding by just using c++ in Angstrom linux. Please give me any comments. It will be great help for me. 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. -- 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. -- Marcus de Vasconcelos Diogo da Silva Uma montanha até um cego consegue desviar,mas é nas pedras menores que nós muitas vezes tropeçamos e caimos! -- 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. -- 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] Remote debugging thru SSH
Thanks for your input. Your auto update method would definitely work. The advantages of SSH are: 1. More flexibility - ability to review syslog files, system configuration, etc. This is where the debugging thru SSH part of my title applies. We have all been thru instances where the customer says My app isn't working.. Being able to SSH into the BB allows one to deal with this type of issue. 2. Ability to upgrade, configure, or modify the system.Yes in theory the app could do this but this makes the app very complex. You write You are assuming that: 2) If they are connected to the Internet, the SSH port is wide open… I'm not 100% sure but I do not think the ssh port has to be open on the customers' router because the TCP connection originates behind the router. On Wed, Oct 2, 2013 at 9:03 AM, Paulo Ferreira p...@keeh.net wrote: The subject line is about debugging, but you talk about updates on the main message. You are assuming that: 1) Every BB that needs to be updated is connected to the internet. 2) If they are connected to the Internet, the SSH port is wide open… 3) They are not turned off in the middle of an update… ;-) ;-) Why not auto update your app? When booting the BB the init script compares the release number of you app (somewhere in a file or in a filename) with the current release number. The current release number is available from an update web server (with the software). If the release number on the web site is greater than the installed, the script downloads the app, checks the integrity of the archive, and if the archive is ok, upgrades the software. This: 1) Works with only the http port open. Does not need any other ports opened. 2) Works also on a network no connected to the Intranet, as long as you place on that network a suitable web server. Warning: I don't think this update method is the subject of any valid patent, but... ;-) ;-) ;-) Best regards Paulo Ferreira -- 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/t4DWclel47w/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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] BBB, PRUSSV2, using timer on IEP
Ivan, You should check again the QBLT usagehttp://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#Quick_Branch_if_Less_Than_.28QBLT.29. The code will stay in your loop when rT2 rT1 i.e. IEPcount 1. Try QBLTL1, rT2, rT1 Regards, Thomas On Wednesday, October 2, 2013 10:07:33 AM UTC+2, Ivan Korman wrote: Hm, I have to correct my self. After throwing a second look into instruction format for quick arithmetic test and branch, where register is Op2, QBNE supports comparisons of all bits in both registers (didn't read tables Rs2Sel and Rs1Sel to the end). My mistake... Yet, this than makes my first code not working even a bigger misery. Will have to take a much deeper look at the code. Ivan On Wednesday, October 2, 2013 9:44:18 AM UTC+2, Ivan Korman wrote: Thx. I already found example you mention (glad to know it's yours) and used it as guideline how to use compare registers on IEP. Did reworked the example and now it's running fine. I suspect that issue in my initial example was with following piece of code L1: LBBOrT2, rIEPBase, IEP_COUNT, 4 QBLTL1, rT1, rT2 My expectation was that quick branch instructions does comparison of complete registers (all 32 bits), but in fact it compares only 8 bits (you can chose if it's B0,B1,B3 or B4). In my case I think it was working only rT1.b0 and rT2.b0. For sure that contributed to unexpected execution flow, maybe there was also something else. Although reworked example works just fine, will debug this one as I don't want to leave open ends :) Also will try debugger you mentioned, as writing apps blindly and debug them only with LED attached to GPIO is bit of pain :) Thx Ivan On Wednesday, October 2, 2013 12:16:58 AM UTC+2, Charles Steinkuehler wrote: I don't immediately see anything obvious that is wrong with your code. I have a known working example of using the IEP timers with the PRU, but I'm using the overflow event rather than polling the count value: https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p -- Charles Steinkuehler cha...@steinkuehler.net -- 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++
On Tue, Oct 1, 2013 at 11:14 PM, ignacio.mata...@gmail.com wrote: hi, Sorry for disturbing you. How can I compile gcc -Wall gettimeofday.c -o gettimeofday in eclipse under ubuntu? I don't know Eclipse too much, I compile such programs in terminal: Open Terminal cd to the folder where gettimeofday.c is type in: gcc -Wall gettimeofday.c -o gettimeofday run the Porgram with ./gettimeofday I got some errors: Field tv_sec could not be resolved Field tv_usec could not be resolved Maybe you have to tell Eclipse: - it is C (not C++) - from where to include sys/time.h HTH -- 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] Current drain of AIN
OK. I don't have an answer for you. As these are high impedance inputs. I would not expect it to be much, especially at the rated voltage of 1.8V.. Gerald On Wed, Oct 2, 2013 at 1:08 AM, magu_ therealm...@gmail.com wrote: Hi Gerald Thank you for your Answer. I did look it up but only found Buffer strength (25 mA) which doesn't seem to be right, since it would be rather high. yours magu_ Am Montag, 30. September 2013 14:20:42 UTC+2 schrieb Gerald: Did you look at the processor datasheet? Gerald On Mon, Sep 30, 2013 at 3:12 AM, magu_ there...@gmail.com wrote: Hi I could not find any spec's on the current drain of the AIN on the BBB. Any help would be appretiated. yours magu_ -- 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/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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. -- 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] SDHC card does not show up
I have an idea. Go to the support Wiki http://circuitco.com/support/index.php?title=BeagleBone_Black_FAQ#How_can_I_use_a_uSD_in_the_uSD_slot_as_extra_storage_on_my_BeagleBone_Black.3F Gerald On Tue, Oct 1, 2013 at 7:09 PM, Mark mark7wenn...@gmail.com wrote: I cannot get a micro SD chip to show up when I plug it in the BBB slot - I have tried several sizes and vendors. This is a brand new BeagleBone, it boots OK (I'm posting this from it) as long as I don't plug in a SD chip. I've burned several software images to several chips, plugged them in, and powered up (wall wart) while holding the BOOT button. Only the power light comes on. If I attempt to power the board with any chip plugged in, the first 3 user lights come on and the board hangs. Plugging the chip in afterwards does not affect anything, but the device does not show up either. Any ideas? -- 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. -- 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] Board crashes on image open
3 Amps. I've run other things like the browser, that seems okay. From my limited tests so far, it's just the openCV image windows, and opening images in general. On Wed, Oct 2, 2013 at 8:15 AM, Gerald Coley ger...@beagleboard.org wrote: How big is your DC power supply? Needs to be at least 2A. Gerald On Tue, Oct 1, 2013 at 6:43 PM, Paul pjcso...@gmail.com wrote: Anytime i try to open an image captured from a webcam using GIMP (640x480 image, output from an openCV capture if that helps), the BBB crashes solid and requires a power pull. The screen either goes black, or the image freezes on the screen. I can see the image but nothing else is active. Any advice? P.S. The latest angstrom version is installed on my BBB. Also, in case that gives a hint, when I refresh an openCV image window from the python program, the entire screen including the terminal that opened it. Normally only the image window would refresh. -- 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. -- 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/ssP6qdUlS9U/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- 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] Uubuntu/Robert Nelson's image and /opt/boot-scripts
On 9/20/2013 6:55 AM, Robert Nelson wrote: Well set_date.sh is run by: https://github.com/RobertCNelson/omap-image-builder/blob/master/scripts/chroot.sh#L283 /etc/init/boot_scripts.conf (in ubuntu) while i'm still not happy with the way fix_ssh_host_key.sh runs so nothing calls it yet. (the idea it should only be run once..) I drop an init script into /etc/init.d that removes itself once it runs: https://github.com/RobertCNelson/omap-image-builder/blob/master/machinekit/scripts/100.init.shr#L2 -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature
Re: [beagleboard] Re: Booting Android on the BeagleBone Black not working?
Run it from DC. Not USB. At least 1.5A. Gerald On Wed, Oct 2, 2013 at 10:04 AM, camillo...@gmail.com wrote: Hi! I currently managed to start the Android BeagleBone Black, but WHEN I connect the ethernet cable, the BBB switches off, no more leds, dead completely. Any idea? Camillo Il giorno giovedì 20 giugno 2013 23:22:47 UTC+2, a.jain ha scritto: I was able to put Android onto a microSD card (link here, not the TI linkhttp://icculus.org/~hendersa/android/). However, when I attempted to boot it, it would not work, as the BBB would run the eMMC. When I tried to flash it onto the BeagleBone Black, none of the user LEDs were lighting up, so I don't think that worked either. What can I do to fix 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/groups/opt_out. -- 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] How can I control Servo motor by angle information?
my problem is that I cant install bonescript and a lot of ports do not exist like this port. /sys/devices/ocp.2/helper.14/AIN5 I think i will go back to *angstrom*. or shuld be better debian? root@ubuntu-armhf:/sys/kernel/debug/pinctrl/44e10800.pinmux# export SLOTS=/sys/devices/bone_capemgr.9/slots root@ubuntu-armhf:/sys/kernel/debug/pinctrl/44e10800.pinmux# export PINS=/sys/kernel/debug/pinctrl/44e10800.pinmux/pins root@ubuntu-armhf:/sys/kernel/debug/pinctrl/44e10800.pinmux# echo $SLOTS /sys/devices/bone_capemgr.9/slots root@ubuntu-armhf:/sys/kernel/debug/pinctrl/44e10800.pinmux# echo $PINS /sys/kernel/debug/pinctrl/44e10800.pinmux/pins root@ubuntu-armhf:/home/ubuntu# cat $SLOTS 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI root@ubuntu-armhf:/home/ubuntu/boneDeviceTree/overlay# dtc -O dtb -o DM-GPIO-Test-00A0.dtbo -b 0 -@ DM-GPIO-Test.dts it get error and do not copile the line above root@ubuntu-armhf:/home/ubuntu/boneDeviceTree/overlay# apt-get install bonescript Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package bonescript root@ubuntu-armhf:/sys/devices/ocp.2# ls 44e07000.gpio48046000.timer 4900.edma nop-phy.6 44e09000.serial 48048000.timer 4a10.ethernet nop-phy.7 44e0b000.i2c 4804a000.timer 5310.sham nxptda@0.11 44e35000.wdt 4804c000.gpio 5350.aes power 44e3e000.rtc 4819c000.i2c gpio-leds.8rstctl.3 4740.usb 481ac000.gpio hdmi.12sound.13 48038000.mcasp 481ae000.gpio mmc.4 subsystem 48042000.timer 4820.interrupt-controller mmc.5 uevent 48044000.timer 4830e000.fbmodalias 2013/10/2 Tux Leonard tuxl...@gmail.com Hi Marcus, I was only general speaking. I just got my BBB and I'm not jet familiarwith the details of programming PWMs. But google gave me this answer: http://www.phys-x.org/rbots/index.php ?option=com_contentview=articleid=106:lesson-3-beaglebone-black-pwm catid=46:beaglebone-blackItemid=81 Perhaps you can try this. 2013/10/2 Marcus Diogo mvdiog...@gmail.com Hi Leonard, Wich drive are you using? I try with python adafruit and did not work. i can blink with gpio but pwm never work. i use ubuntu precise, bbb, root@ubuntu-armhf:/home/ubuntu# echo 51 /sys/class/gpio/export root@ubuntu-armhf:/home/ubuntu# echo out /sys/class/gpio/gpio51/direction /direction root@ubuntu-armhf:/home/ubuntu# echo low /sys/class/gpio/gpio51/direction but can i use the same step with pwm? root@ubuntu-armhf:/home/ubuntu# ls /sys/class/pwm export pwmchip0 pwmchip2 pwmchip3 pwmchip5 pwmchip7 unexport root@ubuntu-armhf:/home/ubuntu# ls /sys/class/pwm/pwmchip0 base device npwm power subsystem uevent I try echo am33xx_pwm /sys/devices/bone_capemgr.9/slots; echo bone_pwm_P8_19 /sys/devices/bone_capemgr.9/slots; # EHRPWM2A echo bone_pwm_P8_13 /sys/devices/bone_capemgr.9/slots; # EHRPWM2B echo bone_pwm_P9_14 /sys/devices/bone_capemgr.9/slots; # EHRPWM1A echo bone_pwm_P9_16 /sys/devices/bone_capemgr.9/slots; # EHRPWM1B but i get. root@ubuntu-armhf:/home/ubuntu# ls /sys/devices/ocp.2/pwm_test_* /sys/devices/ocp.2/pwm_test_P8_13.31: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P8_19.30: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P9_14.32: modalias power subsystem uevent /sys/devices/ocp.2/pwm_test_P9_16.33: modalias power subsystem uevent 2013/10/2 Tux Leonard tuxl...@gmail.com You can use a PWM output to drive your servo. Set the PWM cycle frequency to 50hz and the duty cycle to 1.5 ms (~7% = center position). Varying the duty cycle +/- 0.5ms should drive your servo to left and right. Power the servo by an external power source not the GPIOs of the board. Am 02.10.2013 15:43 schrieb 서재필 sjp890...@gmail.com: Hello, BB group~ I'm figuring out how to control Servo motor by angle information with my BB. I made a tracking sound c++ code and this code get some angle(degree) information. And finally i got it with my BB. The next step is controlling Servo motor by this angle information. So I'm thinking of 2 methods. First one is using Arduino(send angle information to Arduino from BB), and Second one is BB directly controls a Servo motor. But I don't know how to use gpio in BB and I wonder 2 methods I thought are possible to implement coding by just using c++ in Angstrom linux. Please give me any comments. It will be great help for me. 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
RE: [beagleboard] Remote debugging thru SSH
Sounds like a good idea to me. Not sure how viable it would be due to the number of customers. It might have to be a paid service ? From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of monzie Sent: Wednesday, October 02, 2013 8:06 AM To: beagleboard@googlegroups.com Subject: [beagleboard] Remote debugging thru SSH Problem: 1. You release a wildly successful Beagleboneblack (BBK) product. The product is one where the customer connects the BBK to the Internet thru the router on their home LAN (ie. the BBK is behind a router and does NOT have a public ip address) 2. After product release you find a major bug in your software, and the customer support calls start piling up because of this bug. 3. You find a fix but because most of your customers are not technical, it is difficult for them to update the software. Your customers start ranting about how terrible your brainchild is, you start losing hair, gaining weight, and wish you had gone into accounting instead of engineering. 4. SSH'ing into each BBK would be great because then the fix could be easily applied. I'm thinking of writing a software package that provides a solution to this. In a nutshell: 1. A web server (SERVER1) is built and connected to the internet. BBK Side: 2. Each product is given a unique ID (UNIQUE_ID) before being shipped. 3. A daemon process installed on the BBK sends an HTTP request for a file named UNIQUE_ID on SERVER1. The request is repeated periodically (say once every few seconds). 4. If the request is successful then the BBK sets up an SSH connection to SERVER1. Tech Support Side: 5. Tech support has a list of the customers and their unique IDs. 6. When a customer calls in , Tech support creates and SSH connection to SERVER1. THen creates the file UNIQUE_ID on the server. 7. Tech support can now SSH into the customer's BBK. I am a little unclear still on SSH port forwarding but I am pretty sure the SSH connections thru SERVER1 should be relatively easy to set up. Thoughts, comments, opinions? Is there something out there already that is simple to use? Anybody want to work with me on this? Monzie -- 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. No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4142 / Virus Database: 3604/1 - Release Date: 09/24/13 _ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4142 / Virus Database: 3604/6712 - Release Date: 09/30/13 -- 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] Bootchart on Ubuntu (slow boot)
On Wednesday, October 2, 2013 10:02:05 AM UTC-4, RobertCNelson wrote: On Tue, Oct 1, 2013 at 8:18 PM, Dan Lipsitt d...@typeamachines.comjavascript: wrote: The reason I ask is that it takes about two minutes for a login prompt to show up over my ftdi serial line. The console logging from the kernel stops after about ten seconds, then nothing for a long time, then finally the prompt comes up. 2 minutes do you have the ethernet port connected to anything? If not, nuke the eth0 line in /etc/network/interfaces ... (the delay is a 'fix' for another bug..) Alternately, edit the file /etc/init/failsafe.conf and place a comment symbol(#) in front of each of the sleep lines. http://tech.pedersen-live.com/2012/05/disable-waiting-for-network-configuration-messages-on-ubuntu-boot/ I do this on all my systems at home[running Linux Mint]...when I forget to my kids are sure to remind me the next time they boot one up and it takes too long to start. -- 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] Remote debugging thru SSH
Just my 2 cents. Your idea is absolutely feasible. If you take a look at minipwner, it creates an ssh tunnel, which I believe is what you want to accomplish. The only and most unpredictable problem is going to be the end user. If they are like me nothing goes on my network unless I am absolutely sure what it is doing and that I am the one in control of it. So the auto update idea may be your best option. As for the debugging you may also set it up so that it records the logs and sends them out at set intervals. That way the customers are sure that there isn't anyone inside their network when they shouldn't be. On Oct 2, 2013 6:05 AM, monzie monzie9...@gmail.com wrote: Problem: 1. You release a wildly successful Beagleboneblack (BBK) product. The product is one where the customer connects the BBK to the Internet thru the router on their home LAN (ie. the BBK is behind a router and does NOT have a public ip address) 2. After product release you find a major bug in your software, and the customer support calls start piling up because of this bug. 3. You find a fix but because most of your customers are not technical, it is difficult for them to update the software. Your customers start ranting about how terrible your brainchild is, you start losing hair, gaining weight, and wish you had gone into accounting instead of engineering. 4. SSH'ing into each BBK would be great because then the fix could be easily applied. I'm thinking of writing a software package that provides a solution to this. In a nutshell: 1. A web server (SERVER1) is built and connected to the internet. BBK Side: 2. Each product is given a unique ID (UNIQUE_ID) before being shipped. 3. A daemon process installed on the BBK sends an HTTP request for a file named UNIQUE_ID on SERVER1. The request is repeated periodically (say once every few seconds). 4. If the request is successful then the BBK sets up an SSH connection to SERVER1. Tech Support Side: 5. Tech support has a list of the customers and their unique IDs. 6. When a customer calls in , Tech support creates and SSH connection to SERVER1. THen creates the file UNIQUE_ID on the server. 7. Tech support can now SSH into the customer's BBK. I am a little unclear still on SSH port forwarding but I am pretty sure the SSH connections thru SERVER1 should be relatively easy to set up. Thoughts, comments, opinions? Is there something out there already that is simple to use? Anybody want to work with me on this? Monzie -- 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. -- 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] BBB dead after flash
I presume you're referring to this: http://elinux.org/BeagleBoard On Wednesday, October 2, 2013 11:18:12 AM UTC-4, Gerald wrote: Yes, please use my Wiki Follow it to the letter. No shortcuts. No USB power. No Ethernet. Gerald On Tue, Oct 1, 2013 at 7:39 PM, Michael Vittiglio michael@gmail.comjavascript: wrote: I used the instructions at this URL: http://beagleboard.org/Getting%20Started. I got the latest image from this one: http://beagleboard.org/latest-images (I used the top image). I would later be informed in the IRC channel to use the image found on this URL: http://circuitco.com/support/index.php?title=Updating_The_Software(production image 2013.09.04) On Sunday, September 29, 2013 6:58:58 PM UTC-4, Gerald wrote: You most likely did something wrong. Which instructions did you follow? Gerald On Sun, Sep 29, 2013 at 5:57 PM, Michael Vittiglio michael@gmail.com wrote: I managed to try and flash my BBB with the image on the website but after it completed the process and I tried to reboot the board simply does not work. I tried booting again via SD card, turning off the power, changing to another type of SD card, changing power supply and nothing will make the device stir. Is there any way I can absolutely verify that there's no way to repair this guy (or see if it's completely dead vs mostly dead)? I'm lured by very technical challenges but the internet seems to be failing me at the moment. If nothing else, can there be a RMA? I purchased this device at the maker faire last weekend. 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...@**googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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] Bootchart on Ubuntu (slow boot)
On Wed, Oct 2, 2013 at 2:06 PM, Dan Lipsitt d...@typeamachines.com wrote: On Wednesday, October 2, 2013 7:02:05 AM UTC-7, RobertCNelson wrote: did update your boot arguments in uEnv.txt to include: optargs=initcall_debug printk.time=y quiet init=/sbin/bootchartd As I said, there's no bootchartd on my system. There is something called /lib/bootchart/collector. Is bootchartd supposed to be in my initrd or something? haha that's funny... Something in Debian, but not in Ubuntu.. http://packages.ubuntu.com/search?searchon=contentskeywords=bootchartdmode=suite=precisearch=any http://packages.debian.org/search?searchon=contentskeywords=bootchartdmode=exactfilenamesuite=stablearch=any 2 minutes do you have the ethernet port connected to anything? If not, nuke the eth0 line in /etc/network/interfaces ... (the delay is a 'fix' for another bug..) I have tried with eth0 set to allow-hotplug and also entirely commented out, but I still have the two-minute delay. I don't see any Waiting for network configuration... messages coming from failsafe either. It's still ubuntu, that isn't going to help.. Once your up and running just comment them out.. sudo sed -i -e 's:sleep 20:#sleep 20:g' /etc/init/failsafe.conf sudo sed -i -e 's:sleep 40:#sleep 40:g' /etc/init/failsafe.conf sudo sed -i -e 's:sleep 59:#sleep 59:g' /etc/init/failsafe.conf Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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: BBB RT patch
Hey Gluseppe, I didn't think about xenomai, sure I will try and share the results. Thanks :) On Tuesday, October 1, 2013 12:17:55 PM UTC+5:30, Giuseppe Iellamo wrote: With the help of Charles Steinkuehler I brought up Xenomai on my BBB and it seems to work very well. The post is here: https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/BC5Et2nQFOU Il giorno martedì 1 ottobre 2013 03:44:36 UTC+2, wittend ha scritto: I am interested in tightening up the performance of the BBB as well. I would like to hear about either your experience with this or that of anyone else who has tried it. Dave On Monday, September 30, 2013 2:32:07 PM UTC-5, jeshu wrote: Hello List, Previously I have implemented my applications with Real time kernel in my Beaglebone White using Robert Nelson's kernel. Now I am going to change the platform/board to BBB, I am unable to find any RT patched kernel. Can anybody post me the links where I can find the PT patched 3.8. kernel ? Thanks, Jeshwanth Bangalore -- 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: PRU FAQ 2013-05-15
On 9/30/2013 8:40 AM, dthphon...@gmail.com wrote: Is it possible to use these two PRU (pru0 and pru1) simultaneously to control fast GPIO in direct PRU - output mode? If yes, how can we do that with only r30? Each PRU has it's own r30, which drives the direct outputs (assuming you have the pinmux setup properly). You can only drive a limited number of the BeagleBone header pins using PRU direct I/O, and a lot of the pins are shared with the LCD/HDMI interface. -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature
Re: [beagleboard] Re: Audio-cape eeprom dump wanted
The Digikey Serial cape was shipped configured to support CAN. Its marked that way and is rev A2 ITS HERE http://circuitco.com/support/index.php?title=BeagleBone_CANBus what I saw at least with Ubuntu and 3.8 kernel. The cape manager requested my firmware then I got this Kernels failed to load BB-BONE-SERL-01-00A2.dtbo I did find a version of the source for BB-BONE-SERL-01-00A2.dts in Angstrom but would have thought that the eeprom just contains BB-BONE-SERL-01-00A2 I have yet to try compiling the source and placing it in the correct place. If anyone knows for sure what the process is for the cape manager or where it is described that would be nice From: garyamort garyam...@gmail.com To: beagleboard@googlegroups.com Sent: Wednesday, October 2, 2013 3:40 PM Subject: [beagleboard] Re: Audio-cape eeprom dump wanted As I understand it, the EEPROM just contains a copy of the compiled device tree, which you already have on any up to date kernel in the /firmware directory[for example BB-BONE-AUDI-01-00A0.dtbo] If you use one of the kernel compilation scripts, you should even have a copy of the source code in KERNEL/firmware/capes -- 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. -- 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: BBB, Ubuntu 13.10 (RCN distro) - stk1160 (EasyCap) not recognized
Any further hint? BR Ivan On Sunday, September 29, 2013 9:34:17 PM UTC+2, garyamort wrote: On Saturday, September 28, 2013 4:50:14 PM UTC-4, Ivan Korman wrote: Hi I'm running on my BeagleBone Black Ubuntu 13.10 from Robert Nelson (full prebuilded install from https://rcn-ee.net/deb/rootfs/saucy/, as-is, no customizations) and I'm trying to use USB video capture device, EasyCap which is based on stk1160 chipset. As I'm running kernel 3.8.13-bone28, my understanding was that stk1160 should be supported in the kernel It should be. Checking both my Mint desktop and my Ubuntu bone kernel config options, they both compile stk1160 as a module. So my question would be, are you plugging the webcam directly into the large USB plug or do you have a USB hub attached to it to allow multiple devices to connect? -- 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] Cape Header Un-google-able part Found (SSHS-123-D-02-GT-LF)
You are right (of course). I didn't know to look there. For anyone else who finds this thread, here is a link to the reference manual ( http://beagleboard.org/static/beaglebone/latest/Docs/Hardware/BONE_SRM.pdf) and in there section 7.3 lists the headers. On Wednesday, October 2, 2013 2:55:21 PM UTC-5, Gerald wrote: They are listed in the System Reference Manual ready for download on the support wiki. Gerald On Wed, Oct 2, 2013 at 12:43 PM, Patrick Finucane patrick@gmail.comjavascript: wrote: Hi, I found that the part numbers for headers in many capes and in the beagle bone BOM is hard to find with google. After a couple of days I found them. For example BeagleBone BOMhttps://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_BOM.xls?raw=true, has the header listed under MLE (which turns out to be major league electronics http://www.mlelectronics.com/) and part number SSHS-123-D-02-GT-LFhttp://www.mlelectronics.com/products/part/index.php?si=SSHS-1. I was unable to google either of thoses so I wanted to share the link. I was mostly looking for pass through sockets for a cape I am working on. MLE sells them too. Major league electronics sells mostly in bulk so there isn't a link on their site to order online. But after emailing them I found that they put up a store just for the beagle bone. You can find it through google if you know where to look (ie google Major League Electronics Beagle bone store). But the link is here: http://www.retrodesignlab.com/beaglebone/store-2/ For a cape header I think this is the right one: http://www.retrodesignlab.com/beaglebone/store-2/#!/~/product/category=5050080id=21110483 (SSHQ-123-D-10-GT-LF) I was unable to find anything on mouser or digikey. Jameco has something close but with only 40 pins (not 46). Adafruit does sell something that looks like it is equivalent here: http://www.adafruit.com/products/706 for about the same price. Anyway just thought I would share. Patrick -- 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 javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- 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] BBB, PRUSSV2, using timer on IEP
On 10/2/2013 3:54 PM, Ivan Korman wrote: Well, call me crazy, but I copied the same code as posted in first mail and now works fine. Kill me if I know whats is/was going on. We'll let you live for now... :) snip device tree loading and pypruss ...that all looks OK. I haven't used pypruss, but others have and I don't know of any serious problems with it. I don't know: maybe I was just tired or there is some hidden glitch. Anyway thx guys for the help - if nothing, I did learned few new things :) I appreciate it... It was just broken until you asked for help! Complex devices seem to self-generate properties like this that border on the mystical. :) Personally, I blame quantum mechanics. Ever since they came up with the quantum theory, my favorite writing pencil has exhibited a half-life that continues to shrink. At the moment it's down to about a week and a half, but at least the pencil seems to re-appear mysteriously several days after vanishing. Probably some law about the conservation of energy or something... ;-) -- Charles Steinkuehler char...@steinkuehler.net signature.asc Description: OpenPGP digital signature
[beagleboard] enabling xinetd through systemd
In trying to set up a custom network service under Angstrom, I ran into the fact that xinetd doesn't automatically start at boot time. Some digging showed that /etc/systemd/system/xinetd.service is just a link to /dev/null. That's referred to on this page, apparently in relation to the eMMC: http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process Unfortunately, all the page says is, I'll explain this part at some point: I assume there's some kind of conflict that's difficult to resolve by other means. That leads to a question though: is it possible to enable xinetd at boot through the systemd interface, or do I need to do it some other way? -- 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] enabling xinetd through systemd
In trying to set up a custom network service under Angstrom, I ran into the fact that xinetd doesn't automatically start at boot time. Some digging showed that /etc/systemd/system/xinetd.service is just a link to /dev/null. That's referred to on this page, apparently in relation to the eMMC: http://www.crashcourse.ca/wiki/index.php/BBB_software_update_process Unfortunately, all the page says is, I'll explain this part at some point: I assume there's some kind of conflict that's difficult to resolve by other means, but is it possible to enable xinetd at boot through the systemd interface? If not, what fallback mechanism does Angstrom offer for starting things at boot time? -- 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] PRU with external ADC
Can the PRU be used to interface the Beaglebone to external ADC? I need to capture 500 micro-seconds of data at a 5 MHz rate. -- 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: Getting Touch Events to work using BeagleBoard xM ULCD7 Angstrom and JavaFX
Hi All, I know that this thread is old but I didn't find an answer yet. I have a similar issue. I'm using a Raspberry PI and a Lilliput 619AT 7 resistive touchscreen. The touchdriver is eGalax. It's working well on X11 but when I run my JAVAFX application, my software can't get the touch events. Running my app over SSH, and doing cat /dev/input/event4 I can see that the touch events are being triggered, because it shows on the terminal some stuff every time I touch the screen on my JAVAFX app. So, I think the problem is that my JAVA app can't identify or read this events. Do you guys have any ideia on how to solve it? Thank you, Sergio Soares On Monday, December 10, 2012 12:05:03 AM UTC-3, carl...@gmail.com wrote: All, I'm trying to create a project to run *JavaFX* applications that will respond to touch events similar to a demo presented at JavaOne 2012 described herehttp://fxexperience.com/2012/10/building-the-javaone-kiosks-park-1/. Instead of obtaining the same 10 display (Chalkboard Electronicshttp://www.chalk-elec.com/1024x600 LCD) similar to the demo I purchased the *ULCD7 Lite* by CircuitCo http://beagleboardtoys.com at http://beagleboardtoys.com/wiki/index.php?title=ULCD7_Lite . Oracle engineers have been gracious in giving me advice while following instructions http://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html(JavaFX Developer Preview for ARMhttp://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html) to create an Angstrom build for the screen resolution of the ULCD7 Lite. To save on a lot of steps Gerrit Grunwald has created a great blog posthttp://harmoniccode.blogspot.com/2012/10/who-let-dogs-out.htmlwith detailed steps and also having links to an already built Angstrom image. I believe the only difference between my setup and Gerrit's is that the uEnv.txt (step 5) contains the following: vram=24M dvimode=800x4...@60 mem=99M@0x8000 mem=384M@0x8800 omapfb.vram=0:12M,1:8M,2:4M javascript: optargs=consoleblank=0 console=console=ttyO2,115200n8 mmcroot=/dev/mmcblk0p2 When finished with all the steps without any errors, you will notice the touch screen works in the window manager (*Gnome*). Having said that I'm not sure if it is actual native touch events or points converted to mouse events. Either way when you run a JavaFX application demo (*BouncingBalls*) the touch events aren't being received at all. When using your mouse to click in the JavaFX application window I'll notice mouse events work correctly. For those interested in low level touch events I wanted to point out an excerpt from the JavaFX Developer Preview for ARMhttp://jdk7.java.net/fxarmpreview/javafx-arm-developer-preview.html: *Note on Touch Display:* The JavaFX developer preview for ARM supports both mouse and touch input. However, many touch screens are not well supported by Linux. In order to work, the touch screen must have a Linux driver that creates a device file under /dev/input and sends EV_KEY, EV_ABS and EV_SYN events. The following touch screens are known to work: - 3M M2256PW - Chalkboard Electronics 1024x600 LCD display with touch screen for BeagleBoard xM. The 1280x800 model may also work, although the BeagleBoard xM might need to use a reduced refresh rate in order to drive this screen. I created this post as a Discussion and not a Question, because I want to (not only) learn but share with others on solving this ISSUE. Hopefully each vendor, community leader, hobbyist and/or OS software build expert can assist in integrating all these parts. Shown below is my parts list: *Hardware:* - BeagleBoard-xM (Rev C BB-XM-00), - ULCD7 Litehttp://beagleboardtoys.com/wiki/index.php?title=ULCD7_Lite(touch screen) - 16gb SD class10 card - 5v 2amp power adapter - USB (keyboard and mouse) *Software:* - Virtual Box (Ubuntu 12.04) - Angstrom - CircutiCo image Angstrom 01-11-12http://beagleboardtoys.com/wiki/files/ulcd7/BeagleBoard-xM_RevC1_ULCD7-Lite_01_11_12.7z - Gerrit Grunwald's blog Angstrom imagehttp://harmoniccode.blogspot.com/2012/10/who-let-dogs-out.html - JavaFX Preview sdk http://jdk7.java.net/fxarmpreview/ - JavaFX demoshttp://www.java.net/download/JavaFXarm/javafx_samples-8_0_0-ea-linux.zip Thanking you all in advance. Any help would be greatly appreciated. :-) Carl Twitter: @carldea Blog: http://carlfx.wordpress.com -- 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] PC USB input to Beagle board black HDMI out to secondary LCD monitor.
Support group; -- 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] Bootchart on Ubuntu (slow boot)
Stuff started showing up in /var/log/bootchart after I ran service bootchart restart. I didn't have to change my uEnv.txt. Removing the sleep commands from /etc/init/failsafe.conf did indeed speed up the boot. I wish I understood better what the failsafe was meant to fix. I'm trying to create a system that can work over wired or wireless ethernet. Am I in for bootup problems later on when I add eth0 back in? Thanks to both of you! Dan -- 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] Bootchart on Ubuntu (slow boot)
On Wed, Oct 2, 2013 at 5:04 PM, Dan Lipsitt d...@typeamachines.com wrote: Stuff started showing up in /var/log/bootchart after I ran service bootchart restart. I didn't have to change my uEnv.txt. Removing the sleep commands from /etc/init/failsafe.conf did indeed speed up the boot. I wish I understood better what the failsafe was meant to fix. I'm trying to create a system that can work over wired or wireless ethernet. Am I in for bootup problems later on when I add eth0 back in? It's meant to fix a bug where the user wants the network to be setup before the login screen appears. (thank god it at-least time's out..) I disable it by default in all my images... Regards, -- Robert Nelson http://www.rcn-ee.com/ -- 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: Tutorial: Installation of Ralink/MediaTek MT7601 based USB Wifi modules on BeagleBone Black
Thanks. Any plans to get it into the upstream kernel? -- 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] Remote debugging thru SSH
You are welcome and to be honest, i would go with what you feel most comfortable with. I have tried a bunch of different languages and personally prefer c++. I have found it to be the the most well rounded for my needs but those were my needs. I have not used python before so i can not say if it is better or not. It is basically just going to boil down to what you are comfortable and proficient with. Now please keep in mind that i have not done much programming in the last 10 years and i am sure things have changed since then. There may be better languages out there to use. On Wed, Oct 2, 2013 at 4:27 PM, monzie monzie9...@gmail.com wrote: Thanks for the links, very helpful. I take your point about privacy. The use case I am thinking of is this: 1. The product is designed to work wirelessly. However I expect some customers to have issues connecting to their wireless network because they don't know their essid, or type in the wrong passphrase, or their router is not configured correctly, etc... 2. When the customer exhausts all troubleshooting and still can't connect, he can plug in an ethernet cable into the bbk. A valid ethernet connection will signal to the bbk to start the ssh connection. 3. The software is going to be open source, so technical people like yourself can configure it as they wish, for instance disabling the ssh debugging option. Any thoughts on the programming environment for the server? I am leaning towards Python. On Wednesday, October 2, 2013 2:40:39 PM UTC-4, Wilfredo Nieves wrote: You may find these bit of reading interesting. http://** chamibuddhika.wordpress.com/**2012/03/21/ssh-tunnelling-**explained/http://chamibuddhika.wordpress.com/2012/03/21/ssh-tunnelling-explained/ On Wednesday, October 2, 2013 12:30:33 PM UTC-6, Wilfredo Nieves wrote: Just my 2 cents. Your idea is absolutely feasible. If you take a look at minipwner, it creates an ssh tunnel, which I believe is what you want to accomplish. The only and most unpredictable problem is going to be the end user. If they are like me nothing goes on my network unless I am absolutely sure what it is doing and that I am the one in control of it. So the auto update idea may be your best option. As for the debugging you may also set it up so that it records the logs and sends them out at set intervals. That way the customers are sure that there isn't anyone inside their network when they shouldn't be. On Oct 2, 2013 6:05 AM, monzie monzi...@gmail.com wrote: Problem: 1. You release a wildly successful Beagleboneblack (BBK) product. The product is one where the customer connects the BBK to the Internet thru the router on their home LAN (ie. the BBK is behind a router and does NOT have a public ip address) 2. After product release you find a major bug in your software, and the customer support calls start piling up because of this bug. 3. You find a fix but because most of your customers are not technical, it is difficult for them to update the software. Your customers start ranting about how terrible your brainchild is, you start losing hair, gaining weight, and wish you had gone into accounting instead of engineering. 4. SSH'ing into each BBK would be great because then the fix could be easily applied. I'm thinking of writing a software package that provides a solution to this. In a nutshell: 1. A web server (SERVER1) is built and connected to the internet. BBK Side: 2. Each product is given a unique ID (UNIQUE_ID) before being shipped. 3. A daemon process installed on the BBK sends an HTTP request for a file named UNIQUE_ID on SERVER1. The request is repeated periodically (say once every few seconds). 4. If the request is successful then the BBK sets up an SSH connection to SERVER1. Tech Support Side: 5. Tech support has a list of the customers and their unique IDs. 6. When a customer calls in , Tech support creates and SSH connection to SERVER1. THen creates the file UNIQUE_ID on the server. 7. Tech support can now SSH into the customer's BBK. I am a little unclear still on SSH port forwarding but I am pretty sure the SSH connections thru SERVER1 should be relatively easy to set up. Thoughts, comments, opinions? Is there something out there already that is simple to use? Anybody want to work with me on this? Monzie -- 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/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- 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,
Re: [beagleboard] BBB doesn't start with a USB Serial cable plugged to the USB Host
Yes, it's via pin 5 of the serial connector. 2013/10/2 Gerald Coley ger...@beagleboard.org Make sure the PC/Laptop/Whatever has the same ground connection as the DC power supply. Gerald On Wed, Oct 2, 2013 at 9:39 AM, Miguel Aveiro miguel.zaca...@gmail.comwrote: Hi everybody, I have a BBB with a USB Serial plugged to the USB Host (P3). I'm using a 5V power supply connected on P1. If I disconnect the power supply with the USB Serial still plugged, and connect again, the BBB doesn't init (the power led does not turn on). If I unplug the USB Serial, connect the power supply and then plug the USB Serial, everything works. I tested with 3 different 5V power supplies (1A, 2A and 2,5A), and the result is the same. Does anybody had the same problem? I looked the schematic and didn't see anything that prevent the board to start. Thanks, Miguel -- 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. -- 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. -- 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: PRU FAQ 2013-05-15
and a lot of the pins are shared with the LCD/HDMI interface. Which can be made available by disabling the hdmi framer by adding the following to uEnv.txt on the fat32 partition: capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN On Wed, Oct 2, 2013 at 1:03 PM, Charles Steinkuehler char...@steinkuehler.net wrote: On 9/30/2013 8:40 AM, dthphon...@gmail.com wrote: Is it possible to use these two PRU (pru0 and pru1) simultaneously to control fast GPIO in direct PRU - output mode? If yes, how can we do that with only r30? Each PRU has it's own r30, which drives the direct outputs (assuming you have the pinmux setup properly). You can only drive a limited number of the BeagleBone header pins using PRU direct I/O, and a lot of the pins are shared with the LCD/HDMI interface. -- Charles Steinkuehler char...@steinkuehler.net -- 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: BBB, Ubuntu 13.10 (RCN distro) - stk1160 (EasyCap) not recognized
On Wednesday, October 2, 2013 4:56:34 PM UTC-4, Ivan Korman wrote: Any further hint? So, finally googled skt1160 and after looking through the results, I'm thinking the issue might be the device. Based on http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33t=18831sid=057d5de92feb665cf10f4905c1929e32 where you have many different people having varying degrees of failures - including some where it works only if plugged in upon bootup and not unplugged, and others where they have to periodically unplug it and plug it back in - my guess is that because this chip is so generic that the quality of production is all over the place. I'd also guess that your issue is related to power. Even though your BBB has a decent power supply, I'm betting that TI was very careful with power regulation for the USB host and it just will NOT supply more than 500mA of power[which is what it is clearly rated to for and which is more than enough for any USB compliant device]. Wheras if the producer of your your particular device was sloppy/didn't care they may need more than 500mA which most PC's these days will provide despite it being so far out of spec. -- 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] Remote debugging thru SSH
The problem with python in some situations is that it will use more CPU cycles, and can be horrendously slow compared to many native alternatives. Just a for example and very rough ( going from memory here . . .) C/C++ for one benchmark I looked at was around 7-8 seconds. ADA2005 roughly 12, nodejs(javascript) roughly 18 seconds, and lots in between but Python was somewhere around 80-90 seconds to complete the same task. Anyway this is obviously algorithm specific, and I do personally like python syntactically, but in a situation like this . . . yeah I'd most definitely go a different route. On Wed, Oct 2, 2013 at 5:34 PM, Wilfredo Nieves wilfred019...@gmail.comwrote: Actually i was thinking about this some more and i believe that an ssh tunnel would be a very good option. I would go about the configuration differently though. I would add a debug setting that the customer can enable and disable if they choose to do so. For instance if they enable it and then connect network cable then the device creates the tunnel and allows connection. If they disable it the device terminates the connection and closes the tunnel. This way if they decide they want their device to run wired then there is no concern about an open port on the network. Also a thought would be to have the system monitor the connection and if after say 1 minute there isn't a response it would automatically disable debugging or if there is a connection then set a timer for say 5 minutes this way it gives you time to look at the logs without having to worry about losing the connection. And possibly create a custom reboot script reboot debug which reboots the device in debug mode so that if you have to reboot the device remotely you don't have to ask the customer to turn debug mode on again. A plus about this is that you shouldn't have to worry about trying to figure out if it is connected to the network wired or wireless. You should be able to ssh in either way. -WIL On Wed, Oct 2, 2013 at 4:27 PM, monzie monzie9...@gmail.com wrote: Thanks for the links, very helpful. I take your point about privacy. The use case I am thinking of is this: 1. The product is designed to work wirelessly. However I expect some customers to have issues connecting to their wireless network because they don't know their essid, or type in the wrong passphrase, or their router is not configured correctly, etc... 2. When the customer exhausts all troubleshooting and still can't connect, he can plug in an ethernet cable into the bbk. A valid ethernet connection will signal to the bbk to start the ssh connection. 3. The software is going to be open source, so technical people like yourself can configure it as they wish, for instance disabling the ssh debugging option. Any thoughts on the programming environment for the server? I am leaning towards Python. On Wednesday, October 2, 2013 2:40:39 PM UTC-4, Wilfredo Nieves wrote: You may find these bit of reading interesting. http://** chamibuddhika.wordpress.com/**2012/03/21/ssh-tunnelling-**explained/http://chamibuddhika.wordpress.com/2012/03/21/ssh-tunnelling-explained/ On Wednesday, October 2, 2013 12:30:33 PM UTC-6, Wilfredo Nieves wrote: Just my 2 cents. Your idea is absolutely feasible. If you take a look at minipwner, it creates an ssh tunnel, which I believe is what you want to accomplish. The only and most unpredictable problem is going to be the end user. If they are like me nothing goes on my network unless I am absolutely sure what it is doing and that I am the one in control of it. So the auto update idea may be your best option. As for the debugging you may also set it up so that it records the logs and sends them out at set intervals. That way the customers are sure that there isn't anyone inside their network when they shouldn't be. On Oct 2, 2013 6:05 AM, monzie monzi...@gmail.com wrote: Problem: 1. You release a wildly successful Beagleboneblack (BBK) product. The product is one where the customer connects the BBK to the Internet thru the router on their home LAN (ie. the BBK is behind a router and does NOT have a public ip address) 2. After product release you find a major bug in your software, and the customer support calls start piling up because of this bug. 3. You find a fix but because most of your customers are not technical, it is difficult for them to update the software. Your customers start ranting about how terrible your brainchild is, you start losing hair, gaining weight, and wish you had gone into accounting instead of engineering. 4. SSH'ing into each BBK would be great because then the fix could be easily applied. I'm thinking of writing a software package that provides a solution to this. In a nutshell: 1. A web server (SERVER1) is built and connected to the internet. BBK Side: 2. Each product is given a unique ID (UNIQUE_ID) before being shipped. 3. A daemon
Re: [beagleboard] TFTP setup for the Beaglebone Black
This wont work with Angstrom Ubuntu or Fedora . . .but here ya go http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-black-network-boot/ On Wed, Oct 2, 2013 at 8:02 AM, joeymercad...@gmail.com wrote: How can I setup TFTP server for the Beaglebone Black? -- 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. -- 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] Changing cape from CAN to RS232
Sure, here it goes: First of all, the CANBUS, ProfiBUS, RS232 and RS485 capes from Beagleboardtoys all share the same PCB. It's just different components mounted, and different jumpers configured. So what I did to the hardware was to unmount the 5 jumpers connecting the CANBUS chips to the UART and connector, and instead mount them to connect the RS232 driver chip, which I also mounted. Yes, hand soldering 0402 chip components is not for the faint of heart, or for those with un-sharp soldering irons. I have plenty of experience and a MIL-SPEC soldering certificate So now the software part: The only thing that is important for the kernel cape manager is the board part no and revision no in the EEPROM. The EEPROM format is specified in the BB System Reference Manual, except for one thing that is missing: It says the part number is 16 bytes. If you have a part no shorter than 16 bytes you need to pad it with . characters. I wanted to use a .dts file that was already available in the Angstrom distribution, so I called my cape a BB-UART1 of revision A0. I had some trouble trying to edit the eeprom directly, probably because the editor tried some smart way of saving that a Flash memory driver didn't like... so I made a copy, edited, and then copied the content back: cp /sys/bus/i2c/devices/1-0054/eeprom ẽeprom vi -b eeprom make edits in Replace mode cp eeprom /sys/bus/i2c/devices/1-0054/eeprom The copy into the eeprom takes a LONG time. I2c is not a fast thing... Also notice I used vi in binary mode. You can use any binary file editor, even hexedit :-) Now with a correct board part no and revision the kernel will automatically load the driver at boot. On Wednesday, October 2, 2013 7:53:09 PM UTC+2, garyamort wrote: A brief writeup on what you did would be nice so others have more concrete steps beyond my vague it's somewhere in the directory tree. -- 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.