mapaiva / react-native-usbserial

A USB serial React Native bridge
MIT License
58 stars 35 forks source link

No available drivers to communicate with devices #8

Open lnanhkhoa opened 6 years ago

lnanhkhoa commented 6 years ago

I/ReactNativeJS( 2851): [ { deviceName: '/dev/bus/usb/001/003', I/ReactNativeJS( 2851): vendorId: 911, I/ReactNativeJS( 2851): productId: 1345, I/ReactNativeJS( 2851): deviceId: 1003, I/ReactNativeJS( 2851): name: '/dev/bus/usb/001/003' }, I/ReactNativeJS( 2851): { deviceName: '/dev/bus/usb/004/003', I/ReactNativeJS( 2851): vendorId: 11388, I/ReactNativeJS( 2851): productId: 293, I/ReactNativeJS( 2851): deviceId: 4003, I/ReactNativeJS( 2851): name: '/dev/bus/usb/004/003' } ] No available drivers to communicate with devices

Why i can not connect devices? how should i do?

ovidius72 commented 5 years ago

I'm having the same issue. Any suggestion ?

omatrot commented 5 years ago

Yes, take a look at this fork/commit Please note that the driver is hardcoded to FtdiSerialDriver line 86 of ReactUsbSerialModule.java If this driver is not working for you, you can use another one to see if that suits you.. In m case, I'm using CdcAcmSerialDriver instead.