Re: [Tuxnes-devel] Tuxnes freebsd Saitek gamepad question
Brought to you by:
tmmm
From: Michael M. <MMe...@ma...> - 2005-03-24 13:38:58
|
I am not sure what you mean by add-in daemon. Here is basically what I am saying. For freebsd 5.3 let's say I boot-up the machine and then plug-in the=20 usb gamepad to my laptop. Freebsd detects this device and assigns it a device node /dev/uhid0. Under freebsd 4.x you had to make all your device nodes with a special MAKEDEV script. I would assume since this is a usb device that the usb daemon would have to hand off information to whatever application=20 (tuxnes) wants to use or tuxnes might be trying to pull from somewhere else maybe X - just don't know on this. Does this help? Michael >>> Roger Gilbert <doo...@ne...> 03/23/05 06:43PM >>> Did you say that the joystick's handled by an add-in daemon? I'm not=20 sure about this, and would like one of the core TuxNES developers to=20 reply on this, but TuxNES may be looking for joystick support to be in=20 the kernel itself and not managed by an add-in daemon which may have=20 nothing to do with the kernel itself. If nothing else, this would be=20 something to check. I'm a Linux noob, so this may be irrelivant, but=20 it's the only possibility that comes to mind. Michael Metzger wrote: >I am having trouble with my Saitek gamepad using it with tuxnes on = freebsd 5.3. =20 > >I know it works correctly on freebsd because my atari emulator stella = picks it up with no problems. > >The freebsd kernel sees the gamepad as=20 >uhid0: SAITEK P220, rev 1.10/0.01, addr 2, iclass 3/0 > >I even added the device joy into my kernel config because I thought it = might have something to do with using kernel loadable modules. kldload joy = on the command-line and all. > >I have tried the following commands: > >tuxnes -F 16 --joystick=3D/dev/uhid0 Super_c.nes > >Had to add -F 16 in there to fix my sound. > >Here is some of the output I get: >Joystick support was diabled at compile-time. To enable it, make sure you = are running a recent version of the Linux kernel with the joystick driver = enabled, and install the header file <linux/joystick.h> > >Not sure why it thinks it needs a linux kernel if it is running on = freebsd 5.3.=20 > >Can you guys help me out here? > >Thanks in advance, > >Michael > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: 2005 Windows Mobile Application = Contest >Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones= >for the chance to win $25,000 and application distribution. Enter today = at >http://ads.osdn.com/?ad_idh82&alloc_id148&op=3Dclick=20 >_______________________________________________ >Tuxnes-devel mailing list >Tux...@li...=20 >https://lists.sourceforge.net/lists/listinfo/tuxnes-devel=20 > > > =20 > --=20 This message has been scanned for viruses and dangerous content by IntelliBlock MailScanner, www.intelliblock.net=20 and is believed to be clean. |