LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2016, 08:21 PM   #16
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512

Quote:
Originally Posted by allend View Post

<<snip>>

@kjhambrick

Have you tried the 'skip_otp=y' option to the ath10k_core' kernel module? Post #6 at https://bbs.archlinux.org/viewtopic.php?id=204871
Thanks for the link allend !

Yes I did but it did not fix the firmware issues.

However, that link is for a different card ( killer 1525 ).

Mine is a Killer 1535:

Code:
# lspci -v 

<<snip>>

3f:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
        Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 141
        Memory at dc200000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=8/8 Maskable+ 64bit-
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Virtual Channel
        Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [178] Latency Tolerance Reporting
        Capabilities: [180] L1 PM Substates
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci

I finally found these links which got my killer 1535 working:

https://bbs.archlinux.org/viewtopic.php?id=208340

and ( same post && poster but as an Arch Linux blog entry )

https://wiki.archlinux.org/index.php/MSI_GT72-6QE

Each time kernel-firmware has been updated since my initial install on Feb 08, I have had to to overwrite the native firmware from kernel.org with the FireWalker Firmware to get my wireless back:

https://github.com/FireWalkerX/ath10.../QCA6174/hw3.0

In this case, the board-2.bin file overwrites /lib/firmware/ath10k/QCA6174/hw3.0/board.bin

I've been watching and there's a post today on an Ubuntu site that says my card is finally supported natively in kernel-firmware:

https://bugs.launchpad.net/ubuntu/+s...3?comments=all

Waiting for Pat's next kernel-firmware Package ... maybe I'll finally be able to use the native kernel firmware without special handling<G>

Code:
# cat /home/dld/killer/install-these-for-killer-1535-wireless

# note to kjh:  this file is intentionally 'defanged'
#               execute the 'pounded' lines to restore wireless after a kernel-firmware update if wireless is down
#
# from:  https://bbs.archlinux.org/viewtopic.php?id=208340
# from:  https://wiki.archlinux.org/index.php/MSI_GT72-6QE
#
# wget https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
# wget https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
#
# cp -p /lib/firmware/ath10k/QCA6174/hw3.0/board.bin      board.bin.orig
# cp -p /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin firmware-4.bin.orig
#
# cp -p board.bin      /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
# cp -p firmware-4.bin /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
# echo "`kjhdate` - kjh copied these from /home/dld/killer" > /lib/firmware/ath10k/QCA6174/hw3.0/kjh-was-here.txt
Wierd but true ... wicd works but NetworkManager does not.

Thanks again allend !

-- kjh
 
Old 03-18-2016, 12:55 AM   #17
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Back to the original posting.

Earlier I said:

Quote:
Originally Posted by comet.berkeley View Post
I tested the patch on wicd-1.7.4 but get fatal errors which cause wicd to crash.

Downgrading wicd to wicd-1.7.2.4 and urwid to urwid-1.0.1 works great!
My main problem is a keyboard input problem when using urid-1.3.0.
The patch, wicd-1.7.3-urwid-1.3.0.patch, does not fix the problem for me as the <ESC> key does not work at all with urwid-1.3.0.

So I downgraded urwid to urwid-1.0.1
and removed the wicd-1.7.3-urwid-1.3.0.patch from the wicd.SlackBuild script

and it works fine.

Code:
--- wicd.SlackBuild.orig	2016-02-08 13:21:23.000000000 -0800
+++ wicd.SlackBuild	2016-03-17 19:50:39.350964210 -0700
@@ -22,7 +22,7 @@
 
 PRGNAM=wicd
 VERSION=${VERSION:-1.7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 
 # Automatically determine architecture for build & packaging:
 if [ -z "$ARCH" ]; then
@@ -68,9 +68,6 @@
   msgfmt -o translations/$(basename ${pofile} .po)/LC_MESSAGES/wicd.mo ${pofile}
 done
 
-# Thanks to ArchLinux
-zcat $CWD/wicd-1.7.3-urwid-1.3.0.patch.gz | patch -p0 || exit 1
-
 python setup.py configure \
   --lib=/usr/lib${LIBDIRSUFFIX}/wicd \
   --kdedir=/usr/share/autostart \
Now I can test wicd-1.7.4 with the top posters recommended curses_bitrate_fix.patch and see if it works.
 
Old 03-18-2016, 02:15 PM   #18
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by foobaru View Post
Wicd crashes when attempting to alter wireless ESSID properties (when you arrow over on a wireless id in the curses menu for instance).

This is a known issue and a patch has been provided courtesy of the people over at Void Linux.

https://github.com/voidlinux/void-pa...a3e4e031037edf

I've already tested and verified that the patch works with my Slackware64 setup.
I tested the patch and see no ill effects.

My test environment:
urwid-1.0.1-x86_64-1 - recompiled from source/l in Slackware 14.1 (might work with 1.0.3?)
wicd-1.7.4-x86_64-2 - Patched with curses_bitrate_fix.patch and wicd-1421918.patch

Here is the diff of my wicd-1.7.4 SlackBuild from current:

Code:
--- wicd.SlackBuild.orig	2016-02-08 13:21:23.000000000 -0800
+++ wicd.SlackBuild	2016-03-18 11:55:10.025726524 -0700
@@ -22,7 +22,7 @@
 
 PRGNAM=wicd
 VERSION=${VERSION:-1.7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
 
 # Automatically determine architecture for build & packaging:
 if [ -z "$ARCH" ]; then
@@ -69,7 +69,8 @@
 done
 
 # Thanks to ArchLinux
-zcat $CWD/wicd-1.7.3-urwid-1.3.0.patch.gz | patch -p0 || exit 1
+cat $CWD/curses_bitrate_fix.patch | patch -p0 || exit 1
+cat $CWD/wicd-1421918.patch | patch -p0 || exit 1
 
 python setup.py configure \
   --lib=/usr/lib${LIBDIRSUFFIX}/wicd \
Patches taken from ArchLinux:
https://aur.archlinux.org/cgit/aur.g...h=wicd-patched

________________________________________________________________________
2015-09-17 17:57 UTC Update
urwid-1.0.3 works too

Is any other Python program in Slackware using urwid?

Last edited by aaazen; 03-19-2016 at 01:12 PM. Reason: urwid-1.0.3 works too
 
Old 03-24-2016, 02:17 AM   #19
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Hi, just to make it clear :

Here's the patch I used :
void-packages/srcpkgs/wicd/patches/curses_bitrate_fix.patch
Code:
--- curses/netentry_curses.py	2015-02-15 18:29:05.000000000 +0100
+++ curses/netentry_curses.py	2015-02-15 18:31:24.000000000 +0100
@@ -538,11 +538,12 @@
         self.bitrates = wireless.GetAvailableBitrates()
         self.bitrates.append('auto')
         self.bitrate_combo.set_list(self.bitrates)
-        self.bitrate_combo.set_focus(
-            self.bitrates.index(
-                wireless.GetWirelessProperty(networkID, 'bitrate')
+        if wireless.GetWirelessProperty(networkID, 'bitrate'):
+            self.bitrate_combo.set_focus(
+                self.bitrates.index(
+                    wireless.GetWirelessProperty(networkID, 'bitrate')
+                )
             )
-        )
         self.allow_lower_bitrates_chkbox.set_state(
             to_bool(self.format_entry(networkID, 'allow_lower_bitrates'))
         )
I applied it without recompiling.

Then used the urwid slackbuild to upgrade to 1.3.1

I will retry with clean builds of the packages as soon as I have time to build a fresh image of RC1. If it doesn't work I will give a try to your solution.

Regards
 
Old 03-24-2016, 07:41 AM   #20
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by Tonus View Post
Here's the patch I used :
void-packages/srcpkgs/wicd/patches/curses_bitrate_fix.patch
Code:
--- curses/netentry_curses.py	2015-02-15 18:29:05.000000000 +0100
+++ curses/netentry_curses.py	2015-02-15 18:31:24.000000000 +0100
@@ -538,11 +538,12 @@
         self.bitrates = wireless.GetAvailableBitrates()
         self.bitrates.append('auto')
         self.bitrate_combo.set_list(self.bitrates)
-        self.bitrate_combo.set_focus(
-            self.bitrates.index(
-                wireless.GetWirelessProperty(networkID, 'bitrate')
+        if wireless.GetWirelessProperty(networkID, 'bitrate'):
+            self.bitrate_combo.set_focus(
+                self.bitrates.index(
+                    wireless.GetWirelessProperty(networkID, 'bitrate')
+                )
             )
-        )
         self.allow_lower_bitrates_chkbox.set_state(
             to_bool(self.format_entry(networkID, 'allow_lower_bitrates'))
         )
I applied it without recompiling.
foobaru pointed to the Void Linux link for the patch: https://github.com/voidlinux/void-pa...a3e4e031037edf

I found a copy of the patch at Arch Linux: https://aur.archlinux.org/cgit/aur.g...h=wicd-patched

I include the patch in my builds and I see no bad effects.

Quote:
Originally Posted by Tonus View Post
Then used the urwid slackbuild to upgrade to 1.3.1

I will retry with clean builds of the packages as soon as I have time to build a fresh image of RC1. If it doesn't work I will give a try to your solution.
To try your way, I changed urwid.SlackBuild and created a urwid-1.3.1 package and installed it.

Then I changed the wicd.SlackBuild script to use wicd-1.7.4.
The script already includes the wicd-1.7.3-urwid-1.3.0.patch and I added the curses_bitrate_fix.patch.
Then I rebuilt and installed the new wicd-1.7.4 package.

It works somewhat ... but every time I exit wicd-curses I get a program error:

Code:
#wicd-curses
Traceback (most recent call last):
  File "/usr/share/wicd/curses/wicd-curses.py", line 1146, in call_update_ui
    self.update_ui(True)
  File "/usr/share/wicd/curses/wicd-curses.py", line 97, in wrapper
    return func(*args, **kargs)
  File "/usr/share/wicd/curses/wicd-curses.py", line 1159, in update_ui
    self.handle_keys(input_data)
  File "/usr/share/wicd/curses/wicd-curses.py", line 1128, in handle_keys
    k = self.frame.keypress(self.size, k)
  File "/usr/lib64/python2.7/site-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib64/python2.7/site-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "/usr/lib64/python2.7/site-packages/urwid/decoration.py", line 836, in keypress
    return self._original_widget.keypress((maxcol,), key)
  File "/usr/share/wicd/curses/wicd-curses.py", line 474, in keypress
    key = ComboBox.keypress(self, size, key)
  File "/usr/share/wicd/curses/curses_misc.py", line 497, in keypress
    return self._w.keypress(size, key)
  File "/usr/lib64/python2.7/site-packages/urwid/container.py", line 2269, in keypress
    key = w.keypress((mc,) + size[1:], key)
AttributeError: 'Text' object has no attribute 'keypress'
I get the same error and the program exits every time I delete a connection using the letter 'D'.

The <ESC> key does not work either.

Last edited by aaazen; 03-24-2016 at 07:43 AM. Reason: speling
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wicd-1.7.2.4-i486-1_slack13.37 patch breaks hard wired ifplug like behavior Old_Fogie Slackware 5 05-10-2012 06:20 PM
[SOLVED] problems with wicd in squeeze update radiodee1 Debian 10 02-05-2010 04:13 PM
Ram update requires 64bit OS? NeXuS_2006 Linux - Hardware 4 07-25-2009 04:47 AM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
Mandrake 10 Update requires CD #4 ? barneyt Mandriva 5 06-27-2004 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration