Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2020 20:29:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 230038] regression USB mass storage device
Message-ID:  <bug-230038-19105-Gii7VwjiOG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230038-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230038-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230038

Friedrich Volkmann <bsd@volki.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd@volki.at

--- Comment #2 from Friedrich Volkmann <bsd@volki.at> ---
Problem persists in 12.1-STABLE r358922. (My Garmin is a Dakota 20.) I get
another scbus number, so I wrote a shell script that parses the output of
"camcontrol devlist" as a workaround:

#!/bin/bash
camline=3D`camcontrol devlist|grep 'GARMIN Flash'`
while test -z "$camline" ;do
        echo not found, waiting 5 seconds...
        sleep 5
        camline=3D`camcontrol devlist|grep 'GARMIN Flash'`
done
# output: <Garmin GARMIN Flash 1.00>         at scbus8 target 0 lun 0
(da0,pass4)
camline=3D${camline#*scbus}
bus=3D${camline%% *}
camline=3D${camline#*target }
target=3D${camline%% *}
camline=3D${camline#*lun }
lun=3D${camline%% *}
echo -n bus:target:lun =3D $bus:$target:$lun
lun=3D$(($lun + 1))
echo " -> $bus:$target:$lun"

camcontrol rescan $bus:$target:$lun

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230038-19105-Gii7VwjiOG>