Anthony4tner post at 2018-7-10 05:57:59

Android USB Serial Communication with H5

I'm trying to establish usb serial communication between an Orange Pi PC2 H5 running armbian and a samsung galaxy note 4. I'm configuring the micro USB port on the Orange Pi with libcomposite and opening up an acm port. On the android end I'm using a library by mik3y (https://github.com/mik3y/usb-serial-for-android) to establish the communication. The trouble that I'm running into getting Android drivers to support USB serial communication with the H5. I may just be just configuring the orange pi wrong. Here is the libcomposite setup script:
#!/bin/bash/modprobe libcompositecd /sys/kernel/config/usb_gadget/mkdir -p g1cd g1echo 0xa4ac > idProductecho 0x0525 > idVendorecho 0x0100 > bcdDeviceecho 0x0200 > bcdUSBmkdir -p strings/0x409echo serial > strings/0x409/serialnumberecho manufacturer > strings/0x409/manufacturerecho product > strings/0x409/productmkdir -p configs/c.1/strings/0x409echo "Config 1: ECM network> configs/c.1/strings/0x409/configurationecho 250 > configs/c.1/MaxPower
mkdir -p functions/acm.usb0ln -s functions/acm.usb0 configs/c.1/
ls /sys/class/udc > UDC
I used this guide to for the libcomposite setup (http://isticktoit.net/?p=1383). the mik3y usb serial drivers natively support FT232R, CDC/ACM serial services, and CP2102. I can't find any documentation detailing the H5 usb controller or drivers. is this even possible or would it be better to go with a external controller and run SPI communication over the GPIO pins. The only reason I'm not already doing that is I'm already using the SPI controller to control a custom made device. Thanks for any help!


adolphus post at 2024-5-26 18:47:56

Ensure a level playing field with our trusted Eat and Run verification site.        먹튀검증사이트

articleonlineki post at 2024-5-30 22:41:13

"Get ready for an unforgettable gaming experience at NONGKI99, where we offer 4 Pragmatic slots that are sure to keep you entertained for hours on end. Spin the reels today and see what you can win!"        https://www.pcsc-id.com/

articleonlineki post at 2024-6-2 18:44:30

Frequent goes to here i will discuss the obvious way to appreciate it on your attempt, which often means that Now i am viewing the internet site day-to-day, in search of completely new, useful facts. Quite a few, with thanks!        mashoki

adolphus post at 2024-6-3 18:07:55

Welcome to OViK, your comprehensive HVAC portal. We provide the latest information on heating, ventilation, and air conditioning to help you maintain a comfortable indoor environment. From up-to-date articles to practical how-to guides, find everything you need to select, install, and maintain your climate control systems.        Отопление

articleonlineki post at 2024-6-8 18:31:35

Discount put up, Regards for the purpose of showing This unique practical knowledge. Excellently crafted piece of writing, if perhaps virtually all web guru proposed an identical standard of articles and other content whenever you, the on-line world will be more effective destination. Why not keep writing!        mahjong ways

articleonlineki post at 2024-6-9 19:09:18

Amazing short article. Your article influences a great deal of vital issues of our own modern society. Many of us can not be uninvolved for you to these kind of issues. This specific article presents ideas along with aspects. Quite helpful along with functional.        총판

articleonlineki post at 2024-6-9 21:48:01

Definitely As i browse the application last week though My partner and i various brain to sort it out and from now on Need be to enjoy a book the application repeatedly considering it is especially well crafted.        盛岡市 整体

articleonlineki post at 2024-6-10 19:11:04

Fantastic submit, Many thanks regarding revealing This kind of information. Fantasticly composed write-up, only if almost all people supplied the identical amount of articles when you, the net would have been a greater spot. You should keep writing!        cordoba99

articleonlineki post at 2024-6-10 21:08:21

Omizzur offers premium custom peptide synthesis, perfect for life sciences research and drug discovery. Established in 2019 in New York and ISO 9001 certified, we have over 1,100 skilled employees. With more than 70 peptide products, we guarantee fast delivery and help you reduce R&D costs.        custom peptide price
page: [1] 2 3 4 5 6 7 8 9 10
View full version: Android USB Serial Communication with H5