WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HP-2000 Ralink RT5390R Wireless Adapter  (Read 19402 times)

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
HP-2000 Ralink RT5390R Wireless Adapter
« on: June 20, 2019, 05:20:52 PM »
I have downloaded TinyCorePlus to a USB stick and can succesfully boot to any of the flavors I choose from the boot menu.

I have connected to a wired lan in order to figure out the wireless networking, which as the subject would indicate

I have booted into the base FLWM option then loaded the following:
pci-utils, ntpclient, dillo,firmware-ralinkwifi,wifi.tcz

This is the full output of dmesg after booting (and connecting a usb mouse)

https://pastebin.com/3uvVY7CU

Here's output of lspci:
Code: [Select]
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 05)
06:00.0 Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)

Here is the output of sudo wifi.sh:
Code: [Select]
sudo wifi.sh
No wifi devices found!

and here is iwconfig:
Code: [Select]
iwconfig
eth0      no wireless extensions.

ip_vti0   no wireless extensions.

lo        no wireless extensions.

tunl0     no wireless extensions.

dummy0    no wireless extensions.


What is next?

Thanks,
mnemonic76
« Last Edit: June 21, 2019, 03:21:53 AM by Juanito »
Thanks,

mnemonic76

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #1 on: June 20, 2019, 11:43:27 PM »
Hi  mnemonic76

Please post the output of dmesg | tail -50  after attempting to connect

Code: [Select]
tc@box:~$ dmesg | tail -50
The device is most likely supported by the rt2800pci module and ralinkwifi firmware, but first lets see the dmesg output


Please note that the output is easier to read when enclosed with [ code ] tags
« Last Edit: June 20, 2019, 11:54:19 PM by coreplayer2 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #2 on: June 21, 2019, 12:20:56 AM »
Hi coreplayer2
I didn't see any mention of the wireless adapter in the pastebin link that mnemonic76 posted. I did notice this entry:
Code: [Select]
input: HP Wireless hotkeys as /devices/virtual/input/input12I wonder if the wireless adapter is disabled, possibly in the BIOS.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #3 on: June 21, 2019, 03:39:05 AM »
Hi Rich
Honestly I missed the pastebin link


Sent from my iPhone using Tapatalk

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
HP-2000 Ralink RT5390R Wireless Adapter
« Reply #4 on: June 21, 2019, 03:56:53 AM »
Rich,  Having looked at the link I also noticed the CDE bootcode on a USB installation !!  Maybe that’s expected if booting from the iso directly.  I didn’t read it that way though


You’re right there does not appear to be any mention of the WiFi adapter in dmesg
« Last Edit: June 21, 2019, 04:21:48 AM by coreplayer2 »

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #5 on: June 21, 2019, 08:14:44 AM »
Thanks for the help guys.
So I checked BIOS and didn't find anything related to disabling wireless, however this keyboard has an F12 key with a wifi symbol and a smal LED indicator on it. I suspect tinycore knows nothing about the key... i pressed it, presed fn+F12, alt+fn+F12 etc... did nothing. if I run sudo rfkill list all it returns nothing...

So in the above response from coreplayer2 : "Please post the output of dmesg | tail -50  after attempting to connect"

I am guessing you mean after running sudo wifi.sh?

BTW, I INSTALLED to another USB instead of a live USB, that was so much easier than I thought! TinyCore is so cool... just wish my hardware was easier! -I digress.

So, since I changed to a INSTALLED usb (using tc-install) with a persistent /tc I am reposting the entirety of dmesg prior to running any commands:

Here is the pastebin:
https://pastebin.com/m38NisV3

Then, finally what you requested:
Code: [Select]
tc@box:~$ sudo wifi.sh
No wifi devices found!

then:
Code: [Select]
tc@box:~$ dmesg | tail -50
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host3: usb-storage 1-1:1.0
input: HP Wireless hotkeys as /devices/virtual/input/input12
input: PC Speaker as /devices/platform/pcspkr/input/input13
libphy: r8169: probed
r8169 0000:02:00.0 eth0: RTL8105e, c8:cb:b8:ae:15:71, XID 40a00000, IRQ 25
wmi_bus wmi_bus-PNP0C14:00: WQBJ data block query control method not found
usb 3-2: new low-speed USB device number 2 using ohci-pci
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
random: fast init done
ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
ACPI: AC Adapter [AC] (on-line)
battery: ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
battery: ACPI: Battery Slot [BAT0] (battery present)
acpi device:00: registered as cooling_device3
input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input14
input: PixArt Dell MS116 USB Optical Mouse as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.0/0003:413C:301A.0001/input/input15
hid-generic 0003:413C:301A.0001: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:00:12.0-2/input0
psmouse serio4: synaptics: queried max coordinates: x [..5634], y [..4598]
psmouse serio4: synaptics: Touchpad model: 1, fw: 7.5, id: 0x1e0b1, caps: 0xd00073/0x240000/0xa0400/0x0, board id: 1680, fw id: 706145
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input11
scsi 3:0:0:0: Direct-Access     ClickSha DISK 2.0         8.07 PQ: 0 ANSI: 4
sd 3:0:0:0: Attached scsi generic sg1 type 0
sd 3:0:0:0: [sda] 3993600 512-byte logical blocks: (2.04 GB/1.90 GiB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 3:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 3:0:0:0: [sda] Attached SCSI removable disk
hp_wmi: query 0xd returned error 0x5
input: HP WMI hotkeys as /devices/virtual/input/input16
loop: module loaded
zram0: detected capacity change from 0 to 177225728
random: mkswap: uninitialized urandom read (16 bytes read)
Adding 173068k swap on /dev/zram0.  Priority:-2 extents:1 across:173068k SSFS
squashfs: version 4.0 (2009/01/31) Phillip Lougher
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
random: crng init done
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
platform regulatory.0: Falling back to syfs fallback for: regulatory.db
cfg80211: failed to load regulatory.db
wl: loading out-of-tree module taints kernel.
wl: module license 'Mixed/Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8105e-1.fw failed with error -2
r8169 0000:02:00.0: Falling back to syfs fallback for: rtl_nic/rtl8105e-1.fw
r8169 0000:02:00.0 eth0: unable to load firmware patch rtl_nic/rtl8105e-1.fw (-11)
Generic PHY r8169-200:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
r8169 0000:02:00.0 eth0: Link is Down
r8169 0000:02:00.0 eth0: Link is Up - 100Mbps/Full - flow control off

Thanks for helping. please let me know what to try next....

mnemonic76

    [EDIT]: Added code tags.  Rich
« Last Edit: June 21, 2019, 08:20:10 AM by Rich »
Thanks,

mnemonic76

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14798
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #6 on: June 21, 2019, 08:56:22 AM »
This means your hardware is searching for firmware:
Code: [Select]
r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8105e-1.fw failed with error -2
r8169 0000:02:00.0: Falling back to syfs fallback for: rtl_nic/rtl8105e-1.fw
r8169 0000:02:00.0 eth0: unable to load firmware patch rtl_nic/rtl8105e-1.fw (-11)
..that firmware is in the firmware-rtl_nic extension, but I think it is only for wired network hardware.

In any case it will not hurt to try it - before loading any other extensions.

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #7 on: June 21, 2019, 09:35:06 AM »
Ok, so I saw that too... however I am connected via the wired connection.. I think the next lines that say eth0 up or whatever proves that...

So when you say "In any case it will not hurt to try it - before loading any other extensions." I dont know what you mean exactly...

I am not a power user, and I am really confused by the kernel modules and firmware stuff... I have been playing around with Linux for many years, but have never really understood some of the fundamentals of how the kernel interacts with the hardware. I have learned a little about filesystems and higher level stuff, but am a total newbie with the hardware stuff....

So out of desparation I tested a couple other USB distros I had lying around. Xubuntu 16.04.3 and Lubuntu 16.04..

I am writing this post from Lubuntu live USB. This is the result of uname -r:

lubuntu@lubuntu:~$ uname -r
4.8.0-36-generic

And the wifi is seeing APs and the F12 key seems to work... would there be any value in me posting outputs from this distro?

Thanks,

mnemonic76
« Last Edit: June 21, 2019, 09:43:26 AM by mnemonic76 »
Thanks,

mnemonic76

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #8 on: June 21, 2019, 10:48:39 AM »
Hi mnemonic76
... would there be any value in me posting outputs from this distro? ...
Yes there would. The  dmesg  result would be useful. Also, the result of this command:
Code: [Select]
lsmod

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #9 on: June 21, 2019, 10:57:13 AM »
The following is from the live USB Lubuntu 16.04.2 installation I am running on the HP-2000:

Output of dmesg:

https://pastebin.com/xkkDwEqU

Output of lsmod:

Code: [Select]
Module                  Size  Used by
arc4                   16384  2
rt2800pci              16384  0
rt2800mmio             16384  1 rt2800pci
rt2800lib              90112  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
rt2x00lib              49152  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
snd_hda_codec_idt      53248  1
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
snd_hda_intel          32768  1
mac80211              679936  3 rt2800lib,rt2x00pci,rt2x00lib
snd_hda_codec         118784  3 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_generic
snd_hda_core           69632  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_generic
kvm                   520192  0
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                94208  3 snd_hda_intel,snd_hda_codec,snd_hda_core
uvcvideo               77824  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
videobuf2_vmalloc      16384  1 uvcvideo
cfg80211              512000  2 rt2x00lib,mac80211
snd_rawmidi            28672  1 snd_seq_midi
videobuf2_memops       16384  1 videobuf2_vmalloc
irqbypass              16384  1 kvm
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
snd_seq                57344  2 snd_seq_midi_event,snd_seq_midi
joydev                 20480  0
input_leds             16384  0
videodev              159744  3 uvcvideo,videobuf2_core,videobuf2_v4l2
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
serio_raw              16384  0
snd_timer              32768  2 snd_seq,snd_pcm
mac_hid                16384  0
media                  36864  2 uvcvideo,videodev
rtsx_pci_ms            20480  0
memstick               16384  1 rtsx_pci_ms
k10temp                16384  0
eeprom_93cx6           16384  1 rt2800pci
snd                    69632  12 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_rawmidi,snd_hda_codec_generic,snd_seq_device,snd_pcm
soundcore              16384  1 snd
shpchp                 32768  0
i2c_piix4              20480  0
zram                   24576  1
autofs4                40960  2
aufs                  212992  2417
nls_iso8859_1          16384  1
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_mirror,dm_region_hash
radeon               1470464  4
hid_generic            16384  0
i2c_algo_bit           16384  1 radeon
usbhid                 49152  0
uas                    20480  0
ttm                    94208  1 radeon
hid                    98304  2 hid_generic,usbhid
usb_storage            57344  2 uas
drm_kms_helper        151552  1 radeon
rtsx_pci_sdmmc         24576  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   311296  7 radeon,ttm,drm_kms_helper
r8169                  77824  0
ahci                   36864  0
rtsx_pci               53248  2 rtsx_pci_sdmmc,rtsx_pci_ms
mii                    16384  1 r8169
libahci                32768  1 ahci
psmouse               122880  0


Thanks,
mnemonic76

    [EDIT]: Added code tags.  Rich
« Last Edit: June 21, 2019, 11:00:11 AM by Rich »
Thanks,

mnemonic76

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #10 on: June 21, 2019, 11:04:08 AM »
Hi mnemonic76
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly.
« Last Edit: August 01, 2020, 01:20:42 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #11 on: June 21, 2019, 11:14:53 AM »
Hi mnemonic76
Code: [Select]
rt2800pci              16384  0
rt2800mmio             16384  1 rt2800pci
rt2800lib              90112  2 rt2800mmio,rt2800pci
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800mmio,rt2800pci
rt2x00lib              49152  5 rt2800lib,rt2x00pci,rt2800mmio,rt2x00mmio,rt2800pci
snd_hda_codec_idt      53248  1
snd_hda_codec_generic    69632  1 snd_hda_codec_idt
snd_hda_intel          32768  1
mac80211              679936  3 rt2800lib,rt2x00pci,rt2x00lib
The  mac80211  module is looking for those  rt2.....  named modules. Try installing  wireless-4.19.10-tinycore.tcz.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11587
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #12 on: June 21, 2019, 11:21:15 AM »
Hi mnemonic76
The  dmesg  link shows  rt2860.bin  being loaded which is provided by  firmware-ralinkwifi.tcz,  so install that too.

Offline mnemonic76

  • Newbie
  • *
  • Posts: 35
Re: HP-2000 Ralink RT5390R Wireless Adapter
« Reply #13 on: June 21, 2019, 12:56:41 PM »
First of all, thanks for the tip on the code tag... I am on dillo when I am in tinycore and the forum interface is super basic... so here goes...

I used the App browser and selected the firmware-ralinkwifi.tcz and wireless-4.19.10-tinycore.tcz extentions set for "OnBoot" that seemed to work for the Dillo extention... here is what I get:

Code: [Select]
tc@box:~$ dmesg


https://pastebin.com/EBxXWfW8

and:

Code: [Select]
tc@box:~$ lsmod
Module                  Size  Used by    Tainted: P 
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
cpufreq_powersave      12288  0
wl                   6033408  0
cfg80211              167936  1 wl
squashfs               28672 43
zstd_decompress        53248  1 squashfs
xxhash                 16384  1 zstd_decompress
loop                   20480 86
rtsx_pci_sdmmc         16384  0
hp_wmi                 12288  0
mmc_core               65536  1 rtsx_pci_sdmmc
sparse_keymap          12288  1 hp_wmi
rtsx_pci_ms            12288  0
wmi_bmof               12288  0
memstick               12288  1 rtsx_pci_ms
video                  28672  0
backlight              12288  1 video
serio_raw              12288  0
pcspkr                 12288  0
wmi                    16384  2 hp_wmi,wmi_bmof
ac                     12288  0
battery                16384  0
hp_wireless            12288  0
r8169                  49152  0
rtsx_pci               28672  2 rtsx_pci_sdmmc,rtsx_pci_ms
acpi_cpufreq           12288  0

and finally:

Code: [Select]
tc@box:~$ sudo wifi.sh
No wifi devices found!

Thanks,
mnemonic76
Thanks,

mnemonic76

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
HP-2000 Ralink RT5390R Wireless Adapter
« Reply #14 on: June 21, 2019, 01:00:16 PM »
What is a concern for me is why isn’t the wireless* extension being loaded as it’s a dep of  WiFi.tcz

Also, it’s better to load the firmware extension before the wifi and all it’s dependencies. This way the driver will find it’s firmware. 

BTW,  “F12” key is often used as a Wifi hardware switch

When enabling the wifi hardware using F12 the best place to observe results is dmesg



Sent from my iPhone using Tapatalk
« Last Edit: June 21, 2019, 01:04:44 PM by coreplayer2 »