[beagleboard] syslog 'DHCPDISCOVER on eth0' when using wireless
I am using RCN debian 8.0 jessie on a beaglebone black. I am using a usb to wifi adaptor, and my ethernet port is unused. Yet my syslog is full with these messages: Mar 01 20:08:50 osbo2.mydomain.com dhclient[325]: No working leases in persistent database - sleeping. Mar 01 20:08:50 osbo2.mydomain.com dhclient[325]: No DHCPOFFERS received. Mar 01 20:08:34 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 Mar 01 20:08:14 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 Mar 01 20:08:04 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 Mar 01 20:07:54 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 Mar 01 20:07:49 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 Mar 01 20:02:10 osbo2.mydomain.com dhclient[325]: No working leases in persistent database - sleeping. Mar 01 20:02:10 osbo2.mydomain.com dhclient[325]: No DHCPOFFERS received. Mar 01 20:02:08 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 Mar 01 20:01:57 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:46 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:35 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:26 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 Mar 01 20:01:15 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:10 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 Why is dhclient running when eth0 is off? shouldn't this be up only in case eth0 is up? I intend to close this and use systemd dhclient, this way: First create this file: nano -w /etc/systemd/network/LAN.network: [Match] Name=eth0 [Network] DHCP=v4 Second enable and start the service: systemctl enable systemd-networkd.service systemctl start systemd-networkd.service -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] syslog 'DHCPDISCOVER on eth0' when using wireless
On Sun, Mar 1, 2015 at 5:30 PM, niv...@gmail.com wrote: I am using RCN debian 8.0 jessie on a beaglebone black. I am using a usb to wifi adaptor, and my ethernet port is unused. Yet my syslog is full with these messages: Mar 01 20:08:50 osbo2.mydomain.com dhclient[325]: No working leases in persistent database - sleeping. Mar 01 20:08:50 osbo2.mydomain.com dhclient[325]: No DHCPOFFERS received. Mar 01 20:08:34 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 Mar 01 20:08:14 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20 Mar 01 20:08:04 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 Mar 01 20:07:54 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 Mar 01 20:07:49 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 Mar 01 20:02:10 osbo2.mydomain.com dhclient[325]: No working leases in persistent database - sleeping. Mar 01 20:02:10 osbo2.mydomain.com dhclient[325]: No DHCPOFFERS received. Mar 01 20:02:08 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 Mar 01 20:01:57 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:46 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:35 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:26 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 Mar 01 20:01:15 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 Mar 01 20:01:10 osbo2.mydomain.com dhclient[325]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 Why is dhclient running when eth0 is off? shouldn't this be up only in case eth0 is up? I intend to close this and use systemd dhclient, this way: First create this file: nano -w /etc/systemd/network/LAN.network: [Match] Name=eth0 [Network] DHCP=v4 Second enable and start the service: systemctl enable systemd-networkd.service systemctl start systemd-networkd.service Check on connman. 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/d/optout.
Re: [beagleboard] Re: archive keyring on elinux is not found
thx, robert. my /etc/dogtag said it wasn't that old: 2014-11-19. the keyring update made my apt-get update error go away. great. suggestion: add the kernel update instructions in the same doc, too. kernel update with apt-get went very smooth. I wonder whether there is a way to apt-get to most recent kernel, rather than having to know the linux-image-... details . then again, maybe this is now fixed, too. not sure if this matters, but sudo dpkg -i rcn-ee-archive-keyring_2015.01.28~bpo70%2b20150213%2b1_all.deb still complains. thanks again, robert. /iaw On Sunday, March 1, 2015 at 8:33:25 PM UTC-8, RobertCNelson wrote: On Sat, Feb 28, 2015 at 10:58 AM, ivo welch ivo...@gmail.com javascript: wrote: actually, more generic. my BBB is running Linux 7.8 (wheezy). I am trying to update to a more recent kernel. the kernel update instructions on elinux lead to kernel 3.8.13-bone70. I want to get to a newer kernel. (I think 3.14 is now available.) so, advice here [or a pointer to the latest instructions] would be great, too. Well it depends, what does cat /etc/dogtag say? if it's newer then say Sep/October 2014: then just: sudo apt-get update ; sudo apt-get install linux-image-3.14.34-ti-r52 ; sudo reboot But if it was so old you had to add my keyring, just grap a newer snapshot: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots 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/d/optout.
Re: [beagleboard] Re: archive keyring on elinux is not found
On Sat, Feb 28, 2015 at 10:58 AM, ivo welch ivo...@gmail.com wrote: actually, more generic. my BBB is running Linux 7.8 (wheezy). I am trying to update to a more recent kernel. the kernel update instructions on elinux lead to kernel 3.8.13-bone70. I want to get to a newer kernel. (I think 3.14 is now available.) so, advice here [or a pointer to the latest instructions] would be great, too. Well it depends, what does cat /etc/dogtag say? if it's newer then say Sep/October 2014: then just: sudo apt-get update ; sudo apt-get install linux-image-3.14.34-ti-r52 ; sudo reboot But if it was so old you had to add my keyring, just grap a newer snapshot: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots 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/d/optout.
Re: [beagleboard] Audio Cape with Beaglebone Black
But, do we have to manually solder this amplifier and mic?I mean, is there any prebuilt device that amplifies the mic-recorded signals? On Sat, Feb 28, 2015 at 7:02 PM, Carl Johnson cjohn...@alum.mit.edu wrote: I used a MAX9812 http://www.digikey.com/product-detail/en/MAX9812HEXT+T/MAX9812HEXT+TCT-ND/2037124 amplifier chip and an electret condenser microphone http://www.digikey.com/product-search/en?KeyWords=102-1721-NDWT.z_header=search_go. Works really well. On Feb 25, 2015, at 12:13 AM, sns sv.zai...@gmail.com wrote: does using this audio dongle allow to record sound with microphone without biasing? On Saturday, May 4, 2013 at 5:04:28 AM UTC+5:30, Carl Johnson wrote: I have an audio cape that worked well with the original BeagleBone, although I'm struggling to get it to work with the BeagleBone Black. I'm running the latest 3.8.11 Angstrom release, and the logs show that it loads the device tree OK but for some reason it isn't recognized as an alsa device. I'll post an update if I get it working. I'm also using this audio dongle http://www.amazon.com/gp/product/B001MSS6CS/ref=oh_details_o00_s00_i00?ie=UTF8psc=1 on the BeagleBone Black, which works quite well in alsa. It only has a mono microphone input though. -- 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/ZJGwxA7BG4E/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/d/optout. -- 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/ZJGwxA7BG4E/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/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] archive keyring on elinux is not found
On Sat, Feb 28, 2015 at 10:46 AM, ivo welch ivo...@gmail.com wrote: didn't know who to tell about the dead link, so I am doing it here. wget https://repos.rcn-ee.net/debian/pool/main/r/rcn-ee-archive-keyring/rcn-ee-archive-keyring_2015.01.28~bpo70%2b20150128%2b1_all.deb sudo dpkg -i rcn-ee-archive-keyring_2015.01.28~bpo70%2b20150128%2b1_all.deb http://elinux.org/Beagleboard:BeagleBoneBlack_Debian fixed.. 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/d/optout.
[beagleboard] Enable / disable watchdog timer ?
Hello all; It seem that the watchdog timer is automatically enabled when the USB-OTG port is connected to a PC. I am running the latest Debian release, and I am wondering if is possible to disable watchdog after boot. Or after a user login ? Do I use something like “close(watchdog)” in a login script ? Or is there another/better way ?? Thanks; Bill No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book http://ca.linkedin.com/pub/bill-pretty/2b/b07/602 From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of William Pretty Security Sent: Saturday, February 28, 2015 5:52 PM To: beagleboard@googlegroups.com Subject: [beagleboard] BBB won't power DOWN when power button is pressed Hello all; I can’t remember if there is a fix for this or not. Basically when the USB-OTG port is connected to my PC, pulling the “power” signal low or removing the +5V supply causes the BBB to power off briefly and then re-boot. It seems to me that there must be a way to disable this, assuming that it is a “feature”. Thanks …. No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book http://ca.linkedin.com/pub/bill-pretty/2b/b07/602 _ No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5646 / Virus Database: 4299/9178 - Release Date: 02/25/15 No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5646 / Virus Database: 4299/9199 - Release Date: 02/28/15 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Enable / disable watchdog timer ?
I just tried with latest debian and ti-kernel installed. Powered up with 5V and usb otg connected to pc. Remove 5V: michiel@arm:~$ Broadcast message from root@arm (Sun Mar 1 20:38:52 2015): Power button pressed The system is going down for system halt NOW! clean shutdown and stays off. This is the pmic input driver sending an 'pwr_btn' event which is catched by acpid which does a clean shut down (see /etc/acpid/...) So this seems easy to configure. Only it doesn't react the same as yours. Now I'm going to look what you mean by watchdog (a black one? type beagle:) regards, Michiel -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: FFT on PRU
It's unlikely that you'll find a complete solution running on PRUSS, since PRU assembler has very limited math capability (+, -, * and boolean operators). Division is not supported (except by factors of 2) and trigonometry is far beyond the scope. But it should be possible to generate a hybrid solution with look-up tables, pre-computed on the host CPU and the PRU doing the simple math. I haven't seen such a solution yet. Happy coding, share your results! BR -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Beagleboard xM Crosscompiler
Hi there everybody, I feel amazingly stupid and I'm close to jump out of the window because of this so I'm begging you, sitting on my knees to help me out here! I am running Windows 7 64bit and also have a virtual box running ubuntu now. I will need to write a kernel module for the Beagleboard xM running embedded ubuntu. For that I would like to set up a cross compiler. There are plenty of tutorials out there how to set up eclipse with code sourcery but if I do what they tell me to do I have codesourcery in my windows path variable but in eclipse I can only choose between Cross ARM GCC-, Cross GCC- and Microsoft Visual C++-Toolchain instead of the sourcery one. If I follow other tutorials for other toolchains and what not I always come to some point where things happen that shouldn't happen according to the tutorial. As I said I'm begging you for a tutorial that helps me to install the toolchain, set it up with whatever IDE and write a hello world program to get started. Please please please prevent me from going mad! Thank you very much in advance! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Beaglebone Black not booting due to modification of uEnv.txt
Hello Graham! I referred this link deleted the MLO file so that the board will boot from SD card...From then the Board is booting from SD card... but if i remove the SD card try to connect to the system using USB it is not connecting.. I followed the above commands.. but i am not getting how can i add that MLO file back to the eMMC in which directory to add that MLO file Any help appreciated much... Thanks Regards Sagar On Monday, 9 February 2015 05:06:13 UTC+5:30, Graham wrote: Install one of the uSD card based distributions on a uSD card. Boot from the uSD card, not the on-board eMMC. cd /mnt mkdir disk mount /dev/mmcblk1p2 disk cd disk and you will see the root file system on the eMMC. go find what you broke, and fix it. sync shutdown remove the uSD and see if it boots from the eMMC. --- Graham == On Sunday, February 8, 2015 at 1:17:12 PM UTC-6, cooolf...@gmail.com wrote: I accidently modified uEnv.txt file located in eMMC of my Beaglebone black. Now the board is not booting. I can not even see BBB for serial connection from terra term (Windows 7 after drivers are installed). How can I get access to the board? If I can just access to uboot I could reflash or run it using nfs. 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/d/optout.
[beagleboard] Re: [android-porting] Re: OMAP CAMERA HAL for android on beagle.
thank you all On Sat, Feb 28, 2015 at 2:58 PM, s.rawat imsaurabhra...@gmail.com wrote: If you are well aware with v4l api you can make an application of your own usind ndj.we did the similar task of interfacing uvc camera to camera less tablet and then with acer tablet.you need to first create a v4l based command line app to capture snapshot or streamed data which you can transfer to canvas api of android via jni interface.you don't need to go through usual camera path to transfer your data from hardware to Android gui. On 28-Feb-2015 3:51 AM, Amit Pundir amit.pun...@linaro.org wrote: On 27 February 2015 at 17:27, ankit busha ankitbus...@gmail.com wrote: hello all, i need to understand CameraHAL from scrach. I know about complete v4l2 api specifications. So can u guide me from where i should start and what and all are resources to get started? This is quiet an old wiki page http://processors.wiki.ti.com/index.php/TI-Android-DevKit-Camera_Porting_Guide but it should be able to get you started. Regards, Amit Pundir On Thursday, March 26, 2009 at 12:11:40 PM UTC+5:30, Harishkumar V wrote: Hi, I have android running on beagle (2.6.27) took from git tree from android porting to beagle wikipage. Now, i have usb camera connected to beagle board. its been detected by driver. v4l-info confirms the lower interface. i want to use webcam with android. So, i went android-src/frameworks/base/camera/libcameraservice, Here, we can replace normal check pattern by camera hal driver (libcamera.so). Where to get this camera hal for omap. so that libcamera service uses this camera library instead of fake camera. Is it available. is android supports webcam and v4l2 driver interface. Any links regarding this. Regards, HarishKumar.V -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups android-porting group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups android-porting group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] PWM Error
Hi, if i try to enable PWM with this instructions: /lib/firmware# sudo sh -c echo bone_pwm_P9_22 $SLOTS /lib/firmware# sudo sh -c echo am33xx_pwm $SLOTS /lib/firmware# cat $SLOTS I always get this error even after the first line: sudo: parse error in /etc/sudoers near line 11 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin Iam logged in as root. ls pwm looks like this /lib/firmware# ls bone_pwm* bone_pwm_P8_13-00A0.dtbo bone_pwm_P8_46-00A0.dtbo bone_pwm_P9_28-00A0.dtbo bone_pwm_P8_19-00A0.dtbo bone_pwm_P9_14-00A0.dtbo bone_pwm_P9_29-00A0.dtbo bone_pwm_P8_34-00A0.dtbo bone_pwm_P9_16-00A0.dtbo bone_pwm_P9_31-00A0.dtbo bone_pwm_P8_36-00A0.dtbo bone_pwm_P9_21-00A0.dtbo bone_pwm_P9_42-00A0.dtbo bone_pwm_P8_45-00A0.dtbo bone_pwm_P9_22-00A0.dtbo Pls help me Regards 619Zoro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] BBB has network unavailible
Hello, I was running an upgrade on on my BBB when the power failed. After that apt-get was giving me several errors on some packages: open ssh-server, dbus-x11, apache2.2-common, rsyslog, apache2, apache2-mpm-worker. So I tried fixing things myself but think I deleted them. Now I can't connect to the BBB at all. I was able to start it with a monitor and get a terminal, since the graffics won't load. But nothing with network works, so I don't know how to re-install anything. What can I do to get my system running again? I don't have any files that I need to keep. Thanks -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Audio Cape with Beaglebone Black
I used a MAX9812 http://www.digikey.com/product-detail/en/MAX9812HEXT+T/MAX9812HEXT+TCT-ND/2037124 amplifier chip and an electret condenser microphone http://www.digikey.com/product-search/en?KeyWords=102-1721-NDWT.z_header=search_go. Works really well. On Feb 25, 2015, at 12:13 AM, sns sv.zai...@gmail.com wrote: does using this audio dongle allow to record sound with microphone without biasing? On Saturday, May 4, 2013 at 5:04:28 AM UTC+5:30, Carl Johnson wrote: I have an audio cape that worked well with the original BeagleBone, although I'm struggling to get it to work with the BeagleBone Black. I'm running the latest 3.8.11 Angstrom release, and the logs show that it loads the device tree OK but for some reason it isn't recognized as an alsa device. I'll post an update if I get it working. I'm also using this audio dongle http://www.amazon.com/gp/product/B001MSS6CS/ref=oh_details_o00_s00_i00?ie=UTF8psc=1 on the BeagleBone Black, which works quite well in alsa. It only has a mono microphone input though. -- For more options, visit http://beagleboard.org/discuss 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/ZJGwxA7BG4E/unsubscribe https://groups.google.com/d/topic/beagleboard/ZJGwxA7BG4E/unsubscribe. To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscr...@googlegroups.com mailto:beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Booting from SD card and not eMMC
Hi Gerald.. I deleted the MLO file I booted from the SD card loaded with Angstrom Image.. It is working fine...But now what should I do if want to boot from the eMMC storage.. If i remove the SD card if connect the SD card.. now BBB is not connecting its not showing anything on my computer.. Previously before deleting that MLO file.. i used to connect the board to computer using USB without my SD card on BBB... what should I do Any help much aprreciated Thanks Regards sagar On Saturday, 25 May 2013 05:58:44 UTC+5:30, Gerald wrote: I have not yet tried it either. Just delete the MLO file. And it will not be able to boot. No need to erase it. There is another thread going on at the same time with the same topic.Try searching the list for that one or about a dozen others that have taken place over the past month for other options. Gerald On Fri, May 24, 2013 at 7:23 PM, jackzh...@gmail.com javascript: wrote: HI Gerald, I have tried that already, and it doesn't work. I will try to boot from the SD card with that image, but I cannot connect to the board (ssh to the board). I think I will try ubuntu or something else. By the way, while I have you, how do you erase the eMMC? Jack On Friday, May 24, 2013 5:20:08 PM UTC-7, Gerald wrote: Try this one. Download is slow and it is not supported. I have no idea if it works or not. http://dominion.thruhere.net/koen/angstrom/beaglebone/ Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12- beaglebone-2013.05.24.img.xz Gerald On Fri, May 24, 2013 at 7:17 PM, Gerald Coley ger...@beagleboard.org wrote: OK. Got it. There is no Angstrom image available that you can load that just boots from the SD card. Gerald On Fri, May 24, 2013 at 7:14 PM, jackzh...@gmail.com wrote: Yes I assure you that I have read that page, 3 times actually, and it's about flashing eMMC, but I want to boot from the SD card. On Friday, May 24, 2013 5:08:07 PM UTC-7, Gerald wrote: Have you read this page? http://circuitco.com/support/index.php?title=Updating_The_Software Gerald On Fri, May 24, 2013 at 7:04 PM, jackzh...@gmail.com wrote: Hi Gerald, Which file do I download onto my SD card to boot? Say I want to use Angstrom, is it the BBB-eMMC-flasher or Angstrom-Cloud9-IDE-GNOME-e glibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz http://downloads.angstrom-distribution.org/demo/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz ? Also how do I delete the eMMC? 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_out. -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- 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_out. -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- 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. -- Gerald ger...@beagleboard.org javascript: g-co...@ti.com javascript: http://beagleboard.org/ http://circuitco.com/support/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] BBB reboot to Angstrom while running custom build OS
I currently have a Custom build OS that I load to BBB via UART serial connection. After about 1-3 Min the Beagle will reboot and load Angstrom. The OS is still in development, but is stable, and is frequently downloaded. Setup: powered: USB connected to computer Serial: tty via USB converter on the J1 serial connection downloading OS and booting BBB with bootm command OS boots and I can utilize the shell for a shot time 1-3 Min before the Beagle reboots to Angstrom Any help is greatly needed and appreciated -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] parse error in /etc/sudoers near line
Hi, i am trying to enable P9_22 as a PWM Output, and i try to pass two seperate overlays to the cape manager: /lib/fimrware$ sudo sh -c echo bone_pwm_P9_22 $SLOTS /lib/fimrware$ sudo sh -c echo am33xx_pwm $SLOTS /lib/fimrware$ cat $SLOTS but after the first line i always get the error message: sudo: parse error in /etc/sudoers near line 11 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin and i dont know how to fix it. /lib/firmware$ ls looks like this: ADAFRUIT-SPI0-00A0.dtbo RTL8192SU cape-bone-dvi-00A1.dtbo ADAFRUIT-SPI1-00A0.dtbo TT3201-001-01.dtbo cape-bone-dvi-00A2.dtbo ADAFRUIT-UART1-00A0.dtbo am335x-pm-firmware.bin cape-bone-exptest-00A0.dtbo ADAFRUIT-UART2-00A0.dtbo am33xx_pwm-00A0.dtbo cape-bone-geiger-00A0.dtbo ADAFRUIT-UART4-00A0.dtbo atmel_at76c502-wpa.bin cape-bone-hexy-00A0.dtbo ADAFRUIT-UART5-00A0.dtbo atmel_at76c502.bin cape-bone-ibb-00A0.dtbo BB-ADC-00A0.dtbo atmel_at76c502_3com-wpa.bin cape-bone-iio-00A0.dtbo BB-BONE-AUDI-01-00A0.dtbo atmel_at76c502_3com.bin cape-bone-lcd3-00A0.dtbo BB-BONE-BACON-00A0.dtbo atmel_at76c502d-wpa.bin cape-bone-lcd3-00A2.dtbo BB-BONE-BACONE-00A0.dtbo atmel_at76c502d.bin cape-bone-mrf24j40-00A0.dtbo BB-BONE-BACONE2-00A0.dtbo atmel_at76c502e-wpa.bin cape-bone-nixie-00A0.dtbo BB-BONE-CAM-VVDN-00A0.dtboatmel_at76c502e.bin cape-bone-pinmux-test-00A0.dtbo BB-BONE-CAM3-01-00A2.dtbo atmel_at76c503-i3861.bin cape-bone-proto-00A0.dtbo BB-BONE-CRYPTO-00A0.dtbo atmel_at76c503-i3863.bin cape-bone-replicape-00A2.dtbo BB-BONE-GPEVT-00A0.dtbo atmel_at76c503-rfmd-0.90.2-140.bin cape-bone-replicape-00A3.dtbo BB-BONE-GPS-00A0.dtbo atmel_at76c503-rfmd-acc.bin cape-bone-tester-00A0.dtbo BB-BONE-LCD4-01-00A0.dtbo atmel_at76c503-rfmd.bin cape-bone-weather-00A0.dtbo BB-BONE-LCD4-01-00A1.dtbo atmel_at76c504.bin cape-bone-weather-00B0.dtbo BB-BONE-LCD7-01-00A2.dtbo atmel_at76c504_2958-wpa.bin cape-boneblack-hdmi-00A0.dtbo BB-BONE-LCD7-01-00A3.dtbo atmel_at76c504a_2958-wpa.bin cape-boneblack-hdmin-00A0.dtbo BB-BONE-LCD7-01-00A4.dtbo atmel_at76c504c-wpa.bin cape-univ-emmc-00A0.dtbo BB-BONE-PRU-01-00A0.dtbo atmel_at76c505-rfmd.bin cape-universal-00A0.dtbo BB-BONE-PRU-02-00A0.dtbo atmel_at76c505-rfmd2958.bin cape-universaln-00A0.dtbo BB-BONE-PRU-03-00A0.dtbo atmel_at76c505a-rfmd2958.bin carl9170-1.fw BB-BONE-PRU-04-00A0.dtbo atmel_at76c506-wpa.bin duty BB-BONE-PWMT-00A0.dtboatmel_at76c506.bin htc_9271.fw BB-BONE-RS232-00A0.dtbo bone_pwm_P8_13-00A0.dtbo lbtf_usb.bin BB-BONE-RST-00A0.dtbo bone_pwm_P8_19-00A0.dtbolibertas BB-BONE-RST2-00A0.dtbobone_pwm_P8_34-00A0.dtbo libertas_cs.fw BB-BONE-RTC-00A0.dtbo bone_pwm_P8_36-00A0.dtbo libertas_cs_helper.fw BB-BONE-SERL-01-00A1.dtbo bone_pwm_P8_45-00A0.dtbomwl8k BB-BONE-SERL-03-00A1.dtbo bone_pwm_P8_46-00A0.dtboperiod BB-BONE-eMMC1-01-00A0.dtbobone_pwm_P9_14-00A0.dtbort2561.bin BB-BONELT-BT-00A0.dtbobone_pwm_P9_16-00A0.dtbo rt2561s.bin BB-GPIOHELP-00A0.dtbo bone_pwm_P9_21-00A0.dtbort2661.bin BB-I2C1-00A0.dtbo bone_pwm_P9_22-00A0.dtbort2860.bin BB-I2C1A1-00A0.dtbo bone_pwm_P9_28-00A0.dtbort2870.bin BB-SPIDEV0-00A0.dtbo bone_pwm_P9_29-00A0.dtbort3070.bin BB-SPIDEV1-00A0.dtbo bone_pwm_P9_31-00A0.dtbort3071.bin BB-SPIDEV1A1-00A0.dtbobone_pwm_P9_42-00A0.dtbort3090.bin BB-UART1-00A0.dtbobrcmrt73.bin BB-UART2-00A0.dtbobspm_P9_14_f-00A0.dtbo rtl_nic BB-UART2-RTSCTS-00A0.dtbo bspm_P9_14_f-00A0.dts rtlwifi BB-UART4-00A0.dtbobspwm_P9_14_e-00A0.dtbo run BB-UART4-RTSCTS-00A0.dtbo bspwm_P9_14_e-00A0.dts sd8385.bin BB-UART5-00A0.dtbocape-CBB-Serial-r01.dtbo sd8385_helper.bin DNIL-AMPCAPE-1-00R1.dtbo cape-bebopr-R2.dtbo sd8686.bin EBB-GPIO-Example-00A0.dtbocape-bebopr-brdg-R2.dtbo sd8686_helper.bin LICENCE.atheros_firmware cape-bebopr-ena-R2.dtbo sd8688.bin LICENCE.broadcom_bcm43xx cape-bone-2g-emmc1.dtbo sd8688_helper.bin LICENCE.rtlwifi_firmware.txt cape-bone-adafruit-lcd-00A0.dtbo ti-connectivity LICENCE.ti-connectivity cape-bone-argus-00A0.dtbo usb8388.bin RTL8192E cape-bone-dvi-00A0.dtbo
Re: [beagleboard] Booting from SD card and not eMMC
Well why not go here. http://beagleboard.org/latest-images http://beagleboard.org/getting-started Gerald On Sun, Mar 1, 2015 at 3:08 AM, tsjsagar...@gmail.com wrote: Hi Gerald.. I deleted the MLO file I booted from the SD card loaded with Angstrom Image.. It is working fine...But now what should I do if want to boot from the eMMC storage.. If i remove the SD card if connect the SD card.. now BBB is not connecting its not showing anything on my computer.. Previously before deleting that MLO file.. i used to connect the board to computer using USB without my SD card on BBB... what should I do Any help much aprreciated Thanks Regards sagar On Saturday, 25 May 2013 05:58:44 UTC+5:30, Gerald wrote: I have not yet tried it either. Just delete the MLO file. And it will not be able to boot. No need to erase it. There is another thread going on at the same time with the same topic.Try searching the list for that one or about a dozen others that have taken place over the past month for other options. Gerald On Fri, May 24, 2013 at 7:23 PM, jackzh...@gmail.com wrote: HI Gerald, I have tried that already, and it doesn't work. I will try to boot from the SD card with that image, but I cannot connect to the board (ssh to the board). I think I will try ubuntu or something else. By the way, while I have you, how do you erase the eMMC? Jack On Friday, May 24, 2013 5:20:08 PM UTC-7, Gerald wrote: Try this one. Download is slow and it is not supported. I have no idea if it works or not. http://dominion.thruhere.net/koen/angstrom/beaglebone/Angstr om-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz Gerald On Fri, May 24, 2013 at 7:17 PM, Gerald Coley ger...@beagleboard.org wrote: OK. Got it. There is no Angstrom image available that you can load that just boots from the SD card. Gerald On Fri, May 24, 2013 at 7:14 PM, jackzh...@gmail.com wrote: Yes I assure you that I have read that page, 3 times actually, and it's about flashing eMMC, but I want to boot from the SD card. On Friday, May 24, 2013 5:08:07 PM UTC-7, Gerald wrote: Have you read this page? http://circuitco.com/support/index.php?title=Updating_The_Software Gerald On Fri, May 24, 2013 at 7:04 PM, jackzh...@gmail.com wrote: Hi Gerald, Which file do I download onto my SD card to boot? Say I want to use Angstrom, is it the BBB-eMMC-flasher or Angstrom-Cloud9-IDE-GNOME-e glibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz http://downloads.angstrom-distribution.org/demo/beaglebone/Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz ? Also how do I delete the eMMC? 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_out. -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- 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_out. -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- 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_out. -- Gerald ger...@beagleboard.org g-co...@ti.com http://beagleboard.org/ http://circuitco.com/support/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Gerald ger...@beagleboard.org http://beagleboard.org/ http://circuitco.com/support/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] PWM Error
On Mar 1, 2015 11:13 AM, 619z...@gmail.com wrote: Hi, if i try to enable PWM with this instructions: /lib/firmware# sudo sh -c echo bone_pwm_P9_22 $SLOTS /lib/firmware# sudo sh -c echo am33xx_pwm $SLOTS /lib/firmware# cat $SLOTS I always get this error even after the first line: sudo: parse error in /etc/sudoers near line 11 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin Iam logged in as root. If your logged in as 'root' why are you even calling sudo in the first place? ls pwm looks like this /lib/firmware# ls bone_pwm* bone_pwm_P8_13-00A0.dtbo bone_pwm_P8_46-00A0.dtbo bone_pwm_P9_28-00A0.dtbo bone_pwm_P8_19-00A0.dtbo bone_pwm_P9_14-00A0.dtbo bone_pwm_P9_29-00A0.dtbo bone_pwm_P8_34-00A0.dtbo bone_pwm_P9_16-00A0.dtbo bone_pwm_P9_31-00A0.dtbo bone_pwm_P8_36-00A0.dtbo bone_pwm_P9_21-00A0.dtbo bone_pwm_P9_42-00A0.dtbo bone_pwm_P8_45-00A0.dtbo bone_pwm_P9_22-00A0.dtbo Pls help me Regards 619Zoro -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Can't boot with the new kernel, debian or ubuntu
On Mar 1, 2015 11:12 AM, serban.ovidi...@gmail.com wrote: Hi guys, It seems that I have a boot problem for my xm rev c. I am currently using the netinstall method with several sd cards: 1. Kingston SDHC class 4, 4GB 2. Kingston SDHC class 10, I 1, 16 GB On reboot, it does not pass the U-Boot SPL stage and I have to redo the mmc card. So, what did you change at the partition stage of the install? I noticed that using the netinstall method,both beagle and beagle xm boards have the same procedure. Best, Ovidiu Here is the boot sequence log: U-Boot SPL 2015.01-00011-g2efed9f (Jan 12 2015 - 17:15:10) SPL: Please implement spl_start_uboot() for your board SPL: Direct Linux boot not active! reading u-boot.img reading u-boot.img U-Boot 2015.01-00011-g2efed9f (Jan 12 2015 - 17:15:10), Build: jenkins-github_Bootloader-Builder-90 OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - readenv() failed, using default environment Beagle xM Rev C No EEPROM on expansion board No EEPROM on expansion board Die ID #2a5c00029ff8016830c31801c025 Net: usb_ether Error: usb_ether address not set. Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 Checking for: /uEnv.txt ... Checking for: /boot/uEnv.txt ... reading /boot/uEnv.txt 246 bytes read in 5 ms (47.9 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... Running uname_boot ... loading /boot/vmlinuz-current ... reading /boot/vmlinuz-current 5194104 bytes read in 321 ms (15.4 MiB/s) loading /boot/dtbs/current/omap3-beagle-xm.dtb ... reading /boot/dtbs/current/omap3-beagle-xm.dtb 63096 bytes read in 21 ms (2.9 MiB/s) loading /boot/initrd.img-current ... reading /boot/initrd.img-current 26517049 bytes read in 1614 ms (15.7 MiB/s) Installer for [utopic-armhf] is using the Video Interface Use [--serial-mode] to force Installing over the Serial Interface debug: [console=tty0 root=/dev/ram0 rw] ... debug: [bootz 0x8200 0x8808:1949e39 0x8800] ... Kernel image @ 0x8200 [ 0x00 - 0x4f4178 ] ## Flattened Device Tree blob at 8800 Booting using the fdt blob at 0x8800 Loading Ramdisk to 8e6b6000, end 8e39 ... OK Using Device Tree in place at 8800, end 88012677 Starting 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/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] [BBB] Read/Config CEC
Hi All, I'm studying how to read/config CEC on beaglebone-black. Can you please guide 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/d/optout.
[beagleboard] Re: Enable / disable watchdog timer ?
Ok, when I powered up with 5V and usb-otg connected to pc and I shortly press the power button I can replicate: clean shutdown and instant reboot Don't know where the reboot is coming from. here's pmic: [ 2.897350] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0 wrt. watchdog: I assume you mean /dev/watchdog I don't think I have it active. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Enable / disable watchdog timer ?
power button: Linux arm 3.14.34-ti-r52 #1 SMP PREEMPT Fri Feb 27 16:52:54 UTC 2015 armv7l Hi! Last login: Sun Mar 1 21:17:01 2015 from quad michiel@arm:~$ sudo cat /dev/input/event0 | xxd 000: 1274 f354 ae73 0d00 0100 7400 0100 .t.T.st. 010: 1274 f354 ae73 0d00 .t.T.s.. 020: 1374 f354 1d02 0200 0100 7400 .t.T..t. 030: 1374 f354 1d02 0200 .t.T Broadcast message from root@arm (Sun Mar 1 21:18:27 2015): Power button pressed The system is going down for system halt NOW! ... and system reboots _ 5V remove: Linux arm 3.14.34-ti-r52 #1 SMP PREEMPT Fri Feb 27 16:52:54 UTC 2015 armv7l Hi! Last login: Sun Mar 1 21:18:12 2015 from quad michiel@arm:~$ sudo cat /dev/input/event0 | xxd 000: 5f74 f354 0cae 0100 0100 7400 0100 _t.T..t. 010: 5f74 f354 0cae 0100 _t.T Broadcast message from root@arm (Sun Mar 1 21:19:43 2015): Power button pressed The system is going down for system halt NOW! .. and system stays off -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: [beagleboard] Re: Enable / disable watchdog timer ?
Hi Toni; I think I have it figured out. I have an image that works and one that doesn’t. Watchdog Not enabled: Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux Watchdog enabled: Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux Image “bone47” works like yours does. Clean shutdown with no reboot and no “watchdog enabled” boot message. It would appear that this was changed by version “bone50” sigh Thanks to Google, I found a code snippit, that should work. dev = WATCHDOGDEV; /* Once the watchdog device file is open, the watchdog will be activated by the driver */ fd = open(dev, O_RDWR); if (-1 == fd) { fprintf(stderr, Error: %s\n, strerror(errno)); exit(EXIT_FAILURE); } /* The 'V' value needs to be written into watchdog device file to indicate that we intend to close/stop the watchdog. Otherwise, debug message 'Watchdog timer closed unexpectedly' will be printed */ write(fd, V, 1); /* Closing the watchdog device will deactivate the watchdog. */ close(fd); == I just have to run it after login (I think). Later; Bill No one could make a greater mistake than he who did nothing because he could do only a little. All that is necessary for the triumph of evil is that good men do nothing Edmond Burke (1729 - 1797) http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book http://ca.linkedin.com/pub/bill-pretty/2b/b07/602 From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of toni incog Sent: Sunday, March 01, 2015 3:11 PM To: beagleboard@googlegroups.com Subject: [beagleboard] Re: Enable / disable watchdog timer ? Ok, when I powered up with 5V and usb-otg connected to pc and I shortly press the power button I can replicate: clean shutdown and instant reboot Don't know where the reboot is coming from. here's pmic: [ 2.897350] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0 wrt. watchdog: I assume you mean /dev/watchdog I don't think I have it active. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. _ No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5646 / Virus Database: 4299/9178 - Release Date: 02/25/15 -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.