Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
BruhAintNoWay
Posts: 2
Joined: 01 Oct 2023, 20:24

Noob failing to get anything to run automatically on Arch

Post by BruhAintNoWay » 01 Oct 2023, 20:37

The long and short of it is I installed the package on Arch via pacman,
I made a config file in /etc/usb_modeswitch.d called 2357:8151 containing:

Code: Select all

DefaultVendor=0x2357
DefaultProduct=0x8151
TargetVendor=0x2357
TargetProduct=0x0601
ResetUSB=1
, and if I run usb_modeswitch manually, everything's fine, but I'd like it to be automatic.
Running systemctl --all | grep usb_modeswitch gives me nothing, and EnableLogging=1 hasn't created any logs in /var/log, so I have no idea what to do.
Pls halp

BruhAintNoWay
Posts: 2
Joined: 01 Oct 2023, 20:24

Re: Noob failing to get anything to run automatically on Arch

Post by BruhAintNoWay » 15 Nov 2023, 20:35

Ah my bad I didn't have the udev rule set up.

Used the rule in this post https://www.draisberghof.de/usb_modeswi ... f=3&t=3041

ISSUE CLOSED

Post Reply