which device in /dev is mapped to an USB device
location: linuxquestions.com - date: July 30, 2005
How can I find which device (example: /dev/sda) is mapped to an USB device?
I can find it dmesg, but is there a file in /proc or in /sys which shows something like:
Bus 003 Device 059: ID 0781:5151 => /dev/sda
How to know which device is connected in which /dev/ttyUSB port
location: linuxexchange.com - date: January 4, 2013
I am using two wavecom modem having 16 ports in each.
When i attach modem with my machine, i am able to get list of all /dev/ttyUSB port name, but i want to know also, which modem is containing port 0 to 16 and which one is containing 17 to 32 ?
This modem is going to attached and removed many time in single day, so i also want to keep watch , when modem get disconnected and connected again ?
Any idea how to do so using c/c++/php script/node.js ?
How do I find out which module drives which device?
location: linuxquestions.com - date: April 6, 2008
I have a peice of hardware that is failing while my laptop is running. I want to unload and reload the module for it to see if the driver is getting upset, however when I lsmod I can't find any name that even vaguely resembles the name of the hardware device I get from lspci.
So how do I unequivocally identify the driver/module that is currently handling any specific device?
VLC webcam AUDIO capture, which device do I use?
location: ubuntuforums.com - date: November 20, 2009
I'm not finding a single useful piece of information on this one. I'm using VLC to capture video from my webcam. Under streaming I set the video device to /dev/video0. The trouble is, NOTHING I have tried in the /dev directory works for audio.
Even just an example of a setting that actually works for someone would be helpful. All the how to sites simply state "enter your audio settings" or contain something hypothetical.
Where should I tell VLC to look for the audio coming from the microphone?
How to control which device driver should be loaded to use?
location: linuxquestions.com - date: March 11, 2014
My HP notebook has a "Broadcom Corporation BCM4322 802.11a/b/g/n Wireless" adapter, and my system is Slackware 14.1.
And, the default driver was not suite for that device, i have to install a new module named wl from slackbuilds.org: broadcom-sta-22.214.171.124.
Then, I have to run two command every time of booting the system:
/sbin/modprobe -r b44 b43 b43legacy ssb brcmsmac
And, I don't like that, I hope the system can do all works by itself, recognize the device and load the right driver. Or is there a way that, I can control which drivers should be loaded or not?
[SOLVED] Which device to use for ffmpeg sound input? Fedora 14
location: linuxquestions.com - date: December 27, 2010
I am trying to record a video clip, using my webcam, but sound synchronisation is always poor. I have used Cheese, UCView and VLC. One possible cause is explained in the reply to this question, but I am not an expert.
In desperation, I now want to try ffmpeg. The ffmpeg documentation gives the following example
Find out which program is using which device
location: linuxquestions.com - date: June 19, 2005
I am trying to find out in mandriva 10.2 which program is using the following device /dev/dsp. Is there any kind of command which I can use in order to find that out?
Thank you all
How to tell which physical disk = which device in mdadm?
location: ubuntuforums.com - date: May 16, 2011
I have an mdadm-based RAID 5 array, and recently realized that were a given disk to die, I'm not sure I'd be able to identify which physical disk needed to be replaced.
Is there any way to determine which physical disk corresponds to which device (e.g. /dev/sda), short of unplugging them one at a time?
Wishing I'd paid better attention when I built the array
Linux programming: which device a file is in
location: linuxexchange.com - date: April 1, 2011
I would like to know which entry under /dev a file is in. For example, if /dev/sdc1 is mounted under /media/disk, and I ask for /media/disk/foo.txt, I would like to get /dev/sdc as response.
Using stat system call on that file I will get its partition major and minor numbers (8 and 33, for sdc1). Now I need to get the "root" device (sdc) or its major/minor from that. Is there any syscall or library function I could use to link a partition to its main device? Or even better, to get that device directly from the file?
brw-rw---- 1 root floppy 8, 32 2011-04-01 20:00 /dev/sdc
brw-rw---- 1 root floppy 8, 33 2011-04-01 20:00 /dev/sdc1
Thanks in advance!
Which device to attach filter driver to for Xbox 360 controller?
location: linuxexchange.com - date: May 11, 2011
As a learning exercise, I'm trying to write a filter driver for the wired XBox 360 controller on Windows 7 64-bit. This controller shows up as a HID joystick, so it seems like it should be straightforward.
I've made an example filter driver for my mouse which swaps the left and right mouse buttons. This was based on the moufiltr and firefly samples that come with the WDK. However, I'm having trouble converting this example to work for the XBox 360 controller.
When I plug the controller in, 3 different devices appear in device manager:
Human Interface Devices/HID-compliant game controller
Human Interface Devices/USB Human Interface Device
Common Controller for Windows Class/Xbox 360 Controller for Windows
Which one of these should I attach my driver to?
With the mouse filter driver, I was able to follow the installation directions from the firefly sample: right-click on the mouse in device manager, choose "update driver." With the XBox 360 controller, I'm not sure which device
Page: 1 2 3 4 5 6 7 8 9 10