How do I get drivers (especially WLAN/bluetooth) working on HP Envy dv6?

13,144

I later discovered this bug report. Following the suggestions there, I enabled the network card in the BIOS then was able to toggle the hardware switch while the hp_wmi module was disabled. This allowed me to connect to my wireless router, but attempting to use the connection causes a kernel panic as with the bug reported linked here.

Pending the resolution of that bug, I'm using the suggested workaround. Specifically:

mkdir linux-mainline && cd linux-mainline
curl -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.11-raring/linux-headers-3.6.11-030611-generic_3.6.11-030611.201212171335_amd64.deb \
     -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.11-raring/linux-headers-3.6.11-030611_3.6.11-030611.201212171335_all.deb \
     -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.11-raring/linux-image-3.6.11-030611-generic_3.6.11-030611.201212171335_amd64.deb \
     -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6.11-raring/linux-image-extra-3.6.11-030611-generic_3.6.11-030611.201212171335_amd64.deb
sudo dpkg -i *.deb
git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
sudo cp linux-firmware/rt3290.bin /lib/firmware
echo rt2800pci | sudo tee -a /etc/modules
sudo reboot
Share:
13,144

Related videos on Youtube

Community
Author by

Community

Updated on September 18, 2022

Comments

  • Community
    Community almost 2 years

    I have a new HP Envy dv6-7315tx laptop. I installed Ubuntu 12.10 (64 bit), which went smoothly after switching the BIOS to legacy mode, and it has completely replaced Windows 8. However, there are no proprietary drivers listed in jockey at all, and the WiFi/bluetooth card doesn't work. Ubuntu also fails to recognise the fingerprint reader and graphics card.

    WLAN/Bluetooth

    Card: Ralink RT3290 PCIe

    Drivers: Ralink/MediaTek (linux) or HP (windows)

    I'm aware of this similar question but there was no solution and I've tried some different things:

    $ lspci (relevant part only):

    0a:00.0 Network controller: Ralink corp. Device 3290
    0a:00.1 Bluetooth: Ralink corp. Device 3298
    

    $ lspci -m (ditto):

    0a:00.0 0280: 1814:3290
    0a:00.1 0d11: 1814:3298
    

    I installed ndiswrapper and downloaded the HP driver linked above. The card doesn't appear to be listed on the ndiswrapper list so I just went with the HP one. It installed fine and ndiswrapper -l showed the correct Chipset ID. I followed the next steps in the Ubuntu Wifi guide:

    sudo depmod -a
    sudo modprobe ndiswrapper
    

    then attempted to find the wlan interface, but no luck:

    $ ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
        [...]
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
        [...]
    
    $ iwconfig 
    eth0      no wireless extensions.
    lo        no wireless extensions.
    

    Next I tried to install the MediaTek linux driver for the card by downloading the tarball from the above-linked site and compiling it. Still no luck, even after a reboot.

    Also,

    $ rfkill list
    0: hp-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    1: hp-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
    

    That's used up the extent of my experience with these things and I'm stuck with LAN for the time being. What else can I try?

    [Edit: I had another shot at installing the Ralink/MediaTek driver and now I have a new network interface:

    $ lsmod | grep rt3
    rt3290sta            1174375  1
    $ iwconfig 
    usb0      no wireless extensions.
    ra0       Ralink STA  
    eth0      no wireless extensions.
    lo        no wireless extensions.
    $ sudo ifconfig ra0 up
    $ iwconfig 
    usb0      no wireless extensions.
    ra0       Ralink STA  ESSID:""  Nickname:"RT3290STA"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
              Bit Rate:1 Mb/s   
              RTS thr:off   Fragment thr:off
              Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    eth0      no wireless extensions.
    lo        no wireless extensions.
    

    The problem is that I now get bluetooth and wifi both showing as hard blocked in rfkill and the new wireless section of the network manager indicator has the "wireless is disabled by a hardware switch" message. The only hardware switch is the f12 button which has always has a red light (wireless radio disabled) under ubuntu even though rfkill previously showed it as unblocked and rfkill event doesn't react to pressing the button. I made no BIOS changes since posting this question and there is still no Windows OS installed on the hard drive.

    I'm also not sure about how to automatically handle the ifconfig step above. ]

    Graphics

    Card: NVIDIA GeForce GT 635M

    Edit: Working fine with bumblebee.

    Fingerprint reader

    Device: Validity ??? (ID 138a:0018)

    Edit: Found a bug report for FPrint tracking support for this device. Marked as Fix Released but no version of that library I found in PPAs detected the device.

  • Eliah Kagan
    Eliah Kagan over 11 years
    Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
  • Admin
    Admin over 11 years
    Yes, the workaround I found also suffers from a lack of bluetooth but the wifi is working fine