Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.

View Entry Info: USB Wi-FI issues with the new Kernel upgrade on 4.2.027

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
5.0.001
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
Yes
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
Yes
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 60

Thread: USB Wi-FI issues with the new Kernel upgrade on 4.2.027

  1. #16
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    Quote Originally Posted by ccs View Post
    There may have been an Ethernet cable connected, but only the wifi adapter was enabled.
    The testing I did yesterday (Monday) definitely didn't. (I was using the same cable to connect my pc to the router.)

    Edit: Where did you see eth0 as active, I can't see any reference.
    The ifconfig shows the eth0 (and eth1) as being present whereas on my system ifconfig shows only wlan0 as I have eth0 disabled. I misused the word "active" as there is no actual traffic shown on your ifconfig - just that it is enabled.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  2. #17
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by fat-tony View Post
    @birdman - where are you seeing that it is using 8192cu.ko? The dmesg and lsmod show that rtl8192cu is in use for that adapter in both 026 and 028. The rtl8xxxu driver was causing all sorts of issues for me with that dongle for sure.
    Doesn't it show up in #4 ?

  3. #18
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    Quote Originally Posted by ccs View Post
    Doesn't it show up in #4 ?
    Nope!

    Unless @birdman is referencing something which is not in the thread (maybe a build bitbake)?
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  4. #19
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by fat-tony View Post
    The ifconfig shows the eth0 (and eth1) as being present whereas on my system ifconfig shows only wlan0 as I have eth0 disabled. I misused the word "active" as there is no actual traffic shown on your ifconfig - just that it is enabled.
    It should show up with ifconfig -a

  5. The Following User Says Thank You to ccs For This Useful Post:

    Joe_90 (31-01-17)

  6. #20
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by fat-tony View Post
    Nope!

    Unless @birdman is referencing something which is not in the thread (maybe a build bitbake)?
    Isn't this what you were referring to?

    filename: /lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko

  7. #21
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    No - he's referring to the 8192cu.ko module (no rtl prefix). I think that module has been used on some other machine builds.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  8. The Following User Says Thank You to Joe_90 For This Useful Post:

    ccs (31-01-17)

  9. #22
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by fat-tony View Post
    @birdman - where are you seeing that it is using 8192cu.ko?
    I'm looking at the files distributed with the image.
    What gets build for 8192cu depends on whether linuxwifi is defined as a feature for the kernel. For 4.0.1 it wasn't, but for 4.8.3 it is.

    So looking at the files in the 4.2.026 image for the e10k I can see:
    image/lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko

    but looking at the 4.2.027 image I see:
    image/lib/modules/4.8.3/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko

    Which is why the dmesg outputs in #2 differ.
    Last edited by birdman; 31-01-17 at 14:04.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  10. #23
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    dmesg in both 026 and 028 is showing usage of the rtl8192cu.ko module. There's no reference to 8192cu.ko in either that I can see so I assume it's not using it although it may well be present.

    Are you saying that there is no rtl8192cu.ko module in the 026 image? I'm not clear on whether both modules are there in 026. If not, then the 8192cu.ko module is announcing itself as rtl8192cu which is confusing at best.
    Last edited by Joe_90; 31-01-17 at 17:29.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  11. #24
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    modinfo 026 .....
    Code:
    root@et10000:~# modinfo 8192cu
    filename:       /lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko
    version:        v4.0.2_9000.20130911
    author:         Realtek Semiconductor Corp.
    description:    Realtek Wireless Lan Driver
    license:        GPL
    srcversion:     37A6B9EE78BDC75F69387A6
    alias:          usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
    .
    .
    .
    alias:          usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
    depends:
    vermagic:       4.0.1 SMP mod_unload modversions BMIPS 32BIT
    parm:           rtw_ips_mode:The default IPS mode (int)
    parm:           ifname:The default name to allocate for first interface (charp)
    parm:           if2name:The default name to allocate for second interface (charp)
    parm:           rtw_initmac:charp
    parm:           rtw_channel_plan:int
    parm:           rtw_chip_version:int
    parm:           rtw_rfintfs:int
    parm:           rtw_lbkmode:int
    parm:           rtw_network_mode:int
    parm:           rtw_channel:int
    parm:           rtw_mp_mode:int
    parm:           rtw_wmm_enable:int
    parm:           rtw_vrtl_carrier_sense:int
    parm:           rtw_vcs_type:int
    parm:           rtw_busy_thresh:int
    parm:           rtw_ht_enable:int
    parm:           rtw_cbw40_enable:int
    parm:           rtw_ampdu_enable:int
    parm:           rtw_rx_stbc:int
    parm:           rtw_ampdu_amsdu:int
    parm:           rtw_lowrate_two_xmit:int
    parm:           rtw_rf_config:int
    parm:           rtw_power_mgnt:int
    parm:           rtw_low_power:int
    parm:           rtw_wifi_spec:int
    parm:           rtw_special_rf_path:int
    parm:           rtw_antdiv_cfg:int
    parm:           rtw_enusbss:int
    parm:           rtw_hwpdn_mode:int
    parm:           rtw_hwpwrp_detect:int
    parm:           rtw_hw_wps_pbc:int
    parm:           rtw_max_roaming_times:The max roaming times to try (uint)
    parm:           rtw_force_iol:Force to enable IOL (bool)
    parm:           rtw_mc2u_disable:int
    parm:           rtw_mac_phy_mode:int
    parm:           rtw_80211d:int
    parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
    root@et10000:~#

  12. #25
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by fat-tony View Post
    dmesg in both 026 and 028 is showing usage of the rtl8192cu.ko module.
    No, it's not. It's showing the use of a module for rtl8192cu. It doesn't mention the file name. See the modinfo details in #24.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  13. #26
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by ccs View Post
    Added samba - very clunky - one telnet "cat" session is now stopping and starting every few seconds.
    I don't really think samba is the cause, it just makes it appear worse, if that makes sense.

    If anything, it seems to get progressively worse as time goes on.

    '028+wireless+absolutely nothing else' was switched on for some time this morning. I then tried ping as another test, and it was very slow.

    Traceroute is ok.

  14. #27
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    Quote Originally Posted by ccs View Post
    modinfo 026 .....
    Code:
    root@et10000:~# modinfo 8192cu
    filename:       /lib/modules/4.0.1/kernel/drivers/net/wireless/8192cu.ko
    version:        v4.0.2_9000.20130911
    author:         Realtek Semiconductor Corp.
    description:    Realtek Wireless Lan Driver
    license:        GPL
    srcversion:     37A6B9EE78BDC75F69387A6
    alias:          usb:v0BDAp8186d*dc*dsc*dp*ic*isc*ip*in*
    .
    .
    .
    alias:          usb:v0BDAp8191d*dc*dsc*dp*ic*isc*ip*in*
    depends:
    vermagic:       4.0.1 SMP mod_unload modversions BMIPS 32BIT
    parm:           rtw_ips_mode:The default IPS mode (int)
    parm:           ifname:The default name to allocate for first interface (charp)
    parm:           if2name:The default name to allocate for second interface (charp)
    parm:           rtw_initmac:charp
    parm:           rtw_channel_plan:int
    parm:           rtw_chip_version:int
    parm:           rtw_rfintfs:int
    parm:           rtw_lbkmode:int
    parm:           rtw_network_mode:int
    parm:           rtw_channel:int
    parm:           rtw_mp_mode:int
    parm:           rtw_wmm_enable:int
    parm:           rtw_vrtl_carrier_sense:int
    parm:           rtw_vcs_type:int
    parm:           rtw_busy_thresh:int
    parm:           rtw_ht_enable:int
    parm:           rtw_cbw40_enable:int
    parm:           rtw_ampdu_enable:int
    parm:           rtw_rx_stbc:int
    parm:           rtw_ampdu_amsdu:int
    parm:           rtw_lowrate_two_xmit:int
    parm:           rtw_rf_config:int
    parm:           rtw_power_mgnt:int
    parm:           rtw_low_power:int
    parm:           rtw_wifi_spec:int
    parm:           rtw_special_rf_path:int
    parm:           rtw_antdiv_cfg:int
    parm:           rtw_enusbss:int
    parm:           rtw_hwpdn_mode:int
    parm:           rtw_hwpwrp_detect:int
    parm:           rtw_hw_wps_pbc:int
    parm:           rtw_max_roaming_times:The max roaming times to try (uint)
    parm:           rtw_force_iol:Force to enable IOL (bool)
    parm:           rtw_mc2u_disable:int
    parm:           rtw_mac_phy_mode:int
    parm:           rtw_80211d:int
    parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
    root@et10000:~#
    Thanks ccs - that's new information and @birdman has commented on it. The modinfo in post #4 doesn't reference the 8192cu.ko file at all (presumably because it was run on 028?). It would seem that the two files actually contain different driver code. The fact that dmesg is showing the use of the rtl8192cu driver in both 026 and 028 is masking the fact that different files have been used. I would have thought that it would be good practice to match the filename to the module, but there you are...
    Those rtl8192cu wifi dongles don't all seem to behave in the manner expected. Mine will work with the generic rtl8xxxcu driver up to the point of establishing a crypto handshake with the router and then immediately lock up. So I had to go back to the actual rtl8192cu driver. In your case you may have to install the 8192cu.ko driver.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  15. The Following User Says Thank You to Joe_90 For This Useful Post:

    ccs (01-02-17)

  16. #28
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by fat-tony View Post
    In your case you may have to install the 8192cu.ko driver.
    This is where I start to struggle.
    I can see how to uninstall the driver on 4.8.3, but were is the 4.0.1 driver to put back?.
    I'm assuming it needs to be uninstalled/installed, not me just overwriting rtl8192cu.ko with 8192cu.ko ?

  17. #29
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Would this be a start (on 026)....

    Code:
    root@et10000:/media/hdd/tmp# opkg list|grep 8192cu
    enigma2-plugin-drivers-network-usb-rtl8192cu - 1.0-r5 - new universal rt18xxx kernel driver  new universal rt18xxx kernel driver.
    enigma2-plugin-drivers-network-usb-rtl8192cu-dbg - 1.0-r5 - new universal rt18xxx kernel driver - Debugging files  new universal
    enigma2-plugin-drivers-network-usb-rtl8192cu-dev - 1.0-r5 - new universal rt18xxx kernel driver - Development files  new universal
    enigma2-plugin-drivers-network-usb-rtl8192cu-rev2 - 1.0-r5 - rt8192cu Proprietary alternative kernel driver  rt8192cu Proprietary
    enigma2-plugin-drivers-network-usb-rtl8192cu-rev2-dbg - 1.0-r5 - rt8192cu Proprietary alternative kernel driver - Debugging files
     rt8192cu Proprietary alternative kernel driver.  This package contains
    enigma2-plugin-drivers-network-usb-rtl8192cu-rev2-dev - 1.0-r5 - rt8192cu Proprietary alternative kernel driver - Development files
     rt8192cu Proprietary alternative kernel driver.  This package contains
    firmware-rtl8192cu - 1.0-r0 - Firmware for RTL8192CU  Firmware for RTL8192CU.
    firmware-rtl8192cufw - 1.0-r0 - Firmware for rtl8192cufw_TMSC  Firmware for rtl8192cufw_TMSC.
    kernel-module-8192cu - 4.0.2-r4 - 8192cu kernel module  8192cu kernel module; Realtek Wireless Lan Driver
    kernel-module-rtl8192cu - 4.0.1-r0.4 - rtl8192cu kernel module  rtl8192cu kernel module; Realtek 8192C/8188C
    rtl8192cu - 4.0.2-r4 - Driver for Realtek USB wireless devices  Driver for Realtek USB wireless
    rtl8192cu-dbg - 4.0.2-r4 - Driver for Realtek USB wireless devices - Debugging files  Driver for
    rtl8192cu-dev - 4.0.2-r4 - Driver for Realtek USB wireless devices - Development files  Driver for
    Nothing wants to download eg

    root@et10000:~# opkg download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2
    Downloading http://www.openvix.co.uk/feeds/openv...1.0-r5_all.ipk.
    Removing corrupt package file /var/cache/opkg/bc4e010ee86896c4f5f873000a0ea68e_enigma2-plugin-drivers-network-usb-rtl8192cu-rev2_1.0-r5_all.ipk.
    Collected errors:
    * opkg_download_cmd: Failed to download enigma2-plugin-drivers-network-usb-rtl8192cu-rev2.
    Last edited by ccs; 01-02-17 at 17:36.

  18. #30
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by fat-tony View Post
    The fact that dmesg is showing the use of the rtl8192cu driver in both 026 and 028 is masking the fact that different files have been used. I would have thought that it would be good practice to match the filename to the module, but there you are...
    It's saying that it has added a driver for the rtl8192cu chipset. It doesn't mention filenames at all (you could name the file anything you wish and still load it).

    Those rtl8192cu wifi dongles don't all seem to behave in the manner expected. Mine will work with the generic rtl8xxxcu driver up to the point of establishing a crypto handshake with the router and then immediately lock up. So I had to go back to the actual rtl8192cu driver. In your case you may have to install the 8192cu.ko driver.
    Remember that it's not just USB Wifi dongles which have an issue with the 4.8.3 kernel on Xtrend boxes - it's USB tuners (Sundtek and PC-TV) as well. There are a number of options:

    • Stay on 4.8.3, but switch off the linuxwifi option - unlikely to help the USB tuners
    • Switch back to the 4.0.1 kernel for all Xtrend boxes - but presumably any new Xtrend box/fix will use 4.8.3, so the problem may recur there if the root cause isn't investigated here.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  19. The Following 2 Users Say Thank You to birdman For This Useful Post:

    ccs (01-02-17),widar (01-02-17)

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.