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

2015-01-24 Thread DLF
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

On Saturday, 24 January 2015 17:32:26 UTC+1, 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?
>
> 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] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2016-02-04 Thread Ben T
Hi Robert,

Thanks for your previous help, and all the work you do developing the BBB 
images!

I am now using a different kernel:

[kernel: 3.8.13-bone79 Debian Wheezy 
image](https://rcn-ee.com/rootfs/bb.org/release/2015-11-03/console/BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz)

And unfortunately, with this kernel, the power button is also not working.

I have tried the fix you suggested last time, and the fix for wheezy, but 
have not been able to get the power button to work. Below is the 
/lib/udev/rules.d/70-power-switch.rules file contained in the image above:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

ACTION=="remove", GOTO="power_switch_end"

SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", 
TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", 
TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="twl4030_pwrbutton", 
TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but", 
TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="* WMI hotkeys", 
TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", \
  SUBSYSTEMS=="platform", DRIVERS=="gpio-keys", 
ATTRS{keys}=="*,116|116,*|116|*,116,*", TAG+="power-switch"

LABEL="power_switch_end"


Any suggestions for getting the power button working on this kernel (which 
I believe is the latest stable release?) would be appreciated.

Regards,

Ben

On Friday, September 18, 2015 at 8:05:22 PM UTC+8, RobertCNelson wrote:
>
> On Fri, Sep 18, 2015 at 2:32 AM, Ben T > 
> wrote: 
> > A few months ago I downloaded this image: 
> > 
> > 
> http://debian.beagleboard.org/images/bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
>  
> > 
> > Yesterday I upgraded from wheezy to jessie (changing sources.list, 
> apt-get 
> > update && apt-get upgrade etc), and now the pwr_but does not work. 
> > 
> > Any suggestions as to how I could fix this would be appreciated. 
>
> patch systemd's udev rule: 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff
>  
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://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

2016-02-04 Thread Robert Nelson
On Thu, Feb 4, 2016 at 9:29 PM, Ben T  wrote:
> Hi Robert,
>
> Thanks for your previous help, and all the work you do developing the BBB
> images!
>
> I am now using a different kernel:
>
> [kernel: 3.8.13-bone79 Debian Wheezy
> image](https://rcn-ee.com/rootfs/bb.org/release/2015-11-03/console/BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img.xz)
>
> And unfortunately, with this kernel, the power button is also not working.
>
> I have tried the fix you suggested last time, and the fix for wheezy, but
> have not been able to get the power button to work. Below is the
> /lib/udev/rules.d/70-power-switch.rules file contained in the image above:
>
> #  This file is part of systemd.
> #
> #  systemd is free software; you can redistribute it and/or modify it
> #  under the terms of the GNU Lesser General Public License as published by
> #  the Free Software Foundation; either version 2.1 of the License, or
> #  (at your option) any later version.
>
> ACTION=="remove", GOTO="power_switch_end"
>
> SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi",
> TAG+="power-switch"
> SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi",
> TAG+="power-switch"
> SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="twl4030_pwrbutton",
> TAG+="power-switch"
> SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="tps65217_pwr_but",
> TAG+="power-switch"
> SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="* WMI hotkeys",
> TAG+="power-switch"
> SUBSYSTEM=="input", KERNEL=="event*", \
>   SUBSYSTEMS=="platform", DRIVERS=="gpio-keys",
> ATTRS{keys}=="*,116|116,*|116|*,116,*", TAG+="power-switch"
>
> LABEL="power_switch_end"
>
>
> Any suggestions for getting the power button working on this kernel (which I
> believe is the latest stable release?) would be appreciated.

Which board revision is this?

Regards,

-- 
Robert Nelson
https://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

2016-02-04 Thread Ben T


> Which board revision is this? 
>
>
I am using an element14 PCB RevB6.
 

> Regards, 
>
> -- 
> Robert Nelson 
> https://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

2016-02-04 Thread Ben T


On Friday, February 5, 2016 at 11:43:56 AM UTC+8, Ben T wrote:
>
>
> Which board revision is this? 
>>
>>
> I am using an element14 PCB RevB6.
>  
>

Actually, I just checked, and it has a 3.5G /rootfs, which must mean that 
it is a Rev C, despite the labelling on the PCB.

-- 
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 Robert Nelson
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-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-24 Thread William Hermans
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+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] 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] Re: power button won't shutdown debian kernel linux-image-3.14.29-ti-r46

2015-01-26 Thread Robert Nelson
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/

-- 
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 Robert Nelson
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/

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

2015-09-18 Thread Ben T
A few months ago I downloaded this image:

http://debian.beagleboard.org/images/bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz

Yesterday I upgraded from wheezy to jessie (changing sources.list, apt-get 
update && apt-get upgrade etc), and now the pwr_but does not work.

Any suggestions as to how I could fix this would be appreciated.

Thanks.

Here are the stats for my BBB:

debian@beaglebone:~$ uname -a
Linux beaglebone 3.8.13-bone72 #1 SMP Tue Jun 16 21:36:04 UTC 2015 armv7l 
GNU/Linux
debian@beaglebone:~$ lsb_release -a
No LSB modules are available.
Distributor ID:Debian
Description:Debian GNU/Linux 8.2 (jessie)
Release:8.2
Codename:jessie


On Tuesday, January 27, 2015 at 4:45:53 AM UTC+8, 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/ 
>

-- 
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-09-18 Thread Robert Nelson
On Fri, Sep 18, 2015 at 2:32 AM, Ben T  wrote:
> A few months ago I downloaded this image:
>
> http://debian.beagleboard.org/images/bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
>
> Yesterday I upgraded from wheezy to jessie (changing sources.list, apt-get
> update && apt-get upgrade etc), and now the pwr_but does not work.
>
> Any suggestions as to how I could fix this would be appreciated.

patch systemd's udev rule:

https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff

Regards,

-- 
Robert Nelson
https://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-09-18 Thread Ben T
Thanks for the quick reply Robert.

This does not seem to fix my problem.

I even downloaded a new image 
(bone-debian-8.2-lxqt-4gb-armhf-2015-09-13-4gb.img), put it straight onto a 
microSD, checked that the patch you mention had been applied (which it had) 
- still my BBB does not power-down on the press of the power button.

This problem should hopefully be fairly easily reproducible. I would 
welcome any further suggestions.

Regards,

Ben

On Friday, September 18, 2015 at 8:05:22 PM UTC+8, RobertCNelson wrote:
>
> On Fri, Sep 18, 2015 at 2:32 AM, Ben T > 
> wrote: 
> > A few months ago I downloaded this image: 
> > 
> > 
> http://debian.beagleboard.org/images/bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img.xz
>  
> > 
> > Yesterday I upgraded from wheezy to jessie (changing sources.list, 
> apt-get 
> > update && apt-get upgrade etc), and now the pwr_but does not work. 
> > 
> > Any suggestions as to how I could fix this would be appreciated. 
>
> patch systemd's udev rule: 
>
>
> https://github.com/RobertCNelson/boot-scripts/blob/master/mods/jessie-systemd-poweroff.diff
>  
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://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.