[beagleboard] bone-debian-8.6-console-armhf-2016-09-25-2gb Permission denied

2016-09-26 Thread toni incog
Hi,

FYI. I could not login as user debian from this freshly bmapped sd booted 
image, root is possible.

Long story short:

root@beaglebone:/lib/arm-linux-gnueabihf# ls -sla /
total 92
 4 drwx-- 21  110  114  4096 Sep 25 21:06 .
 4 drwx-- 21  110  114  4096 Sep 25 21:06 ..
 4 -rw-r--r--  1 root root40 Sep 26  2016 ID.txt

110 114?

chown root:root /
chmod 755  /   

et voila, login user debian possible

--
Toni

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d0303204-08fb-47e2-8d22-154e57101f79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] versions puzzle with mifare card reader

2016-04-01 Thread toni incog
Hi, 
I have a  working acr122U usb card reader @bbb|g:

1.bbb, wheezy, kernel 4.1.18-r56
2.bbg, wheezy, kernel 3.8.13-bone71.1 (ex works Debian Image 2015-03-01)

with following recipe:

modprobe.d/rfid-blacklist

blacklist pn533
blacklist nfc

apt-get install libpcsclite1 pcsc-tools pcscd libacsccid1

nice. 

But now I pimped a bbg to jessie and latest kernel and it fails:

sudo pcscd -f  --error 
0935 ifdwrapper.c:371:IFDStatusICC() Card not transacted: 612
0555 eventhandler.c:233:EHSpawnEventHandler() Initial Check Failed on ACS 
ACR122U 00 00
0514 readerfactory.c:361:RFAddReader() ACS ACR122U init failed.
00042066 hotplug_libudev.c:501:HPAddDevice() Failed adding USB device: ACS 
ACR122U
03016030 ccid_usb.c:798:ReadUSB() read failed (1/4): -7 Resource temporarily 
unavailable

Seems the only diff is jessie vs wheezy. But somehow it can't read the usb like 
the blacklist didn't work.

Ideas? I'm out of.


-- 
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: versions puzzle with mifare card reader

2016-04-01 Thread toni incog
fired-up an amd64 jessie and that is working even without libacsccid1, 
puzzling.

-- 
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: versions puzzle with mifare card reader

2016-04-01 Thread toni incog
pcsc-lite is a userspace solution, the blacklist is to prevent kernel 
modules interfering. It's libnfc that's using the kernel drivers?
Anyway, thanks but I can fall back to wheezy. Just curious where it goes 
bananas. Now trying latest 'offical' jessie release.

google asking me to post again? I really don't get this webbased eventually 
inconsistent crap. And why 2 post buttons.. Well here we go (again)

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


[beagleboard] codesys available for beaglebone

2016-06-20 Thread toni incog
Just came along this one:

http://store.codesys.com/codesys-control-for-beaglebone-sl.html

Codesys is an implementation of iec 1131, language(s) & runtime for 
real-time plc applications. It's is used in industrial automation. E.g. 
Wago, Beckhoff en Schneider do sell plc's with codesys runtime & 
development. An implementation for r-pi is also available. I haven't tried 
it yet.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dfb20db4-7dfc-4bc2-a661-97c22234e366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Power consumption

2016-06-23 Thread toni incog
Yes, interesting. Sometime ago I've added a lipo battery to test I could 
cleanly surive power outages. When I did shutdown the bbb the battery was 
flat after a few hours which made the lipo route unusable.
I then assumed the pmic still burned some power from the lipo even when the 
bbb was shutdown.

Now I wonder if this has to do with this issue?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/010ba406-e5c3-4c36-87f8-b9e6d4a2c576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] usb-serial

2016-07-01 Thread toni incog
Could it be you're missing the usbmodeswitch package? A usb modem present 
itself as a cdrom and if the type is known usbmodeswitch will automagically 
turn it into a ttyUSBx.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1939be8b-d50b-45e5-bcb7-41606c74f087%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] upgrade to latest kernel

2014-12-01 Thread toni incog
Hi,

I want to try the latest stable? kernel 3.14.25-ti-r37 for my bbb a5c to 
see usb suspend probs are solved. Did try to apt-get the kernel but didn't 
find it.

My bbb revC is already at this kernel running fine. RevC has been flashed 
with 2014-10-29 

 
and then updated the kernel. The a5c has been flashed with 2014-08-13 
version and update kernel will provide only 3.8 versions.


Is it a good idea to take over the apt sources from the revC version:


#Kernel source (repos.rcn-ee.net) : 
https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git fetch --tags
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.net/debian/ wheezy main

and do it the apt-get way? Or is there preferred way (Don't want to flash 
again)

I'm a bit lost in kernel versions... Thx. 




-- 
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] tun module missing in kernel 3.14.25-ti-r37

2014-12-02 Thread toni incog
Trying to get my beloved openvpn up I'm stumbled on a missing module tun in 
this kernel
# CONFIG_TUN is not set

got it running 3.8-bone and also see it's enabled in config-3.17.1-armv7-x3

I guess I soon will have to learn how to build a module?

-- 
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] tun module missing in kernel 3.14.25-ti-r37

2014-12-02 Thread toni incog
Uhhh, will this lead to a new kernel which I can upgrade to? It will take 
some time before i've learned how to cross compile kernel modules.

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] tun module missing in kernel 3.14.25-ti-r37

2014-12-06 Thread toni incog
I can confirm a working tun module with openvpn with the updated kernel 
3.14.25-ti-r38.

Thanks!


On Wednesday, December 3, 2014 12:12:01 AM UTC+1, RobertCNelson wrote:
>
> On Tue, Dec 2, 2014 at 5:06 PM, toni incog  > wrote: 
> > Uhhh, will this lead to a new kernel which I can upgrade to? It will 
> take 
> > some time before i've learned how to cross compile kernel modules. 
>
> It will, i need to also rebase against (1).. Usually I queue up the 
> changes and push a build later in the week (thursday ish).. 
>
> 1: 
> http://git.ti.com/gitweb/?p=ti-linux-kernel/ti-linux-kernel.git;a=shortlog;h=refs/heads/ti-linux-3.14.y
>  
>
> 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] BBB Flying linux, a must see for every bbb owner

2015-01-22 Thread toni incog
Master hacker Andrew Trdigell at LCA let bbb fly linux:


https://www.youtube.com/watch?v=2Twl2mQAh6g

-- 
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] Contamination, SD or eMMC, Root Cause

2015-01-23 Thread toni incog
Assume you mean: ... without /un/mounting the drives under Linux.

Is there any data (or guesses) on how many times I can power down without 
unmounting before the eMMC is going to the dodo?

thx,
Michiel

On Thursday, January 22, 2015 at 8:24:44 PM UTC+1, Gerald wrote:
>
> Most common is powering off the board without mounting the drives under 
> Linux.
>
> Gerald
>
>
> On Wed, Jan 21, 2015 at 3:00 PM, > wrote:
>
>> Please reference paragraph 5.10 on p37 of BBB SRM.
>>  
>> Does memory device contamination occur due to open files in the Linux OS, 
>> or due to improperly sequenced power to a memory devices inadvertently 
>> writing to a memory device?
>>  
>> Thanks,
>>  
>> Bruce
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 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] Contamination, SD or eMMC, Root Cause

2015-01-23 Thread toni incog
Sure, let's say just your latest greatest debian kernel 3.14 running 
headless doing nothing only being great? 

Any experiences with broken eMMCs? How important is using a backup battery 
in a daily unclean power down situation. What's your feeling: days, weeks, 
months, years, decades?

Hmmm, I guess I've some work to do in shutting down some bbb's properly 
otherwise I can answer my own question. Thinking aloud a battery and 
bringing the power button external.

thx,
Michiel

On Friday, January 23, 2015 at 4:11:20 PM UTC+1, RobertCNelson wrote:
>
> On Fri, Jan 23, 2015 at 9:05 AM, toni incog  > wrote: 
> > Assume you mean: ... without /un/mounting the drives under Linux. 
> > 
> > Is there any data (or guesses) on how many times I can power down 
> without 
> > unmounting before the eMMC is going to the dodo? 
>
> Well... This "guess" needs more data.. Is the partition ro? What file 
> system? etc etc... 
>
> So without any of the important data, I'll give you the best answer: 
> "zero"... Yeap zero chance of a 100% data match of data on the drive 
> right before you yank power... 
>
> 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] power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog
When pressing the power button on a bbb with debian kernel 
linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the 
system powers down. Looking for clues I'm missing /dev/input/event0 on the 
ti kernel. Any pointers on how to solve this?

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


Re: [beagleboard] power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog


On Saturday, January 24, 2015 at 6:12:17 PM UTC+1, RobertCNelson wrote:
>
> On Sat, Jan 24, 2015 at 10:32 AM, toni incog  > wrote: 
> > When pressing the power button on a bbb with debian kernel 
> > linux-image-3.14.29-ti-r46 nothing happens. When using 3.8.13-bone70 the 
> > system powers down. Looking for clues I'm missing /dev/input/event0 on 
> the 
> > ti kernel. Any pointers on how to solve this? 
>
> Are you letting systemd know: 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff
>  
>


Hmm, running wheezy. That patch looks only for jessue? Adding this diff 
more or less to /etc/udev/rules doesn't work. Time to explore jessie?

thx,
Michiel

>
> 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: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-24 Thread toni incog
Maybe it has to do with differences in tps65217 driver 3.8 v.s 3.14?

https://github.com/beagleboard/linux/blob/3.8/drivers/mfd/tps65217.c
https://github.com/beagleboard/linux/blob/3.14/drivers/mfd/tps65217.c

regards,
Michiel

On Saturday, January 24, 2015 at 6:45:25 PM UTC+1, RobertCNelson wrote:
>
> On Sat, Jan 24, 2015 at 11:23 AM, DLF > 
> wrote: 
> > Hi, I'm running the same kernel and the power button shuts down the BBB. 
>   I 
> > have to hold it for about 5 seconds, but it does work 
>
> Actually, 5 seconds means the pmic just cycled... 
>
> It's been a little while since i tested: 
>
> jessie + systemd 
> 3.14-ti 
> push button power off 
>
> Anyone running: 1-19 jessie snapshot? 
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 
>
> But i'm just heading out, will look at it early next week.. 
>
> 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: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-25 Thread toni incog
As far as I know systemd isn't using initab. What should be in it that I / 
systemd is missing? I thought the pmic chip pwr button (can) present itself 
as a /dev/input/event0 on which acpid can do its shutdown trick.

thx,
Michiel

On Sunday, January 25, 2015 at 2:53:58 AM UTC+1, William Hermans wrote:
>
> Did you check /etc/inittab ?
>
> On Sat, Jan 24, 2015 at 11:54 AM, toni incog  > wrote:
>
>> Maybe it has to do with differences in tps65217 driver 3.8 v.s 3.14?
>>
>> https://github.com/beagleboard/linux/blob/3.8/drivers/mfd/tps65217.c
>> https://github.com/beagleboard/linux/blob/3.14/drivers/mfd/tps65217.c
>>
>> regards,
>> Michiel
>>
>> On Saturday, January 24, 2015 at 6:45:25 PM UTC+1, RobertCNelson wrote:
>>
>>> On Sat, Jan 24, 2015 at 11:23 AM, DLF  wrote: 
>>> > Hi, I'm running the same kernel and the power button shuts down the 
>>> BBB.   I 
>>> > have to hold it for about 5 seconds, but it does work 
>>>
>>> Actually, 5 seconds means the pmic just cycled... 
>>>
>>> It's been a little while since i tested: 
>>>
>>> jessie + systemd 
>>> 3.14-ti 
>>> push button power off 
>>>
>>> Anyone running: 1-19 jessie snapshot? 
>>>
>>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 
>>>
>>> But i'm just heading out, will look at it early next week.. 
>>>
>>> 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...@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] Contamination, SD or eMMC, Root Cause

2015-01-25 Thread toni incog
Interesting, I will (also) look into ro root solution, thanks!

Can I conclude that:

1. journaling ext4 is not as robust as me thought it was only capable of 
restoring limited damage 
2. Yanking power is corrupting the fs, *not* the eMMC.
3. and therefor we can repair the fs by reflash the eMMC without any 
hardware damage done.

thx,
Michiel

On Friday, January 23, 2015 at 4:39:28 PM UTC+1, RobertCNelson wrote:
>
> On Fri, Jan 23, 2015 at 9:31 AM, toni incog  > wrote: 
> > Sure, let's say just your latest greatest debian kernel 3.14 running 
> > headless doing nothing only being great? 
>
> Still missing the point.. 
>
> So in that case, you have ext4, and / mounted rw with noatime.. 
>
> Let's say it's idle: 
>
> It'll survive a few power yanks and fsck.ext4 will fix it up most of the 
> time.. 
>
> I'd say about a week before you'll have to reflash the eMMC to due 
> file system corruption... 
>
>
> > Any experiences with broken eMMCs? How important is using a backup 
> battery 
> > in a daily unclean power down situation. What's your feeling: days, 
> weeks, 
> > months, years, decades? 
>
> Really anything > then a week of unclean power down's, start looking 
> at "read only root"* and other file systems. 
>
> * We have a beagleboard-xm running on the roof of this building as a 
> webcam taking pictures all day, it's been running (off/on) for over 3 
> years on the same microSD card running Debian Squeeze, on a read only 
> rootfs.. It's powered by a solar array, so power is variable all day 
> long.. 
>
> https://wiki.debian.org/ReadonlyRoot 
>
> > 
> > Hmmm, I guess I've some work to do in shutting down some bbb's properly 
> > otherwise I can answer my own question. Thinking aloud a battery and 
> > bringing the power button external. 
>
> 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: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-26 Thread toni incog


On Monday, January 26, 2015 at 7:01:06 PM UTC+1, RobertCNelson wrote:
>
> On Sat, Jan 24, 2015 at 11:45 AM, Robert Nelson  > wrote: 
> > On Sat, Jan 24, 2015 at 11:23 AM, DLF  > wrote: 
> >> Hi, I'm running the same kernel and the power button shuts down the 
> BBB.   I 
> >> have to hold it for about 5 seconds, but it does work 
> > 
> > Actually, 5 seconds means the pmic just cycled... 
> > 
> > It's been a little while since i tested: 
> > 
> > jessie + systemd 
> > 3.14-ti 
> > push button power off 
> > 
> > Anyone running: 1-19 jessie snapshot? 
> > 
> > http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 
> > 
> > But i'm just heading out, will look at it early next week.. 
>
> Just to follow up, the push button is currently ignored in the 
> v3.14.x-ti kernel.. 
>
> Investigating... 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>


Looks like these patches are missing in the ti-kernel:

https://github.com/RobertCNelson/bb-kernel/tree/am33x-v3.14/patches/beaglebone/power
 


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.


Re: [beagleboard] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-26 Thread toni incog


On Monday, January 26, 2015 at 9:45:53 PM UTC+1, RobertCNelson wrote:
>
> On Mon, Jan 26, 2015 at 2:43 PM, toni incog  > wrote: 
> > 
> > 
> > On Monday, January 26, 2015 at 7:01:06 PM UTC+1, RobertCNelson wrote: 
> >> 
> >> On Sat, Jan 24, 2015 at 11:45 AM, Robert Nelson  
> >> wrote: 
> >> > On Sat, Jan 24, 2015 at 11:23 AM, DLF  wrote: 
> >> >> Hi, I'm running the same kernel and the power button shuts down the 
> >> >> BBB.   I 
> >> >> have to hold it for about 5 seconds, but it does work 
> >> > 
> >> > Actually, 5 seconds means the pmic just cycled... 
> >> > 
> >> > It's been a little while since i tested: 
> >> > 
> >> > jessie + systemd 
> >> > 3.14-ti 
> >> > push button power off 
> >> > 
> >> > Anyone running: 1-19 jessie snapshot? 
> >> > 
> >> > http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot 
> >> > 
> >> > But i'm just heading out, will look at it early next week.. 
> >> 
> >> Just to follow up, the push button is currently ignored in the 
> >> v3.14.x-ti kernel.. 
> >> 
> >> Investigating... 
> >> 
> >> Regards, 
> >> 
> >> -- 
> >> Robert Nelson 
> >> http://www.rcn-ee.com/ 
> > 
> > 
> > 
> > Looks like these patches are missing in the ti-kernel: 
> > 
> > 
> https://github.com/RobertCNelson/bb-kernel/tree/am33x-v3.14/patches/beaglebone/power
>  
>
> Yeap.. 
>
>
> https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/54f82fdfb2bef5660acc1753612279db62201cd9
>  
>
> Nothing like re-discovering & re-porting a patch I had re-ported awhile 
> ago. ;) 
>
> Tested/works on one bbb.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

Well, enjoy the warmth feeling of a job well done twice:)
thx,
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.


Re: [beagleboard] BeagleBone Black powers down when AC adapter is removed while the USB is connected.

2015-02-25 Thread toni incog
I like this behaviour and thought I could use it to cleanly shutdown the 
bbb. I therefore connected a 'powerbar' usb battery to the usb otg port. 
Now when I remove the 5V (strangely called ac) I expect a clean shutdown on 
power delivered by my cheap 'ups'. Only I find out that in /this/ case the 
bbb shutdown immediate instead of a clean shutdown!

So there seams to be a difference in connecting the otg usb to a pc or just 
to a powerbar.

Anyone who can explain this behaviour? In my quest to shutdown a bbb 
simple, cheap and clean.

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


Re: [beagleboard] BeagleBone Black powers down when AC adapter is removed while the USB is connected.

2015-02-25 Thread toni incog
Yes indeed, and that is a perfect way to shut down our baby. It's another 
way of pressing the power button. Thing is you need another 10 sec. of 
shutdown power (to cleanly shutdown).

So I'm looking for the use case where somebody stupid (talking 'bout me) 
yanks the 5V and I still get a clean shutdown. We need external 'ups' power 
for that last 10 sec. of shutdown. Now I keep 5V always on. Till power 
company screws up. 64 million dollar question: how many times can power 
company screw up before bbb screws up?

Question remains why I get a unclean shutdow with me (the stupid one) 
feeding 5v to otg usb with powerbar and getting clean shutdown when 
connected to regular pc. 

Call me stupid but the correct answer awaits tickets for the next frank 
zappa concert!

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


Re: [beagleboard] BeagleBone Black powers down when AC adapter is removed while the USB is connected.

2015-02-25 Thread toni incog


On Thursday, February 26, 2015 at 1:33:01 AM UTC+1, Harvey White wrote:
>
> On Wed, 25 Feb 2015 15:51:21 -0800 (PST), you wrote: 
>
> >Yes indeed, and that is a perfect way to shut down our baby. It's another 
> >way of pressing the power button. Thing is you need another 10 sec. of 
> >shutdown power (to cleanly shutdown). 
>
> That's possible with a backup supply, NIMH/NICD with a resistor to 
> charge and a diode to prevent overcharge, if you have a cutoff when 
> the batteries reach 1.1 volts, you're fine.  I'd suggest a 1 farad 
> capacitor, but the BBB wants several hundred mills when running, and I 
> suspect that's a bit much. 
>
> Yeah 1 Farad is not enough to shutdown clean.
 

> > 
> >So I'm looking for the use case where somebody stupid (talking 'bout me) 
> >yanks the 5V and I still get a clean shutdown. We need external 'ups' 
> power 
> >for that last 10 sec. of shutdown. Now I keep 5V always on. Till power 
> >company screws up. 64 million dollar question: how many times can power 
> >company screw up before bbb screws up? 
>
> Ok, comparator and you shut down (gracefully) when the DC power goes 
> away.  Problem is to determine that (if you're also battery 
> powered this is good) 
>

reading ten times, no comprending. Do you no who you are? You aint what 
your not. And that al there is. 

>
> > 
> >Question remains why I get a unclean shutdow with me (the stupid one) 
> >feeding 5v to otg usb with powerbar and getting clean shutdown when 
> >connected to regular pc. 
>
> May have to do with how the power is actually disconnected, clean off 
> vs make/break/make/break by disconnecting 
>

Ok. Could be. But it think it's hard & propably software. Don't believe in 
statistics on average.
 

>
> > 
> >Call me stupid but the correct answer awaits tickets for the next frank 
> >zappa concert! 
>
> *or is that a *sears* poncho?* 
>
> Harvey 
>
>
I guess: in serious leather!

Thanks and sorry for zappian confusion, questions still stands:
 

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


Re: [beagleboard] BeagleBone Black powers down when AC adapter is removed while the USB is connected.

2015-02-26 Thread toni incog
Yeah, you probably mean this:

https://plus.google.com/+DrewFustini/posts/jUkFsbVJVHQ

Apart from some highly regarded bb'ners advising against it I'm not looking 
for battery backup. I'm looking for easy automatic clean shutdown (aka 
eacs). 
In the plc world they're using a super capacitor to do the clean shutdown 
(and save some data to flash). 
 
I was hoping that with power supplied to the usb otg port I had an easy 
solution. Now it seems I have to make a momentary switch to short pwr_but 
for lees than 8 sec. or program a gpio to shut down the bbb when power is 
removed.

Unless I understand why the bbb is shutting down clean with usb otg 
connected to pc but not when usb otg connected to a battery. Comments 
appreciated!

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


Re: [beagleboard] Different Linux images

2015-02-26 Thread toni incog
ti: ?

whats the story of the ti 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.


Re: [beagleboard] Different Linux images

2015-02-26 Thread toni incog
Thanks for the info and as always thanks for an amazing job!

Happily running a stable ti-r51 kernel,
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: Enable / disable watchdog timer ?

2015-03-01 Thread toni incog
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: Enable / disable watchdog timer ?

2015-03-01 Thread toni incog
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 ?

2015-03-01 Thread toni incog

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.


[beagleboard] Re: Serial Debug output to ethernet

2015-09-03 Thread toni incog
booting console is serial only as far as I know. You can put serial on 
ethernet by using a serial server:

http://www.atop.com.tw/atop/product/product_detail/data/atop_iapl/en/serial_device_servers_entry_level/se5001_series/

But we prefer to turn a (second) bbb into a serial server! Just  attach a 
serial usb to the bbb and setup ser2net. Off you go!

https://packages.debian.org/search?keywords=ser2net



-- 
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] Power button and /dev/input/event0 on 4.1.10-bone16

2015-11-02 Thread toni incog

iirc power button input event is routed to acpid. See the /etc/acpi for the 
actual shutdown script.

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