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


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

General :: Instruct The Kernel To Use A USB Keyboard And FB Device As It's Boot Console?

Jul 8, 2010

I'm guessing the answer to my question is in manipulating the kernel command line. But with what arguments? (and does the kernel have it's own fonts to be used on a FB device?)

The host is a ARM9 based embedded system with a 1-bit LCD screen.

This is a prelude question to: Naming a Frame buffer Device

View 1 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

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

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

General :: What Is Keyboard Command To Go To End Of File In Nano

Apr 4, 2011

control + v allows you to scroll page by page through a file. But I have a really long file and I would like to go to the end of it. what is keyboard command to go to end of file in nano?

View 3 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

Debian :: Reading From USB Keyboard Device?

May 1, 2010

I am running Debian off a CF on a SBC board (TS-7200). I am connecting via serial ttyAM0. It has a 2.4.26 Kernel running a Sarge distro of Debian.

I am using a terminal in windows to work on the device via serial. (Tera Term)

I am trying to read the input from a keyboard usb device. However, I want to eventually be able to read from any HID device. I currently have a Dell keyboard plugged into usb. lsusb gives:

Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 413c:1003 Dell Computer Corp.
Bus 001 Device 003: ID 413c:2010 Dell Computer Corp.

[Code]....

View 1 Replies View Related

Fedora :: Resume From Keyboard \ Figure Out Which Is For Which Device?

Jun 17, 2011

Currently I only only resume from suspension by pressing the power button. I learned that by editing /proc/acpi/wakeup one can enable resuming from other devices. But how to figure out which is for which device? Here is my /proc/acpi/wakeup file:

Code:
DeviceS-state Status Sysfs node
PCE2 S4*disabled pci:0000:00:02.0

[code]....

View 1 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 :: 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 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

Ubuntu Multimedia :: Use Plug'n'play Mouse / Keyboard Remote As Lirc Device?

Mar 16, 2010

I've bought this remote control that sais it works in Vista, XP etc. without any driver. Basically it has a bunch of buttons that replace the mouse and a bunch of others that replace basic keyboard functions (arrows, enter, escape). It has a USB IR receiver so I thought I could simply use it as a lirc remote in Ubuntu.

However, it sais absolutely nothing on it except for "PCremote" so during lirc installation I have no idea what to choose. And, interestingly, I accidentally discovered that it works in Ubuntu, too, out of the box. Controlling the mouse and acting like a keyboard. Is there a way I can forfeit current functionality and just get it to work as a customizable lirc remote? Or even better, keep current functionality but change it only for certain apps (xbmc, vlc etc)?

View 6 Replies View Related

General :: Using Ubuntu Keyboard Layout In Mac OS X With A PC Keyboard?

Dec 24, 2010

I'm a used Ubuntu user on a pc, and I like the french keyboard layout because it allows me to type accentued characters easily.I found a win-fr keyboard layout but it's much like windows and not so good.I found xmodmap.fr keyboard layout and I'd like to know if it was possible use it with my Mac SL 10.6.5, maybe I could do xmodmap xmodmap.fr or a way to convert to mac layout file.

View 1 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

Ubuntu :: Keyboard Shortcut File

Jan 10, 2011

Can anyone please tell me where to fine the file containing the Keyboard Shortcuts?

View 2 Replies View Related

Debian :: Keyboard Shortcut To Open A File?

Apr 25, 2015

i'm using debian wheezy 7.8 with gnome 3.4.2.

I know how to set up a keyboard shortcut to open a program like libreoffice. Is there a way to make another keyboard shortcut to open direct a libreoffice file (.odt, .odb, etc).

View 4 Replies View Related

Ubuntu Installation :: Which File For Keyboard Shortcuts?

May 16, 2010

Which is the file where keyboard shortcuts are stored? am using karmic

View 4 Replies View Related

Ubuntu :: Evince Open File Keyboard Shortcut?

Jan 16, 2010

For some reason, Evince has the open file keyboard shortcut set to "A", which means that if I'm searching for text in a pdf and I type the "a" key, the "Open Document" dialog box is called. How can I fix this?

View 5 Replies View Related

Programming :: Bash: Handling Input From File And Keyboard?

Jan 20, 2009

I have this little shell script which copies file names taken from inputfile:

Code:
while read line; do
cp -i $line something

[code]...

View 4 Replies View Related

Programming :: Keyboard Confirmation While Reading From File In Shell Script

Feb 3, 2010

I'm writing a script and I'm stuck. I need to read from keyboard to ask for confirmation while Im reading from a file. My code is this:

while read linea
do #code
echo "you sure? (y/n)"
read answer
#code
done < $"agenda.dat"

The problem is that stdinput has been redirected to file agenda.dat so when I do "read answer" it reads the next line from the file.

View 11 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

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

Ubuntu :: Adding Right Click -> Keyboard 'v' For Editing A File With Gvim In Nautilus?

Mar 21, 2010

In windows when I install gvim/vim, it automatically installs a context menu in explorer that lets me edit a file in gvim by simply right clicking and pressing v. For someone who edits a lot of files and is really used to vim, it is super-convenient. I want to do the same thing in nautilus. So I installed nautilus-actions and added to the context menu of editing with gvim. That wasn't hard. The hard part is getting that keyboard key to bind to that context menu item. Currently when I right click and press v, it sends the item to trash. I want it such that when I right click a file and press v, it edits the file in gvim. How can I do that? I want a good solution, and am willing to switch file managers/window managers if need be. This particular shortcut key is very important to my user experience.

View 1 Replies View Related

Ubuntu :: Plain Text File - Enable The Zoom Button On The Keyboard

Mar 21, 2010

I just downloaded a Plain Text File that contains (what appears to me as) code that will 'unlock' functions of my MS keyboard, now what do I do with it? Here is a preview of some of the contents of the file from the beginning of the text.

[Code]....

.....and so on with different items. My goal in doing this was to enable the zoom button on the keyboard.

View 1 Replies View Related

Ubuntu :: Play An Audio File With A System-wide Keyboard Shortcut?

Aug 25, 2010

I do a bit of script writing, and part of this involves reading the text aloud and reacting to audio cues. What I'd love to do is set up a method of playing audio files at whim based on a general shortcut. So, say if I pressed <Super>C1, I could play ~/Music/cue1.mp3, <Super>C2 would be ~/Music/cue2.ogg etc.

Currently the closest I've got is using the terminal and a modified .bashrc to play via VLC's ncurses.

Code:
alias cue1="vlc -I ncurses ./Music/cue1.mp3"

Obviously this isn't very near to what I want. Entering a Keyboard Shortcut using the usual methods (xbindkeys, gconf-editor, the KeyShort Preferences GUI) to run

Code:
vlc -I ncurses ./Music/cue1.mp

doesn't play anything. Is it possible to launch these kinds of commands as shortcuts, or am I hoping for too much? My Google trawls have been pretty fruitless. I'm running Lucid, btw.

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