10-21-2013
Device Names on Android
Hi,
I have a program that logs serial port data. In order to do so it requires the full device name in linux (e.g. /dev/ttyUSB0) and a baudrate.
Does anyone know how I can find out the device name in the terminal? I am trying to port this application to Android and cant figure it out.
#lsusb shows the device but with no path
#mount only shows its mount point
Any help is great
thakns
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI there. I am studying System administration right now and am stuck on a question that I have failed to find the answer for in my book.
The question is: Do device files need to be in the /dev directory and to they need to follow a naming convention?
My answer (so far) is that since the... (7 Replies)
Discussion started by: Carl1976
7 Replies
2. Android
I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies
3. Red Hat
Hi All,
Could anyone please help to resolve the below problem.
I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error.
I spent 2 days for the above and go through with several suggestion found by googling. But no luck.
... (0 Replies)
Discussion started by: Tanmoy
0 Replies
4. Android
I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device.
The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Discussion started by: raoulney
0 Replies
5. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
6. UNIX for Beginners Questions & Answers
this is worked "ANDROID NOUGAT" how can i use it for "ANDROID OREO"
-plz help me...
-------------------------------------------
echo " Ã-~-DEVICE ID CHANGINGÃ-~-"
sleep 2
echo "
"
COUNT=1
while
do
;
echo "settings put secure android_id " | tr -d '\n' > X1... (4 Replies)
Discussion started by: f4is4l
4 Replies
dc(4) Kernel Interfaces Manual dc(4)
Name
dc - serial line/mouse/keyboard
Syntax
device dc0 at ibus? vector dcintr
Description
The serial line controller provides four ports, with modem control on two of the ports. The DECstation 3100 and DECstation 2100 only pro-
vide partial modem control. The DECstation 5000 provides full modem control. The ports are used as follows:
Port Usage
0 Graphics device keyboard at 4800 BPS
1 Mouse or tablet at 4800 BPS
2 Communications port 1 (w/modem control)/local terminal
3 Communications port 2 (w/modem control)/local terminal
Each communication port from the serial line controller behaves as described in and can be set to run at any of 16 speeds. For the encod-
ing, see
When a graphics device is not being used as the system console, communications port 2 becomes the system console. In this configuration,
the port can only be used at 9600 BPS and no modem control is supported.
The serial line driver operates in interrupt-per-character mode (all pending characters are flushed from the silo on each interrupt).
Restrictions
Speed must be set to 9600 BPS on the console port and 4800 BPS on ports used by graphics devices. The serial line driver enforces this
restriction; that is, changing speeds with the command may not always work on these ports.
Files
console terminal
local terminal
local terminal
See Also
console(4), devio(4), tty(4), ttys(5), MAKEDEV(8)
RISC dc(4)