I got an otg adapter for my sgs2 yesterday and I realised there is no joydev.ko in my modules to allow the use of USB joypads. Is there one in existance or can anyone make one?
I am using cm7.
Sent from my GT-I9100 using XDA Premium App
Nobody is interested in this?
Sent from my GT-I9100 using XDA Premium App
I tried to compile the module several times but I always have format errors.
Damn. Really wanna use my ps2 pad with USB adapter!
Sent from my GT-I9100 using XDA Premium App
Good news !
I have a working joydev kernel module !
just type in a terminal:
Code:
su
insmod joydev.ko
My USB joystick is detected ("dmesg" to get the info) so I installed the Gamepad IME app https://market.android.com/details?id=de.killig.gamepadime and selected it as my main input.
But then I just tried to use my gamepad in an emulator and it doesn't work. So if someone can try with another gamepad it may work, I guess.
some better news
Things getting better !
I decided to compile myself the joydev kernel module using the latest Samsung sources, file is attached BTW.
Code:
So my joystick is detected now!
<6>[52193.706763] input: DragonRise Inc. Generic USB Wheel as /devices/platform/s3c_otghcd/usb2/2-1/2-1:1.0/input/input8
<6>[52193.708762] generic-usb 0003:0079:0008.0003: input: USB HID v1.10 Joystick [DragonRise Inc. Generic USB Wheel ] on usb-s3cotg-1/input0
I decided to use "the Gamepad IME" app from the market but at laucnh I had a "0 gamepads detected" error Weird as my joystick was detected as a device !
I decided to check the java sources of Gamepad IME (http://sven.killig.de/android/N1/2.2/usb_host/)
and noticed an error there as it started to check to joy1 and not joy0.
I have zero knowledge of the Android SDK so I did it the hard way :
Code:
chmod 777 /dev/input/js0
ln -s /dev/input/js0 /dev/input/js1
So now Gamepad IME is detecting my joystick !
But then I tried to use it on N64droid but the gamepad has no impact on key mapping (user input method is checked).
So it's a dead end for now, so any help to point me in the right direction would be appreciated!
Thanks
Wow this is awesome. Looks like we might actually get a working module. Will this work with cm7?
Sent from my GT-I9100 using XDA Premium App
DJ-Mills said:
Wow this is awesome. Looks like we might actually get a working module. Will this work with cm7?
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
It was made using the Samsung kernel sources, and I don't know much about CM7 and its kernel origins.
when i type insmod joydev.ko it says init_module '/system/lib/modules/joydev.ko' failed (Exec format error)
So I guess its not compatible
alx5962 said:
It was made using the Samsung kernel sources, and I don't know much about CM7 and its kernel origins.
Click to expand...
Click to collapse
Which rom are you using?
Sent from my GT-I9100 using XDA Premium App
DJ-Mills said:
Which rom are you using?
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Samsung latest 2.3.3 original firmware
alx5962 said:
I decided to compile myself the joydev kernel module using the latest Samsung sources, file is attached BTW.
Click to expand...
Click to collapse
Thanks, works fine for me!
alx5962 said:
I decided to check the java sources of Gamepad IME (http://sven.killig.de/android/N1/2.2/usb_host/)
and noticed an error there as it started to check to joy1 and not joy0.
Click to expand...
Click to collapse
I did this because the Nexus One has a built in device that gets detected as js0. I modified it and updated it in the Market.
alx5962 said:
But then I tried to use it on N64droid but the gamepad has no impact on key mapping (user input method is checked).
Click to expand...
Click to collapse
A good test is to switch a text input field to the Gamepad IME and press all the gamepad sticks/buttons. Since I send normal key presses and DPAD directions, this should be visible.
But I have another problem with yongzh's NESoid emulator: Somehow a SGS2 system process seems to send button events besides the ones I send, and they are erroneously detected.
Although I don't have a joypad to use for this, I appreciate your development work to help get this to work on SGS2. Maybe this effort can get more visibility and help if moved to the development section? Or start a new thread focused on the development since the OP is a question.
I posted in the dev section some updates: http://forum.xda-developers.com/showthread.php?t=1240278 as my gamepad is working now on SGSII.
Can anyone compile joydev.ko for AOSP based roms like MIUI and CM7? Or mabye someone can guide me in compiling this?
EDIT: Whoa... sorry. I didn't realize how old this thread was. I need to get more sleep!
I reposted here: http://forum.xda-developers.com/showthread.php?p=21183839#post21183839
Related
Hi, I know there is a version of heroes 2 for adnroid but I just found a linux version of heroes of might and magic 3 - My idea was - is it possible for a linux version (not emulated one) to be ported for android ?
no idea but i do know about Homam, totally awesome if someone gives it a try. A superb game to have on defy
It's nearly impossible to run any closed source PC software on Android. Don't ask about that.
The reason, why there is HOMM2 is that someone has rewritten HOMM2 engine from scratch. That game on Android isn't actually HOMM2, but Free Heroes2: http://sourceforge.net/projects/fheroes2/ .
Yeah I know that it is almost impossible for closed source to be run on android or hand-held. But I don`t know however - I don`t recall 3DO to have released an official linux version - so i was hoping someone ported it. I haven't downloaded the game yet but I`ll download it and I`ll post an update if it actually contains something helpful.
mishooo said:
Yeah I know that it is almost impossible for closed source to be run on android or hand-held. But I don`t know however - I don`t recall 3DO to have released an official linux version - so i was hoping someone ported it. I haven't downloaded the game yet but I`ll download it and I`ll post an update if it actually contains something helpful.
Click to expand...
Click to collapse
Windows, Linux - that doesn't matter. It would have to be open sourced.
I found this http://forum.vcmi.eu/portal.php , says it's open source with some files here https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk/ .
Hope there's a chance.
Yes, there is open source port of Heroes of Might and Magic 3 and it's VCMI. It works in Maemo (google vcmi maemo or vcmi n900), so why not in Android? I would love to have VCMI in my phone!
Oh yes!
FINALLY! I have been waiting for this moment!
Testing now on HTC Desire Z:
https://market.android.com/details?id=eu.vcmi
has anyone launched it on android sucsesfully? i tried it on my lg 2x with cyano nightly 146. followed instruction on market. app just quits after few second of launching it.
cant find precise manual also. cant understand where the problem is. what files and how should i copy on sd card etc.
i have the same problem with galaxy s2. I copied all but dont work :/
Homm I and II came on came out on game boy color lol. With emulators those two would be free and ez to run haha.
Sent from my T-Mobile G2 using XDA App
Tested and working on Xperia Neo
can add on youtube step by step how to install and copy? plz
venoma333 said:
Tested and working on Xperia Neo
Click to expand...
Click to collapse
Yes...can you please share with us your success? Have tried several ways and no success. Thx
Sent from my SAMSUNG-SGH-I777 using xda premium
Ok so i got it working. Was a PC issue with installing WOG. Just followed the instructions and voila! I do have issue saving/loading game but just hopin for an update to fix. Sounds common from what i read.
Sent from my SAMSUNG-SGH-I777 using xda premium
So now that my sgs2 was up an running (except for being able to save/load games) i got my galaxy tab 2 and i get black screen. Tried all settings, all folder locations for app and files to no avail. Anyone out there have heroes 2 or vcmi working on this tab yet alone ICS?
Sent from my GT-P5113 using XDA Premium HD app
And now the same on my gs3......ugh!
Is there anyone out there who can get this game working?
Sent from my SAMSUNG-SGH-I747 using xda premium
HEROES 3 work http://4pda.ru/forum/index.php?showtopic=378043&view=findpost&p=19079793:good::good:
moskito34 said:
HEROES 3 work http://4pda.ru/forum/index.php?showtopic=378043&view=findpost&p=19079793:good::good:
Click to expand...
Click to collapse
Ok so I still cannot get to work on my tab 2. I appreciate the link but I speak/read English. I cannot read the link. Any other information would be appreciated.
Sent from my GT-P5113 w ZapBlaster
I know it's a bit early to be putting this out there but as soon as someone gets their hands on the needed resources it would be nice to have available some of the kernel modules. I think tun.ko is probably going to be the most popular since the phone has already been rooted and a VPN solution seems to always be in demand.
UPDATE: After the latest VPNC update the Atrix tun.ko that I had tried before is working.
Here is the link to the tun.ko that I have working. http://forum.xda-developers.com/showthread.php?t=1013513&highlight=tun.ko
I can probably make you one. There is a good chance you can use the Atrix's, but you really need to demand source code from Motorola for the Photon.
It won't load the Atrix tun.ko :-(
Sent from my MB855 using XDA App
How do we go about demanding source code?
edgan said:
I can probably make you one. There is a good chance you can use the Atrix's, but you really need to demand source code from Motorola for the Photon.
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
mikeyinid said:
How do we go about demanding source code?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
/[email protected] usually works for me.
Lol. Ill give that a go
Bandage said:
/[email protected] usually works for me.
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
OK I lied. The tun.ko from the Atrix is working for me after I updated VPNC. Before VPNC wouldn't recognize root and now with it updated and the tun.ko in place it's working. I'm connected into my work network and using Rove Mobile Admin once again. Life is good!
flash_c4 said:
OK I lied. The tun.ko from the Atrix is working for me after I updated VPNC. Before VPNC wouldn't recognize root and now with it updated and the tun.ko in place it's working. I'm connected into my work network and using Rove Mobile Admin once again. Life is good!
Click to expand...
Click to collapse
Awesome news
Hey flash_c4, would you mind pasting a link to the exact tun.ko working for you? Thanks!
Could you post the link to the Atrix tun.ko you used? I see two different threads for it and I'm not sure which one to try.
Sparky_McBurning said:
Could you post the link to the Atrix tun.ko you used? I see two different threads for it and I'm not sure which one to try.
Click to expand...
Click to collapse
I downloaded on one of the computers at home so I don't have the link handy. When I get home from the office I'll post the link to the one that I have working.
http://forum.xda-developers.com/showthread.php?t=1013513&highlight=tun.ko
Thanks. I was able to get the VPNC widget working as well as get-a-robot-vpnc. Took forever to figure out how to get a cisco vpn set up. Oy.
I also figured out how to fix the issue requiring you to use FQDN's (need to type machinename.domain.com instead of just machinename) over the VPN. It looks like (at least with VPNC widget) the vpnc-script sets net.dns1/2, but it doesn't set net.dns.search. You need to modify the vpnc-script in the /data/data directory for VPNC widget. If anyone else was having this problem and wants more detailed instructions on how to fix it, let me know and I can write it up.
So what are the benefits of running this?
Sent from my MB855 using XDA App
ZiggSVO said:
So what are the benefits of running this?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Better VPN support than the built-in one in Blur/Android.
Sparky_McBurning said:
Thanks. I was able to get the VPNC widget working as well as get-a-robot-vpnc. Took forever to figure out how to get a cisco vpn set up. Oy.
I also figured out how to fix the issue requiring you to use FQDN's (need to type machinename.domain.com instead of just machinename) over the VPN. It looks like (at least with VPNC widget) the vpnc-script sets net.dns1/2, but it doesn't set net.dns.search. You need to modify the vpnc-script in the /data/data directory for VPNC widget. If anyone else was having this problem and wants more detailed instructions on how to fix it, let me know and I can write it up.
Click to expand...
Click to collapse
Since I use Rove Mobile Admin pretty much exclusively I usually don't have to type out addresses but for someone who plans on using RDP sessions or something else it would be handy to have the information. I'm surprised the developer of VPNC hasn't ever made this change.
You can use Ubuntu on this device using these directions.
http://forum.xda-developers.com/showthread.php?t=1390351
and using this App. for the installation guide
https://market.android.com/details?id=com.zpwebsites.ubuntuinstall&feature=search_result
It is tested to work on both the 5.0 and 4.0.
I take none of the credit, I am just pointing out a cool "app."
is it for the us version or international??
shahrukhraza said:
is it for the us version or international??
Click to expand...
Click to collapse
I am almost more than certain it will work for both.
Sent from my YP-G70 using XDA App
Don't have time to try it out yet, but I do have a question about the driver support.
Since it is a full blown linux distro, does it come with usb audio driver, otg support and etc?
WT Ho said:
Don't have time to try it out yet, but I do have a question about the driver support.
Since it is a full blown linux distro, does it come with usb audio driver, otg support and etc?
Click to expand...
Click to collapse
I do not know yet. I will tinker around when I get time.
Sent from my YP-G70 using XDA App
Nice!
LXDE is the environment eh?
So it's Lubuntu?
Tempted....
Would be sweet if it would run Unity. lol
Is this actually Ubuntu or just an emulator?
tradeJmark said:
Is this actually Ubuntu or just an emulator?
Click to expand...
Click to collapse
It does not replace the ROM if that is what you were asking.
Sent from my YP-G70 using XDA
After install, how would I run Ubuntu? Is it like an app I can open? How would this effect android? How would I get back to android after each Ubuntu run? Thanks
Antarctica32 said:
After install, how would I run Ubuntu? Is it like an app I can open? How would this effect android? How would I get back to android after each Ubuntu run? Thanks
Click to expand...
Click to collapse
You do not install anything other than the one app. You run a few commands to start it. Then you open the app. to connect to the Ubuntu "server." it is actually running in the background like an app. would, but you can exit at any time. Read more on the link that I posted along in this thread.
Sent from my YP-G70 using XDA
Hi, My acer netbook with windows 8 is not reading my wifi tether, Is any body also having the same problem? is a fix for it? any help will be appreciate. thanks
I successfully used tether on viper 2.0.2 using a win 8 platform with no issues. For me, it worked fine when I tested connectivity.
Sent from my EVO using xda app-developers app
waterbound said:
I successfully used tether on viper 2.0.2 using a win 8 platform with no issues. For me, it worked fine when I tested connectivity.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
hello, did you change anything on the setings for the device-profile?
There are a few things that need to be varified your best bet is to look here:
http://code.google.com/p/android-wifi-tether/issues/detail?id=244
This has info for troubleshooting varios OS, version and hardware issues. Start there, and you can always post there for support if necessary.
I am also assuming you are using the built in wifi tether but depends on version ROM you are running, tweaks and mods etc. The version you have may not be compatible and there are many options here:
http://www.pcworld.com/article/261928/the_ultimate_android_tethering_guide.html
Between those two, you should have no problems. For me, I made no modifications to my profiles, literally plug and play for most part.
Good luck
Sent from my GT-P7510 using xda app-developers app
waterbound said:
There are a few things that need to be varified your best bet is to look here:
http://code.google.com/p/android-wifi-tether/issues/detail?id=244
This has info for troubleshooting varios OS, version and hardware issues. Start there, and you can always post there for support if necessary.
I am also assuming you are using the built in wifi tether but depends on version ROM you are running, tweaks and mods etc. The version you have may not be compatible and there are many options here:
http://www.pcworld.com/article/261928/the_ultimate_android_tethering_guide.html
Between those two, you should have no problems. For me, I made no modifications to my profiles, literally plug and play for most part.
Good luck
Sent from my GT-P7510 using xda app-developers app
Click to expand...
Click to collapse
thanks for the replay, Looking through and t I found that FoxFi is working perfect for my phone with outany change on setings or nothing, just plug and play.
Againg Thanks for the help.
set device profile to generic ics wlan0, set routing fix, should work?
Hey,
I installed Ubuntu on my Archos 101 G9. First Ubuntu was not willing to boot but I changed the zimage like it's recommend here and afterwards it works.
But if Ubuntu booted the touchscreen still doesn't work. Not as touchscreen, not as touchpad. It doesn't react on any touches. The only reaction I get is if I press the PowerButton (the shutdown-menu appears) or the volume buttons (the animation of making the sound louder oder quieter appars).
I read nearly the complete 25 pages but didn't get any idea why it doesn't work in my case.
Thanks for your help!
Best regards,
Erik
It seems that the ubuntu build you downloaded does not have touchscreen driver for you. Which ubuntu did you download?
Sent from my GT-I9100 using xda app-developers app
I did it once with the V0.2-Image from this post but tried it also with the image from this post. Both didn't work
Hi, in fact there is not touchscreen on ubuntu: it is rather a touchpad: you have to move the mouse and to click .
This is why i am not using ubuntu (have to use mouse with touchpad even to type on keyboard)
Morice69 said:
Hi, in fact there is not touchscreen on ubuntu: it is rather a touchpad: you have to move the mouse and to click .
This is why i am not using ubuntu (have to use mouse with touchpad even to type on keyboard)
Click to expand...
Click to collapse
False. Newer builds have touchscreen working for most screens.
Sent from my GT-I9100 using xda app-developers app
I try it last week end and i had only touchpad, where is the last build of the v2?
But with my Archos isn't even working as touchpad with ubuntu... any ideas?
Morice69 said:
I try it last week end and i had only touchpad, where is the last build of the v2?
Click to expand...
Click to collapse
To find newer builds, go to the last pages and look for download links there.
erikrt said:
But with my Archos isn't even working as touchpad with ubuntu... any ideas?
Click to expand...
Click to collapse
It means no one of the developers have that touchscreen. You must fix it yourself. I can't guide it because I do not have the skill.
Sent from my GT-I9100 using xda app-developers app