Hardware :: SDL Joystick Event From N64 Controller Adapter Not Recognized
May 1, 2011
I'm using a "HuiJia USB Gamepad" to connect a standard N64 controller to my computer over USB. I'm doing this so that I can play games using mupen64plus, which uses the SDL to get input. My problem has to do with the way the adapter deals with C button events. Apparently, the u/d and l/r C buttons are treated by the adapter as joystick axes, so joystick events are generated by using them. But, for some reason, these events aren't recognized by SDL.
It gets stranger - if I cat the output of /dev/input/event5, the event gets printed when a C button is pressed. Furthermore, when I configure SDL to use the /dev/input/event* devices rather than /dev/input/js0, the C buttons are recognized! (Though, this leads to a situation where the joystick can't be calibrated... go figure). So, I can either have a correctly calibrated joystick with no C buttons or a miscalibrated joystick with working C buttons. Does anyone have any idea what I can do about this situation? The best outcome would be to force the C button joystick events to appear when using /dev/input/js0. Device as it appears in the output of lsusb:
Currently I have 5 HID's I would like to use on the system at any given time. However, I have the problem of them using different device paths depending on what order I plug them in... Which wreaks havoc on qjoypad and also my music software which looks for a specific device number, which may or may not be the same as it was last time.
For example, I have 2 rock band drum controllers which I use to send MIDI signals. I need them always assigned to the same device path, so that I don't have to change the settings in my music software every time I run it, to make sure it's looking at the right controller
Or if I am going to play games with a gamepad, but I also have the drums hooked up, the gamepad may be assigned to /dev/input/js2, so I create my qjoypad profile.... Let's say the next day I reboot with the drums not plugged in, the gamepad is now /dev/input/js0, and the qjoypad profile won't work because it is looking for that gamepad at /dev/input/js2... So I would either have to create a new profile, or hook the drums back up in the same order ... Or something
It's just a mess...
Is there any way to tell Ubuntu to say "/dev/input/js0 is always Playstation gamepad", "/dev/input/js1 is always drum pad 1", etc.?
Or some way to do away with /dev/input scheme altogether and somehow link directly to the name of the device?
I have just installed a NEC 3.0 PCIe board in my CentOs 5 box, but the card is not recognised, and no drivers seem to be loaded for it. lspci says: USB Controller: NEC Corporation Unknown device 0194 (rev 03) The vendor says the board is supported on Linux kernels 2.6.16 and later. uname says my kernel is 2.6.18-194.17.1.el5
How do I get this device to be recognised, and drivers loaded for it?
I'm having a problem with the installation of Ubuntu Server 10.04 64bit on my IBM xSeries 346 Type 8840. During the installation the system won't recognize any disk, so it's asking which driver it should use for the RAID controller. There's a list of options, but nothing seems to work. I've been searching the IBM website for an appropriate driver, but there is no Ubuntu version (there is Red Hat, SUSE, etc). I was thinking about downloading the correct driver onto a floppy disk to finalize the installation, but apparently no 'general' Linux driver to solve the problem here.
I have an old IBM Xseries 300 server that i can use. So, i am trying to install Centos 5.3, but during the installation , no disk can be found. I have 2 disks (1+1 in mirror) connected to an IBM serveraid PCI card.
I installed Debian Lenny, and it recognize the card (so the disks) immediatly.
However, I have the problem I can't see any devices on my IDE port in my Asrock P43 mainboard, because the VIA VT6415 IDE controller isn't recognized. I typed an 'lspci -k', and I can clearly see there wasn't loaded any module to handle this VIA PATA controller.
I've been trying for probably 10 hours now to get the bcm4306 driver working on Debian. I finally got it installed using ndiswrapper... However, now ndiswrapper says that the hardware is not present! When I run lspci, though, it lists BCM4306 as the network controller. What is going on, and how do I fix it? It's on a Dell latitude D600.
I have an issue with my Sound on OS 11.2.It is correctly recognized under hardware and the driver seems to start properly as well when I do rcalsasound start.But under Control Center / Sound Preference there is no audio hardware listed (and hene no sound playing)
I've an USB Network Controller product from China with no driver for Linux... It's seem in my FC10 not correctky fuctional... On Windows it worked as SR9600 USB To Fast Ethernet Adapter... here is my log...
Code:
[root@home ~]# dmesg | grep USB ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found
Well, when I run alsaconf, it finds my 82801H and I go on to setting it up, it says it will run, but it doesnt run.
Quote:
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
But my song don't work, ..... works, but no sound in that, and i have tried running alsamixer to raise the volume to the peak.
I have a vague idea that, this sound card has difficulty in linux but all I get is 3 year old patches for gutsy gibbon and fixes that are non-slackware so I dont have the files and what not.
I have been trying, but never seem to understand why it says it works when it doesnt work.
Oh turns out, from thinkwiki, [url]
Its AD1984 actually, and it didn't work on 2.6.24.2 mine is 2.6.29.2 .
I Have an HP Pavilion G6. I recently installed openSUSE after having no luck with another linux distribution. I was told openSUSE is more compatible with laptops, so I figured I'd give it a try. I am now facing the same problem I had been facing w/ the other distribution (Ubuntu). My Network Adapter doesn't seem to be recognized by any linux operating systems. It is a Ralink 802.11b/g/n WiFi adapter. When I open the "network" tab, my home wifi is not listed, nor are any around me. In fact, I can't even open the "wireless" tab.
I've installed any recent drivers for my adapter, and I went to extensive lengths to try to solve the issue on my previous linux distribution. I don't know what output to give you from the terminal, nor do I really know any commands to look for anything. On a side note, I had been messing with my touchpad application, trying to set my preferences. I check the boxes for horiz. and vertic. scrolling with two fingers, and apply. They don't work. I check the boxes for using two finger tap to do something, and three finger tap to do something else.
I am trying to maintain another computer that runs Ubuntu, and everything seems to be running smoothly except for one thing: the wireless. Due to distance issues, I cant use a cord, but the computer is close enough to get a signal. am using a Netgear wnda3100 wireless usb adapter. I installed Ubuntu on the computer because I heard that the device was supported in Ubuntu, and it wast after a while, the adapter is no longer recognized. I have had to reinstall multiple times, and I'm no longer in the mood to reinstall. Does anyone on the UF know hwo to fix this
I installed a ubuntu server edition on a VMware workstation. The problem is , when I added a network adapter (so, total 2 adapters now), the second one was not being shown in ifconfig. On trying ifconfig eth1, I found that the 2nd adapter didn't have an ip address. So, I installed ubuntu desktop edition on another VM, and this time it showed both the network adapters on doing ifconfig, and both had ip addresses. Why doesn't this work with ubuntu server?
i'm running Backtrack3 on VMWare Workstation and its running perfectly without any pb except one and that is my USB wifi device. When i run my Backtrack it shows the device but when i try open Wireless Assistant from backtrack on that time it says No device found. I install the driver from the cd came with my TP-Link TL-WN821N v2.I can use it with my windows7 without any pb but with Backtrack i can't. So if someone can tell me how i can make the device recognize by backtrack. In bellow i attach screen shot. This is when i open backtrack3
Code: [URL] This is after i click Wireless Assitant Code: [URL]
I am using Linux and Windows 7 on the same machine and my on-board NIC is functional under both. However, the weirdest thing happens when I browse the internet under Linux and then return to Windows; my NIC stops being recognized! This happens under Windows but also in Linux when I return! This problem is then easily fixed by resetting the CMOS, but inevitably occurs again. Why does this happen? Update The CMOS reset works but is not necessary for me. Shutting down and unplugging the power cord works as well.
I bought myself a Sitecom Wireless Network USB Micro Adapter 300N X3 (Sitecom WL-364) today. When I place the adapter in my PC, it is not recognised as a wireless adapter.
There are similar posts like this one, most of them are about conflicting drivers. According to this post I shouldn't be worried about that (as I'm working in 11.04 32-bit).
The output of lsusb is this:
Code: Bus 001 Device 003: ID 0df6:0051 Sitecom Europe B.V.
Also, I was having a hard time getting to know the chipset of the adapter. Is RT2870 the right driver for the adapter?
I am brand new to Linux and Ubuntu. However it was very easy and smooth to install and get updated using my wired ethernet connection. I am now trying to understand how to have my wireless network adapter recognized or driver installed. I will be searching around the forums but it suggested I make an initial post as a new user. I am using an older Dell Inspiron 2200. I believe the chipset in my wireless adapter is indeed Broadcomm, so hopefully that will help direct any responses.
I just got 5.2 installed on my HP zd7000 laptop. I have a Zonet ZEW2502 USB Adapter but doesnt seem to be recognized. I tried to search in the forums and Google but didnt find any tutorial. point me in the right direction? or do I have to buy a different USB adapter?
I have spent them with Fedora and liked it a lot. Today I decided to install CentOS as this looks like something I would like to be using in the future. However a problem I could not solve came right at me after the first boot.
I have one eth0 device which is onboard lan and that was correctly recognised and activated. The second device is F5D5055 Belking USB Gigabit ethernet adapter. There was no problem with it whatsoever under Fedora. According to all the info it should be automatically recognised on kernel 2.6.14 and later. However when I plug it into the USB port, I can see its correct name in the device manager but it is not recognised as a network device. I have configured my Fedora as a firewall/router for my lan and definitely want to use that interface.
Hopefully without needing to do anything in the realm of compiling kernel, cause that is where my half a day long attempt to fix the problem left me.
I have Lenny running on my old Toshiba Qosmio E10 via wired ethernet. what I need to do to get the intergrated wireless adapter recognised, configured etc.
I can not get the node or cloud controllers to startup using the init.d scripts. I have a fresh install of CentOS 5.4 with Eucalyptus 1.6.2 I have compiled Eucalyptus and all packages using the RPM supplied from Eucalyptus and utilizing yum installer. I do not currently have any processes or applications listening currently on the ports on the boxes as well. I think it may be a permissions issue or something because I get a "permission denied error", but I am not sure if it is Eucalyptus or CentOS. It looks as if it is not binding to the address on the interface of the NIC. It may be something else however. I have the Node controller, Cloud controller, and Cluster controller on seperate physical boxes. When I try to run either the cloud controller or the node controller I get this message:
Cloud Controller:
[root@cluster-cont ~]# /etc/init.d/eucalyptus-cc start Starting Eucalyptus cluster controller: (13)Permission denied: make_sock: could not bind to address [::]:8774 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:8774
Basically i want it so that the analogue stick on my PS2 controller, which connects via a USB adaptor and is recognized, correctly controls in game characters. It seems to work fine enough in platformers, at least it does with Banjo Kazooie, but with games like perfect Dark it seem to be trying to move forward and look down at the same time, also backward and look up simultaneously and look sideways and move sideways simultaneously , rendering the game all but unplayable.
I have tried running jscal and, apart from the fact that it seems a bit beyond me, it reports "jscal: missing devicename" when i try to run "jscal -c". Do others out there have there analogue sticks working correctly with games like Perfect Dark, or the James Bond games, for example?
At the school i work in i have a server2k3 server that provides a domain to all the windows clients, aswell as a fedora server that acts as an imaging machine and webserver.
Im rather concious of the fact that if for any reason the Server2k3 server was to die there is no backup of active directory, or anything that can take its place whilst a replacement is found.
So is it possible to use a fedora machine with samba as a secondary domain controller? so it can be used as a login server, and has a copy of AD.