Results 1 to 8 of 8

Thread: USB 3.0 Via VL805 PCIe card not working

  1. #1
    Join Date
    Apr 2018
    Beans
    4

    USB 3.0 Via VL805 PCIe card not working

    I got a USB 3.0 Card the other day and I found that it was only working when I booted into Windows (which I seldom do). However, I would really like for it to work on Ubuntu since I use it the majority of the time. My computer is a Dell Optiplex 980 full tower and I am on Ubuntu Kylin 16.04.

    I followed the suggestion here: https://bbs.archlinux.org/viewtopic.php?id=214293

    but adding the iommu soft to grub did not work. I disabled Intel VT, and it still didn't work.

    Multiple people have said that they have gotten it to work on their computer, but it does not work on mine.

    with lspci I get:
    Code:
    02:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
    and with lsusb I get:
    Code:
    Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    My grub file looks like this:
    Code:
    # If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    #   info -f grub -n 'Simple configuration'
    
    
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=Ubuntu\ Kylin
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX="iommu=soft"
    GRUB_CMDLINE_LINUX="intel_iommu=off"
    
    
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    
    
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    Does anyone have any other suggestions?

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: USB 3.0 Via VL805 PCIe card not working

    Quote Originally Posted by zhongtiao1 View Post
    I got a USB 3.0 Card the other day and I found that it was only working when I booted into Windows (which I seldom do). However, I would really like for it to work on Ubuntu since I use it the majority of the time. My computer is a Dell Optiplex 980 full tower and I am on Ubuntu Kylin 16.04.

    I followed the suggestion here: https://bbs.archlinux.org/viewtopic.php?id=214293

    but adding the iommu soft to grub did not work. I disabled Intel VT, and it still didn't work.

    Multiple people have said that they have gotten it to work on their computer, but it does not work on mine.

    with lspci I get:
    Code:
    02:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)
    and with lsusb I get:
    Code:
    Bus 003 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    My grub file looks like this:
    Code:
    # If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    #   info -f grub -n 'Simple configuration'
    
    
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=Ubuntu\ Kylin
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX="iommu=soft"
    GRUB_CMDLINE_LINUX="intel_iommu=off"
    
    
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    
    
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    Does anyone have any other suggestions?
    I don't know why this is taking so long to implement (Since the year 2012) into the kernels, but see if this helps by adding "pci=nomsi" to the boot parameters in grub.conf. And don't forget to update grub Also don't forget to disable iommu in your bios.
    So where your looks lie this "GRUB_CMDLINE_LINUX="intel_iommu=off" "
    try changing "iommu=off" to "pci=nomsi"
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Apr 2018
    Beans
    4

    Re: USB 3.0 Via VL805 PCIe card not working

    Quote Originally Posted by 1fallen View Post
    I don't know why this is taking so long to implement (Since the year 2012) into the kernels, but see if this helps by adding "pci=nomsi" to the boot parameters in grub.conf. And don't forget to update grub Also don't forget to disable iommu in your bios.
    So where your looks lie this "GRUB_CMDLINE_LINUX="intel_iommu=off" "
    try changing "iommu=off" to "pci=nomsi"
    I tried that and it didn't work

    My BIOS sees the PCI Card as a USB card, but it does not detect any drive I plug in. I have disabled all Intel VT options in the BIOS.

  4. #4
    Join Date
    May 2018
    Beans
    1

    Re: USB 3.0 Via VL805 PCIe card not working

    I managed to fix the issue in Arch Linux by updating the firmware (using a proprietary software in Windows) of the VL805.
    My version of the firmware (013600 vs 013704) was older than the new one.

    Note that to update the firmware, you need to unninstall the windows driver in the device manager, I've had some issues updating it.

    This was the response of VIA tech support when I asked them for Linux issues:

    Quote Originally Posted by VIA Support
    Hi,

    VL805 is working well on Fedora 4.13.9-300. fc27.x86_64 .
    And we also test on Fedora 4.13.16-100. fc25.x86_64 .
    The function is ok, USB device can be recognized under VL805.
    This issue should be possibly related to AMD driver behavior

    Test condition in VLI:
    CPU = Intel i3-8100
    Motherboard : MSI Z370 Gaming M5

    You can download the latest firmware update tool for VL805 and check the function.
    User guide is stored in the folder.
    This tool only support on Windows-based.

    https://www.dropbox.com/s/68srdt4gmv...0Tool.zip?dl=0

    If there is any question, please contact me.

    Thanks.
    I Hope my message helps other people, since there aren't any other place I've found that shows the true sollution.

  5. #5
    Join Date
    Jan 2019
    Beans
    1

    Re: USB 3.0 Via VL805 PCIe card not working

    A warning and the solution! The above upgrade tool failed to identify the memory chip on my board but erased it anyway and then hung on writing rendering it useless.

    After some research I was able to successfully upgrade after editing the SpiFlash.ini file with the parameters of the 25P10VP chip on my board.

    I added the following:

    21=25P10VP



    [25P10VP]
    FlashID = 202011
    ReadID = 9F
    WriteEnable = 06
    WriteStatus = 01
    ChipErase = C7
    ReadData = 03
    ReadStatus = 05
    PageProgram = 02
    ClockRate = 32
    PageSize = 10


    I can confirm you do appear to have to uninstall the Windows drivers to update and reboot after ISP update success before it works.
    Last edited by antonine; January 19th, 2019 at 01:29 AM.

  6. #6
    Join Date
    Jan 2020
    Beans
    1

    Re: USB 3.0 Via VL805 PCIe card not working

    Thanks for SPI Flash config. It works also for my version of card. My fimrware version was 00013400, so very old.
    I was able to flash it from Windows XP running as VirtualBox guest (see https://docs.oracle.com/cd/E97728_01...ssthrough.html).
    Before starting machine you have to attach PCI device
    Code:
    VBoxManage modifyvm "VM name" --pciattach 04:00.0@01:05.0
    Where 04:00 is bus number returned by lspci

    To detach PCI device:
    Code:
    VBoxManage modifyvm "VM name" --pcidetach 04:00.0

  7. #7
    Join Date
    Mar 2011
    Beans
    7
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: USB 3.0 Via VL805 PCIe card not working

    Quote Originally Posted by antonine View Post
    A warning and the solution! The above upgrade tool failed to identify the memory chip on my board but erased it anyway and then hung on writing rendering it useless.

    After some research I was able to successfully upgrade after editing the SpiFlash.ini file with the parameters of the 25P10VP chip on my board.

    I added the following:

    21=25P10VP



    [25P10VP]
    FlashID = 202011
    ReadID = 9F
    WriteEnable = 06
    WriteStatus = 01
    ChipErase = C7
    ReadData = 03
    ReadStatus = 05
    PageProgram = 02
    ClockRate = 32
    PageSize = 10


    I can confirm you do appear to have to uninstall the Windows drivers to update and reboot after ISP update success before it works.
    How did you find the chip on your board? Mine is not identifying through the program itself so I am unable to flash it with the newer firmware. It does however read the firmware fine on the board, but that is as far as I get. Even if I try to update the FW, it just hangs.

  8. #8
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: USB 3.0 Via VL805 PCIe card not working

    RIP old thread. My apologies for your having been disturbed from your slumber twice.

    Closed.
    Last edited by QIII; May 9th, 2020 at 05:54 PM.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •