All of lore.kernel.org
 help / color / mirror / Atom feed
From: James <bjlockie@lockie.ca>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: Mathy Vanhoef <vanhoefm@gmail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: Alfa AWUS036ACM (Mediatek MT7612U) AP problem
Date: Mon, 29 Jun 2020 12:43:43 -0400	[thread overview]
Message-ID: <589a2269-38e2-2897-1f68-6a4617fdf400@lockie.ca> (raw)
In-Reply-To: <20200629091919.GA10533@localhost.localdomain>



On 2020-06-29 5:19 a.m., Lorenzo Bianconi wrote:
>> Kernel 5.4.48 is better so far:
>> Uptime
>> 1d 18h 6m 32s
>> It sounds like it is only a matter of time since you have the problem on a
>> later kernel.
>> I did get rid of a cable and use a powered USB 3 hub.
> Can you please try to load the mt76_usb module with disable_usb_sg=1?
>
> Regards,
> Lorenzo
It just died, Uptime 2d 14h 23m 22s. :-(

Shouldn't modinfo list the available parameters?
# modinfo mt76_usb
module:         /lib/modules/5.4.48/mt76-usb.ko
license:        Dual BSD/GPL
depends:        mt76,mac80211
name:           mt76_usb
vermagic:       5.4.48 SMP mod_unload aarch64

# ls /sys/module/mt76_usb/parameters/
disable_usb_sg


# cat /sys/module/mt76_usb/parameters/disable_usb_sg
N

I've tried a few things in /etc/module.d but nothing worked yet.
I unplugged the dongle and did:
# echo 1 > /sys/module/mt76_usb/parameters/disable_usb_sg
I plugged in the dongle:
# cat /sys/module/mt76_usb/parameters/disable_usb_sg
Y

I found this old post that helped:
https://github.com/openwrt/mt76/issues/398

  reply	other threads:[~2020-06-29 19:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 19:32 Alfa AWUS036ACM (Mediatek MT7612U) AP problem James
2020-06-28 18:24 ` Mathy Vanhoef
2020-06-29  2:08   ` James
2020-06-29  9:19     ` Lorenzo Bianconi
2020-06-29 16:43       ` James [this message]
2020-07-01 18:25       ` disable_usb_sg=1 James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=589a2269-38e2-2897-1f68-6a4617fdf400@lockie.ca \
    --to=bjlockie@lockie.ca \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=vanhoefm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.