Autor Tópico: Problema com Guitarra USB leadership no ubuntu 12.04  (Lida 7958 vezes)

Offline Fábio3rs

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Problema com Guitarra USB leadership no ubuntu 12.04
« Online: 16 de Junho de 2013, 20:09 »
Tenho uma guitarra desse modelo: http://produto.mercadolivre.com.br/MLB-478079063-guitarra-guitar-hero-p-ps2-pc-usb-8-botoes-6821-leadership-_JM

mas não estou conseguindo usar ela no ubuntu, eu já instalei o driver xpad, o xinput está atualizado, mas sempre recebo uma mensagem como esta ao tentar abrir o qjoypad, o jscalibrator ou o cat /dev/input/js0 no terminal:

Código: [Selecionar]
error reading joypad dev device: Erro de entrada/saída

Já tentei usar o modprobe xpad (como dizia o jscalibrator)

O dmesg mostra isso (estou postando só a parte relacionada ao joystick):
Código: [Selecionar]
[16510.132056] usb 3-2: new full-speed USB device number 4 using uhci_hcd
[16510.308286] Registered led device: xpad2
[16510.308400] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input7
[16612.404051] usb 2-1: new low-speed USB device number 3 using uhci_hcd


O lsusb mostra isso:
Código: [Selecionar]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 045e:028e Microsoft Corp. Xbox360 Controller
Bus 002 Device 003: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse

No FoFix, eu vou em criar um novo controle, aperto os botões da guitarra mas não funciona.

joy2key dá essa mensagem (no terminal):
Código: [Selecionar]
joy2key - reads joystick status and dispatches keyboard events
By Peter Amstutz (tetron@interreality.org)
This is free software under the GNU General Public License (GPL v2)
              (see COPYING in the joy2key archive)
You are welcome to use/modify this code, and please e-mail me
if anything cool comes of it!
Version: 1.6.3   Binary built on Dec 22 2009 at 13:45:44

Error opening /dev/input/js0!
Are you sure you have joystick support in your kernel?

Qual será o problema?
Obrigado desde já.

Offline Niccola

  • Usuário Ubuntu
  • *
  • Mensagens: 27
    • Ver perfil
Re: Problema com Guitarra USB leadership no ubuntu 12.04
« Resposta #1 Online: 26 de MAR?O de 2014, 08:54 »
Tenho uma guitarra desse modelo: http://produto.mercadolivre.com.br/MLB-478079063-guitarra-guitar-hero-p-ps2-pc-usb-8-botoes-6821-leadership-_JM

mas não estou conseguindo usar ela no ubuntu, eu já instalei o driver xpad, o xinput está atualizado, mas sempre recebo uma mensagem como esta ao tentar abrir o qjoypad, o jscalibrator ou o cat /dev/input/js0 no terminal:

Código: [Selecionar]
error reading joypad dev device: Erro de entrada/saída

Já tentei usar o modprobe xpad (como dizia o jscalibrator)

O dmesg mostra isso (estou postando só a parte relacionada ao joystick):
Código: [Selecionar]
[16510.132056] usb 3-2: new full-speed USB device number 4 using uhci_hcd
[16510.308286] Registered led device: xpad2
[16510.308400] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input7
[16612.404051] usb 2-1: new low-speed USB device number 3 using uhci_hcd


O lsusb mostra isso:
Código: [Selecionar]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 045e:028e Microsoft Corp. Xbox360 Controller
Bus 002 Device 003: ID 15d9:0a4c Trust International B.V. USB+PS/2 Optical Mouse

No FoFix, eu vou em criar um novo controle, aperto os botões da guitarra mas não funciona.

joy2key dá essa mensagem (no terminal):
Código: [Selecionar]
joy2key - reads joystick status and dispatches keyboard events
By Peter Amstutz (tetron@interreality.org)
This is free software under the GNU General Public License (GPL v2)
              (see COPYING in the joy2key archive)
You are welcome to use/modify this code, and please e-mail me
if anything cool comes of it!
Version: 1.6.3   Binary built on Dec 22 2009 at 13:45:44

Error opening /dev/input/js0!
Are you sure you have joystick support in your kernel?

Qual será o problema?
Obrigado desde já.

Fábio,
conseguiu resolver? Estou com o mesmo problema com minha guitarra leadership. E ela funciona perfeitamente no Windows.

Já no Ubuntu, nem com o driver xboxdrv nao funciona