Modify

Opened 6 years ago

Last modified 4 years ago

#11421 new defect

[brcm63xx] Troubles with button-hotplug

Reported by: joel_ejc@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I'm playing with buttons on my Neufbox4.
I compiled trunk r31648 with the folloning options for buttons
CONFIG_PACKAGE_kmod-input-gpio-keys-polled=y
CONFIG_PACKAGE_kmod-input-gpio-buttons=y
CONFIG_PACKAGE_kmod-button-hotplug=y

I got a crash
{{{[ 59.572000] PPP generic driver version 2.4.2
[ 60.060000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 60.308000] NET: Registered protocol family 24
[ 60.372000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)
[ 60.916000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/0
[ 63.264000] eth1: link forced UP - 100/full - flow control off/off
[ 67.156000] System halted.
[ 67.160000] System halted
}}}

If I change the order of button-hotplug module it's OK

[   15.100000] PPP generic driver version 2.4.2                                 
[   15.744000] ip_tables: (C) 2000-2006 Netfilter Core Team                     
[   15.984000] NET: Registered protocol family 24                               
[   16.048000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)               
[   16.592000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/0
[   16.628000] Button Hotplug driver version 0.4.1                              
[   27.172000] eth1: link forced UP - 100/full - flow control off/off           
[   27.336000] eth0: link UP - 100/full - flow control off                      
[   27.772000] device eth1 entered promiscuous mode                             
[   27.904000] br-lan: port 1(eth1) entered forwarding state                    
[   27.908000] br-lan: port 1(eth1) entered forwarding state

and I can get button events as described in
http://http://wiki.openwrt.org/doc/howto/hardware.button?s[]=button

Best regards
Joel

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description Changed 6 years ago by anonymous

Better typing

I'm playing with buttons on my Neufbox4.

I compiled trunk r31648 with the folloning options for buttons

CONFIG_PACKAGE_kmod-input-gpio-keys-polled=y
CONFIG_PACKAGE_kmod-input-gpio-buttons=y
CONFIG_PACKAGE_kmod-button-hotplug=y


I got a crash

[   59.572000] PPP generic driver version 2.4.2
[   60.060000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   60.308000] NET: Registered protocol family 24
[   60.372000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)
[   60.916000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/0
[   63.264000] eth1: link forced UP - 100/full - flow control off/off
[   67.156000] System halted.
[   67.160000] System halted 

If I change the order of button-hotplug module it's OK

[   15.100000] PPP generic driver version 2.4.2                                 
[   15.744000] ip_tables: (C) 2000-2006 Netfilter Core Team                     
[   15.984000] NET: Registered protocol family 24                               
[   16.048000] nf_conntrack version 0.5.0 (463 buckets, 1852 max)               
[   16.592000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/0
[   16.628000] Button Hotplug driver version 0.4.1                              
[   27.172000] eth1: link forced UP - 100/full - flow control off/off           
[   27.336000] eth0: link UP - 100/full - flow control off                      
[   27.772000] device eth1 entered promiscuous mode                             
[   27.904000] br-lan: port 1(eth1) entered forwarding state                    
[   27.908000] br-lan: port 1(eth1) entered forwarding state

and I can get button events as described in

http://http://wiki.openwrt.org/doc/howto/hardware.button?s[]=button

Best regards
Joel

comment:2 Changed 6 years ago by joel_ejc@…

I change Autoload command in package/button-hotplug/Makefile

AUTOLOAD:=$(call AutoLoad,99,button-hotplug)

instead of

AUTOLOAD:=$(call AutoLoad,30,button-hotplug)

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.