summaryrefslogtreecommitdiff
path: root/extras/path_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/path_id')
-rwxr-xr-xextras/path_id/path_id3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/path_id/path_id b/extras/path_id/path_id
index f7b1435d3d..f45f62ad32 100755
--- a/extras/path_id/path_id
+++ b/extras/path_id/path_id
@@ -515,6 +515,9 @@ handle_device () {
*/host[0-9]*/[0-9]*:[0-9]*:[0-9]*:[0-9]*)
handle_scsi "$D"
;;
+ */ttyUSB*)
+ D=${D%/ttyUSB*}
+ ;;
*/usb[0-9]*/[0-9]*/*)
handle_usb "$D"
;;