On Tue, Jan 10, 2023 at 12:43:27PM -0300, Bruno Natali wrote:
very good following the tutorial and mentioning it.
this eliminates a lot of guessing.
After I run this command:
osmo-remsim-client-st2 --usb-vendor 1d50 --usb-product 60e3 --usb-path
1-2.2 --usb-config 1 --client-id 1 --client-slot 1 --server-ip 127.0.0.1
--server-port 9998 -d DMAIN,1:DST2,1:DRSPRO,1
could you try with the following additional option:
--usb-interface 0
normally it would fail if this is not present and required, but it could help
Cannot claim interface: LIBUSB_ERROR_INVALID_PARAM
I'm stuck in this error (even running as sudo):
at first I thought about wrong access permissions (see USB permission in tutorial), but
this can't be since it even fails with sudo.
good initiative testing it.
Sorry if this issue was addressed in another email, I
even tried looking in
the archives but the archives page is not very user friendly.
the other reason could be that someone else already claimed the device.
to check if another process uses the USB device:
# get bus and device number
lsusb | grep SIMtrace
Bus 001 Device 090: ID 1d50:60e3 OpenMoko, Inc. Osmocom SIMtrace 2
# list process using it
lsof /dev/bus/usb/001/090
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
osmo-rems 470362 kevredon mem CHR 189,89 3242 /dev/bus/usb/001/090
osmo-rems 470362 kevredon 7u CHR 189,89 0t0 3242 /dev/bus/usb/001/090
I hope it helps