General :: Map Joysticks To Specific USB Ports?

Nov 17, 2010

I'm working on a Linux (fedora) based arcade dance machine using a game called Stepmania. I've got it all up and running and i'm trying to get it to work with two dance pads.

It detects the dance pads fine and they work well, the only issue is that when the machine is turned on it seems to randomly pick which pad is /dev/input/js0 and which is /dev/input/js1

What this leads to is the pad on the left controlling the character on the right & vice-versa. So I was wondering if there is any way to tie or map the joystick to a particular USB port so they always stay where they should ? Or is there another way this could be accomplished ?

View 1 Replies


ADVERTISEMENT

Hardware :: Possible To Map Joysticks To Specific USB Ports?

Nov 17, 2010

I'm working on a Fedora 14 based arcade dance machine using a game called Stepmania. I've got it all up and running and i'm trying to get it to work with two dance pads.

It detects the dance pads fine and they work well, the only issue is that when the machine is turned on it seems to randomly pick which pad is /dev/input/js0 and which is /dev/input/js1

What this leads to is the pad on the left controlling the character on the right & vice-versa. So I was wondering if there is any way to tie or map the joystick to a particular USB port so they always stay where they should ? Or is there another way this could be accomplished ?

View 4 Replies View Related

General :: Forwarding Specific Ports Through SSH Reverse Tunnels?

Jun 28, 2011

So unfortunately I live in a place that will not let me have a static IP, so I have been setting up access to my home computer via reverse SSH tunnels that run on an micro amazon ec2 instance. I have gotten SSH to work fine, but I cannot figure out port forwards.Here is a small infographic I made to help illustrate (i felt the question was clearer with a diagram of what I was trying to do. Here are the commands listed in the graphic:I the following on my home computer: ssh -R 1337:localhost:22 -i .ssh/tokyoMinekey.pem ec2-user@ec2serveraddressand I run this on the ec2 server: ssh -L6600:localhost:6600 -Nf localhost -p 1337

View 2 Replies View Related

Networking :: Set Any Ports On Iptables For One Specific Host Only?

Feb 16, 2011

I like to set in iptables to allow access from one host to my server on any ports.

Currently the iptables have been configured to deny all and to allow access only to those I've specified.

Can anyone advice on the command to achieve this?

View 1 Replies View Related

Ubuntu Servers :: Iptables Allow Ports To A Specific Ip Or Domain Name?

Jul 23, 2010

How to configure iptables to allow only 22,80,3306 ports for only a dynamic public ip/dyn dns domain name on a ubuntu server?

View 9 Replies View Related

Ubuntu Networking :: Set Any Ports On Iptables For One Specific Host Only?

Feb 15, 2011

I like to set in iptables to allow access from one host to my server on any ports.Currently the iptables have been configured to deny all and to allow access only to those I've specified.

View 2 Replies View Related

Ubuntu Security :: Using Apparmor To Restrict Networking To Specific Ports?

Jun 12, 2011

Perhaps it is my misinterpretation of AppArmor, how can it be configured to restrict TCP or UDP traffic to/from specific ports?

The profile "abstractions/nameservice", under the section "# TCP/UDP network access", doesn't seem to lock the application to port 53. What am I missing? Restriction to specific ports is something that systrace can do so I'd expect nothing less from AppArmor.

View 5 Replies View Related

Slackware :: Joysticks Or Gamepads On -current?

Jan 16, 2011

Is anyone having trouble with joysticks or gamepads on Slackware -current? I have zsnes (game emulator) built on -current and I have two gamepads. (First one is a 10 button Logitech "Precision", the second is basically the same model with 12 buttons and two analog sticks.) All buttons work on the first except the up/down on the directional pad, plugging in the other causes zsnes to seg fault while configuring the gamepad. Command line switches to zsnes aren't helping, except to make matters worse. Both gamepads work fine if I boot to any earlier version of Slackware. Sound like a Kernel bug? It's 2.6.35.10. If anyone is successfully using a joystick with -current,

View 6 Replies View Related

Ubuntu :: Installed 10.04 - When Pitch/roll The Joysticks The Mouse Cursor Also Moves

May 8, 2010

So right after I installed 10.04 there seems to be some short of mouse/joystick mess. What I mean is that 2 types of joysticks (Saitek x52 and CH Products Yoke) seems to control the mouse as well! So when I pitch/roll the joysticks the mouse cursor also moves. When I move the middle lever of the CH products yoke, the mouse also moves horizontally. Also it is almost impossible to work with the scroll bars of windows as joysticks interacts with them via the cursor and issues botton clikcs scrolling the bars to the end! This looks to be a new issue on 10.04 as 9.10 had no such issue.

View 3 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Hardware :: Multiserial Ports Identification / How Many Ports Are There

Dec 17, 2010

I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.

View 3 Replies View Related

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Fedora Hardware :: Tell If USB Ports Are 2.0 Ports?

Aug 11, 2010

How can I tell if my USB ports are 2.0 ports?

View 1 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

Programming :: Replace Specific Character After Specific Line By Awk?

Jul 19, 2010

I want to replace specific character in a file after every specific line. example as follows.

O 000000000000000000
A 111111111111111111
C 222222222222222222

[code]...

View 2 Replies View Related

General :: Services On Not Well-known Ports Using INETD

Jan 20, 2011

I want to configure following serivices on non-standard (or not well-known)port uisng RED-HAT LINUX INETD: TELNET, SSH, SNMP, FTP

1) Is there any issue/limitation doing this?
2) Any caveat or peculiarities related to any of the services?

View 2 Replies View Related

General :: How To Find/mount Com Ports

Sep 23, 2010

When trying to run a program, from Gnome terminal, for a device connected to /dev/ttyS0 (COM1), I get a segmentation fault. I think the terminal may not want to leave the connection open for some reason. Do I first need to mount the device somehow?

View 2 Replies View Related

General :: How To Open Ports - 5.6 - 64 Bit - Tikanga

Apr 10, 2011

I am new to Linux. I am installing oracle OBIEE 11g on Linux Red Hat 5.6 64 bits and I got stuck at ports not open error.

I tried adding the following line in the iptables file:

Then Restart iptables service, But did not have any success still getting the same error.

How do I open ports on my server.

View 3 Replies View Related

General :: Multiple Sshd On Different Ports ?

May 17, 2011

How to separate sftp and ssh and run on different ports.

i.e.
a) sftp on port x
b) ssh on port 22

I searched from the web and there are no detailed instructions. They suggested something like separating sshd_config into two files (file A and file B) and run two instances. Each instance points to its configuration file.

However, they didnt write down the detailed procedure of:

a) how to modify file A and file B (i.e. which line should insert specific commands)?

b) how to run two instances?

c) how to point each instance to its config file.

I am using Linux CentOS and the latest open-ssh.

View 4 Replies View Related

General :: None Of My Usb Ports Detected / Open It?

Dec 2, 2010

I cant get any of my usb ports to open ,m trying to open my "usb external hard drive .

View 2 Replies View Related

General :: What Is Source / Destination Ports

Mar 9, 2011

I want to know what is a source port and what is a destination port.

View 7 Replies View Related

General :: Unlocking POP And SMTP Ports?

May 31, 2010

M using Ubuntu. How do i unlock POP and SMTP ports.

View 1 Replies View Related

Server :: Redirect Specific Ip To Specific Web Page?

Jul 1, 2009

I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log

src blacklist {
ip 10.0.0.5
}

[code]...

View 1 Replies View Related

General :: Verify That 6 GB/s SATA Ports Are Working?

Dec 13, 2010

How do I verify that my 6 GB/s SATA ports are working under Linux?

Linux detects the ports, and I can use them for disks but I would like to figure out if they are using a 6 GB/s controller/driver instead of the slower, more common speed.

View 1 Replies View Related

General :: Command Used To Find Out Open Ports?

May 28, 2010

What UNIX command do you use to find out the open ports in a system?

View 1 Replies View Related

General :: Add Ports In Firewall Using Command Or Script?

Feb 18, 2011

i need to add some ports in firewall(RHEL5) how can i do it using command or script or anything?? i know one method from graphic firewall wizzardtell me other shortcut to add more then one ports

View 2 Replies View Related

General :: How To List Open Ports On Linux?

Dec 26, 2010

How to list Open ports on Linux?

View 3 Replies View Related







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