]> git.lizzy.rs Git - plan9front.git/blobdiff - rc/bin/nusbrc
merge
[plan9front.git] / rc / bin / nusbrc
index 1bff5073b6736fa5c074a926091ded7730e6b471..338438935690ce4d7276bac100fcce1ec87ab1bb 100755 (executable)
@@ -26,6 +26,13 @@ if(! bind -a '#u' /dev)
                        # nusb/disk $id
                case 010106
                        nusb/ptp $id
+               case *
+                       # HUAWEI E220 modem
+                       if(~ $2$3 12d11003)
+                               nusb/serial $id
+                       # FTDI
+                       if(~ $2 0403)
+                               nusb/serial $id
                }
        }
        fn detach {