You are not logged in.

#1 2021-08-22 23:26:57

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

usb's not working properly

i dont know exactly what the problem is and ive tried looking for answers around many forums and none seem to help. My mouse works fine (glorious model o) but when i try to configure it in their software when using wine or a windows 7 vm. it says "device disconnected" and the firmware is up to date. Its not a faulty cord because it works on my school computer (win 10).

Offline

#2 2021-08-23 00:15:08

Realhuman561
Member
From: $location
Registered: 2021-08-17
Posts: 8

Re: usb's not working properly

1. Try running 'sudo pacman -Syu' first. You may have a system update.
2. If that fails, try 'sudo pacman -S dkms linux-headers'. I had to do this for my Razer Mamba Elite via Razercommander.


System Specs:
40GiB HDD partition for Archlinux itself | 1GiB Swap partition | 512MiB EFI partition
GPU: GTX 1050 (notebook) w/ Intel HD integrated graphics (i7 8th gen no overclock)
CPU: Intel core i7 8th gen (no overclock) | RAM: 16GB DDR4 (single stick)

Offline

#3 2021-08-23 00:25:46

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

thanks for the quick reply, should i restart my computer after i do this? i tried both of them and they both dont work hmm

Offline

#4 2021-08-23 00:39:59

Realhuman561
Member
From: $location
Registered: 2021-08-17
Posts: 8

Re: usb's not working properly

You should try restarting. I remember there was one last command but I don't quite remember it

Update: The last command i can think of to get it working would be

sudo gpasswd -a $USER plugdev

, then restarting.

Last edited by Realhuman561 (2021-08-23 00:42:00)


System Specs:
40GiB HDD partition for Archlinux itself | 1GiB Swap partition | 512MiB EFI partition
GPU: GTX 1050 (notebook) w/ Intel HD integrated graphics (i7 8th gen no overclock)
CPU: Intel core i7 8th gen (no overclock) | RAM: 16GB DDR4 (single stick)

Offline

#5 2021-08-23 00:50:06

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

I restarted and it still doesnt work.

EDIT: "sudo gpasswd -a $USER plugdev" outputs "gpasswd: group 'plugdev' does not exist in /etc/group"

Last edited by Fabian Paci (2021-08-23 01:30:06)

Offline

#6 2021-08-23 07:13:56

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

My mouse works fine (glorious model o) but when i try to configure it in their software when using wine or a windows 7 vm.

The windows driver is likely seeking direct HW access to the device, which is not gonna happen this way.

What kind of rodent is this specifically?

Offline

#7 2021-08-23 07:23:38

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Offline

#8 2021-08-23 07:27:16

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

A, ok - that *was* the name. "glorious" choice lol

https://github.com/enkore/gloriousctl (unvetted)

Offline

#9 2021-08-23 07:36:42

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Yeas i have that already but its very limited in what it can do. it can only mainly change aesthetic things + dpi and de bounce changes. In the official software you can switch profiles, create macros, and alot more.

Offline

#10 2021-08-23 07:46:42

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

There's little to no chance that you can use that through wine, let alone a VM.

Your best chance was to alter the permissions on the device node to give your user rw access, but even then…
https://wiki.archlinux.org/title/Udev#A … mm_devices

Offline

#11 2021-08-23 07:51:35

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Thats what i thought but i found people who said they could run it on a vm. they didnt specify linux or windows though so i think i may have misinterpreted. Thanks for your help though. should i mark this post as "[CLOSED]"?

Edit: Also ive already tried that sad

Last edited by Fabian Paci (2021-08-23 07:52:28)

Offline

#12 2021-08-23 08:29:37

loqs
Member
Registered: 2014-03-06
Posts: 18,123

Re: usb's not working properly

Are you passing the USB controller through to the VM or just the device or is the mouse visualized?

Offline

#13 2021-08-23 09:28:59

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Yeah i dont know, im assuming its visualized but that's not the the whole problem. even outside the vm when i run it with wine it still says disconnected.

Offline

#14 2021-08-23 10:41:06

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: usb's not working properly

You should be fine to run this kind of thing through a Windows VM, as long as you passthrough the USB device so the VM has full access to it. As long as your mouse has on-board memory for the software to save its config to, you can configure it Windows-side and then use it freely on Linux-side without additional software.

Note: passthrough means host OS cannot access the device anymore, while the VM is running. If you're still able to release input from the host or otherwise move your cursor back into the host OS, the device isn't passed through and the software cannot work. Personally I just use VMWare Player with usb-arbitrator, it's easy and the mouse just shows up for passthrough under Removable Devices, as long as "Show all USB input devices" is checked in VM config.

If you prefer something else for your VMs though, then you're on your own for figuring out how to passthrough your USB to that VM. It shouldn't be too complicated of a process though. It's unlikely to work on Wine because Wine probably doesn't have all the low-level access stuff implemented.

Offline

#15 2021-08-23 10:53:17

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Yeah but thats not really the problem. Even when i use wine to run the software on my host it still says disconnected. i dont think changing to a vm with the same properties would help.

Offline

#16 2021-08-23 11:01:41

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: usb's not working properly

Ammako wrote:

It's unlikely to work on Wine because Wine probably doesn't have all the low-level access stuff implemented.

Wine is not a perfect replacement for Windows. Not yet.

Offline

#17 2021-08-23 15:20:00

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

Also ive already tried that

Let's see your trials…

lsusb
ls -lR /dev/bus/usb/

As well as the udev rule you added.

Offline

#18 2021-08-23 21:17:57

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

how to i put the output in a box? like your message

Offline

#19 2021-08-23 21:20:34

seth
Member
Registered: 2012-09-03
Posts: 59,758

Offline

#20 2021-08-23 21:36:51

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

Thank you smile

Bus 002 Device 002: ID 2109:0813 VIA Labs, Inc. VL813 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0b05:1866 ASUSTek Computer, Inc. N-KEY Device
Bus 001 Device 007: ID 0f39:0616 TG3 Electronics POKER 3C
Bus 001 Device 006: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 001 Device 004: ID 258a:0036 SINOWEALTH Wired Gaming Mouse
Bus 001 Device 002: ID 2109:2813 VIA Labs, Inc. VL813 Hub
Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/dev/bus/usb/:
total 0
drwxr-xr-x 2 root root 180 Aug 23 21:02 001
drwxr-xr-x 2 root root  80 Aug 23 21:02 002

/dev/bus/usb/001:
total 0
crw-rw-r-- 1 root root 189, 0 Aug 23 21:02 001
crw-rw-r-- 1 root root 189, 1 Aug 23 21:02 002
crw-rw-r-- 1 root root 189, 2 Aug 23 21:02 003
crw-rw-r-- 1 root root 189, 3 Aug 23 21:02 004
crw-rw-r-- 1 root root 189, 4 Aug 23 21:02 005
crw-rw-r-- 1 root root 189, 5 Aug 23 21:02 006
crw-rw-r-- 1 root root 189, 6 Aug 23 21:02 007

/dev/bus/usb/002:
total 0
crw-rw-r-- 1 root root 189, 128 Aug 23 21:02 001
crw-rw-r-- 1 root root 189, 129 Aug 23 21:02 002

The device comes up us "SINOWEALTH Wired Gaming Mouse"

i followed along with https://unix.stackexchange.com/question … recognized

Offline

#21 2021-08-23 21:56:37

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

All devices are root-writable only, skipping the MTP rule won't help you here.
Please see the link I posted and substitute the vendor:product ID (258a:0036)

Offline

#22 2021-08-23 22:22:30

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

i already did something like that before and it didnt work. although im not at all familiar with this stuff hmm

Offline

#23 2021-08-23 22:50:53

seth
Member
Registered: 2012-09-03
Posts: 59,758

Re: usb's not working properly

Yeah, the idea was to test your succes on this - and the link to the MTP rule does not inspire great confidence.
Please check the link I posted in #10, redo your efforts and control them w/ the commands you ran for #20

Offline

#24 2021-08-24 02:54:04

Fabian Paci
Member
From: Australia
Registered: 2021-08-11
Posts: 25

Re: usb's not working properly

I give up, i dont think i will solve this anytime soon. ill just deal with using my school laptop.

Offline

#25 2021-08-24 05:40:38

seth
Member
Registered: 2012-09-03
Posts: 59,758

Offline

Board footer

Powered by FluxBB