summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-12-24 11:04:18 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-12-24 11:04:18 +0100
commitd1799f65ca4835cbb896f802b297b39e518b9cc6 (patch)
tree0905e9121639512c830984745cc3b3a2f10d6f31 /rc
parent7a3f0998a0ce7470d70c1a13bc4646abafdcc236 (diff)
downloadplan9front-d1799f65ca4835cbb896f802b297b39e518b9cc6.tar.xz
nusb/serial: fix nusb/serial hang with ftdi
have to create process, not a thread in ftdi code so main process can exit after posting fs service.
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/nusbrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc/bin/nusbrc b/rc/bin/nusbrc
index 23acf666e..338438935 100755
--- a/rc/bin/nusbrc
+++ b/rc/bin/nusbrc
@@ -30,6 +30,9 @@ if(! bind -a '#u' /dev)
# HUAWEI E220 modem
if(~ $2$3 12d11003)
nusb/serial $id
+ # FTDI
+ if(~ $2 0403)
+ nusb/serial $id
}
}
fn detach {