daggs wrote: > Greetings, > > > Sent: Saturday, July 04, 2020 at 8:54 PM > > From: "daggs" <da...@gmx.com> > > To: "Andrei POPESCU" <andreimpope...@gmail.com> > > Cc: debian-user@lists.debian.org > > Subject: Re: usb device constantly resets > > > > Greetings Andrei, > > > > > Sent: Saturday, July 04, 2020 at 8:10 PM > > > From: "Andrei POPESCU" <andreimpope...@gmail.com> > > > To: debian-user@lists.debian.org > > > Subject: Re: usb device constantly resets > > > > > > On Sb, 04 iul 20, 18:16:20, daggs wrote: > > > > Greetings, > > > > > > > > I'm running server with Debian 10 installed on it. > > > > the os is installed on a usb. the board is an asus H110M-A/M.2. > > > > the server runs a vm 24/7 on kvm (qemu 1:3.1+dfsg-8+deb10u5, > > > > libvirt-daemon 5.0.0-4+deb10u1), the server has a pass-trough usb wifi > > > > device (Ralink RT5572 Wireless Adapter) which fails loading, there is > > > > the error from the vm: > > > > [77248.176468] ieee80211 phy1: rt2x00lib_request_firmware: Info - > > > > Loading firmware file 'rt2870.bin' > > > > [77248.178889] ieee80211 phy1: rt2x00lib_request_firmware: Info - > > > > Firmware detected - version: 0.36 > > > > [77248.764079] ieee80211 phy1: rt2x00usb_vendor_request: Error - Vendor > > > > Request 0x06 failed for offset 0x18d8 with error -110 > > > > [77248.840436] ieee80211 phy1: rt2800_wait_bbp_ready: Error - BBP > > > > register access failed, aborting > > > > [77248.850119] ieee80211 phy1: rt2800usb_set_device_state: Error - > > > > Device failed to enter state 4 (-5) > > > > > > > > I assumed this is a vm issue but I saw dmesg is filled with these: > > > > usb 1-2: reset high-speed USB device number 3 using xhci_hcd > > > > > > > > using sysfs and lsusb -D I found out it is the wireless device passed > > > > to the vm. > > > > the kernel I'm using is 4.19.67-2+deb10u2. > > > > > > > > any ideas how to solve this issue as I cannot use the wifi usb in the > > > > vm guest? > > > > > > > the device serves as AP so it is a bit hard to test the same functionality, > > I'll try to see if it connects to another wireless network and report back. > > > > Thanks, > > > > Dagg. > > > Does the device work if you don't pass it on to the VM? > > > > > I got a router, configured it and tried to connect the setup as client rather > than ap from debian host, after 39 mintues I have ping, ip and no errors in > dmesg. > > so I assume this is a libvirt issue correct? should I try to upgrade the vm > env to testing? show stable is it? if it fails, I'm left out with network at > all... >
iw list | grep "Supported interface modes" -A 8 Does it show an AP mode? There are quite a few wifi devices which don't support AP mode at all. -dsr-