General :: How To Create Dummy Input Device

Mar 19, 2009

Long story short - on my laptop, touch pad is recognised as PS/2 mouse. Everything works (moving, clicking, dragging, vertical scroll). But I often accidental click the pad while typing.Synaptic driver recognises it as ALPS glide point it seems (synclient -m 1 gives me back only x,y difference for the gestures, but X,Y coordinates are always 0,0) - so then I get everything right including disabling mouse on keyboard input - but scrolling doesn't work So I came up with 2 possible ideas - which I don't know how to do/test:1. Perhaps there is a way to disable mouse input while typing without synaptics drivers?2. Create a dummy input device (mouse), and tie synaptics driver to it. Add another input device in xorg.conf to point to the real touch pad as PS/2. And make the synaptics disable "real mouse" by enabling GuestMouseOff option.

View 1 Replies


ADVERTISEMENT

Hardware :: Webcam 'dummy' Device Can Only Be Read By Mplayer

Aug 13, 2009

I'm playing a little bit with OpenCV but the webcam that i have on my desktop isn't app-friendly... so i could not get it working with OpenCV, it's a 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam and it worked out of the box with Cheese and after a little bit of tweak i get it working with camorama also.But some apps, like Skype and OpenCV demos doesn't work, believe me, i tried everything to get it working, i tried even upgrading to a very new kernel.

So i had the idea to create a "virtual" video device and using some app that can read the wcam i could print the wcam's output on such device, which should be compatible and app-friendly, so i would use that device always.

View 1 Replies View Related

Ubuntu Multimedia :: NO Sound - NO Device - Dummy Output Stereo

May 6, 2010

I have updated my Ubuntu to Lucid 10.04 from 9.10.

Although my sound disappeared in 9.10 only, I thought maybe upgrading might help, but there is no change.

I guess everything is installed fine.

But still aplay -l command shows "NO sound cards.. "

Moreover the sound preferences shows no hardware, no input and a dummy stereo output.

I have banged my head a lot trying various things written in forums and all but no success.

One more thing : When I test "osstest" , I get sound in both the earphones , but altogether there is no sound. I am very much confused.

View 9 Replies View Related

Fedora :: Use The New SPICE VDI Technology To Create A Dummy Terminal?

Dec 14, 2010

I have a pretty powerful desktop running fedora and was wondering if I could use the new SPICE VDI technology to create a dummy terminal virtual desktop using just a 2nd monitor, keyboard, and mouse (no thin client). Is this possible using USB ports? Would I need a 2nd video card for the monitor?

View 1 Replies View Related

General :: USB Midi Input Device?

Jul 18, 2010

I just bought an M-Audio Keystation 49e off of craigslist and I'm at a bit of a loss on where to start to use it as an input device for muse or rosegarden.

Distro: Debian Lenny
Kernel: 2.6.26-2-686
Laptop: Compaq V5305WM

Everything seems setup, but I'm at a loss on how to use it in the applications. It doesn't have any sound synthesis abilities on the keyboard, it's just an input device. Without the keyboard I usually go this route:

jackd -R -d alsa &
timidity -Oj -iA &
rosegarden

And midi events output sounds and all that jazz. I'm wanting to input notes / record from the keyboard. But still output all sounds in the aforementioned manner. If I could get those to happen while I record that would help a bunch. Maybe it's just too late in the day for me to wrap my brain around it at the moment.

[Code]...

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

Software :: Audio Output Device Changes To 'dummy Output'?

Mar 27, 2010

I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone

View 1 Replies View Related

General :: How To Tell Xorg To Reload Input Device Module

May 14, 2010

When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.

Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found
# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }
(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...

How to tell X.org to try it's InputDevice again (without restarting X server)? rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram. Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.

View 1 Replies View Related

General :: Create A Expect Script To Input Username And Password?

Mar 21, 2010

i was able to input it directly from the script using this code

Code:
#!/usr/bin/expect -f
set USER "bibingeorge"

[code]...

View 5 Replies View Related

General :: Create A Single Line Of Output From Multiple Variable Lines Of Input

Feb 3, 2010

I need to create a single line of output from multiple and variable lines of input in a Linux bash shell script.

My input file looks like this:

Where there may be any number of umsecondaryphonenumber lines; if there is not a umsecondaryphonenumber line for a telephonenumber, I don't want to write any output.

So, the output file should look like:

The script I have so far is:

My question is - how do print each of the elements of an array in one record - i.e. what do I put in place of howdoiprintarray?

View 2 Replies View Related

General :: Create A Multiple Files By Reading A Input File And Changing The Contents?

Sep 16, 2009

Being new to this area .I have been assigned a task which i am unable to do . Can any one please help me .

I have requirement where i have input file XYZ_111_999_YYYYMMDD_1.TXT and with header and series of Numbers and Footer.

I want to create a mutiple output files with each file having a seperate code which is stored in text file and create XYZ_222_999_YYYYMMDD_1.TXT . and add date in the contents next to series of numbers .Like this

Before change the file looks like this

file name XYZ_111_999_YYYYMMDD_1.TXT

001,19SEP2009-14:05:05,000000003
1234
4567
6785
END_OF_DATA

[Code]....

View 4 Replies View Related

General :: Can't Mount Usb Disk - It Just Create /dev/sg Device But No /dev/sd

Dec 23, 2010

I have a Corsair R60 ssd disk which is a disk with both sata and usb connectors. But the usb thing seems to be a bit non-standard, or maybe its just my fedora linux.When I insert the disk using a usb cabel to a running Fedora 14 linux system, a device called /dev/sg3 is added but that is all. No new /dev/sd* device is created so I can't mount the disk.

If I look at

cat /proc/scsi/sg/device_strs

I get

ATA Hitachi HTS54321 FB2O
HL-DT-ST DVDRAM GSA-T50N RP05
Seagate Desktop 0130
Corsair CSSD-R60GB2

So the disk is there. (The last entry) but my linux will for some reason not see it as a usb hard disk. When I insert other usb disks they work fine. It is only this specific disk which causes problems. I have tried on 3 different computers with the same result.

A hint to the problem may be that if I add the disk to a windows system(With usb) the disk is called "A fixed disk" and not a portable disk as expected. The disk works fine with linux If i connect it with the sata cabel, but I would really like to have it working with usb too. (To mount it on computers without sata).

Added:I did try to mount /dev/sg3 but mount say that its not a block device. (File say Its a character special device).

Added output from dmesg:

[ 97.454073] usb 7-1: USB disconnect, address 2
[ 105.913055] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 107.048054] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 107.162900] usb 2-3: New USB device found, idVendor=1b1c, idProduct=1ab8

[code]....

I found an other guy with exactly the same problem [URL] so I think its beginning to look like a bug in the drives firmware or in the linux kernel.

Final update:Corsair have said that the disk design is broken and there does not seem to be any way to make it work.

View 1 Replies View Related

General :: Create A Growing Image For A Loopback Device

Aug 10, 2010

I was wondering if it is possible to create a growing image for a loopback device. Like a file that you create that will grow with the data that is placed on it instead of a file that has to be the size of the entire file system?

View 4 Replies View Related

General :: Dynamically Create/delete Device Nodes By Driver?

Apr 15, 2010

I'm a starter here in linux, I have written a driver code and in that, I register my character devices by passing 0 for the major number.

To set up I used to use mknod command from terminal to create node,

Is there any method to create node dynamically from driver code during initialization and delete them at cleanup time?

View 1 Replies View Related

General :: How Udev Rules Work To Create Device Files

Jun 2, 2010

how udev rules work to create device files. Following is what I did for that: Up on plugging in my phone (sony w800i), I am getting a device file 'devcdc-wdm0' created. I just tried to figure out the rule which is responsible for the creation of this particular file.

I searched in 'etcudev ules.d' and 'libudev ules.d' for the string 'cdc-wdm' to find that rule. But I am not getting any hits in that search. Could any one help me out in this one.

BTW: I am using Ubuntu 9

View 6 Replies View Related

General :: Lost It And The Pulse Audio Gui Claims It Has A Dummy Ouput?

Oct 22, 2010

My sound was working fine. Now I've lost it and the Pulse audio gui claims it has a Dummy Ouput. If I understand correctly, the below indicates my sound card has not been detected.

nnjond@nnjond-den:~$ cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfdf78000 irq 22

[code]...

View 4 Replies View Related

Fedora :: Disable Input Device For X?

Feb 16, 2010

I have a Kore Controller from Native Instruments [URL] using it as a sound card on Fedora 12. Its input knobs are supported by Linux, too, but they are pretty useless for me.It came out that these input knobs send mouse movements from time to time, letting my mouse pointer jumping to the upper left corner of the screen.

So I want to disable the knobs, i.e. I want X to not interpret these "knob actions" as mouse movements. What is the best way to achive this? Can I disable it somewhere in HAL configuration or do I have to modify xorg.conf? And how do I do this?Simply plugging out the Kore Controller is not an option for me because I use it as sound card.

View 8 Replies View Related

Fedora :: Fto Remember Audio Input Device?

Apr 11, 2010

I need to set the default input device to be the microphone on my webcam for when I skype, but it seems to keep resetting itself, so I keep going in and changing it.

I am right clicking the volume icon and going into Sound Prefs -> Input, and selecting the camera.

How do I stop it from forgetting this and resetting it?

View 4 Replies View Related

Fedora :: Which Device To Use For Ffmpeg Sound Input?

Dec 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

Code:
ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg
My system has no /dev/dsp, but does have /dev/snd with these files
Code:
$ ls /dev/snd

[Code]...

View 11 Replies View Related

Ubuntu Multimedia :: How To Add Device For Sound Input

May 2, 2011

I delete input device. How to fox it? All the sound is working only microphone problem.

View 2 Replies View Related

Debian :: Hardcode Device Input Using Udev?

Jun 7, 2011

My touchscreen "LG Display LGD-MultiTouch" will be recognized sometimes as /dev/input/event0 and sometimes as /dev/input/event3. How to hardcode /dev/input/event0 using udev and xorg.conf?

Code:
# cat /proc/bus/input/devices
I: Bus=0003 Vendor=1fd2 Product=0064 Version=0100
N: Name="LG Display LGD-MultiTouch"
P: Phys=usb-0000:00:1d.7-4.1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: EV=1b
B: KEY=403 0 30000 0 0 0 0 0 0 0 0
B: ABS=700 3f
B: MSC=10

# udevadm info --query=all --path=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
P: /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.1/1-4.1:1.0/input/input0
E: PRODUCT=3/1fd2/64/100
E: NAME="LG Display LGD-MultiTouch"
E: PHYS="usb-0000:00:1d.7-4.1/input0"
E: UNIQ=""
E: EV==1b
E: KEY==403 0 30000 0 0 0 0 0 0 0 0
E: ABS==700 3f
E: MSC==10
E: MODALIAS=input:b0003v1FD2p0064e0100-e0,1,3,4,k110,111,140,141,14A,ra0,1,2,3,4,5,28,29,2A,m4,lsfw
E: SUBSYSTEM=input

View 3 Replies View Related

Software :: Which Device To Use For Ffmpeg Sound Input?

Dec 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

Code:
ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg
I want to use alsa, not oss, but need to know the alsa input device name (/dev/dsp is created by loading the oss modules). By running alsamixer, I have nutted out that /dev/snd/controlC0 refers to the HDA Intel sound card, ~controlC1 is my USB webcam and ~controlC29 is the microphone built in to my notebook, but these are control devices, not inputs.

[Code]...

However, that does not explain which device is the mic built in to the laptop: by my calculation, it should be pcmC0D1c, but there is no such device. In /proc/asound/card0/pcm0c/ I have directories for sub0 and sub1, which I am guessing relate to the mic jack and inbuilt mic respectively. Do two physical mics share one logical device somehow? I am starting to really confuse myself, if you haven't guessed that already.

I think my question boils down to "How do I record a video clip on Fedora 14 using ffmpeg?", but I am specifically interested in knowing how to specify each of the alsa sound input devices for my system.

View 8 Replies View Related

Debian Configuration :: Permanently Disable The Input-device

Jul 31, 2011

my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.

/dev/input/mouse0 --> TouchPad
/dev/input/mouse1 --> TrackPoint

How can i disable the device? In X it does not work with gpointing-device-settings

View 2 Replies View Related

Ubuntu :: Disable Input Device - AutoAddDecices=True

Jun 10, 2010

I have installed Lynx and want to use two X servers at the same time. Each server has its own ServerLayout section in xorg.cong. The first ServerLayout Section has AutoAddDevices enabled, so that new input devices are added automatically. The second ServerLayout has AutoAddDevices disabled, and one InputDecice pointing to /dev/input/mouse3. That way, this mouse is the only input decive affecting the second X instance.

Unfortunately, this mouse is also controlling the first server (due to AutoAddDecives). Can anyone tell me how to disable this? I want every input device to be added to the first server, except this mouse. In earlier versions of ubuntu, I used a hal rule to make hal ignore this mouse. So it was not added to the first server. Now that hal is not used by lynx anymore, I don't know how to do this. I have already read some things about udev and the xorg.conf.d folder.

View 1 Replies View Related

Ubuntu Multimedia :: Auto-select USB Mic As Input Device?

Jul 6, 2010

I use a USB webcam with a built in microphone. It works fine, but every time I plug it in I have to go to sound properties and select it as the input device. There are no other input devices present on my system. Since it's the only one there, is there any way to get it to automatically select when I plug it in? If not, I think that would be good functionality to add. Does anyone know who or what team to contact about that?

View 3 Replies View Related

Ubuntu Multimedia :: No Audio Input Device Can Be Found?

Feb 8, 2011

No audio input device can be found in sound preference>input but in sound preference>hardware>it shows the input webcam recorder device.

When I use

Code:
alsamixer

onto terminal it shows this

and also i checked cable device and everything. And it was working till I last hour. I rebooted computer then there's some problem, I haven't change anything before or after rebooting.

View 3 Replies View Related

Ubuntu Multimedia :: Input But No Output On Firewire Device?

Jun 11, 2011

I'm using FFADO on JACK in order to use my firewire device (M-Audio Profire 610) and I seem to have the opposite issue as others who have similar problems. Everything starts up fine, and I can record audio into Ardour using my inputs, but I can't get any output from any of my 8 line outs.

I've checked the connections using QjackCtl, and I tried to route audio from another program (Audacious) but I can't seem to pull audio out of the device (or the computer won't send my device audio?).

View 1 Replies View Related

Ubuntu Multimedia :: No Input Device Present - Maverik 10.10

Jul 11, 2011

I can't use my line-in/microphone jack. In system-management-sound input tab there is no input device listed, and the input controls are grayed-out. sudo lshw -C sound produced:

description: Audio device
product: N10/ICH 7 Family High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b

[Code]....

View 1 Replies View Related

Debian Configuration :: WARNING: Could Not Find Hdaps Input Device

Jun 22, 2011

I am using Debian testing i386. Just upgraded to 2.6.39-2-686-pae. After reboot, and ever since, I am getting warning: WARNING: Could not find hdaps input device (No such file or directory). You may be using an incompatible version of the hdaps module. Falling back to reading the position from sysfs (uses more power). Use '-y' to silence this warning.

View 1 Replies View Related

OpenSUSE Hardware :: Bluetooth Device Does Not Support Input Service

Jan 6, 2011

I have a bluetooth usb dongle which I cannot get to work. I start kbluetooth. The icon in system tray is blue (not grey).
Right click on it -> Device Manager -> New
The wizard starts. It sees my Palm, but then says: "Sorry your Bluetooth Device does not support input Service". I don't know what to do.
Opensuse 11.3 kde 4.5
kbluetooth 0.4.2-10.5

View 8 Replies View Related







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