Modify

Opened 3 years ago

Last modified 3 years ago

#20259 new defect

rfkill with tr842nd v2

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:

Description

Log from single press (and immediate release) of rfkill button:

Fri Jul 31 22:05:42 2015 user.notice DEBUG: hotplug button: action='released' button='rfkill' type='switch'
Fri Jul 31 22:05:42 2015 kern.info kernel: [ 1688.360000] device wlan0 left promiscuous mode
Fri Jul 31 22:05:42 2015 kern.info kernel: [ 1688.360000] br-lan: port 2(wlan0) entered disabled state
Fri Jul 31 22:05:42 2015 user.notice DEBUG: hotplug button: action='pressed' button='rfkill' type='switch'
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.140000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.160000] device wlan0 entered promiscuous mode
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.160000] br-lan: port 2(wlan0) entered forwarding state
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.170000] br-lan: port 2(wlan0) entered forwarding state
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.380000] br-lan: port 2(wlan0) entered disabled state
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.670000] br-lan: port 2(wlan0) entered forwarding state
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.670000] br-lan: port 2(wlan0) entered forwarding state
Fri Jul 31 22:05:43 2015 kern.info kernel: [ 1689.680000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Fri Jul 31 22:05:45 2015 kern.info kernel: [ 1691.670000] br-lan: port 2(wlan0) entered forwarding state

(Lines with "DEBUG" are from my script in hotplug.d.)
Two issues:

  • events "pressed" and "released" are interchanged
  • result of the script is resetting of radio, not switching its state

Reverting https://github.com/openwrt-mirror/openwrt/commit/b8ee5f9021a157826fc8630288d54be31f8d362b fixes second issue.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by anonymous

Device is TP-Link TL-WR842N/ND v2

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.