Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

usb_template(4) [freebsd man page]

USB_TEMPLATE(4) 					   BSD Kernel Interfaces Manual 					   USB_TEMPLATE(4)

NAME
usb_template -- USB templates SYNOPSIS
To compile this module into the kernel, place the following line in your kernel configuration file: device usb_template To load the module at boot time, place the following line in loader.conf(5): usb_template_load="YES" DESCRIPTION
The usb_template module implements various USB templates that are needed when programming an USB device side driver. A USB template consists of an USB device descriptor, one or more USB configuration descriptors, one or more USB interface descriptors, one or more USB endpoint descriptors, USB strings and additional USB descriptors. The USB template module currently has templates for USB Mass Storage, USB CDC Eth- ernet and Message Transfer Protocol. USB templates are currently selected using the "hw.usb.template" sysctl. The "hw.usb.template" value can be changed at any time, but will not have any effect until the USB device has been re-enumerated. SEE ALSO
usb(4) STANDARDS
The usb_template module complies to the USB 1.0, 2.0 and 3.0 standard. HISTORY
The usb_template module was written by Hans Petter Selasky <hselasky@FreeBSD.org>. BSD
March 18, 2014 BSD

Check Out this Related Man Page

EHCI(4)                                                    BSD Kernel Interfaces Manual                                                    EHCI(4)

NAME
ehci -- USB Enhanced Host Controller driver SYNOPSIS
device ehci DESCRIPTION
The ehci driver provides support for the USB Enhanced Host Controller Interface, which is used by USB 2.0 controllers. EHCI controllers are peculiar in that they can only handle the USB 2.0 protocol. This means that they normally have one or more companion controllers (i.e., ohci(4) or uhci(4)) handling USB 1.x devices. Consequently each USB connector is electrically connected to two USB con- trollers. The handling of this is totally automatic, but can be noticed since USB 1.x and USB 2.0 devices plugged in to the same connector appear to connect to different USB busses. SEE ALSO
ohci(4), uhci(4), usb(4) HISTORY
The ehci device driver first appeared in FreeBSD 5.1. BUGS
The driver is not finished and is quite buggy. There is currently no support for isochronous transfers. BSD March 20, 2005 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question is redundant but please advice

I am really really new to Unix. I'm lost with so many books around for different shell. I'm thinking of taking a course on Operating Systems but it contains a lot of Unix programming I think. For example, someone was talking about a "which" command. But I wasn't able to figure out what it does...... (10 Replies)
Discussion started by: Legend986
10 Replies

2. Solaris

Usb Device

AM TRYING TO CONNECT A USB EXTERNAL DRIVE FOR BACKUP,THE USB SLOT IS AVAILABLE,BUT I DONT KNOW IF IT IS READY WHEN I CONNECT IT,AND WHAT COMMANDS DO I NEED. tHANKS (10 Replies)
Discussion started by: tomjones
10 Replies

3. What is on Your Mind?

Which Vaccinations Are You Current (Up to Date)? (CDC, US Immunizations 2009)

According to the attached Recommended Adult Immunization Schedule by the US Center for Disease Control (CDC), there are 10 primary immunizations adults should consider. I will add A(H1N1) to the mix to make it 11. Please select all in the poll that you are current and up to date. For example,... (11 Replies)
Discussion started by: Neo
11 Replies

4. Shell Programming and Scripting

Help to mach "usb" exactly with sed or awk

HI experts I updated my question here to eg: $cat file ABC: abc ABC FDFD USB: usb usb_name usb_disk usbdriver USB PA: PA pa paa I want to how many usb exactly matched(not match usb_name or usbdriver) in the line cotains"USB:" thanks in advance (19 Replies)
Discussion started by: yanglei_fage
19 Replies

5. Linux

Kexec with Live USB/CD

Hello Recently I found this (for me) really usefull tool kexec which can load a new Kernel while running one. I tested it some times with the same kernel I was running, "rebooting" the system without powering it off at any time :D But I need kexec basically just for live usbs. I want to start... (17 Replies)
Discussion started by: al0x
17 Replies

6. Ubuntu

How to implement TIOCOUTQ for USB modem on Linux Ubuntu

Hi, I need to override ioctl operation for a few USB drivers (sierra, option, cdc-acm) on Linux Ubuntu 2.6.34sb2 to support TIOCOUTQ command. Unfortunately, none of the drivers I mentioned above support TIOCOUTQ because it seems unclear to know amount of data inside a modem. Does Linux... (12 Replies)
Discussion started by: SDoroshenko
12 Replies

7. Shell Programming and Scripting

Batch write multiple usb in same time

Hi there, I would write a bash script to format then create a range of folder (folder name is number) to a usb stick. for numbers in $(seq -w 001 999) do pause "Press any key to start" mkfs.vfat -F32 /dev/sdc1 mount /dev/sdc1 /media/usb mkdir /media/$numbers umount /dev/sdc1... (8 Replies)
Discussion started by: wayneliao38
8 Replies

8. Ubuntu

Need help in making bootable USB flash with customized 12.04

I'd like to make bootable USB flash with 12.04 desktop on it with some additional packages and customizations, such as added language. What I tried so far - I went through pendrivelinux.com ISO to USB program and have working bootable USB with 12.04 desktop on it. The problem is all my changes... (8 Replies)
Discussion started by: migurus
8 Replies

9. Hardware

Could USB ever take over PCI

Internally speaking, for your motherboard bus. Would it be possible for a usb standard to be used in place of the PCI or PCIe bus that is now nearly standard on all PC's? If not, why wouldn't this work? (8 Replies)
Discussion started by: Lost in Cyberia
8 Replies

10. UNIX for Advanced & Expert Users

Waking Up USB External Hard Drive for file archiving

Hello Experts, I hope I'm writing to the correct category for my question. I have a very basic shell script for doing file archiving to the external usb hard drive (WD studio edition II 2TB formatted as FAT32 for compatibility). The shell script only needs to run once per day. It basically... (8 Replies)
Discussion started by: johankor
8 Replies

11. Solaris

Booting T5 from USB

I've copied over the sol-11_2-text-sparc.usb file to a USB thumb drive, plugged into a USB port on the front of the server, and then attempted to find the drive with ok show-disks to no avail. Is there a different way to copy the image over to the drive using a Windows workstation? Is there... (10 Replies)
Discussion started by: LittleLebowski
10 Replies

12. Solaris

Unable to send SCSI commands to USB Drive

I am connecting a USB mass storage removeable drive to Solaris 10 x86 machine. The device is detected and i am able to perform standard read and write functions. But i want to use a code to send IOCTL based SCSI commands to the same device to read and write the data. Which i am unable to do so.... (17 Replies)
Discussion started by: danish2012
17 Replies

13. Shell Programming and Scripting

Read line from serial device with BASH

I'm new to Linux (Ubuntu 16.04), and very new to BASH scripting. I have a Numato 8-channel USB GPIO device, which is a DAQ that appears in the system as a serial port. In Linux it appears as ttyACM0. I can easily manipulate a GPO with, for example: echo "gpio set 7" > /dev/ttyACM0 ...followed... (12 Replies)
Discussion started by: Chalk-X
12 Replies

14. BSD

Bootable usb-stick, need help, sos

I would probably set all my rubber points here to get some real help for creating a boot device on a usb-stick. There is no CD-drive on this machine, thats why I need to use a usb-stick. And scrumming in a CD-drive to fuddle around in the fstab or something like that is out of reach. My wisdom so... (9 Replies)
Discussion started by: 1in10
9 Replies

15. Solaris

T5220 not able to boot from USB

Hi, I want to install Solaris-11 on T5220. I created USB from sol-11_4-text-sparc.usb by usbcopy on another Solaris-11 servers, which looks like a good one. I tried did "reset-all" and still same issue. Can I get some help on this. {0} ok reset-all Sun Netra T5220, No Keyboard Copyright... (8 Replies)
Discussion started by: solaris_1977
8 Replies