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 08-18-2010, 09:54 AM   #1
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Rep: Reputation: 36
Game controller/joystick won't populate in /dev


I have an EMS Dual-Shooter PS2 -> USB converter, with a regular playstation 2 controller attached.

There is no js* device listed in either /dev or /dev/input when I plug the controller in.

I'm running Slackware64 13.0, kernel 2.6.29.6. I also have the joystick driver here installed.

I have the joydev module inserted and running:
Code:
bash-3.1# lsmod|grep joy
joydev                 11968  0
this is the relevent section of lsusb -v:
Code:
Bus 007 Device 005: ID 0b43:0003 Play.com, Inc. PS2 Controller Converter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0b43 Play.com, Inc.
  idProduct          0x0003 PS2 Controller Converter
  bcdDevice           19.12
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          2 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              2 
      ** UNRECOGNIZED:  09 21 00 01 00 01 22 8e 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               8
cannot read device status, Protocol error (71)
dmesg reports this when I plug in the device:
Code:
usb 7-2: new low speed USB device using uhci_hcd and address 5
usb 7-2: string descriptor 0 read error: -32
usb 7-2: string descriptor 0 read error: -32
usb 7-2: New USB device found, idVendor=0b43, idProduct=0003
usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 7-2: configuration #1 chosen from 1 choice
usb 7-2: string descriptor 0 read error: -32
usb 7-2: string descriptor 0 read error: -32
generic-usb: probe of 0003:0B43:0003.0003 failed with error -71
edit: I have also tried doing "mknod input/js0 c 13 0" in /dev, but then "cat /dev/input/js0" returns "cat: /dev/input/js0: No such device". I have also inserted the "analog" module along with joydev.

Last edited by zuzoa; 08-18-2010 at 11:03 AM.
 
Old 08-18-2010, 02:23 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Have you tried the stuff here?
http://www.linux-usb.org/USB-guide/x194.html

It does mention a kernel rebuild, you may want to check if your kernel is up to it.
 
Old 08-19-2010, 05:58 PM   #3
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159

Original Poster
Rep: Reputation: 36
Thank you for your reply. Yes, I've tried the things mentioned in that guide. I'm pretty sure my kernel already supports the joystick functions that I need though, so I don't think a kernel rebuild is necessary.
 
Old 08-20-2010, 02:59 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
No /dev/input/js* device means no go. Try

cd /dev/input
sudo mknod js0 c 13 0

but the lasting cure is a udev rule, in wherever your system has a udev/rules.d directory.
 
0 members found this post helpful.
  


Reply

Tags
controller, joystick, ps2



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
[SOLVED] How to get udev to populate /dev with static devices ? Mike Davies Linux - Software 2 05-25-2010 02:51 AM
Simulate mounting ISO to /dev/cdrom (populate /dev/scd0 with data) bogdan_rec Linux - Software 2 06-30-2009 04:32 AM
Recommended joystick/controller libraries? tomva Programming 2 07-07-2008 12:08 PM
usb controller/joystick edong23 Linux - Hardware 20 08-09-2005 03:42 PM
joystick(controller) installation RH 7.3 TX_metalhead Linux - General 6 10-17-2003 04:57 AM

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

All times are GMT -5. The time now is 06:39 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