Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 53

Thread: WiFi driver for Samsung Galaxy Book

  1. #11
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    Code:
    makem@galaxy-book:~$ sudo nano /etc/default/crda
    [sudo] password for makem: 
    makem@galaxy-book:~$ sudo -i
    root@galaxy-book:~# echo "options cfg80211 ieee80211_regdom=GB"  >  /etc/modprobe.d/cfg80211.conf
    root@galaxy-book:~# exit
    logout
    makem@galaxy-book:~$ dmesg | grep ath
    [    4.537760] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
    [    4.539669] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [    4.822363] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 144d:c14f
    [    4.822365] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
    [    4.822793] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
    [    4.888217] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=003e,subsystem-vendor=144d,subsystem-device=c14f from ath10k/QCA6174/hw3.0/board-2.bin
    [    4.888445] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ad2a5746
    [    5.467020] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [    5.470074] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [    5.470651] ath10k_pci 0000:01:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
    [    5.557731] ath: EEPROM regdomain: 0x5f
    [    5.557733] ath: EEPROM indicates we should expect a direct regpair map
    [    5.557733] ath: invalid regulatory domain/country code 0x5f
    [    5.557734] ath: Invalid EEPROM contents
    [    5.557738] ath10k_pci 0000:01:00.0: failed to initialise regulatory: -22
    [    5.557740] ath10k_pci 0000:01:00.0: could not register to mac80211 (-22)
    makem@galaxy-book:~$
    EDIT: Also tried "UK"

    Code:
    makem@galaxy-book:~$ dmesg | grep ath
    [    4.537760] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
    [    4.539669] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [    4.822363] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 144d:c14f
    [    4.822365] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
    [    4.822793] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
    [    4.888217] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=003e,subsystem-vendor=144d,subsystem-device=c14f from ath10k/QCA6174/hw3.0/board-2.bin
    [    4.888445] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ad2a5746
    [    5.467020] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [    5.470074] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [    5.470651] ath10k_pci 0000:01:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
    [    5.557731] ath: EEPROM regdomain: 0x5f
    [    5.557733] ath: EEPROM indicates we should expect a direct regpair map
    [    5.557733] ath: invalid regulatory domain/country code 0x5f
    [    5.557734] ath: Invalid EEPROM contents
    [    5.557738] ath10k_pci 0000:01:00.0: failed to initialise regulatory: -22
    [    5.557740] ath10k_pci 0000:01:00.0: could not register to mac80211 (-22)
    makem@galaxy-book:~$
    Also tried "GB-United Kingdom"
    Last edited by makem2; February 10th, 2018 at 03:56 PM.

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: WiFi driver for Samsung Galaxy Book

    Do you have eeprom_ar6320_3p0_SS_720.bin on your Windows partition; in other words, not the K variant? If so, please transfer it, too and let's experiment.

    On the assumption that you do, please back up the current board.bin:
    Code:
    sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.Kbak
    Next, we try the non-K version:
    Code:
    cd ~/Desktop
    sudo cp eeprom_ar6320_3p0_SS_720.bin board.bin
    And copy it to the firmware library:
    Code:
    sudo cp board.bin  /lib/firmware/ath10k/QCA6174/hw3.0/
    Check:

    Code:
    ls -al /lib/firmware/ath10k/QCA6174/hw3.0/
    You should have, among others, a board.bak, boardK.bak and a new board.bin.

    I am interested in the differences, if any:
    Code:
    cd /lib/firmware/ath10k/QCA6174/hw3.0
    md5sum *
    You know the rest.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #13
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    Note that the bin files I obtained from windows are both 620, not 720 as your instructions gave. I have used the 620 non K bin file:

    Code:
    makem@galaxy-book:~$ sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.Kbak
    [sudo] password for makem: 
    makem@galaxy-book:~$ cd ~/Desktop
    makem@galaxy-book:~/Desktop$ sudo cp eeprom_ar6320_3p0_SS_720.bin board.bin
    cp: cannot stat 'eeprom_ar6320_3p0_SS_720.bin': No such file or directory
    makem@galaxy-book:~/Desktop$ sudo cp eeprom_ar6320_3p0_SS_620.bin board.bin
    makem@galaxy-book:~/Desktop$ sudo cp board.bin  /lib/firmware/ath10k/QCA6174/hw3.0/
    makem@galaxy-book:~/Desktop$ ls -al /lib/firmware/ath10k/QCA6174/hw3.0/
    total 2092
    drwxr-xr-x 2 root root   4096 Feb 10 16:03 .
    drwxr-xr-x 4 root root   4096 Oct 17 21:36 ..
    -rw-r--r-- 1 root root 477060 Jan 25 20:23 board-2.bin
    -rw-r--r-- 1 root root   8124 Mar 30  2017 board.bak
    -rwxr-xr-x 1 root root   8124 Feb 10 16:03 board.bin
    -rwxr-xr-x 1 root root   8124 Feb  9 23:25 board.Kbak
    -rw-r--r-- 1 root root 733784 Mar 30  2017 firmware-4.bin
    -rw-r--r-- 1 root root 727776 Jan 17 15:49 firmware-6.bin
    -rw-r--r-- 1 root root  79689 Mar 30  2017 notice_ath10k_firmware-4.txt
    -rw-r--r-- 1 root root  78564 Jan 17 15:49 notice_ath10k_firmware-6.txt
    makem@galaxy-book:~/Desktop$ cd /lib/firmware/ath10k/QCA6174/hw3.0
    makem@galaxy-book:/lib/firmware/ath10k/QCA6174/hw3.0$ md5sum *
    46fc22f0fe0e1b10fa85318da203d149  board-2.bin
    cb37c63d9ca28f53fea1ff09ad7c7a82  board.bak
    687f24c87a77923b9fb6865bc378732e  board.bin
    e97f510901331683fa8711677428d668  board.Kbak
    a5dfbc03c9a7a73f7aa8d0a94a6d9426  firmware-4.bin
    fcdc7ffe6226f0c94268933ff1d7a4bb  firmware-6.bin
    8f22a7c04aa733762c0ad03e52d5de9b  notice_ath10k_firmware-4.txt
    1996ef26689766a457043339661141c2  notice_ath10k_firmware-6.txt
    makem@galaxy-book:/lib/firmware/ath10k/QCA6174/hw3.0$

  4. #14
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    Code:
    makem@galaxy-book:/$ dmesg | grep ath
    [    3.447853] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
    [    3.450078] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [    3.738463] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 144d:c14f
    [    3.738465] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
    [    3.738898] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
    [    3.804330] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=003e,subsystem-vendor=144d,subsystem-device=c14f from ath10k/QCA6174/hw3.0/board-2.bin
    [    3.804547] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 ad2a5746
    [    4.389023] ath10k_pci 0000:01:00.0: Unknown eventid: 118809
    [    4.392040] ath10k_pci 0000:01:00.0: Unknown eventid: 90118
    [    4.397731] ath10k_pci 0000:01:00.0: htt-ver 3.44 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
    [    4.490210] ath: EEPROM regdomain: 0x5f
    [    4.490212] ath: EEPROM indicates we should expect a direct regpair map
    [    4.490213] ath: invalid regulatory domain/country code 0x5f
    [    4.490213] ath: Invalid EEPROM contents
    [    4.490235] ath10k_pci 0000:01:00.0: failed to initialise regulatory: -22
    [    4.490256] ath10k_pci 0000:01:00.0: could not register to mac80211 (-22)
    makem@galaxy-book:/$

  5. #15
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: WiFi driver for Samsung Galaxy Book

    Note that the bin files I obtained from windows are both 620, not 720 as your instructions gave. I have used the 620 non K bin file:
    Your post #6 suggests 720. Are there both 620 and 620_K and 720 and 720_K files available?

    I am quickly running out of ideas, mojo, ammo.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  6. #16
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    I have searched for the eeprom_ar6320_3p0_SS_720.bin file in widows to be sure and it does not exist.

    Reading the thread you mentioned:

    https://patchwork.kernel.org/patch/9951857/

    I see that his machine is identical to mine except for the RAM amount and maybe SSD size. I would think the 'internals' would be otherwise identical.
    Last edited by makem2; February 10th, 2018 at 05:37 PM.

  7. #17
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    Quote Originally Posted by chili555 View Post
    Your post #6 suggests 720. Are there both 620 and 620_K and 720 and 720_K files available?

    I am quickly running out of ideas, mojo, ammo.
    Extract from my post #6:

    EDIT: For clarity the file names are:

    eeprom_ar6320_3p0_SS_620.bin

    eeprom_ar6320_3p0_SS_720_K.bin

    You asked that I tried the K file and I did so. You then asked that I try the non K file which as shown above is 620.

    I tried eeprom_ar6320_3p0_SS_620.bin

    Sorry if I am wrong somewhere.

    Edit: I found that above I wrongly referred to BOTH files being 620, sorry. I hope the explanation above resolves the confusion.
    Last edited by makem2; February 10th, 2018 at 05:31 PM.

  8. #18
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: WiFi driver for Samsung Galaxy Book

    Please note that his dmesg said:
    failed to fetch board data for bus=pci,vendor=168c,device=003e,subsystem-vendor=144d,subsystem-device=c14f,variant=K from ath10k/QCA6174/hw3.0/board-2.bin
    But yours says:
    failed to fetch board data for bus=pci,vendor=168c,device=003e,subsystem-vendor=144d,subsystem-device=c14f from ath10k/QCA6174/hw3.0/board-2.bin
    In other words, no Variant K.

    The referenced link suggests editing the code for drivers/net/wireless/ath/regd_common.h to add the missing regulatory domain/country code 0x5f. I have no suggestions as to how to accomplish this.

    I do note that the latest kernel versions, 4.15.2 does not contain the patch: https://elixir.free-electrons.com/li.../regd_common.h Therefore, I assume that installing a newer mainline kernel version would be ineffective.

    I am now wondering if we can edit the board.bin file. Studying...
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  9. #19
    Join Date
    May 2014
    Location
    /home
    Beans
    10,942
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: WiFi driver for Samsung Galaxy Book

    I added the patch to backports so we can try
    Code:
    sudo apt install git build-essential
    git clone https://github.com/jeremyb31/backports-4.14.git
    cd backports-4.14
    make defconfig-wifi
    make
    sudo make install
    Reboot

    After kernel updates you will have issues until you
    Code:
    cd backports-4.14
    make clean
    make defconfig-wifi
    make
    sudo make install
    Reboot

  10. #20
    Join Date
    Jul 2015
    Location
    Essex, UK
    Beans
    779
    Distro
    Xubuntu

    Re: WiFi driver for Samsung Galaxy Book

    All completed without apparent error except I did notice:

    cc -Wall -Wmissing prototypes etc.

    I do have the full output if needed.

    However, crossing fingers and toes had no effect I am afraid. I am typing this on another linux machine because the tablet no longer has WiFi access with or without the dongle.

    I can do a dmesg | grep ath and transfer it here?

Page 2 of 6 FirstFirst 1234 ... LastLast

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
  •