LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-28-2009, 07:21 PM   #1
Dan_1983
LQ Newbie
 
Registered: Feb 2007
Posts: 11

Rep: Reputation: 0
USBHID Joystick


Hello,
I built a device that converts an N64 joystick to USB. This device works in Windows; however when I try it in SUSE 11.1 it doesn't. It is still seen by SUSE but does not create the /dev/input/js0 file. If I view the hardware information I get the following:

----- hal device list -----
0: udi = '/org/freedesktop/Hal/devices/usb_device_4d8_11_noserial_if0'
info.subsystem = 'usb'
info.linux.driver = 'usbhid'
usb.interface.number = 0 (0x0)
usb.product = 'USB HID Interface'
usb.device_subclass = 0 (0x0)
usb.interface.class = 3 (0x3)
info.product = 'USB HID Interface'
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.7/usb4/4-2/4-2.2/4-2.2:1.0'
usb.speed = 12.0000
usb.interface.subclass = 0 (0x0)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4d8_11_noserial_if0'
usb.device_revision_bcd = 1 (0x1)
usb.device_protocol = 0 (0x0)
usb.interface.protocol = 0 (0x0)
usb.configuration_value = 1 (0x1)
usb.version = 2.00000
usb.max_power = 100 (0x64)
usb.vendor_id = 1240 (0x4d8)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.7/usb4/4-2/4-2.2/4-2.2:1.0'
usb.num_configurations = 1 (0x1)
usb.is_self_powered = false
info.parent = '/org/freedesktop/Hal/devices/usb_device_4d8_11_noserial'
usb.num_ports = 0 (0x0)
usb.product_id = 17 (0x11)
usb.num_interfaces = 1 (0x1)
usb.can_wake_up = true
usb.linux.device_number = 9 (0x9)
usb.vendor = 'Microchip Technology, Inc.'
linux.hotplug_type = 2 (0x2)
usb.device_class = 0 (0x0)
usb.bus_number = 4 (0x4)
linux.subsystem = 'usb'

1: udi = '/org/freedesktop/Hal/devices/usb_device_4d8_11_noserial'
info.subsystem = 'usb_device'
info.linux.driver = 'usb'
usb_device.product = 'Joystick'
linux.device_file = '/dev/bus/usb/004/009'
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.7/usb4/4-2/4-2.2'
info.product = 'Joystick'
usb_device.device_revision_bcd = 1 (0x1)
usb_device.configuration_value = 1 (0x1)
usb_device.max_power = 100 (0x64)
info.udi = '/org/freedesktop/Hal/devices/usb_device_4d8_11_noserial'
usb_device.num_configurations = 1 (0x1)
usb_device.num_ports = 0 (0x0)
usb_device.num_interfaces = 1 (0x1)
usb_device.linux.device_number = 9 (0x9)
usb_device.device_class = 0 (0x0)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1a.7/usb4/4-2/4-2.2'
usb_device.device_subclass = 0 (0x0)
info.vendor = 'Microchip Technology, Inc.'
usb_device.speed = 12.0000
info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'
usb_device.device_protocol = 0 (0x0)
usb_device.version = 2.00000
usb_device.vendor_id = 1240 (0x4d8)
usb_device.is_self_powered = false
usb_device.product_id = 17 (0x11)
usb_device.can_wake_up = true
linux.hotplug_type = 2 (0x2)
usb_device.vendor = 'Microchip Technology, Inc.'
usb_device.bus_number = 4 (0x4)
linux.subsystem = 'usb'

Does anyone know why this might be and how to fix it?
 
Old 06-28-2009, 10:51 PM   #2
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

Rep: Reputation: 16
does an input device show up under /dev/input?
if there's a js0 there maybe you can just create a symbolic link.
i.e. (as root) ln -s /dev/input/js0 /dev/js0
good luck
 
Old 07-02-2009, 01:18 PM   #3
robjoski
LQ Newbie
 
Registered: Apr 2008
Posts: 3

Rep: Reputation: 1
Try looking at your dmesg logs - if there was a problem recognizing it, it should be recorded there (and if not, it should at least tell you what device file it created).
 
Old 07-03-2009, 10:34 PM   #4
Dan_1983
LQ Newbie
 
Registered: Feb 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the advice. I found out that it is something wrong with the combination of the USB hub and the joystick I am using. When I plug the joystick into the USB port directly it works and when I use the USB hub with any other device it works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel: usbhid: input irq status -75 received Spoof Linux - Hardware 2 12-10-2008 07:39 AM
load a module before usbhid load's adamruss Linux - Hardware 3 10-03-2007 10:47 AM
USBHID polling - non-mouse SilentSam Linux - Software 1 08-24-2007 05:50 PM
usbkbd and usbhid modules daveschile Linux - Hardware 1 12-28-2006 07:28 AM
Joystick Driver and API under kernel 2.6.12.3 using an USB joystick dispatcher Linux - Newbie 1 08-06-2005 10:43 AM


All times are GMT -5. The time now is 07:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration