USB_DEVICE(9) Host-Side Data Types and Macro USB_DEVICE(9)NAME
USB_DEVICE - macro used to describe a specific usb device
SYNOPSIS
USB_DEVICE(vend, prod);
ARGUMENTS
vend
the 16 bit USB Vendor ID
prod
the 16 bit USB Product ID
DESCRIPTION
This macro is used to create a struct usb_device_id that matches a specific device.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 USB_DEVICE(9)
Check Out this Related Man Page
STRUCT USB_DEVICE_DR(9) Host-Side Data Types and Macro STRUCT USB_DEVICE_DR(9)NAME
struct_usb_device_driver - identifies USB device driver to usbcore
SYNOPSIS
struct usb_device_driver {
const char * name;
int (* probe) (struct usb_device *udev);
void (* disconnect) (struct usb_device *udev);
int (* suspend) (struct usb_device *udev, pm_message_t message);
int (* resume) (struct usb_device *udev, pm_message_t message);
struct usbdrv_wrap drvwrap;
unsigned int supports_autosuspend:1;
};
MEMBERS
name
The driver name should be unique among USB drivers, and should normally be the same as the module name.
probe
Called to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata to
associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value.
disconnect
Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver's module is being
unloaded.
suspend
Called when the device is going to be suspended by the system.
resume
Called when the device is being resumed by the system.
drvwrap
Driver-model core structure wrapper.
supports_autosuspend
if set to 0, the USB core will not allow autosuspend for devices bound to this driver.
DESCRIPTION
USB drivers must provide all the fields listed above except drvwrap.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT USB_DEVICE_DR(9)
I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work.
In trying to get it to work, I typed cat /proc/scsi/scsi and got this:
# cat... (2 Replies)
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)
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)
While I know that it's possible to use something like SANE to share a USB scanner over a network, or use NBD or iSCSI to share a USB flash or external HD over the network, I've been wondering about a raw USB <--> TCP/IP transport. Back in the late 90s, I swear I remember hearing about a project... (2 Replies)
hi, i am on a quest to access and even mount if possible a drive on os x. there is no driver for the device, but it lists fine in the system profiler. can i access its location from the terminal? how? here is what i get on the system profiler:
Speed: Up to 480 Mb/sec
Manufacturer: SAMSUNG
... (3 Replies)
hi, I was wondering if there's a way to safely disconnect a usb device from computer, I ask this because in windows when you disconnect a usb pen with the safe removal, the pen light then turns off, while I tried removing the pen with solaris and the light was still on ? (2 Replies)
Hello,
I need to run an application in wine that requires write permission to a USB device. Wine users must not have root privileges. On FreeBSD this could be accomplished by adding the user to the wheel group but I am using Debian 6.0. From looking at the passwd file it is not obvious what... (6 Replies)
Hello, all. My english is not good.
I have a problem installing FreeBsd.
I have not CD-Roms, so i use program FlashBoot for convert iso-image to USB Device.
After, I was beginning to install FreeBsd (Sorry my english)
When it's time to choose an installation media, i select 9 USB:... (3 Replies)
Trying to mount an external 160GB Toshiba drive but....
this is my dmesg tail output:
usb 2-2: new high speed USB device using ehci_hcd and address 3
usb 2-2: New USB device found, idVendor=13fd, idProduct=1618
usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-2:... (4 Replies)
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)
When inserting a temperature logger into a Centos 7.0 machine, the relevant dmesg lines read:
usb 2-1.4: new full-speed USB device number 4 using ehci-pci
usb 2-1.4: New USB device found, idVendor=10c4, idProduct=82cd
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb... (5 Replies)
Hi,
i am developing an application on an ARM 7 architatcure with a small Linux.
i want to run tar on a usb device (~10 Mb) but it runs realy slow. the command only takes 1% of cpu usage.
is there a way to improve the tar command or is the USB-Connection the bottleneck here? (4 Replies)