Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2012, 08:10 PM
pcbsd64 pcbsd64 is offline
Member
 
Join Date: Aug 2009
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default USB Joystick recognized by DOSbox but not other PBI Emulators
I'm trying to get my USB Joystick working with the Stella and Vice emulator PBI's.
It works fine with the DOSbox PBI, but no luck with the other emulators. I know that the linux-js port is broken and won't build, but I have seen FreeBSD forum posts that suggest I use the uhidd daemon to enable a USB controller.

from /var/log/dmesg
Code:
ugen0.2: <awecades.com> at usbus0
uhid0: <awecades.com USB Classic Crystal, class 0/0, rev 1.10/1.00, addr 2> on usbus0

Code:
[pcbsd64@pcbsd64] ~> uhidd -vvv -kmoh /dev/ugen0.2
uhidd[8270]: cannot open or create pidfile
uhidd[8270]: open /usr/local/etc/uhidd.conf failed: No such file or directory
uhidd[8270]: proceed without configuration file
ugen0.2[0]-> HID interface
ugen0.2[0]-> Report descriptor size = 43
ugen0.2[0]-> Find IN interrupt ep: 0x81 packet_size=0x8
HID APPLICATION COLLECTION (Game Pad) size(43)
  HID REPORT: ID 0
    INPUT: 
      POS:0 SIZE:8 COUNT:2 [VARIABLE]
        USAGE X
        USAGE Y
      POS:16 SIZE:1 COUNT:8 [VARIABLE]
        USAGE Button1
        USAGE Button2
        USAGE Button3
        USAGE Button4
        USAGE Button5
        USAGE Button6
        USAGE Button7
        USAGE Button8
uhidd[8270]: ugen0.2[0] could not open /dev/uvhidctl: Permission denied
uhidd[8270]: terminated
from /etc/X11/xorg.conf
Code:
Section "InputDevice"
    Identifier     "USB Classic Crystal"
    Option         "Vendor" "awecades.com"
    Driver         "joystick"
    Option         "Path" "/dev/uhid0"
    Option         "Device" "/dev/uhid0"
EndSection
from /etc/rc.conf
Code:
uhidd_enable="YES"
If I add
Code:
uhidd_flags="-kmohs"
to /etc/rc.conf
the joystick isn't recognized by DOSbox and my keyboard runs away with key presses.

Should I just wait until somebody rewrites linux-js or can I fix something to get all my emulator PBI's to recognize my USB joystick

__________________
PcBSD 9.1 LXDE/spectrwm Home page

Last edited by pcbsd64; 07-17-2012 at 08:01 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:27 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.