Linpus Red Octane X-plorer Guitar

Discussion in 'Linux' started by jloyd, Jan 11, 2009.

  1. jloyd

    jloyd

    Joined:
    Jan 10, 2009
    Messages:
    3
    Likes Received:
    0
    Hi,

    I am struggling to get my X-plorer working to play frets on fire.

    I have compiled xpad from the source given from acer but added the lines needed for the xplorer (i think, i found a patch posted online with a diff showing to add these lines)
    { 0x1430, 0x4748, "RedOctane Guitar Hero X-plorer", MAP_DPAD_TO_AXES, XTYPE_XBOX360 },

    Code:
    
    
    lsmod gives
    Code:
    Module                  Size  Used by
    xpad                    5700  0 
    ff_memless              2888  1 xpad
    rfcomm                 19736  0 
    l2cap                  12416  3 rfcomm
    bluetooth              28452  2 rfcomm,l2cap
    aes                    26368  1 
    aufs                   95956  3 
    wlan_tkip               8384  1 
    wlan_ccmp               4480  1 
    wlan_xauth               640  0 
    wlan_wep                3904  0 
    wlan_acl                2048  0 
    wlan_scan_sta           7232  1 
    fastoffdrv               768  0 [permanent]
    sdhci                   9292  0 
    mmc_core               14852  1 sdhci
    pciehp                 22232  0 
    pci_hotplug             7688  1 pciehp
    cpufreq_conservative     3080  0 
    cpufreq_userspace       1388  0 
    cpufreq_powersave        640  0 
    cpufreq_stats           2256  0 
    cpufreq_ondemand        3532  1 
    acpi_cpufreq            3604  1 
    freq_table              1608  3 cpufreq_stats,cpufreq_ondemand,acpi_cpufreq
    jmb38x_xd               3776  0 
    xd_card                18696  1 jmb38x_xd
    flash_bd                5056  1 xd_card
    mspro_block            20424  0 
    jmb38x_ms               4484  0 
    memstick                4484  2 mspro_block,jmb38x_ms
    snd_hda_intel         163404  1 
    fmaud                 142820  1 snd_hda_intel
    snd_seq_oss            20160  0 
    snd_seq_midi_event      3008  1 snd_seq_oss
    snd_seq                27920  4 snd_seq_oss,snd_seq_midi_event
    uvcvideo               39752  0 
    compat_ioctl32           640  1 uvcvideo
    ath_pci                68192  0 
    videodev               20928  1 uvcvideo
    v4l1_compat            10500  2 uvcvideo,videodev
    ath_rate_atheros       23424  1 ath_pci
    snd_seq_device          3468  2 snd_seq_oss,snd_seq
    v4l2_common            10688  2 uvcvideo,videodev
    wlan                  126744  9 wlan_tkip,wlan_ccmp,wlan_xauth,wlan_wep,wlan_acl,wlan_scan_sta,ath_pci,ath_rate_atheros
    ath_dfs                25796  1 ath_pci
    snd_pcm_oss            26208  0 
    joydev                  5120  0 
    ath_hal               147200  3 ath_pci,ath_rate_atheros
    rng_core                2180  0 
    uhci_hcd               13644  0 
    r8101                  16400  0 
    snd_pcm                41028  2 snd_hda_intel,snd_pcm_oss
    snd_timer              11012  2 snd_seq,snd_pcm
    snd_page_alloc          4168  2 snd_hda_intel,snd_pcm
    ac                      2116  0 
    battery                 6472  0 
    thermal                 8092  0 
    video                  10896  0 
    backlight               1860  1 video
    output                  1280  1 video
    button                  3536  0 
    processor              18624  2 acpi_cpufreq,thermal
    snd_mixer_oss           9856  2 snd_pcm_oss
    snd                    27236  8 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    soundcore               2976  2 snd
    usb_storage            34656  0 
    ehci_hcd               20300  0 
    atkbd                   8912  0 
    psmouse                13320  0 
    
    lsusb gives
    Code:
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 003 Device 003: ID 1430:4748  
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 002: ID 0c45:62c0 Acer Crystal Eye Webcam
    Bus 001 Device 001: ID 0000:0000 
    
    dmesg gives

    Code:
    usbcore: registered new interface driver xpad
    drivers/input/joystick/xpad.c: X-Box pad driver:v0.0.6
    usb 3-1: new full speed USB device using uhci_hcd and address 3
    usb 3-1: configuration #1 chosen from 1 choice
    
    a node is not created at /dev/input/js*

    and the the leds the controller just flash constently.

    I have been trying for 2 days to get this working can some one help please? I'm new to linux and have just about manage to understand what I had been doing so far.

    Thanks
     
    jloyd, Jan 11, 2009
    #1
  2. jloyd

    mattytee

    Joined:
    Nov 30, 2008
    Messages:
    112
    Likes Received:
    1
    Everything looks good, so I'm thinking PolicyKit/permissions issue...

    Have you tried running the software that creates the node as setuid root? IE, "sudo whatever-the-software-is"

    If it works when you run it with root permissions, you're looking at a permissions issue.

    If not, I don't know what to tell you.
     
    mattytee, Jan 12, 2009
    #2
  3. jloyd

    jloyd

    Joined:
    Jan 10, 2009
    Messages:
    3
    Likes Received:
    0
    Thanks for the reply, ill look in to that after work, only thing I noticed is that the lsusb shows a device but there is no name?

    I thought the node should be created when I plug (im a noob) the controller in by the xpad module but a node is not created.
     
    jloyd, Jan 12, 2009
    #3
  4. jloyd

    mattytee

    Joined:
    Nov 30, 2008
    Messages:
    112
    Likes Received:
    1
    This could be true, but I think xpad does that. In other words, there's no kernel driver for it, xpad creates the file.

    I may be up the wrong tree, but that's how the palmpilot works. The node itself is created by the "pilot-link" software. But it does give a device name in lsusb even when no node exists, so other issues could exist.

    Does a "regular" gamepad work when you plug one in? (If you have one to test)
     
    mattytee, Jan 12, 2009
    #4
  5. jloyd

    jloyd

    Joined:
    Jan 10, 2009
    Messages:
    3
    Likes Received:
    0
    Hi
    I do not have another gamepad to try, ill keep messing around. Im not sure if having a name in lsusb matters or not.

    I dont know what the userspace is but I have found this http://pingus.seul.org/~grumbel/xboxdrv/ so I might give this ago.
     
    jloyd, Jan 12, 2009
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.