10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I do some scripting during lunch on the macbookpro at work. I have the necessary folders on a thumb drive from my mac at home, and move them with the mv command to the mbpro so I don't have to change the script itself to access the necessary files on the thumb drive, and then change the code again... (13 Replies)
Discussion started by: Straitsfan
The general rule of thumb for assigning swap is double the RAM of the server, however, there are servers with 16GB or 32GB of RAM. Are we suppose to put aside 32GB and 64GB of swap respectively.
Thanks (4 Replies)
Discussion started by: Mack1982
3. UNIX for Dummies Questions & Answers
I have some sensitive data I would like to keep on a thumb drive.
Now I know this is a UNIX/Linux forum and I regret to say that I'm using windows but I'm hoping that is irrelevant.
So I install gpg on both windows machines: one at home and the other at work.
I encrypt some stuff on the... (2 Replies)
Discussion started by: siegfried
Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5. What is on Your Mind?
I'm hunting around for thumb drives that aren't working. Something you may have kicking around in a drawer that you don't need any more. One you've upgraded and just don't need.
I'm willing to pay a couple bucks for you to drop it into an envelope with a few stamps and send it along.
I'm... (0 Replies)
Discussion started by: BOFH
6. UNIX for Advanced & Expert Users
We have one application (c language) installed on our AIX 5.2. When we enter some large amount of data in one screen and do update, it is dumping core some times without any error (like bus error, segmentation fault). Next we open the application again and enter the same data and do update.... (4 Replies)
Discussion started by: venkatmyname
We have one application (c language) installed on our AIX 5.2. When we enter some large amount of data in one screen and do update, it is dumping core some times without any error (like bus error, segmentation fault). Next we open the application again and enter the same data and do update.... (0 Replies)
Discussion started by: venkatmyname
8. UNIX for Advanced & Expert Users
I recently installed Mandrake Linux 9.0 on my intel machine, with a view to migrating completely from Windows within the next few months. First I need to get things working.
My modem, sound card, scanner and printer all fail to work. This isn't going to put me off because I love the interface... (1 Reply)
Discussion started by: saabir
9. Filesystems, Disks and Memory
I am investigating methods of creating system backups. One method I am investigating is installing a hot swap hard drive and creating a mksysb to that hard drive. Does anyone have any ideas on getting this accomplished? I am thinking that I need a mounted file system from the 2nd... (0 Replies)
Discussion started by: jalburger
10. UNIX for Dummies Questions & Answers
help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
USB(4) BSD Kernel Interfaces Manual USB(4)
usb -- Universal Serial Bus
To compile this driver into the kernel, place the following line in your kernel configuration file:
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
USB functions can be accessed from userland through the libusb library. See libusb(3) for more information.
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)
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
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.
The USB specifications can be found at:
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)
The usb module complies with the USB 2.0 standard.
The usb module has been inspired by the NetBSD USB stack initially written by Lennart Augustsson. The usb module was written by Hans Petter
May 20, 2009 BSD