Forum Replies Created

Viewing 12 posts - 71 through 82 (of 82 total)
  • Author
    Posts
  • feederchain
    Participant

    No worries, We were all there at one time.

    Because I don’t know if I can link directly to a specific thread post, I will just copy and paste the post I made in the second link above.

    Here is a link to my custom kernel.

    https://www.dropbox.com/s/oobz4e58r0afhwf/custom_kernel_1.20150216-1.tar.gz?dl=0

    It has both of the fixes mentioned. The Left and down buttons not working, and the “auto fire” on the directional pad.

    I can’t say this has been thoroughly QA tested, but I haven’t seen any issues since installing it. They appear to be rather minor changes.

    So use at your own risk. Back up :-)

    Anyway. You should just have to place this somewhere on your Pi, however you do that.

    
    tar xf custom_kernel_1.20150216-1.tar.gz
    cd custom_kernel_1.20150216-1
    sudo ./install.sh
    

    As said this was created with Adafruit’s Kernel-o-Matic. It appears to make backups and such of your current setup, but I have never needed to revert anything.

    I really hopes this helps.

    So in short, I already have a built kernel there you can try. Download it and get it to your Pi anyway you like. I turned samba sharing on so I can easily just copy and paste over my network. Minor gripe is that usually means placing it a roms directory and then moving it somewhere else which logged in on the Pi.

    So just get the custom kernel above in your home directory. Run the three commands above. It should ask you to reboot. Then hopefully all is good.

    Like I stated. I highly suggest backing up before this. I haven’t needed to revert a change yet.

    I hope that makes it a bit clearer. Let me know if anything is a bit fuzzy.

    feederchain
    Participant

    Ya, I had the same issue with the Genesis adapter. The last few posts in the following thread sum up what I did to fix it.

    Retrobit USB Genesis Adapter Driver Install?

    The following thread I actually added a link to the custom kernel that I am running with the fixes.

    Autofire on the axis

    in reply to: Autofire on the axis #88881
    feederchain
    Participant

    I assume that all buttons work in jstest? Have you tried removing the player 2 all together? To see if the setup for just player 1 works. Clownfish360 seems to imply that player two should be working.

    Sorry I can’t be much more help.

    in reply to: Autofire on the axis #88873
    feederchain
    Participant

    I kinda had the same issue. My adapter only shows up as one controller, but once I noticed that all I had to do was just map player 2 to use the other buttons. RetroArch’s emulators then worked.

    Looking at your config, I don’t see much difference between yours and mine. The only thing I notice is that I never used the quotes.

    
    input_player1_joypad_index = 0
    input_player1_a_btn = 2
    input_player1_b_btn = 1
    input_player1_y_btn = 0
    input_player1_start_btn = 6
    input_player1_up_axis = -1
    input_player1_down_axis = +1
    input_player1_left_axis = -0
    input_player1_right_axis = +0
    
    input_player2_joypad_index = 0
    input_player2_a_btn = 10
    input_player2_b_btn = 9
    input_player2_y_btn = 8
    input_player2_start_btn = 14
    input_player2_up_axis = -3
    input_player2_down_axis = +3
    input_player2_left_axis = -2
    input_player2_right_axis = +2
    
    in reply to: Autofire on the axis #88042
    feederchain
    Participant

    I don’t actually have one of those, so I don’t think I can be much help. Sorry.

    in reply to: Autofire on the axis #87812
    feederchain
    Participant

    Glad to here it!

    in reply to: Autofire on the axis #87758
    feederchain
    Participant

    Here is a link to my custom kernel.

    https://www.dropbox.com/s/oobz4e58r0afhwf/custom_kernel_1.20150216-1.tar.gz?dl=0

    It has both of the fixes mentioned. The Left and down buttons not working, and the “auto fire” on the directional pad.

    I can’t say this has been thoroughly QA tested, but I haven’t seen any issues since installing it. They appear to be rather minor changes.

    So use at your own risk. Back up :-)

    Anyway. You should just have to place this somewhere on your Pi, however you do that.

    
    tar xf custom_kernel_1.20150216-1.tar.gz
    cd custom_kernel_1.20150216-1
    sudo ./install.sh
    

    As said this was created with Adafruit’s Kernel-o-Matic. It appears to make backups and such of your current setup, but I have never needed to revert anything.

    I really hopes this helps.

    feederchain
    Participant

    I think I found a fix. I can’t say for sure it’s the correct fix or not, but this sounds very similar to what I was dealing with. Unfortunately I didn’t really know what to search for when I started looking. Autofire seemed to be the most logical to me, but anyway. This will involve a kernel compile.

    Here is the thread I started with the fix I found.

    Autofire on the axis

    in reply to: Retrobit USB Genesis Adapter Driver Install? #87678
    feederchain
    Participant

    Found the issue. It looks like it was caused by the following commit

    https://github.com/raspberrypi/linux/commit/79346d620e9de87912de73337f6df8b7f9a46888

    In so far as if I remove that code and recompile, my controller works now.

    in reply to: Autofire on the axis #87676
    feederchain
    Participant

    I am using a genesis controller attached to a retrobit Genesis to USB adapter.

    I think I figured it out. Or at least I found something that worked for me. I suppose I should spend some more time testing but I’ll post what I’ve done anyway. This does involve compiling the kernel. Which I had to do anyway to get my controller working.

    See

    Retrobit USB Genesis Adapter Driver Install?

    Here is a link to the code that was put in, that I removed to make it work.

    https://github.com/raspberrypi/linux/commit/79346d620e9de87912de73337f6df8b7f9a46888

    In short, find the following lines

    
    if (field->flags & HID_MAIN_ITEM_RELATIVE)
    	map_rel(usage->hid & 0xf);
    else
    	map_abs_clear(usage->hid & 0xf);
    break;
    
    

    And remove them, and then recompile.

    If you don’t want to compile, I can probably post my compiled package for you. It was created using Adafruit’s Kernel-o-Matic.

    You may just not want the other change I made, which can be seen in the first link I posted.

    in reply to: Retrobit USB Genesis Adapter Driver Install? #87591
    feederchain
    Participant

    OK, after looking at the code that was changing for a bit, I noticed what was asked to be replaced above doesn’t quite match what is there. And replacing the entire thing wasn’t correct any more.

    So I’m going to suggest that only two lines need to be changed. (Which was the spirit of the suggestions above)

    The following is the snippet from the patch file.

    
    -		dbg_hid("Ignoring out-of-range value %x\n", value);
    -		return;
    +		if(value < field->logical_minimum)
    +            		value = field->logical_minimum;
    +        	else
    +            		value = field->logical_maximum;
    

    (line starting with – are being removed. + is the additions)

    Still have a problem. All the directions are pulsing very fast, when I check jstest, between 0 and 32767 (or whatever the number is). Haven’t had a chance to look into that yet.

    in reply to: Retrobit USB Genesis Adapter Driver Install? #87470
    feederchain
    Participant

    So updated my pi and get the latest kernel (3.18.7). Of course the controller now doesn’t work. So I went through the steps to compile the latest kernel and modules.

    That didn’t work. So I tried to cross compile and install that. No go.

    Has anyone else tried with success, cuz I feel like an idiot that this didn’t work.

    Thanks

    This is only really an issue because I’d like to upgrade to the Pi2.

    Even tried using this tutorial, editing the source half way through.
    https://learn.adafruit.com/raspberry-pi-kernel-o-matic/build-a-kernel

Viewing 12 posts - 71 through 82 (of 82 total)