• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug report: WIFI dongle stops when gpio_switch.gpio = 20
#1
Bug 
Hi,

In my search for the correct pin numbers to be used by pilight on my RPi 1 B+, I found the following bug.
I try to read a digital input (from a smoke sensor), so I use gpio_switch.
My config.json is minimal for now to pinpoint this bug:
Code:
"devices": {
                "smoke": {
                        "protocol": [ "gpio_switch" ],
                        "id": [{
                                "gpio": -1
                        }],
                        "state": "off"
                }
        },
...
no rules, only this one gui element, default settings, hardware with pins = -1, default registry, version 7.0.

When I change the gpio pin to 20 and reboot my RPi, everything looks normal until further in the boot sequence (I guess this by looking at the green blinking LED of the RPi) the blue LED of the WIFI dongle stops blinking. From then on I can no longer connect to my RPi and I had to remove the SD card to change the setting back to gpio pin -1 to be able to connect remotely over WIFI again. I did this twice to confirm it reproduced.

lsusb says about the WIFI dongle (when it is working Wink)
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

and lshw says:
*-network:0
description: Wireless interface
physical id: 1
bus info: usb@1:1.4
logical name: wlan0
serial: 00:13:ef:20:0b:11
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8192cu ip=192.168.2.203 multicast=yes wireless=IEEE 802.11bg

Let me know if more info is needed.

Best regards,
woutput
 
Reply
  


Messages In This Thread
Bug report: WIFI dongle stops when gpio_switch.gpio = 20 - by woutput - 10-03-2015, 09:20 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: The Broadcom 2835 GPIO 0 is not set to output mode stuckinger 10 763 05-07-2019, 09:11 PM
Last Post: curlymo
  communication between main daemon and clientized daemon stops tomk 29 1,782 05-06-2019, 08:57 PM
Last Post: curlymo
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 6,509 09-06-2017, 02:39 PM
Last Post: wseifert
  development, orangepi pc+, "no gpio-platform configured" Twain 1 2,198 06-01-2017, 05:51 PM
Last Post: curlymo
  Reset of GPIO ports / Detection of mobile phone NormBot 1 1,345 09-02-2016, 08:30 AM
Last Post: wo_rasp
Bug Bug report: double free or corruption (!prev) diman87 16 5,089 03-09-2016, 11:10 AM
Last Post: diman87
Bug Bug report: segmentation fault using rule with AFTER woutput 3 2,534 11-22-2015, 12:27 PM
Last Post: woutput
  invalid gpio range koos147 2 1,923 11-02-2015, 08:40 AM
Last Post: woutput
  GPIO for other application koos147 1 1,616 10-31-2015, 08:08 PM
Last Post: pilino1234
Bug Bug report: gpio_switch does not accept high pin numbers woutput 2 2,361 10-12-2015, 03:54 PM
Last Post: woutput

Forum Jump:


Browsing: 1 Guest(s)