Manettes PC HP ProBook 4330s



  • J'ai toujours une manette en plus (Accelerometer)
    Je pense que ça devrait pas être détecté comme joystick
    PC 64 bits HP ProBook 4330s

    /$ sdl2-jstest -l
    error: failed to read gamecontrollerdb.txt: Invalid RWops
    Found 2 joystick(s)
    
    Joystick Name:     'Xbox 360 Controller'
    Joystick Path:     '/dev/input/event5'
    Joystick GUID:     030000005e0400008e02000014010000
    Joystick Number:    0
    Number of Axes:     4
    Number of Buttons: 13
    Number of Hats:     1
    Number of Balls:    0
    GameControllerConfig:
      Name:    'X360 Controller'
      Mapping: '030000005e0400008e02000014010000,X360 Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,'
    Axis code  0:    0
    Axis code  1:    1
    Axis code  2:    3
    Axis code  3:    4
    Button code  0:   304
    Button code  1:   305
    Button code  2:   307
    Button code  3:   308
    Button code  4:   310
    Button code  5:   311
    Button code  6:   312
    Button code  7:   313
    Button code  8:   314
    Button code  9:   315
    Button code 10:   316
    Button code 11:   317
    Button code 12:   318
    Hat code  0:   16
    
    Joystick Name:     'ST LIS3LV02DL Accelerometer'
    Joystick Path:     '/dev/input/event4'
    Joystick GUID:     190000005354204c4953334c56303200
    Joystick Number:    1
    Number of Axes:     3
    Number of Buttons:  0
    Number of Hats:     0
    Number of Balls:    0
    GameControllerConfig:
      missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG)
    Axis code  0:    0
    Axis code  1:    1
    Axis code  2:    2
    

  • Staff
    Global moderator
    Team

    Bonjour @Jechu2000
    effectivement l'accelerometer ayant des axes.
    as tu regardé dans le bios si tu pouvais le désactiver ?
    Sinon faut peut être essayer de la blacklist.

    /etc/modprobe.d/blacklist.conf

    ajouter blacklist hp_accel



  • Bonjour Acris, J'ai pas compris la manipulation des bios qu'il fallait faire, mais la deuxième option ça marche. Merci !
    /etc/modprobe.d/blacklist.conf
    Ajouter

    # blacklist accelerometer HP ProBook 4330s
    blacklist hp_accel
    

    Résultat

    /etc/modprobe.d$ sdl2-jstest -l
    error: failed to read gamecontrollerdb.txt: Invalid RWops
    Found 1 joystick(s)
    
    Joystick Name:     'Xbox 360 Controller'
    Joystick Path:     '/dev/input/event4'
    Joystick GUID:     030000005e0400008e02000014010000
    Joystick Number:    0
    Number of Axes:     4
    Number of Buttons: 13
    Number of Hats:     1
    Number of Balls:    0
    GameControllerConfig:
      Name:    'X360 Controller'
      Mapping: '030000005e0400008e02000014010000,X360 Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,'
    Axis code  0:    0
    Axis code  1:    1
    Axis code  2:    3
    Axis code  3:    4
    Button code  0:   304
    Button code  1:   305
    Button code  2:   307
    Button code  3:   308
    Button code  4:   310
    Button code  5:   311
    Button code  6:   312
    Button code  7:   313
    Button code  8:   314
    Button code  9:   315
    Button code 10:   316
    Button code 11:   317
    Button code 12:   318
    Hat code  0:   16
    

Log in to reply
 

Want to support us ?

306
Online

80.5k
Users

21.7k
Topics

158.3k
Posts