01-24-2008
solaris way if interpreting devices?
Hi all,
I wanted to know the solaris way of interpreting devices?
I mean i understand all those c0t0....stuff but when i start mounting devices , most of the times i get either a I/O error or it says that the directory does not exist.
eg:
I have a external usb hub to which i have connected a pen drive and a usb receiver(for the mouse), 2 other slots are empty, but when i make use of /etc/vfstab or /etc/mnttab to find out the devices currently mounted or all the present devices currennly attached to system...
I am unable to find out what i need..
Also wanted to know if mounting can be done while running on a live cd?
I guess my understanding of these interpretations needs some polishing..
Please do help me
Thanks
10 More Discussions You Might Find Interesting
1. Solaris
I'm trying to mirror 2 eide disks on a solaris 10 x86 system.
Im trying to use the prtvtoc | fmthard command to mirror the vtoc.
How do they represent the entire disk like in solaris 9 (c0t0d0s2 = entire device)
0. c0d0 <DEFAULT cyl 26497 alt 2 hd 16 sec 63>
... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
2. Solaris
i want to use the devfsadm command and understand its function (3 Replies)
Discussion started by: bondoq
3 Replies
3. UNIX for Dummies Questions & Answers
I've been looking in my /dev directory for my available devices to set up a printer and was expecting to see some lp or lpr devices using Solaris 8, but I do not see them so I'm a little confused?
Any help would be greatly appreciated. (2 Replies)
Discussion started by: jroglass
2 Replies
4. UNIX for Dummies Questions & Answers
Hi there again,
Running Solaris 10 with built-in Java. Seems to compile and run fine.
Problem is: Say I want to see contents of current directory. In a shell, I'd just write "ls" and it outputs the content.
When I write a Java file, I have the following line:
System.out.println("ls");
... (1 Reply)
Discussion started by: EugeneG
1 Replies
5. Solaris
I want to configure my Network card. On solaris 9 i386.
How to know the good Network device. I use prtconf
to display the device list. I'm searching the device name.
Like ifconfig device_name plumb
thanks you (2 Replies)
Discussion started by: simquest
2 Replies
6. Solaris
Hi,
can anyone help in finding the hardware related details of I/O devices of remote solaris machine .Thanks in advance. (7 Replies)
Discussion started by: pratheepv
7 Replies
7. Solaris
Hello all,
I'm having issue with trying to add device resource to my zone from the global zone.
I did the following
zoncfg -x larryase
add device
set match="/dev/tty*"
end
I get device already set, but in me zone I don't see the device.
Is there a "reboot -- r" command for zones? or... (0 Replies)
Discussion started by: larryase
0 Replies
8. Solaris
Could anyone tell me where I can obtain Solaris 10 10/09 drivers for these divices listed below. I have looked in the OpenSolaris forums but I have not had any luck.
Device Vendor Device Name
Network Atheros AR928X Wireless Network Adapter (PCI-Express)
Storage Intel 82801 SATA... (4 Replies)
Discussion started by: Tenyhwa
4 Replies
9. Solaris
Hi ,
I have wrtitten a C program that issues USCSICMD ioctl call to the tape devices attached on solaris sparc 10. I was able to get the required information from all SCSI tape devices attached using the utility. But, whenever it is run on FC attached tape drives , the program returns an error... (0 Replies)
Discussion started by: naveen448
0 Replies
10. Solaris
Hi, Any help would be appreciated, when I attempt to install either OpenSolaris or Solaris 11 the install hangs right after the copyright where normally it would be "configuring devices" . If it is SOL 11 it just hangs if it is OpenSolaris it starts spitting out the following:
WARNING: hubdi:... (0 Replies)
Discussion started by: jk121960
0 Replies
USB(4) BSD Kernel Interfaces Manual USB(4)
NAME
usb -- Universal Serial Bus
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device usb
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
usb_load="YES"
USERLAND PROGRAMMING
USB functions can be accessed from userland through the libusb library. See libusb(3) for more information.
DESCRIPTION
FreeBSD provides machine-independent bus support and drivers for USB devices in host and device side mode.
The usb driver has three layers:
USB Controller (Bus)
USB Device
USB Driver
The controller attaches to a physical bus like pci(4). The USB bus attaches to the controller, and the root hub attaches to the controller.
Any devices attached to the bus will attach to the root hub or another hub attached to the USB bus.
The uhub device will always be present as it is needed for the root hub.
INTRODUCTION TO USB
The USB is a system where external devices can be connected to a PC. The most common USB speeds are:
Low Speed (1.5MBit/sec)
Full Speed (12MBit/sec)
High Speed (480MBit/sec)
Each USB has a USB controller that is the master of the bus. The physical communication is simplex which means the host controller only com-
municates with one USB device at a time.
There can be up to 127 devices connected to an USB HUB tree. The addresses are assigned dynamically by the host when each device is attached
to the bus.
Within each device there can be up to 16 endpoints. Each endpoint is individually addressed and the addresses are static. Each of these
endpoints will communicate in one of four different modes: control, isochronous, bulk, or interrupt. A device always has at least one end-
point. This endpoint has address 0 and is a control endpoint and is used to give commands to and extract basic data, such as descriptors,
from the device. Each endpoint, except the control endpoint, is unidirectional.
The endpoints in a device are grouped into interfaces. An interface is a logical unit within a device; e.g. a compound device with both a
keyboard and a trackball would present one interface for each. An interface can sometimes be set into different modes, called alternate set-
tings, which affects how it operates. Different alternate settings can have different endpoints within it.
A device may operate in different configurations. Depending on the configuration, the device may present different sets of endpoints and
interfaces.
The bus enumeration of the USB bus proceeds in several steps:
1. Any interface specific driver can attach to the device.
2. If none is found, generic interface class drivers can attach.
SEE ALSO
The USB specifications can be found at:
http://www.usb.org/developers/docs/
libusb(3), usbdi(4), aue(4), axe(4), cue(4), ehci(4), kue(4), ohci(4), pci(4), rue(4), ucom(4), udav(4), uhci(4), uhid(4), ukbd(4), ulpt(4),
umass(4), ums(4), uplcom(4), urio(4), uvscom(4), usbconfig(8)
STANDARDS
The usb module complies with the USB 2.0 standard.
HISTORY
The usb module has been inspired by the NetBSD USB stack initially written by Lennart Augustsson. The usb module was written by Hans Petter
Selasky <hselasky@freebsd.org>.
BSD
May 20, 2009 BSD