Freeplaytech Forum

Full Version: White line on screen and joystick code (cm3)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, after awhile I’ve finally got everything put together on my cm3 and I’m having a couple issues. First I have a white line and an overlapping of what’s already being displayed on the screen, I have a boxy pixel screen lense and second I am wondering is there anyway to get the github code on my cm3 and run it for the joystick and l2r2 I don’t have a way to connect it to the internet directly but I can download everything to the sd card thanks in advance!!
For the white line, I suggest that you open a SUPPORT ticket at https://www.freeplaytech.com/contact/ and once you get a reply please reply with some photos.

I'm not sure what you mean by overlapping, so I'm hoping that's also evident in the photos.

What do you wand to do with the github code? Are you just wanting to add an analog stick and/or L2/R2? You shouldn't need to get new code to do that. You would only need to configure it properly. Reply here with what you're trying to accomplish.

Adding L2/R2 should be a very simple configuration file change. The tricky part is that you would need to be able to edit files, so you might need to hook up a keyboard (and maybe a HDMI screen). Oh, I do believe that the latest CM3 SD image (Freeplay_CM3-and-Zero2_Test_22061501.img.gz at https://drive.google.com/drive/folders/0...dwp_RqwzsQ ) already has L2/R2 pre-configured.

Configuring analog is a little trickier, but I'm not sure if that's what you're wanting to do anyway.
(07-14-2022, 05:46 AM)Flavor Wrote: [ -> ]For the white line, I suggest that you open a SUPPORT ticket at https://www.freeplaytech.com/contact/ and once you get a reply please reply with some photos.

I'm not sure what you mean by overlapping, so I'm hoping that's also evident in the photos.

What do you wand to do with the github code?  Are you just wanting to add an analog stick and/or L2/R2?  You shouldn't need to get new code to do that.  You would only need to configure it properly.  Reply here with what you're trying to accomplish. 

Adding L2/R2 should be a very simple configuration file change.  The tricky part is that you would need to be able to edit files, so you might need to hook up a keyboard (and maybe a HDMI screen).  Oh, I do believe that the latest CM3 SD image (Freeplay_CM3-and-Zero2_Test_22061501.img.gz at https://drive.google.com/drive/folders/0...dwp_RqwzsQ ) already has L2/R2 pre-configured.

Configuring analog is a little trickier, but I'm not sure if that's what you're wanting to do anyway.
So yea I’d wanna configure it I was looking at the guide and it said I’d have to download from a GitHub and I didn’t know how exactly to go about that and I’ll open a support ticket.
For configuration, you should have a file called /etc/modprobe.d/mk_arcade_joystick.conf on your system. If you can ssh in or use a keyboard, then run something like this to edit it.

sudo nano /etc/modprobe.d/mk_arcade_joystick.conf

There will be a bunch of lines that start with a #. Those are NOT in use. There should be only ONE line without a #. That's the one in use.

You can edit that line, or you can put a # in front of it and remove a # from another line.

OR you can just look over the lines to get an idea of the format.

The tricky part is knowing the address and params needed for your analog setup. The bottom of this document explains that a bit.
https://docs.google.com/document/d/1GkmF...m7lz97h0mc


You can also try this tool to automate the process.

cd /home/pi/Freeplay/mk_arcade_joystick_rpi
make config

That will try to build the config stuff and install it using an interactive tool to detect the proper settings.
(07-14-2022, 06:32 AM)Flavor Wrote: [ -> ]For configuration, you should have a file called /etc/modprobe.d/mk_arcade_joystick.conf on your system.  If you can ssh in or use a keyboard, then run something like this to edit it.

sudo nano /etc/modprobe.d/mk_arcade_joystick.conf

There will be a bunch of lines that start with a #.  Those are NOT in use.  There should be only ONE line without a #.  That's the one in use.

You can edit that line, or you can put a # in front of it and remove a # from another line.

OR you can just look over the lines to get an idea of the format. 

The tricky part is knowing the address and params needed for your analog setup.  The bottom of this document explains that a bit.
https://docs.google.com/document/d/1GkmF...m7lz97h0mc


You can also try this tool to automate the process.

cd /home/pi/Freeplay/mk_arcade_joystick_rpi
make config

That will try to build the config stuff and install it using an interactive tool to detect the proper settings.
I tried to do the automatic way and it registered the l2 and r2 in the setup but when I went to do it in the controller config after it restarted it didn’t register it or my joycon thumbstick any way you can help?
What did you do to test it after restarting?
(07-14-2022, 09:25 AM)Flavor Wrote: [ -> ]What did you do to test it after restarting?

After restarting it prompted the configure controller thing and when I went through and I got to the “eft trigger it wouldn’t recognize same with right and the thumbstick and the center click on it