Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: U360 Ultrastik - Restrictor settings on Linux  (Read 4978 times)

0 Members and 1 Guest are viewing this topic.

pskerrett

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:April 02, 2016, 04:20:43 pm
  • I want to build my own arcade controls!
U360 Ultrastik - Restrictor settings on Linux
« on: April 02, 2016, 03:58:34 pm »
Hi,

I just installed a restrictor plate on my Ultrastik, and am trying to configure the device to allow me to get the full signal level out with the plate on. IE, prior to the plate, I was getting axis signals of about 32,000 using jstest for /dev/input/js0

Now I'm getting 16,000 which makes sense, but analog control based games are not fully functional.

I have ultrastikcmd compiled & functional, but am not sure how to use this to tell the stick that it has a restrictor installed.


pi@retropie:~ $ sudo ultrastikcmd -c 1 -v
Write to flash: No
Use restrictor: No
Border locations::
 0x1e  0x3a  0x56  0x72  0x8e  0xaa  0xc6  0xe2
device identification of HIDInterface 001/007[2]:
  dev_handle:    0x019fa9b8
  device:        0x019f4530
  location:      001/007
  manufacturer:  Ultimarc UltraStik
  product:       Ultimarc Ultra-Stik Player 1
  serial number: 1
Bind-driver request sent to the kernel


There is a '-o' command that says 'use restrictor' which works initially -


Report bugs to andrewsi@outlook.com.
pi@retropie:~ $ sudo ultrastikcmd -c 1 -o -v
Write to flash: No
Use restrictor: Yes
Border locations::
 0x1e  0x3a  0x56  0x72  0x8e  0xaa  0xc6  0xe2
device identification of HIDInterface 001/007[2]:
  dev_handle:    0x0124d9b8
  device:        0x01247530
  location:      001/007
  manufacturer:  Ultimarc UltraStik
  product:       Ultimarc Ultra-Stik Player 1
  serial number: 1
Bind-driver request sent to the kernel


But that value does not get saved:

pi@retropie:~ $ sudo ultrastikcmd -c 1 -v
Write to flash: No
Use restrictor: No
Border locations::
 0x1e  0x3a  0x56  0x72  0x8e  0xaa  0xc6  0xe2
device identification of HIDInterface 001/007[2]:
  dev_handle:    0x014ba9b8
  device:        0x014b4530
  location:      001/007
  manufacturer:  Ultimarc UltraStik
  product:       Ultimarc Ultra-Stik Player 1
  serial number: 1
Bind-driver request sent to the kernel



How do I program this into a map file or something to allow it to save?

Thanks.