LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-22-2007, 04:24 AM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
USB joystick problem, feisty ubuntu


I have a couple of USB devices that do not seem to initialise at boot - they work I unplug them and replug once booted up. The problem seems to be a longstanding one, in that I have seen the exact same problem reported on other forums over the last 2 years or so. It apparently remains unresolved.

I want to get this problem addressed but not sure whether it would be a problem within Ubuntu joystick drivers or the hardware itself - could someone give me a rough idea where the problem might lie so I can try and get the problem addressed?

here's my dmesg | grep usb ,fwiw

[ 2.991642] usbcore: registered new interface driver usbfs
[ 2.991675] usbcore: registered new interface driver hub
[ 2.991709] usbcore: registered new device driver usb
[ 2.993386] usb usb1: configuration #1 chosen from 1 choice
[ 3.095366] usb usb2: configuration #1 chosen from 1 choice
[ 3.199363] usb usb3: configuration #1 chosen from 1 choice
[ 3.303714] usb usb4: configuration #1 chosen from 1 choice
[ 3.408140] usb usb5: configuration #1 chosen from 1 choice
[ 3.439862] usb 2-1: new low speed USB device using uhci_hcd and address 2
[ 3.512499] usb usb6: configuration #1 chosen from 1 choice
[ 3.622389] usb 2-1: configuration #1 chosen from 1 choice
[ 3.628235] usb usb7: configuration #1 chosen from 1 choice
[ 3.635470] usb 2-1: USB disconnect, address 2
[ 3.732896] usb usb8: configuration #1 chosen from 1 choice
[ 4.831798] usb 7-8: new high speed USB device using ehci_hcd and address 3
[ 4.969143] usb 7-8: configuration #1 chosen from 1 choice
[ 5.550093] usbcore: registered new interface driver hiddev
[ 5.550160] usbcore: registered new interface driver libusual
[ 5.786745] usb 5-1: new low speed USB device using uhci_hcd and address 2
[ 5.963722] usb 5-1: configuration #1 chosen from 1 choice
[ 6.221137] usb 5-2: new low speed USB device using uhci_hcd and address 3
[ 6.397980] usb 5-2: configuration #1 chosen from 1 choice
[ 6.415057] usb-storage: device found at 3
[ 6.415060] usb-storage: waiting for device to settle before scanning
[ 6.434883] input: USB HID v1.00 Joystick [CH PRODUCTS CH COMBATSTICK USB] on usb-0000:02:06.0-1
[ 6.446864] input: USB HID v1.00 Joystick [CH PRODUCTS CH PRO PEDALS USB ] on usb-0000:02:06.0-2

[ 6.446887] usbcore: registered new interface driver usbhid
[ 6.446891] usbcore: registered new interface driver usb-storage
[ 6.446902] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[ 6.655211] usb 2-1: new low speed USB device using uhci_hcd and address 3
[ 6.837210] usb 2-1: configuration #1 chosen from 1 choice
[ 6.860205] input: USB HID v1.11 Keyboard [Cypress WirelessUSB] on usb-0000:00:1d.1-1
[ 6.893215] input,hiddev96: USB HID v1.11 Mouse [Cypress WirelessUSB] on usb-0000:00:1d.1-1
[ 11.405364] usb-storage: device scan complete
[ 17.731567] usbcore: registered new interface driver xpad
[ 17.731574] drivers/usb/input/xpad.c: driver for Xbox controllers v0.1.6
[ 18.321375] usbcore: registered new interface driver iforce

Alternatively if you you have some ideas for a solution that would be great as well....

Thanks in advance.....
 
Old 04-23-2007, 06:13 PM   #2
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
Yes, USB gamepads are troublesome on my OpenSuSE 10.2 setup as well.

If I do nothing but what is described in YaST when opening the joystick section, that being that none have been detected and if you have USB just plug them in and use them, then most bootups they are not detected and will suddenly get detected at some point hours or days later.

If I add joydev to the modprobe at startup thing nothing happens.

If I run modprobe joydev then they will be detected, but only for that session.

I sort of solved the problem by going to YaST System and in /etc/sysconfig under the Kernel, Modules Loaded On Boot typing in joydev.

Now I can see the system loading my gamepads on startup if I hit Esc to watch what's going on instead of the SuSE splash screen.

The problem is that sometimes it loads the pads in the correct order and sometimes it reverses the order that I have set the games to. For example, I want the Thrustmaster 2-in-1 DT Rumble pad to be js0 and the Adaptoid to be js1. Sometimes it gets it right and other times it reverses this.

However, if I unplug them and then plug in the Thrustmaster first and then the Adaptiod I can see in KDE Personal Settings, Perifrials, Joysticks that they will then be in the correct order.

So I solved the problem in getting them detected but not having it do it in the desired order every time.

I have no idea how I would have done this without YaST as adding joydev in that Modules to load file didn't have any effect.

And I don't think I'm supposed to even need to add joydev the way I did. This stuff is supposed to be detected automatically.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) LXer Syndicated Linux News 0 04-20-2007 03:31 PM
Ubuntu Feisty CDMA modem +TV tuner installation problem farhadali05 Linux - Software 0 03-11-2007 05:58 AM
usb joystick problem on debian sarge(3.1)..... aerian Linux - Hardware 1 10-22-2005 02:23 AM
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 09:43 AM
USB Joystick Problem billygotee Linux - Hardware 3 11-09-2003 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration