flipperdevices / qFlipper

qFlipper — desktop application for updating Flipper Zero firmware via PC
https://update.flipperzero.one
GNU General Public License v3.0
1.06k stars 142 forks source link

Do not use wrong serial port #148

Closed hramrach closed 1 year ago

hramrach commented 1 year ago

Before: 458 [APP] qFlipper version 1.2.2 commit 36784715 2022-12-15T15:32:42 458 [APP] OS info: openSUSE Tumbleweed 20221220 6.0.12-1-default Qt 5.15.7 861 [USB] Failed to open device 862 [REG] Detected new device: VID_0x483:PID_0x5740 971 [DBG] Trying serial port flip_Liwkiald at /dev/ttyACM0 971 [DBG] Trying serial port at /dev/ttyUSB0 971 [DBG] Using serial port at /dev/ttyUSB0 972 [UPD] Fetched update information from https://update.flipperzero.one/firmware/directory.json 973 [RPC] Starting RPC session... 2020 [RPC] Failed to start RPC session: Failed to open serial port: Device or resource busy 2020 [REG] Device initialization failed: Protobuf session error: Failed to open serial port: Device or resource busy

After: 454 [APP] qFlipper version 1.2.2 commit 36784715 2022-12-15T15:32:42 455 [APP] OS info: openSUSE Tumbleweed 20221220 6.0.12-1-default Qt 5.15.7 858 [USB] Failed to open device: Access denied (insufficient permissions) 858 [REG] Invalid device detected: VID_0x483:PID_0x5740, ignoring it

zhovner commented 1 year ago

Thanks!