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 OPENSOLARIS
rmumount
rmmount(1) User Commands rmmount(1)
NAME
rmmount, rmumount - mounts and unmounts removable media
SYNOPSIS
rmmount [-u] [-o options] [nickname | device] [mount_point]
rmmount [-d] [-l]
rmumount [nickname | mount_point | device]
rmumount [-d] [-l]
DESCRIPTION
The rmmount and rmumount utilities mount and unmount removable or hot-pluggable volumes. The optional argument can identify the volume by
its volume label, mount point or block device path.
rmmount can also take additional mount options if the user has sufficient privileges to override the default mount options.
Unmounting removable media does not result in its ejection. Use eject(1) to optionally unmount and eject the media.
OPTIONS
The following options are supported for rmmount and rmumount:
-d Display the device path of the default device. This device is used if no arguments are supplied.
-l Display the paths and nicknames of mountable devices.
The following options are supported for rmmount only:
-o options Display mount options. This option can only be used by users that have privileges to override the system default options.
-u Unmounts the volume as opposed to mounting it.
OPERANDS
The following operands are supported:
device Specifies which device to mount or unmount, by the name it appears in the directory /dev.
mount_point Specifies which device to mount or unmount, by the name it appears in the directory /dev.
nickname Specifies which device to mount or unmount, by its nickname as known to this command.
EXAMPLES
Example 1 Mounting a USB disk
The following example mounts a USB disk with a volume label of PHOTOS:
example% rmmount PHOTOS
Example 2 Unmounting a pcfs Volume
The following example unmounts a pcfs volume by device path:
example% rmumount /dev/dsk/c4t0d0p0:1
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/media Default mount root.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrmvolmgr |
+-----------------------------+-----------------------------+
|Interface Stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
eject(1), attributes(5)
SunOS 5.11 18 Sep 2006 rmmount(1)