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


ADVERTISEMENT

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

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

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

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

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

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

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

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

Debian :: Why Are Ports Open?

Feb 2, 2010

Just did a check on "shields up" and it says that ten of my ports are open. I get the same result with or without both shorewall and firestarter. I suspect it may have something to do with the mysql server packages added automatically during installation. Am I right. If so, what can be done about it? If not, has anyone any idea how to keep my ports closed?

View 5 Replies View Related

Fedora :: How To Open Ports?

Feb 7, 2010

I'm trying to setup oracle10g but, whenever I try to go to my database homepage http://127.0.0.1:8080/apex I get an "unable to connect to" error. Only reason I can think of as to why I can't connect to it is because my ports aren't open. I also recall SELinux complaining about something awhile ago, I can't seem to bring that up any more for some reason.

View 1 Replies View Related

Ubuntu :: 10.04 - No USB Ports Installed

Jun 29, 2010

Just installed 10.04. Inserted a flash drive into the usb port. Nothing? How do I tell if the usb ports were installed by ubuntu?

View 9 Replies View Related

Ubuntu :: USB Ports Not Working?

Sep 2, 2010

I'm starting to feel like a spamer or something. (I don't usually have this many computer questions, I'm a nerd, but known NOTHING about ubuntu).

All of a sudden NONE of my usb ports work? I can't get USB drives to work or an external drive. They aren't recogonized at all and the lights on them don't light up.

View 1 Replies View Related

Ubuntu :: List Of Com Ports ?

Sep 20, 2010

All i need is to see a list, window or anything that shows all of the serial (rs232) com ports that are on my Ubuntu 10.04 machine and what their associated port numbers are.

I have one com port that is on the motherboard (so obviously its com 1) and it works fine. but i also have a usb to serial (FTDI) com port that i cant figure out what the port number is...

View 4 Replies View Related

Ubuntu :: Unlock USB Ports For VM?

Aug 7, 2011

If i've accidentally deleted the vboxusers group off my list in System-> Administration, is there a way to get it back? I really need to unlock my USB ports for my VM.

View 3 Replies View Related

Ubuntu :: How To Test Usb Ports

Jan 5, 2010

I want to test automatically if the USB ports are in use.
I want to test it in a bash script

I found some information about ttyUSB0 in the /dev/

The problem is, there is usb hub between the system and the mouse/keyboard. The other USB port is in use for the Ubuntu live usb.
When I open the /dev/ map virtual and pull out the usb keyboard the hidraw1 diappears, same for the keyboard.
When both are out and I pull out the usb hub, nothing happens.

Do anyone know how to test it?

View 1 Replies View Related

Hardware :: Serial Ports Through USB Hub

Oct 30, 2010

I need to talk to several serial ports. I was thinking of having a bunch of USB to serial cables and then plugging all of them into a USB hub, which goes to the computer. What I want to know is, will I see each serial port as a separate thing? With 1 USB to serial cable and no hub, I see /dev/ttyUSB0. With this hub, will I see /dev/ttyUSB0, /dev/ttyUSB1, etc?

View 1 Replies View Related

Hardware :: Usb Ports Not Working / What To Do?

Mar 7, 2010

I've installed Debian Lenny on a Fujitsu Amilo L7310GW, and everything works well, except for the usb ports. Anything plugged into them doesn't register at all. If I plug in my usb pendrive with the light then the light comes on for a moment and then nothing.

I started up Knoppix 6.2 from the same pendrive, and it starts to boot, right up to where you can choose the OS and options, and then a bit further but then it fails because I suppose enough of the OS has been bootstrapped to use it's own usb facilities.

I've looked at the logs, dmesg/syslog/messages/debug, and also got some output from lsusb but I can't see what could be the problem.

View 5 Replies View Related

Networking :: SSH - Forward Several Ports At Once?

May 10, 2011

I can successfully forward a port via:

PHP Code: ssh -L 5900:localhost:5900 test@192.168.5.1 

how do I forward several ports at once. This is a wrong example but:

[Code]...

View 2 Replies View Related

Security :: Get Around Isp Blocked Ports?

Sep 21, 2010

Is there anyway i can ssh/rdp/telnet into my server from the outside bypassing comcast ALL blocked ports

View 1 Replies View Related







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