mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lars Melin <larsm17@gmail.com>
To: tuhaowen <tuhaowen@uniontech.com>,
	stern@rowland.harvard.edu, gregkh@linuxfoundation.org
Cc: linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net,
	linux-kernel@vger.kernel.org, wangyuli@uniontech.com
Subject: Re: [PATCH] drv/usb: Fix the issue with Realtek USB wireless adapter AC650
Date: Tue, 25 Jun 2024 21:22:20 +0700	[thread overview]
Message-ID: <bb98f8f0-0326-4fc1-8b24-dd35ed0b80fb@gmail.com> (raw)
In-Reply-To: <20240625070724.22044-1-tuhaowen@uniontech.com>

On 2024-06-25 14:07, tuhaowen wrote:
> Due to the dual-mode functionality of the Realtek USB wireless
> adapter AC650, it initially presents itself as a flash drive
> before the driver is installed.
> 
> In Linux, multi-state devices are recognized as storage devices
> on startup because the driver has not yet been loaded.
> 
> As a result, the AC650 is identified as a DISK device at boot,
> preventing the use of its WLAN mode. The issue can only be
> resolved by unplugging and replugging the adapter.
> 

It can be resolved by manually ejecting the created cdrom drive or by 
using usb_modeswitch which will eject the drive as soon as it is 
detected. No need for unplugging/replugging.

thanks
Lars


      parent reply	other threads:[~2024-06-25 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25  7:07 tuhaowen
2024-06-25 13:36 ` Alan Stern
2024-06-25 14:22 ` Lars Melin [this message]

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=bb98f8f0-0326-4fc1-8b24-dd35ed0b80fb@gmail.com \
    --to=larsm17@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=tuhaowen@uniontech.com \
    --cc=usb-storage@lists.one-eyed-alien.net \
    --cc=wangyuli@uniontech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®