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
LEARN ABOUT NETBSD
mount_ptyfs
MOUNT_PTYFS(8) BSD System Manager's Manual MOUNT_PTYFS(8)
NAME
mount_ptyfs -- mount the /dev/pts file system
SYNOPSIS
mount_ptyfs [-g group|gid] [-m mode] [-o options] ptyfs mount_point
DESCRIPTION
The mount_ptyfs command attaches an instance of the pseudo-terminal device filesystem to the global filesystem namespace. The conventional
mount point is /dev/pts. The directory specified by mount_point is converted to an absolute path before use. This command is normally exe-
cuted by mount(8) at boot time.
The filesystem contains pseudo-terminal slave device nodes which are allocated dynamically via ptm(4), or they are already open via tradi-
tional BSD style ptys.
The options are as follows:
-g group|gid
Specify the group ownership of the slave pseudo-tty.
-m mode
Specify the default mode of the slave pseudo-tty.
-o Options are specified with a -o flag followed by a comma separated string of options.
mount_ptyfs specific options are group which corresponds to -g, and mode which corresponds to -m. See the mount(8) man page for pos-
sible options and their meanings.
FILES
n The nth pseudo-terminal device in use.
SEE ALSO
mount(2), unmount(2), ptm(4), fstab(5), mount(8)
HISTORY
The mount_ptyfs utility first appeared in NetBSD 3.0.
BUGS
When multiple instances are mounted, they all display the union of the ptys used in each instance, not just the ones used in the particular
instance.
BSD
September 19, 2012 BSD