04-15-2013
Hi Wisecracker,
The thing is as follows:
My program starts and checks where the devices have been mapped.
I know the devices have been plugged but what I don't know is what name do they get.
Using the libusb library I can confirm they are plugged but I still don't know whether they are /dev/ttyUSB0 or /dev/ttyUSB1 or ...
It must be possible to retrieve what is the mount point from C++.
Thanks again,
Carles.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi I was trying to mount my USB flashdrive on solaris 10 and I am getting the message saying that (I have already gone through the previous blogs in the forum)
mount: Block device required.
I have tried most of the possible ways.
#rmformat(gives me the necessary information about my flash... (1 Reply)
Discussion started by: akhil1460
1 Replies
2. Linux
Hi Folks,
I want to know how to mount usb device (cd,dvd etc) in linux,
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
3. UNIX and Linux Applications
When I attach a USB storage device to my Solaris server, the mount point is coming up as /rmdisk/unnamed_rmdisk
Is there anyway I can have this device come up as a mounted device with a predetermined mount name eg /morespace rather than unnamed_rmdisk ? (0 Replies)
Discussion started by: jimthompson
0 Replies
4. UNIX for Advanced & Expert Users
When I attach a USB storage device to my Solaris server, the mount point is coming up as /rmdisk/unnamed_rmdisk
Is there anyway I can have this device come up as a mounted device with a predetermined mount name eg /morespace rather than unnamed_rmdisk ? (2 Replies)
Discussion started by: jimthompson
2 Replies
5. Solaris
hi, first of all, i would really like to know how to find out where my usb is in the system. if i "cd to /dev/usb i have a hub0 to hub4 and hid0 -- hid5 .. how do i know where my usb is?
and i guess once i find out which one my usb is at, i can do something like "mount /dev/usb/xxx /tmp" ... (5 Replies)
Discussion started by: k2k
5 Replies
6. UNIX for Dummies Questions & Answers
My previous post seems to be erased and I didn't get any help. I'm logged as root now but no mounting command seems to work, I've tried:
Mount -t vfat /dev/sdc1 /mnt/USB
Changing "sdc1" for hda1-7, and sdc1-7, and still nothing. Sometimes i get:
"special device not found" and others "device... (4 Replies)
Discussion started by: Dax01
4 Replies
7. BSD
When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command:
mount -t msdosfs /dev/da0s1 /mnt
Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary. (7 Replies)
Discussion started by: figaro
7 Replies
8. Solaris
I am very new to Solaris.
The machine I am working with is running Solaris 10.
I have a 1.5 TB hard drive plugged into a USB dock plugged into the Solaris machine. I ran 'cfgadm -al' and can see that the usb0/1 is usb-storage that was not there before.
How do i mount this drive and format... (3 Replies)
Discussion started by: mcdef
3 Replies
9. UNIX for Dummies Questions & Answers
Hi Friends
I Have a question about mounting point
This is a output of df -g
I wanted to delete the first FS /dev/lvdb2inst1 which is mounted on /db2/db2ins1
http://i43.tinypic.com/35in6ts.jpg
Here my question is, if we delete the first FS , are other two FS are unaccessble as all 3 ... (1 Reply)
Discussion started by: atul9806
1 Replies
libusb(3LIB) Interface Libraries libusb(3LIB)
NAME
libusb - user-space USB device management library
SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib
-lusb [ library... ]
#include <usb.h>
DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac-
OS X, and NetBSD. See http://libusb.sourceforge.net.
The current implementation is version 0.1.8 of the libusb API.
Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt.
INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter-
faces.
usb_bulk_read usb_bulk_write
usb_claim_interface usb_clear_halt
usb_close usb_control_msg
usb_find_busses usb_find_devices
usb_get_busses usb_get_descriptor_by_endpoint
usb_get_descriptor usb_get_string
usb_get_string_simple usb_init
usb_interrupt_read usb_interrupt_write
usb_open usb_release_interface
usb_reset usb_resetep
usb_set_altinterface usb_set_configuration
usb_set_debug usb_strerror
FILES
/usr/sfw/lib/libusb.so.1 shared object
/usr/sfw/lib/libusb_plugins implementation-specific libusb modules
/usr/sfw/bin/libusb-config script to determine linking environment
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlibusb, SUNWlibusbut, |
| |SUNWlibugenusb |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
intro(3), attributes(5)
http://libusb.sourceforge.net
SunOS 5.10 14 Oct 2004 libusb(3LIB)