Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mjnman

Pages: [1]
1
AttractMode with debug log when work (Only USB Qanba Arcade Joystick Q1):
Code: [Select]
...
Joysticks after mapping:
ID: 0 => Joy0(Qanba Arcade Joystick Q1)
ID: 1 => Joy7(No Joystick)
ID: 2 => Joy7(No Joystick)
ID: 3 => Joy7(No Joystick)
ID: 4 => Joy7(No Joystick)
...

AttractMode with debug log when don't work (bluetooth and USB joy), after pairing bluetooth joystick:
Code: [Select]
...
Failed to get vendor ID of joystick /dev/input/js1
Failed to get product ID of joystick /dev/input/js1
Joysticks after mapping:
ID: 0 => Joy0(Qanba Arcade Joystick Q1)
ID: 1 => Joy1(8Bitdo NES30 Arcade)
ID: 2 => Joy7(No Joystick)
ID: 3 => Joy7(No Joystick)
ID: 4 => Joy7(No Joystick)
...

When pairing bluetooth joystick missed the "vendor ID" and "product ID"
Code: [Select]
# udevadm info --query=all --name=/dev/input/js1
P: /devices/pci0000:00/0000:00:1e.0/dw-apb-uart.0/dw-apb-uart.0:0/dw-apb-uart.0:0.0/serial0/serial0-0/bluetooth/hci0/hci0:11/0005:2DC8:1081.000A/input/input24/js1
M: js1
R: 1
U: input
D: c 13:1
N: input/js1
L: 0
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/dw-apb-uart.0/dw-apb-uart.0:0/dw-apb-uart.0:0.0/serial0/serial0-0/bluetooth/hci0/hci0:11/0005:2DC8:1081.000A/input/input24/js1
E: DEVNAME=/dev/input/js1
E: MAJOR=13
E: MINOR=1
E: SUBSYSTEM=input
E: USEC_INITIALIZED=139116391
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_BUS=bluetooth
E: ID_PATH=pci-0000:00:1e.0-platform-dw-apb-uart.0
E: ID_PATH_TAG=pci-0000_00_1e_0-platform-dw-apb-uart_0
E: ID_FOR_SEAT=input-pci-0000_00_1e_0-platform-dw-apb-uart_0
E: TAGS=:seat:uaccess:
E: CURRENT_TAGS=:seat:uaccess:
but with command "udevadm info -a --name=/dev/input/js1" I can saw at parent device the infos.
Code: [Select]
  looking at parent device '/devices/pci0000:00/0000:00:1e.0/dw-apb-uart.0/dw-apb-uart.0:0/dw-apb-uart.0:0.0/serial0/serial0-0/bluetooth/hci0/hci0:11/0005:2DC8:1081.000A/input/input24':
    KERNELS=="input24"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{capabilities/abs}=="30627"
    ATTRS{capabilities/ev}=="1b"
    ATTRS{capabilities/ff}=="0"
    ATTRS{capabilities/key}=="ffff000000000000 0 0 0 0"
    ATTRS{capabilities/led}=="0"
    ATTRS{capabilities/msc}=="10"
    ATTRS{capabilities/rel}=="0"
    ATTRS{capabilities/snd}=="0"
    ATTRS{capabilities/sw}=="0"
    ATTRS{id/bustype}=="0005"
    ATTRS{id/product}=="1081"
    ATTRS{id/vendor}=="2dc8"
    ATTRS{id/version}=="0100"
    ATTRS{inhibited}=="0"
    ATTRS{name}=="8Bitdo NES30 Arcade"
    ATTRS{phys}=="a4:83:e7:11:06:2b"
    ATTRS{power/async}=="disabled"
    ATTRS{power/control}=="auto"
    ATTRS{power/runtime_active_kids}=="0"
    ATTRS{power/runtime_active_time}=="0"
    ATTRS{power/runtime_enabled}=="disabled"
    ATTRS{power/runtime_status}=="unsupported"
    ATTRS{power/runtime_suspended_time}=="0"
    ATTRS{power/runtime_usage}=="0"
    ATTRS{properties}=="0"
    ATTRS{uniq}=="e4:17:d8:eb:08:79"

2
When paring bluetooth 8bitdo N30 the keyboard commands or different USB joystick commands doesn't work in the AttractMode menu. So, if I send a command via bluetooth joystick 8bitdo N30 (command: prev_game, next_game or anything definited) the keyboard commands start to working.
If I start AttractMode binary without bluetooth joystick paring the keyboard commands or USB joystick work correcly.
How I can debug this issue?
I'm using debian bookworm with kernel 6.8.5 on X86 with AttractMode 2.7.0.
In attachment the "attract.cfg".

3
Themes / Re: Verted -- Layout for Vertical Cabinets
« on: April 09, 2021, 02:23:50 PM »
Thank you....It would be interesting if there is a left side of the custom1 command.  :P...maybe custom2  :-*

4
Themes / Re: Verted -- Layout for Vertical Cabinets
« on: April 09, 2021, 01:24:29 AM »
Thanks for the theme. I like and use it.
There is a little bug when switch from "Video" to "Flayer", "Info" ecc. The game list disappears when go down or go up.

5
Themes / Re: [download v1.0] FLAT BLUE theme released
« on: March 30, 2021, 05:09:34 AM »
I kept the theme zipped, it would not run otherwise
I've heard that before - maybe it has something with the file structure (having subfolders)

Same here. Unzipped it doesn't work with either AM 2.2.0-3 or 2.2.1-50. Output from the latter:

Code: [Select]
*** Initializing display: 'Flat Blue'
 - Loaded master romlist 'mame' in 273 ms (33336 entries kept, 0 discarded)
 - Constructed 2 filters in 6 ms (66672 comparisons)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/helperfunctions.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/vectors.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/layoutsettings.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/sidebar.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/mamedats.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/mainmenu.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/background.nut)
Error, file not found: /home/user/.attract/layouts/flat_blue/ (scripts/infopanel.nut)

AN ERROR HAS OCCURED [the index 'LayoutSettings' does not exist]

CALLSTACK                                                                                                                                                                                                                                             
*FUNCTION [main()] /home/user/.attract/layouts/flat_blue/layout.nut line [63]                                                                                                                                                                       
                                                                                                                                                                                                                                                     
LOCALS                                                                                                                                                                                                                                               
[vargv] ARRAY                                                                                                                                                                                                                                         
[this] TABLE                                                                                                                                                                                                                                         
Script Error in /home/user/.attract/layouts/flat_blue/layout.nut - the index 'LayoutSettings' does not exist                                                                                                                                       
 - Loaded layout: /home/user/.attract/layouts/flat_blue/ (layout.nut)                                                                                                                                                                               
 - Layout is empty, initializing with the default layout settings                                                                                                                                                                                     

In zipped form it works fine.

Another matter:

How do I point the theme to my icons folder for icons instead of snaps in the sidebar? I tried to set an artwork folder names "icons" to the icons folder, but it didn't work.

The problem are the case sensitive linux path in file layout.nut.
The correct values is:

fe.do_nut("scripts/HelperFunctions.nut");
fe.do_nut("scripts/Vectors.nut");
fe.do_nut("scripts/LayoutSettings.nut");
fe.do_nut("scripts/SideBar.nut");
fe.do_nut("scripts/MAMEDats.nut");
fe.do_nut("scripts/MainMenu.nut");
fe.do_nut("scripts/Background.nut");
fe.do_nut("scripts/InfoPanel.nut");
// fe.do_nut("scripts/OverlayMenu.nut");

6
General / Re: package debian Buster
« on: September 02, 2019, 05:58:42 AM »
OK thank you. Downloaded and build with:

- "git clone http://github.com/mickelson/attract attract"
- "dpkg-buildpackage -rfakeroot"

seems to be working

7
General / package debian Buster
« on: September 01, 2019, 01:18:03 PM »
Hi,
please, where I can find tha packge for debian 10 buster?
thank you

8
General / Re: Debian stretch package
« on: September 14, 2017, 01:58:55 AM »
thank you  :-*

9
General / Debian stretch package
« on: August 22, 2017, 08:59:15 AM »
Hi,
in download section i can see only the debian jessie version of attract-mode  :-[ :-[. There are some dependencies with jessie version which i can't find on stretch.
Please, someone can upload the debian stretch version?
thank you  :o

Pages: [1]