Logging SPAM (GPIO_IN=08)

Some extra info on the WIFI dongle:

osmc@osmc:~ $ lsusb
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
....

This suggests it is an upstream bug then. It will probably be fixed soon enough.

Sam

By ā€œupstreamā€ do you may kernel or dongle-driver?

Would using the WIFI-dongle from the OSMC-shop ā€œfixā€ this?

We use the dongle driver from upstream. It may be a better idea for us to use a custom driver instead in the future, but Iā€™ll see if this passes in new kernel releases soon enough.

I do not see this issue with the OSMC WiFi dongle.

Sam

@sam_nazarko:
As an experiment I downloaded the latest installer and reinstalled OSMC to a new SD-card.
I then did an apt-get update/upgrade cycle.

The GPIO_IN=08 messages did not return to the syslog.

Theyā€™d been replaced by this trio with a slightly lower frequency:

Aug 14 12:34:11 osmc kernel: rtw_set_ps_mode(): Enter 802.11 power save mode...
Aug 14 12:34:11 osmc kernel: rtl8192c_dm_RF_Saving(): RF_Normal
Aug 14 12:34:11 osmc kernel: rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2 

(see http://paste.osmc.io/yurixufiva)

I then proceeded to update OSMC using itā€™s own updater. This prompted me to reboot.
I rebooted after all updates were done. The log since the last reboot is here:
http://paste.osmc.io/oluwugumac

Note that this has reintroduced the original problemā€¦ :disappointed:

apt-get upgrade will not upgrade the kernel, if you are updating from the command line you must use apt-get dist-upgrade to do a full upgrade. The OSMC updater does the equivalent of dist-upgrade.

Unfortunately all you have proven is that not upgrading the kernel avoids the problem - but we already know that.

@DBMandrake
To me it also proved that this was not caused by some unknown (SD-card deterioration or other) cause.

As the functionality of OSMC does not seem to be affected and no solution is currently available nor strictly required. Iā€™m willing to mark this issue as closed. Agree?

When you say itā€™s a problem in ā€œupstreamā€, where could we file a bug report to get this fixed? Is this Kodi-related or Linux-kernel?

Although I have another wifi-problem recently, but I donā€™t know if this is related to here so I will start a new topic.

Just received the WiFi dongle from the OSMC-shop.
Here is the log: http://paste.osmc.io/amefunotuk
As you will see the problem has not gone.

Do I need to do something extra?

I seem to be getting this log spam as well and have updated to the August release. It has something to do with the RealTek adapter Iā€™m using since it disappears when I unplug.

July/August updates same thingā€¦ as an example altho i get GPIO_IN=09

[ 5794.154431] GPIO_IN=09
[ 5794.154457] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[ 5796.154610] GPIO_IN=09
[ 5796.154645] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[ 5798.154571] GPIO_IN=09
[ 5798.154597] @@@@- #2 rtw_ps_processor==> rfstate:rf_on

I am not using any GPIO pins and i have too realtek based wireless dongle

(Using Raspberry PI 2 and dongle is Zyxel NWD2205)

Yeah, there clearly is something up with the wireless networking.
After upgrading to the AUG2015 release I see no change.
What adapter are you using?

From my log:

Aug 31 17:49:41 osmc kernel: smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:
Aug 31 17:49:41 osmc kernel: usb 1-1.4: new high-speed USB device number 4 using dwc_otg
Aug 31 17:49:41 osmc kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176
Aug 31 17:49:41 osmc kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 31 17:49:41 osmc kernel: usb 1-1.4: Product: 802.11n WLAN Adapter
Aug 31 17:49:41 osmc kernel: usb 1-1.4: Manufacturer: Realtek
Aug 31 17:49:41 osmc kernel: usb 1-1.4: SerialNumber: 00e04c000001

and

Aug 31 17:49:43 osmc kernel: rtl8192cu driver version=v4.0.2_9000.20130911

and a bit later:

Aug 31 17:49:43 osmc kernel: USB_SPEED_HIGH
Aug 31 17:49:43 osmc kernel: CHIP TYPE: RTL8188C_8192C
Aug 31 17:49:43 osmc kernel: register rtw_netdev_ops to netdev_ops
Aug 31 17:49:43 osmc kernel: Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
Aug 31 17:49:43 osmc kernel: RF_Type is 3!!
Aug 31 17:49:44 osmc kernel: EEPROM type is E-FUSE
Aug 31 17:49:44 osmc kernel: ====> ReadAdapterInfo8192C

$ sudo apt-get install usbutils
$ lsusb

Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Realtek device here as well. First line is from lsusb, second is from dmesg.

Bus 001 Device 012: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

[86048.245373] usb 1-1.3.4: new high-speed USB device number 12 using dwc_otg
[86048.347230] usb 1-1.3.4: New USB device found, idVendor=0bda, idProduct=8176
[86048.347268] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[86048.347286] usb 1-1.3.4: Product: 802.11n WLAN Adapter
[86048.347303] usb 1-1.3.4: Manufacturer: Realtek
[86048.347320] usb 1-1.3.4: SerialNumber: 00e04c000001

Reinstalled OSMC using my OSMC-shop WIFI-dongle:

Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

From the log:

Sep 06 14:40:42 osmc kernel: usb 1-1.4: new high-speed USB device number 4 using dwc_otg
Sep 06 14:40:42 osmc kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176
Sep 06 14:40:42 osmc kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 06 14:40:42 osmc kernel: usb 1-1.4: Product: 802.11n WLAN Adapter
Sep 06 14:40:42 osmc kernel: usb 1-1.4: Manufacturer: Realtek
Sep 06 14:40:42 osmc kernel: usb 1-1.4: SerialNumber: 00e04c000001
:
Sep 06 14:40:45 osmc kernel: rtl8192cu driver version=v4.0.2_9000.20130911
:
Sep 06 14:40:45 osmc kernel: USB_SPEED_HIGH
Sep 06 14:40:45 osmc kernel: CHIP TYPE: RTL8188C_8192C
Sep 06 14:40:45 osmc kernel: register rtw_netdev_ops to netdev_ops
Sep 06 14:40:45 osmc kernel: Chip Version ID: VERSION_NORMAL_UMC_CHIP_88C_B_CUT.
Sep 06 14:40:45 osmc kernel: RF_Type is 3!!
Sep 06 14:40:45 osmc kernel: EEPROM type is E-FUSE
Sep 06 14:40:45 osmc kernel: ====> ReadAdapterInfo8192C

Itā€™s a different pin but the log still fills up with these:

Sep 06 12:50:47 osmc kernel: GPIO_IN=0f
Sep 06 12:50:47 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Sep 06 12:50:49 osmc kernel: GPIO_IN=0f
Sep 06 12:50:49 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on

So, no joy with the alternative WiFi dongle, since they are the same chipset.

Iā€™m seeing the same problem on a Pi2 Model B with an Edimax EW-7811Un, which also uses the RTL8188CUS chipset.

Relevant section of DMESG: http://paste.osmc.io/qerokenedo.xml

Same messages on my Raspberry pi2
Hereā€™s the output from lsusb:
Bus 001 Device 004: ID 0846:9041 NetGear, Inc. WNA1000M 802.11bgn [Realtek RTL8188CUS]

and the log messages i get
[238362.911397] GPIO_IN=08
[238362.911431] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238364.911966] GPIO_IN=08
[238364.912010] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238366.911156] GPIO_IN=08
[238366.911184] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238368.911320] GPIO_IN=08
[238368.911344] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238370.911331] GPIO_IN=08
[238370.911364] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238372.911284] GPIO_IN=08
[238372.911317] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238374.911308] GPIO_IN=08
[238374.911341] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238376.911125] GPIO_IN=08
[238376.911147] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238378.911123] GPIO_IN=08
[238378.911146] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238380.911395] GPIO_IN=08
[238380.911427] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238382.911803] GPIO_IN=08
[238382.911845] @@@@- #2 rtw_ps_processor==> rfstate:rf_on
[238384.911197] GPIO_IN=08
[238384.911219] @@@@- #2 rtw_ps_processor==> rfstate:rf_on

Today I tried yet another WiFi-dongle I just happened to have lying around :wink:.

Bus 001 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter 

From the log:

Sep 13 07:53:13 osmc kernel: usb 1-1.5: new high-speed USB device number 4 using dwc_otg
Sep 13 07:53:13 osmc kernel: usb 1-1.5: New USB device found, idVendor=148f, idProduct=3070
Sep 13 07:53:13 osmc kernel: usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 13 07:53:13 osmc kernel: usb 1-1.5: Product: 802.11 n WLAN
Sep 13 07:53:13 osmc kernel: usb 1-1.5: Manufacturer: Ralink
Sep 13 07:53:13 osmc kernel: usb 1-1.5: SerialNumber: 1.0
:
Sep 13 07:53:16 osmc kernel: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
Sep 13 07:53:17 osmc kernel: ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
Sep 13 07:53:17 osmc kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sep 13 07:53:22 osmc kernel: ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
Sep 13 07:53:22 osmc kernel: ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
:

With this dongle there are no other related messages filling the log.
This dongle has a different chipset and doesnā€™t use the buggy RealTek driver.
Going to see how this dongle performs in the long run.

That is a Ralink dongle, and I find the drivers for Ralink to be quite stable.

Think I have worked out the issue in this thread and it should be in for the September update

Sam

Hi, I still have the problem. Using an Edimax WiFi dongle. Here is the info:

[2.162165] usb 1-1.5: new high-speed USB device number 4 using dwc_otg
[2.263992] usb 1-1.5: New USB device found, idVendor=7392, idProduct=7811
[2.264038] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2.264064] usb 1-1.5: Product: 802.11n WLAN Adapter
[2.264089] usb 1-1.5: Manufacturer: Realtek
[2.264115] usb 1-1.5: SerialNumber: 00e04c000001
...
[5.944173] rtl8192cu driver version=v4.0.2_9000.20130911

and the log flood:

[340.122395] GPIO_IN=08
[340.122418] @@@@- #2  rtw_ps_processor==> rfstate:rf_on
[342.122502] GPIO_IN=08
[342.122527] @@@@- #2  rtw_ps_processor==> rfstate:rf_on
[344.122488] GPIO_IN=08

Any progress on the bug fix?