Software :: Getting Device Info From Device File?

Sep 26, 2010

Let's say I have a joystick in `/dev/input/js0`, how do I find out which device is it on `/sys/bus/usb/devices/`?

View 2 Replies


ADVERTISEMENT

General :: Ubuntu - Find The Device Node File For USB Device?

Aug 23, 2011

I've bought an X10 Home Automation USB interface: the CM15.

This is the information lsusb gives:

skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)

But this tells me nothing about where the device file is! How can I find that, or create one myself?

View 1 Replies View Related

Hardware :: Retrofitting A Device File For A Mass Storage Device?

Jan 7, 2010

here we have an older digicam (Jenoptik/Exakta Model "DC 22", if someone might want to know) that can be switched between some "PC Camera mode" and "Mass storage mode".Unfortunately, if attached to USB, it is always recognized as

Code:
UDEV [1262910483.475886] add /class/video4linux/video0 (video4linux)
lsusb tells:

[code]...

View 4 Replies View Related

Software :: Cann't Find The Device Created Through Device Mapper In /proc/partitions?

May 15, 2011

Recently, I created a device sc0 through device mapper. The divice could be found in /dev/mapper/sc0. My problem is that the device doesn't exist in /dev/partitions which will block my following test.BTW, I found dm-0 in /dev/partitions. Is it the same as /dev/mapper/sc0? But the device /dev/dm-0 doesn't exist!

View 2 Replies View Related

Fedora Hardware :: Full Speed USB MSC Device Detected As Input Device?

Apr 7, 2011

I am working on an embedded system, which is an USB MSC device that supports some vendor specific scsi commands. I am using FC10 laptop as USB host for testing, and it runs some small apps based on sg3. All has been well for ~ a week. The FC10 laptop is able to communicate with the device and retrieve data. Suddenly, starting from today, the laptop is not able to properly detect the device. When plugged-in, the MSC device is detected as input device (I thought). This is observed from "dmesg" output and changes in "/dev/input/".The device under development is running at full speed. When I connect to winXP, no problem. A windows file explorer pops up, showing the content of the drive.Also, the FC10 has no problem with other USB flash drive (high speed).

View 1 Replies View Related

Ubuntu Multimedia :: Unable To Open Device /dev/dsp - Device Or Resource Busy

Apr 13, 2010

All my music editing software programs say, "unable to open device /dev/dsp.Device or resource busy." How can I fix this?

View 3 Replies View Related

Ubuntu :: Mdadm: Cannot Open Device /dev/sdb1: Device Or Resource Busy

Jun 11, 2011

I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):

Code:

richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd]
mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/sdb: Device or resource busy

[code]...

View 5 Replies View Related

Slackware :: VirtualBox - Windowsxp Guest - No Sound - Unknown Audio Device - In The Windows Device Manager

Mar 11, 2010

For those that use Virtualbox on their slackware host and have a windows (xp) guest running. I have tried various settings for sound (Alsa, PulseAudio), the AC97 drivers are installed in the Windows xp guest os, but there is no sound and there is an unknown audio device (in the windows device manager). If I remove the AC97 drivers and use the soundblaster16 drivers in the Vbox settings there is no unknown sound device, but there's still no sound. why I can't get sound working?

View 13 Replies View Related

Hardware :: Possible To Access An IrDA Device As A Serial Device Such As /dev/ttyUSB0?

May 24, 2011

the message from dmesg for the IrDA device:

[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200
[ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[code]...

View 1 Replies View Related

Server :: Lifekeeper Error - DEVICE FAILURE On SCSI Device - /dev/add

Sep 17, 2009

Since May 12,2009. Our system lifekeeper has the error log "lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add'", but it ran normally. Until last week, it failover to the standby server. The disk still running, the error still come out.

View 3 Replies View Related

Fedora Installation :: Device Driver For Usb To Detect Device?

Sep 19, 2009

I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.

View 1 Replies View Related

Hardware :: USB Device Is Not Claimed By Any Active Driver For Every Device

Nov 10, 2010

The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error):
- Memory stick
- DVD-burner
- Compaq mouse

View 3 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

General :: Can't Find Boot Device - Error "Unable To Determine Major/minor Number Of Root Device"

Mar 17, 2011

I just compiled my first own kernel (I'm using Arch Linux), following the tutorial on the german site. Now I tried to boot it, I ended up failing with this message: Code: Waiting 10 seconds for device /dev/sda1 ... Root device '/dev/sda1' doesn't exist, Attempting to create it. ERROR: Unable to determine major/minor number of root device '/dev/sda1' Here is the important part of my menu.lst:

[Code]....

I simply copy&pasted the Arch-entry, i.e. I also had the disk by uuid there. The failure message was the same, just the root device name was the different name Also, at first I did not have the initrd line in my menu.lst (as written in my tutorial that I may not need it). In this case I had this error message:

[Code]....

View 10 Replies View Related

Fedora Networking :: 3G USB Modem Has Wrong Device Port In NM - Change Device Port In Network Manager?

Aug 14, 2009

I installed ZTE MF 626 modem in my F10 with kernel 2.6.27.12-170, i run usb_modeswitch and so far things happened normally. Watching through /var/log/messages it says that F10 detects two port device for this modem: ttyUSB1 and ttyUSB2, and in the sequence it disable port ttyUSB1 BUT Network Manager still set this port.I mean, when i connect via wvdial appointing to ttyUSB2 i get connection, but Network Manager fails to do it appointing to ttyUSB1. How to change device port in Network Manager?

View 1 Replies View Related

Fedora :: Cannot Add Device In HP Device Manager?

Jun 28, 2010

Running Fedora 13, I cannot add my HP J4680 through the HP Device Manager. I get an error message saying that the print queue cannot be started and it asks me to restart CUPS. I tried restarting CUPS and adding the device. It did not work. The printer is on my home network wirelessly. I can add it through the CUPS web interface and print, but then I cannot access the scanner. I tried adding the device after it was already added through CUPS, but that did not work. I would like to use the scanner; I don't really care about the fax.

View 8 Replies View Related

Ubuntu :: Get The Card Number And Device Number On System For Attched USb Audio Device?

Oct 1, 2010

how to get the card number and device number on system for attched USb audio device?

View 3 Replies View Related

General :: Overwriting The Middle Of A File From A Block Device *without* Truncating File?

Jan 15, 2010

I have a Linux (Kubuntu) system with a large (~20Gb) file which I would like to mess with. Specifically, I want to copy the entire contents of another large file (~12Gb) to the middle of this file, and keep the bits of the file which are not overwritten.This is what I want to happen, with the text between the pipes representing file contents:Before:

outfile: |abcdefghijklmnopqrstuvwxyz|
infile: |123456789|
After:

[code]....

View 1 Replies View Related

Ubuntu :: Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key

Apr 16, 2011

Reboot and select proper boot device or insert boot media in selected boot device and press a key. I got this error after: Reducing my Windows 7 partition by about 100gb. Creating a new partition (100gb) and copying my Ubuntu partition (10gb) to the new partition. After it was copied, and pasted, the original partition was deleted. I now had two partitions a new 100gb Ubuntu partition and a 600gb (or so) Windows 7 partition.

All of this was done using a bootable USB with Ubuntu 10.10 and GParted partition editor. Now when I boot I get the "Reboot and select proper boot device or insert boot media in selected boot device and press a key." error.

View 9 Replies View Related

General :: Create Device File For Image File?

Sep 8, 2010

Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.

View 2 Replies View Related

General :: What Device The File In /dev Is Mapped To?

Jul 18, 2011

I have installed a new device in linux.If I enter lspci, i can see the information of this device.But, I donot which file in dev is mapped to this device.

View 2 Replies View Related

General :: Get Device File Name Of Usb Keyboard?

Apr 27, 2010

Now I connect usb keyboard to my machine, and I would like to know how I can get device file name of this usb keyboard. I know it is /dev/input/event# file,but which event# file? I tried to do [dmesg | grep usb] , but kernel message don't tell me what I would like to know.

View 1 Replies View Related

Ubuntu :: Can't Install Update-info-dir File Is Missing From /var/lib/dpkg/info/?

Aug 6, 2010

so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).

View 9 Replies View Related

OpenSUSE Install :: Can't Edit Back Device.map File

Dec 23, 2010

I've got myself in a bit of a pickle.I've got 1 hard disk drive and was trying to load a second external drive.I tried to mount the 2nd (external) drive by editing /boot/ grub/ device.map but I must have made an error, because now it boots directly into sda1 openSUSE 11.1 and when I try to look at SDA2/SDA3 it say's Invalid System Type. Presumably because they're formatted with Ext4. So I can't edit back my device.map file.What I want to do is boot into SDA3 OpenSUSE 11.3. Would anybody know why it's only booting to SDA1 and/or have any suggestions to get me back booting to SDA3? This may be a 2 step process, because I may have to boot to SDA2 first so I can edit back my /boot/grub/device.map on SDA3 before finally booting to SDA3.

View 6 Replies View Related

Ubuntu :: Dd - Device Copy.... Low File System Space?

Mar 17, 2011

So I wanted to copy a copy-prod disk and decided to try dd after reading some information about it. after running dd for about a minute, I got a warning that I was low on disk space. I stopped dd and found I had only 200 MB left of 200 GB free space (originally having over 220 free). I deleted the 1/2 finished backups but cannot find the data which was written to the drive. It is hard to think that that much data could be written with my slow pc in under one minute.here are the commands I performed if that helps locate the data:

dd if=/dev/cdrom of=/mnt/disk/home/mark/pccheck.iso
dd if=/dev/cdrom of=/home/pccheck.iso
sudo dd if=/dev/cdrom of=/home/pccheck2.iso

View 2 Replies View Related

General :: Device / Special File Clairification Requested

Oct 1, 2010

Device/Special file Clairification Requested.I'm reading a short article on Device/special files because it is related to VFS. This article has this paragraph that has to many pronouns in it to get an understanding of. URL..."In short, a device file (also called as a special file) is an interface for a device driver that appears in a file system as if it were an ordinary file. This allows software to interact with the device driver using standard input/output system calls, which simplifies many tasks."

What does a Device file have to do with the Application and the Driver communicating? Wouldn't the order of data transfer be , Application to driver and then to Device file?

View 3 Replies View Related

Software :: Tape Changer Device File Changing?

Jul 8, 2010

In my RHEL 5.4 system after each reboot the device file of tape changer (IBM-3310 Tape library) is changing.So i am not able to give a fixed device file in backup software.

View 17 Replies View Related

General :: How To Find The /dev/Device Mapping For NFS File System In RHEL

Jun 19, 2010

Found the below from RedHat Knowledgebase

The Completely Fair Queuing (cfq) scheduler in Red Hat Enterprise Linux 5appears to have worse I/O read performance than in version 4. It appears as though the Completely Fair Queuing I/O scheduler (cfq) has a regression and thus exhibits reduced read-side throughput which can affect performance for both local and NFS mounted file systems.

One way to mitigate this is to set the cfq's slice_idle parameter to zero. To change this value, execute the following command echo 0 > slice_idle in the /sys/block directory appropriate for your situation, as shown below:

echo 0 > /sys/block/hda/queue/iosched/slice_idle

We are using NFS file systems in RHEL 5.3. I would like to know how to find which /dev/Device is being used by the NFS file systems, so that I could try setting the slice_idle to '0' to see if there is any difference in performance? In /etc/fstab I only see the actual NAS volumes for the NFS file systems.

View 2 Replies View Related

Debian Installation :: Use The PC As A File Server With Two Drives Configured As A RAID 1 Device?

Nov 3, 2010

I just installed Debian 5.0.4 successfully. I want to use the PC as a File Server with two Drives configured as a RAID 1 device. Everything with the RAID device works fine, the only question I have belogs to the GRUB 0.97 Booloader. I would like to be able to boot my Server even if one of the disks fail or the filesystem containing the OS becomes corrupt, so I configured only the data partitions to be a RAID 1 device, so on the second disk should be a copy of the last stable installation, similar to this guide:[URL]...

[Code]...

View 3 Replies View Related

Ubuntu :: Mounting A Device If Don't Know The File System Type (e.g Ext3, NTFS)?

Jan 14, 2011

How do I go about mounting a device if I don't know the file system type (e.g ext3, NTFS)?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved