Skip to content

Commit

Permalink
linux qcserial help
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jan 25, 2025
1 parent 5b2098d commit c7d24ff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/Flash.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useCallback } from 'react'

import { Step, Error, useQdl } from '../utils/flash'
import { isLinux } from '../utils/platform'

import bolt from '../assets/bolt.svg'
import cable from '../assets/cable.svg'
Expand Down Expand Up @@ -77,7 +78,7 @@ const errors = {
},
[Error.LOST_CONNECTION]: {
status: 'Lost connection',
description: 'The connection to your device was lost. Check that your cables are connected properly and try again.',
description: 'The connection to your device was lost. Unplug your device and try again.',
icon: cable,
},
[Error.DOWNLOAD_FAILED]: {
Expand Down Expand Up @@ -109,6 +110,10 @@ const errors = {
},
}

if (isLinux) {
errors[Error.LOST_CONNECTION].description += ' Did you forget to unbind the device from qcserial?'
}


function LinearProgress({ value, barColor }) {
if (value === -1 || value > 100) value = 100
Expand Down

0 comments on commit c7d24ff

Please sign in to comment.