Hi, is it possible for Android to connect to other pc just like Windows do in this pdf?
https://ig8g.com/out/utilities/PPP/PPPWindows10SetupNotes_RevA.pdf
You can set up Android PPP over USB by means of ADB.
Look inside here:
[REF] PPP over USB with adb (without hacking)
My development environment has a collection of native tools that blend with the target (the Galaxy) using X11 and NFS. For that I need a cabled network connection. adb hints that it supports PPP, and adb also uses the USB cable making it a...
forum.xda-developers.com
jwoegerbauer said:
You can set up Android PPP over USB by means of ADB.
Look inside here:
[REF] PPP over USB with adb (without hacking)
My development environment has a collection of native tools that blend with the target (the Galaxy) using X11 and NFS. For that I need a cabled network connection. adb hints that it supports PPP, and adb also uses the USB cable making it a...
forum.xda-developers.com
Click to expand...
Click to collapse
But will this work also on serial connection?
USB stands for Universal Serial Bus.
Bandwidth of standard Serial is 115 Kbps, whereas bandwidth of USB 3.0 is 5 Gbps and of USB 2.0 is 480 Mbps.
Wondering why you want to connect over standard Serial?
jwoegerbauer said:
USB stands for Universal Serial Bus.
Bandwidth of standard Serial is 115 Kbps, whereas bandwidth of USB 3.0 is 5 Gbps and of USB 2.0 is 480 Mbps.
Wondering why you want to connect over standard Serial?
Click to expand...
Click to collapse
As other device only have a serial port, I may need to use a converter plug to connect to it. In this case I may need to set the baudrate, purity for the connection
vagad79718 said:
As other device only have a serial port, I may need to use a converter plug to connect to it. In this case I may need to set the baudrate, purity for the connection
Click to expand...
Click to collapse
Read also here:
Connecting Android to a serial device using USB-Serial Converter
I am attempting to connect to a serial device from a Android tablet, via USB-Serial Converter. In order to interface with this particular serial device, a linux library must be used as an interface. This library takes an integer as an...
forum.xda-developers.com
Related
Hey Guys:
Here is an old but challengable subject to discussion:
( before going to discussion I must appreciate GSM Coolhawk for his message on Modify any USB GPS to XDA Serial RS232, afterrnoon project and also chat with me)
XDA and many of other handhels and ppcs dont support SDIO. But we have ActiveSync Port that support USB and RS 232. However these devices act as a slave USB so we cant connect any usb prepherals.
IS it possible we use an "USB to RS232 Converter" to convert output signal of prepheral devices as a readable signal for ActiveSync port of XDA device?
Thanks
yes it would be possible
problem nr 1
usb1.1 is 12Mbit /Sec
usb2 is 480Mbit /Sec
old style serial rs232 is about 160Kb/sec
many a device would malfunction if it's return signals from the master were delayed that much
problem nr 2
even the usb to serial and parallel ports you can get for using on pc's are not 100% transparent and many devices have problems with them (usb to serial and parallel ment as in you connect old devices to your converter which connect to the serial port)
problem nr 3
drivers you would still have to write drivers for all usb devices you wanted to use unless the manufactor already had the same device in a serial version and therefor a driver which would control it using rs232
so yeah it's possible
not really worth it imho
and as a replacement for the lack of a SDIO it would be easier and cheaper to buy a new device
Is it possible to talk to "Micro Maestro 6-Channel USB Servo Controller" from an Android phone?
User Manual says:
"The Maestro’s two virtual serial ports can be used in Linux without any special driver installation. The virtual serial ports are managed by the cdc-acm kernel module, whose source code you can find in your kernel’s source code drivers/usb/class/cdc-acm.c. When you connect the Maestro to the PC, the two virtual serial ports should appear as devices with names like /dev/ttyACM0 and /dev/ttyACM1 (the number depends on how many other ACM devices you have plugged in). The port with the lower number should be the Command Port, while the port with the higher number should be the TTL Serial Port. You can use any terminal program (such as kermit) to send and receive bytes on those ports."
Which API-namespache should be used (javax.comm is not included)?
Thanks
Wladimir
I have a simmilar problem. I have send and receive commands/files by the tablet using cdc-acm ( /dev/ttyACM0 ) to a control board .
I need help
With a command cat /com/clean.txt > /dev/ttyACM0 . i can send a file but does not receive the shipping confirmation. Had it a terminal program for me to use, similar to moserial Linux?
First, why:
I own two Coby Kyros tablets that I am using as a part-time car headrest entertainment system. Heck, they are so cheap, buying a dedicated car video just does not make sense.
Tablets work great for that purpose, great resolution (for a car), have games and music. There is only one piece that is missing, simultaneous video playback on both tablets.
Getting this working presents two challenges:
* A fast, stable, always ON connection between the tablets.
* A master/slave video playback software, either streaming or syncing
Glad to report, I've solved the first issue, that I'll describe here. Be warned this is not for the faint of hart and right now is fully manual. If you find it helpful I might work on automating the link.
Tested on Froyo. At least one device has to be rooted and support the USB Host mode.
Now, how:
The idea is simple - use the android debugging bridge to forward TCP ports between two systems over USB. If you do have USB tethering enabled on at least one device (I did not) you could use RNDIS to route all traffic, not just specific ports, over USB.
1. Pick a tablet to be the slave. It must be rooted. Get the adb client compiled for android from here, upload it to the slave /system/xbin ("adb push ...") and make executable (adb shell chmod 755...). Get ConnectBot from the market to access its console.
2. Put the slave into the USB Host mode, disable USB debugging on it. Put the master into the USB device mode and enable USB debugging.
3. Connect the master and the slave using a miniUSB-USBfemale and USBmale-miniUSB combination, a USB hub (make sure it is a high-speed one) or a miniUSBmale-miniUSBmale cord.
4. Now the tough part, typing shell commands on the tablet. You can make it a bit easier by using a USB hub and connecting a keyboard and a mouse together with the other tablet to the slave.
On the slave start ConnectBot for the localhost and type the following
Code:
less /proc/bus/usb/devices
Look for your master's devices BUS# and DEV#. Record both. Note, these numbers change when you re-plug USB.
Now, on the slave:
Code:
su
mkdir -p /dev/bus/usb/001/
ln -sf /proc/bus/usb/[BUS#]/[Dev#] /dev/bus/usb/001/001
5. Test. On the slave run 'adb devices'. It should show your master in the list.
6. Forward slave ports to the master as needed. Run 'adb forward tcp:123 tcp:234'. Now you can use localhost:123 on the slave to reach out to the master port 234 over USB.
If your kernel is RNDIS enabled you could route all network connections over the usb0 interface, essentially creating a one-to-one network. Stock Kyros unfortunately does not support RNDIS so I've not tested it.
The ADB USB speed is not bad, averaging 2.5MB/sec after protocol overhead.
I did some research on the second issue, went several routes (mplayer, VLC and UPNP) and, sadly, found nothing that currently works. If you know of any working video source/sink pair or a sync peer for android, let me know.
sicvolo said:
Tested on Froyo. At least one device has to be rooted and support the USB Host mode.
Click to expand...
Click to collapse
Is there a guide on getting USB Host Mode to work on this device or if there isn't could you write one?
I have two Galaxy S3. I went through steps 1-3, all fine. But in step 4, there is no '/proc/bus/usb/devices'; there are only '/proc/bus/input' and '/proc/bus/input/devices'.
Is there any other method to get dev# and bus#? Thanks.
Hello everyone,
I am taking networking classes and I was wondering if it's possible, instead of carrying a laptop with me, to use my SGS2(rooted) to configure switches/router with.
I bought a female to female usb adapter, and i also have a USB to serial cable. So all the cabling is fine, but still when I open a console emulator i get nothing going there...
I believe it may be parity related, but there seem to be no console parity settings on any of the terminal emulators that i was able to find on the market.
Usualy, if you extablish a console connection from a laptop via USB, the usb port gets defaulted to COM3 or COM4. Do android devices have a defaulted COM port to the usb connection, Is there a config file where I can change it, or is it supported at all?
any help would be appreciated,
thanks
Hey, I'm trying to figure out how feasible it would be to connect a high powered usb wireless adapter that supports packet injection (Alfa AWUS036H) to my Xoom for some wireless kung-fu.
If I can find or hack up a cable to even connect the adapter to the small usb port would it be possible to interact with it and possibly port or even write a driver for it? If so, how non-trivial would it be, is Android driver development documented somewhere or does it need some secret magic sauce?