USB Joystick problem [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

USB Joystick problem [Solved]

Post by Luca13 » Mon Jan 09, 2012 20:41

Hi,

I have a problem with my joystick, it is recognised and work fine but after a while it stop send input.
In windows joystick work fine but i had this problem on sabayon 32-64 bit (I'm trying both versions)

lsusb find the joystick connected although I try to disconnect the USB and the USB is unusable until you restart

thanks for your reply
Luca
Last edited by Luca13 on Tue Jun 12, 2012 15:51, edited 1 time in total.

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: USB Joystick problem

Post by Fitzcarraldo » Mon Jan 09, 2012 20:54

Any error messages in /var/log/messages?

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

Re: USB Joystick problem

Post by Luca13 » Mon Jan 09, 2012 21:02

Fitzcarraldo wrote:Any error messages in /var/log/messages?


I have a "messages" file in /var/log but i can't open it with gedit

Thanks for your help

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: USB Joystick problem

Post by Fitzcarraldo » Mon Jan 09, 2012 21:32

You need to be root user to open files in the /var/log/ directory. If you're using GNOME, either log in as root user and use nano:

Code: Select all

$ su
Password:
# nano /var/log/messages

or, alternatively, use the gksu command to launch gedit as root user but with your environment variables and profile:

Code: Select all

$ gksu gedit /var/log/messages

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

Re: USB Joystick problem

Post by Luca13 » Mon Jan 09, 2012 21:42

Sorry i'm a bit stupid :oops: :oops: :oops:

i have find those lines

Code: Select all

Jan  9 18:23:21 localhost kernel: [    5.017444] input: Logitech Logitech Extreme 3D as /devices/pci0000:00/0000:00:02.0/usb2/2-5/2-5:1.0/input/input5
Jan  9 18:23:21 localhost kernel: [    5.017940] logitech 0003:046D:C215.0004: input,hidraw3: USB HID v1.10 Joystick [Logitech Logitech Extreme 3D] on usb-0000:00:02.0-5/input0
Jan  9 18:23:21 localhost [    6.429041] udevd[5305]: starting version 171
Jan  9 18:23:21 localhost kernel: [    6.837654] input: PC Speaker as /devices/platform/pcspkr/input/input6
Jan  9 18:23:21 localhost kernel: [    6.868711] usbcore: registered new interface driver uas
Jan  9 18:23:21 localhost kernel: [    6.892850] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
Jan  9 18:23:21 localhost kernel: [    6.893066] ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
Jan  9 18:23:21 localhost kernel: [    6.893073] forcedeth 0000:00:07.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
Jan  9 18:23:21 localhost kernel: [    6.893077] forcedeth 0000:00:07.0: setting latency timer to 64
Jan  9 18:23:21 localhost kernel: [    6.917373] usb 1-8: USB disconnect, device number 5
Jan  9 18:23:21 localhost kernel: [    6.920152] scsi6 : usb-storage 1-8:1.0
Jan  9 18:23:21 localhost kernel: [    6.920316] usbcore: registered new interface driver ums-realtek
Jan  9 18:23:21 localhost kernel: [    7.032389] EDAC MC: Ver: 2.1.0
Jan  9 18:23:21 localhost kernel: [    7.047894] AMD64 EDAC driver v3.4.0
Jan  9 18:23:21 localhost kernel: [    7.264178] Error: Driver 'pcspkr' is already registered, aborting...
Jan  9 18:23:21 localhost kernel: [    7.409535] forcedeth 0000:00:07.0: ifname eth0, PHY OUI 0x732 @ 1, addr 70:71:bc:ec:21:4e
Jan  9 18:23:21 localhost kernel: [    7.409539] forcedeth 0000:00:07.0: highdma pwrctl mgmt lnktim msi desc-v3
Jan  9 18:23:21 localhost kernel: [    7.409672] i2c i2c-0: nForce2 SMBus adapter at 0x4d00
Jan  9 18:23:21 localhost kernel: [    7.409687] i2c i2c-1: nForce2 SMBus adapter at 0x4e00
Jan  9 18:23:21 localhost kernel: [    7.409918] EDAC amd64: DRAM ECC disabled.
Jan  9 18:23:21 localhost kernel: [    7.409924] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Jan  9 18:23:21 localhost kernel: [    7.409926]  Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
Jan  9 18:23:21 localhost kernel: [    7.409927]  (Note that use of the override may cause unknown side effects.)


Code: Select all

Jan  9 18:23:21 localhost kernel: [    7.264178] Error: Driver 'pcspkr' is already registered, aborting...


i have read in others topic sometimes pcspeaker make problems with input device like keyboards

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

Re: USB Joystick problem

Post by Luca13 » Tue Jan 10, 2012 0:53

I have try to modprobe -r pcspkr but the problem still again.

Sorry but i need help please :(

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: USB Joystick problem

Post by Fitzcarraldo » Wed Jan 11, 2012 17:35

I know you wrote that you don't have the problem in Windows, but how much total current is being drawn by all your USB devices?:

Code: Select all

cat /proc/bus/usb/devices | grep mA

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

Re: USB Joystick problem

Post by Luca13 » Thu Jan 12, 2012 10:21

that is the result

Code: Select all

C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 30mA
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8091
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: USB Joystick problem

Post by Fitzcarraldo » Thu Jan 12, 2012 10:56

Looks OK. None of your devices is pulling anywhere near the limit. so the problem lies elsewhere. Not sure where, though.

Luca13
Young Hen
Posts: 22
Joined: Mon Jan 09, 2012 20:21

Re: USB Joystick problem

Post by Luca13 » Thu Jan 12, 2012 11:29

Fitzcarraldo wrote:Looks OK. None of your devices is pulling anywhere near the limit. so the problem lies elsewhere. Not sure where, though.


Thanks for your interesting :)

I think the problem is hp narra6 bios, not totally compatible with linux kernel.
Wait for more kernel upgrade for see if problem is solved

Thanks again
Luca

Post Reply