mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.72k stars 1.57k forks source link

Please add support for FTDI FT232RQ chip #581

Closed anteploon closed 2 weeks ago

anteploon commented 1 month ago

Money Controls CCTalk dongles use FTDI FT232RQ chip vendor-id=4207 (0x106F) product-id=4 (0x0004) Here is what the LogCat shows, when the device is connected:

2024-06-05 00:58:53.140 1303-1544 UsbHostManager system_server D USB device attached: vidpid 0424:2514 mfg/product/ver/serial null/null/11.113/null hasAudio/HID/Storage: false/false/false 2024-06-05 00:58:53.592 1303-1385 UsbDeviceManager system_server D Clear notification 2024-06-05 00:58:54.387 1303-1544 UsbHostManager system_server D USB device attached: vidpid 0b95:772b mfg/product/ver/serial ASIX Elec. Corp./AX88772B/0.02/000001 hasAudio/HID/Storage: false/false/false 2024-06-05 00:58:54.392 1303-1544 UsbDeviceDescriptor system_server D 1 configs 2024-06-05 00:58:54.393 1303-1544 UsbHostManager system_server D Added device UsbDevice[mName=/dev/bus/usb/001/003,mVendorId=2965,mProductId=30507,mClass=255,mSubclass=255,mProtocol=0,mManufacturerName=ASIX Elec. Corp.,mProductName=AX88772B,mVersion=0.02,mSerialNumber=000001,mConfigurations=[ UsbConfiguration[mId=1,mName=0,mAttributes=224,mMaxPower=2,mInterfaces=[ UsbInterface[mId=0,mAlternateSetting=0,mName=0,mClass=255,mSubclass=255,mProtocol=0,mEndpoints=[ UsbEndpoint[mAddress=129,mAttributes=3,mMaxPacketSize=8,mInterval=11] UsbEndpoint[mAddress=130,mAttributes=2,mMaxPacketSize=512,mInterval=0] UsbEndpoint[mAddress=3,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]] 2024-06-05 00:58:54.435 1303-1544 ActivityManager system_server I START u0 {act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x11000000 cmp=com.android.mtp/.ReceiverActivity (has extras)} from uid 1000 2024-06-05 00:58:54.484 6299-6299 UsbDeviceConnectionJNI com.android.mtp D close 2024-06-05 00:58:54.601 1303-1544 UsbHostManager system_server D USB device attached: vidpid 106f:0004 mfg/product/ver/serial Money Controls/USB Dongle/6.00/Dong2 hasAudio/HID/Storage: false/false/false 2024-06-05 00:58:54.608 1303-1544 UsbDeviceDescriptor system_server D 1 configs 2024-06-05 00:58:54.610 1303-1544 UsbHostManager system_server D Added device UsbDevice[mName=/dev/bus/usb/001/004,mVendorId=4207,mProductId=4,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Money Controls,mProductName=USB Dongle,mVersion=6.00,mSerialNumber=Dong2,mConfigurations=[ UsbConfiguration[mId=1,mName=null,mAttributes=160,mMaxPower=250,mInterfaces=[ UsbInterface[mId=0,mAlternateSetting=0,mName=USB Dongle,mClass=255,mSubclass=255,mProtocol=255,mEndpoints=[ UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0] UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]

kai-morich commented 1 month ago

the device does not use standard FTDI vendor/product id. You should try with custom prober