#115441 - GrizzlyAdams - Tue Jan 16, 2007 3:42 am
I've just started this project so its somewhat incomplete, but I'm releasing 0.1 anyway.
What is it?
A network remote control for MythTV frontends. Be sure you look at the readme for install instructions.
Button mapping:DPAD - Navigation
A - Select
B - Back
X - Vol +
Y - Vol -
Features:Automatic LCD backlight off.
Three pages of touchscreen buttons.
Network update (upload a new .nds using netcat)
Support for latest DSLite wifi hardware (using DSWiFi CVS)
Return to menu (libCartReset)
Three Frontend IP Configurations (configurable at runtime)
Future plans:LCD backlight fade
Customizable touchscreen panels & button mapping
Autoconnect (Connect to Frontend 1 at startup)
Skinnable GUI
MythTV Status Polling
Automatic sleep & poweroff
Automatic updates (off by default)
Screenshot:
Download:
MythRemote Homepage
Edit: Fixed link for 0.2 download & added link to MythRemote Homepage.
Last edited by GrizzlyAdams on Sat Mar 03, 2007 12:33 am; edited 5 times in total
#115444 - GrizzlyAdams - Tue Jan 16, 2007 3:53 am
Version 0.1.1 out now.
Changes:
Fixed LCD sleep bug in main menu
Fixed IP Config input bug
#115451 - Lynx - Tue Jan 16, 2007 4:55 am
AWESOME! I can't wait to give it a try.. I have been wanting this for a LONG TIME!! Thanks!
EDIT: Don't forget to disable iptables or add 6546 as an open port, otherwise you won't be able to connect :)
EDIT2: I just finished throwing together a quick guide.. it's still in the early stages as I haven't taken any pictures of the app running (doesn't run in emu) but I should get to it soon. I also plan on explaining the "proper" way to configure iptables as apposed to disabling it, but it's easier this way. :)
_________________
NDS Homebrew Roms & Reviews
#115558 - jello - Wed Jan 17, 2007 4:31 am
You sir are my hero and as some person might say, "Jesus didn't build Rome in a day." Keep up the good work.
#115575 - TJ - Wed Jan 17, 2007 8:56 am
Nice. I don't have a MythTV setup, but this reminds me a lot of the XBMC remote somebody was working on for the DS awhile back. Sadly that died after the second version or so.
#115578 - GrizzlyAdams - Wed Jan 17, 2007 10:20 am
I don't intend to let this die. I've been working on a new set of libs to use for the gui and ported a ini lib i wrote long ago for the config in the future.
#120104 - virtualbob - Thu Mar 01, 2007 1:43 am
Hi
This app looks excellent. I installed v2.0, but am having a couple of problems. My apologies if this is answered elsewhere, but my Google searches found nothing.
1. After configuring the address of my myth box, and saving the configuration, I receive an error indicating it can't find the config file. I went so far as looking at the sourcecode and creating an empty file in the MythRemote directory, but had no success.
2. I have no idea how to configure the SSID and WEP key of my router. Any tips?
Thanks you
#120106 - tepples - Thu Mar 01, 2007 2:02 am
virtualbob wrote: |
2. I have no idea how to configure the SSID and WEP key of my router. Any tips? |
What make and model is your router? Did it come with an owner's manual?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#120117 - virtualbob - Thu Mar 01, 2007 3:30 am
tepples wrote: |
virtualbob wrote: | 2. I have no idea how to configure the SSID and WEP key of my router. Any tips? |
What make and model is your router? Did it come with an owner's manual? |
Sorry. I guess I should have been more exact. I know how to configure my router. I see no way of telling the DS what the SSID and WEP key are. I have used MarioKart, and successfully done this in the past, but don't see how to set this same information when using the MythRemote application. It seems I never have an opportunity to enter this information. The DS boots immediately into the M3 cartrdige menu system, and once I am in MythRemote there is nowhere to enter this information.
If it helps at all, I have an older style DS, and I'm using the M3 DS Simply cartridge, with a 512M micro SD ram.
#120128 - felix123 - Thu Mar 01, 2007 6:01 am
You don't need to. If you set it in MK then it's fine.
_________________
Nintendo DS homebrew on Wikipedia
#120175 - virtualbob - Thu Mar 01, 2007 3:53 pm
So... I went into MarioKart, and confirmed everything is ok... the DS requests an IP address, and connects to their servers. I turned off the DS, switched cartridges, and selected the MythRemote application. At no time do I see the DS request an IP address. Thinking that it might be a problem with DHCP, I popped back over to MK and set up static addressing. I still can't get any connectivity using MythRemote.
I guess I am not at all understanding the mechanism whereby MythRemote picks up the IP settings (DHCP, WEP, SSID), and establishes IP connectivitity. Is it supposed to happen automatically when you try to connect to the myth backend machine?
#120225 - HyperHacker - Thu Mar 01, 2007 10:07 pm
Most homebrew uses the information you enter in slot 1 in a game like Mario Kart DS.
_________________
I'm a PSP hacker now, but I still <3 DS.
#120257 - virtualbob - Fri Mar 02, 2007 2:01 am
I got it working. It wouldn't work while I had SSID broadcast turned off on my router. As soon as I enabled it, the DS connected through. Thanks to all for your help. I wish I could understand why I can't save my config files though.
This application works extremely well! Excellent work!
#120260 - GrizzlyAdams - Fri Mar 02, 2007 2:11 am
Likely your media adapter isn't supported. I don't think it was compiled with DLDI but try patching with the dldi for your card I might be mistaken.
#120295 - virtualbob - Fri Mar 02, 2007 1:30 pm
I tried with the DLDI for my card, but it doesn't help with the config file problem. Any attempts by the application to r/w to the card are failing. Any other thoughts?
#120297 - Lynx - Fri Mar 02, 2007 1:37 pm
Yeah, it has DLDI support, that is why I talked about it in my "Tutorial". I have it working great with both my GBA MP (CF) and SC (CF).
Oooh.. I see you have a donation button.. was that there before?
EDIT: BTW, the return link doesn't work. "404 Not Found".
_________________
NDS Homebrew Roms & Reviews
#125114 - PhoenixRising - Wed Apr 11, 2007 4:01 pm
I am having a problem getting MythRemote to work.
I've tried versions 0.1.0, 0.1.1, and 0.2.0 and all exhibit the same behavior. It is unable to get an IP address via DHCP. I've tested with Animal Crossing and Tony Hawk American Skateland, and both of those work. Additionally, I have tested with DSOrganize, and it works fine as well. I've been able to download homebrew applications from the homebrew database.
What I am seeing is that MythRemote associates with my access point, but that the DHCP request is not being forwarded to my router. My guess is that the DHCP request being sent by MythRemote must not be liked by my wireless routers (SMC.)
When I look at the logs in my wireless access point, I see the DS associate, and I see the HDCP request come in from the client. However, it seems like the request is not forwarded to my DHCP server. I see no activity (nothing shows up in the logs) on that link.
I've spent a bit of time troubleshooting with Lynx, and he's even been able to control my Myth Frontend remotely through our VPN tunnel...
I have both a grey and a blue NDS, and both exhibit the same behavior.
Any suggestions?
#125152 - HyperHacker - Wed Apr 11, 2007 7:47 pm
PhoenixRising wrote: |
I see the HDCP request come in from the client. |
What does High-Definition Content Protection have to do with this?
Anyway if your DS is sending the DHCP request and it's never being received, you may need to either move closer to the router, check for interference, or get a new router.
_________________
I'm a PSP hacker now, but I still <3 DS.
#125162 - PhoenixRising - Wed Apr 11, 2007 9:21 pm
HyperHacker wrote: |
Anyway if your DS is sending the DHCP request and it's never being received, you may need to either move closer to the router, check for interference, or get a new router. |
Let me try to make things a bit more clear, as none of these suggestions are going to fix my issue.
Using a commercial ROM, or DSOrganize, this is what happens:
DS --> WAP --> Router (the DHCP Server) --> Internet successfully
For MythRemote, the DS associates with the WAP. The WAP logs show the DS associating and sending a DHCPRequest. However, the Router logs do not show the DHCPRequest arriving. This tells me that the WAP is NOT forwarding the DHCPRequest to the router.
My assumption at this point, which I can't confirm because I can't seem to find software that will monitor the DS <--> WAP communication, is that the DHCPRequest coming from MythRemote is malformed in such a way that my WAP is dropping the request rather than forwarding it properly. This may be something where the SMC WAP is being "overly picky" but I half-way discount that since DSOrganize can perform the DHCPRequest and processes the DHCPOffer that my router sends as a response.
Obviously, it's not a general case, because as I noted, in working with Lynx, his MythRemote can control my front end. I know he is using a different type of access point, and I know that he is not using WDS whereas I am. However, I am equally sure that WDS is not the issue in that I am connecting to the WAP that is actually connected to the CAT5 cable.
My next option is to try with a Linksys WAP and see if I can get that working. I will try plugging that into my SMC WAP that is connected to my router in an effort to keep my traffic on my "blue" wireless network and see if it is indeed the SMC WAP. But it would still tend to point to MythRemote using a version of libWifi that has a bug in it.
I noticed that source code is provided with the MythRemote downloads. I may try that as well... Just updating the libWifi to the latest one and see if that makes a difference. And if not, attempt to contact the author of DSOrganize and synchronize with his version to see if that is the issue.
#125167 - Lynx - Wed Apr 11, 2007 9:51 pm
Quote: |
What does High-Definition Content Protection have to do with this? |
Obviously a typo.
Quote: |
Anyway if your DS is sending the DHCP request and it's never being received, you may need to either move closer to the router, check for interference, or get a new router. |
Is this a joke, or are you serious? His network is simular to mine, and more complicated than you know. The WAP is not running DHCP, the router is. The router has 3 interfaces, red (internet), green (local LAN), and blue (local WiFi).
The DS is working fine with DSOrganize and commercial games, so it doesn't have anything to do with the hardware being used (directly). But, the fact that he is running WDS or something else out of the "norm" could be the cause, as I'm assuming DSO is using the latest WiFiLib, and I'm not sure what MythRemote is using, as it is building its own ARM7.
So, it could be that MythRemotes WiFi can't handle his WDS setup or something, as I'm also running a very simular network minus the WDS and all is working fine.
_________________
NDS Homebrew Roms & Reviews
#125234 - HyperHacker - Thu Apr 12, 2007 8:14 am
Ah, I misread the post. The HDCP bit was a joke though.
_________________
I'm a PSP hacker now, but I still <3 DS.
#125275 - Lynx - Thu Apr 12, 2007 3:28 pm
Looks like it is a handshaking issue with 2 of his WAPs.. both SMC, but he dug out his Linksys and it worked fine.. PR said that this issue has been fixed in the latest WiFilib, so I'm guessing he only needs to recompile it and it'll work..
_________________
NDS Homebrew Roms & Reviews
#125312 - GrizzlyAdams - Thu Apr 12, 2007 4:56 pm
I'll grab the latest dswifi and release a update for mythremote soon.
#131329 - jeremys - Thu Jun 14, 2007 12:17 pm
Hi Grizzly,
Great work on the remote - its fantastic.
Got it all working - except for the back button, can skip forward but not back. Is there some way i can debug it - prehaps on the myth box?
im using myth ver 0.20
Cheers
Jeremy
#131358 - Lynx - Thu Jun 14, 2007 5:17 pm
PR is using .20 and it works fine for him. I would suggest you start by telnetting into your front end and make sure manually typing the command works.
_________________
NDS Homebrew Roms & Reviews
#131362 - jeremys - Thu Jun 14, 2007 5:54 pm
Hi,
Thanks, there seems to be something wrong with my mythbox.
over telnet the command and the error:
# play seek backward
ERROR: See 'help play' for usage information
which is exactly the same as the usage infomation:
play seek backward - Skip backwards in the video
so this is not a ds problem.
off to another forum to resolve this,
Thanks
Jeremy
#131369 - jeremys - Thu Jun 14, 2007 6:13 pm
Well,
after browsing the source code for mythtv, it looks like there has been a protocol change,
play seek backward
has been replaced with
play seek rewind
and it works!
What do you recommend I do:
Modify mythtv or modify the ds remote code?
Thanks
Jeremy
#131370 - chuckstudios - Thu Jun 14, 2007 6:34 pm
I would say modify MythRemote, but that doesn't seem possible without source code (maybe a hex edit of backward replaced with rewind could work)
#131371 - jeremys - Thu Jun 14, 2007 6:40 pm
I did the "cheap and cheerful" approach that seems to have worked a treat:
Open the compiled nds file in a hex editor and replace the command (adding spaces to pad so the string is the same length)
Fantastic app!
#131399 - GrizzlyAdams - Fri Jun 15, 2007 3:21 am
Sorry I missed this discussion, soon as I find any sources I have for mythremote I'll happily make them public. I lost quite a bit of data a few months ago when my final maxtor drive died. (I've had many times more problems with maxtor drives than any other drive manufacturer.)
#131415 - jedacite - Fri Jun 15, 2007 9:18 am
I'm having a few connection problems of my own as it doesn't seem to connect to the box. The problem seems to be isolated to the DHCP IP Requests as it is able to successfully connect over Wifi.
Things I've checked:
1. I can use telnet to connect to MythRemote port and issue commands from another machine.
2. I've verified that Donkey Kong Attack of the Mini Marios worked over WFC Settings.
3. I've disabled WEP and Verified that both Donkey Kong Attack of the Mini Marios and the wifi_test homebrew work with WFC settings.
I've loaded up a network analyzer and found the following:
DS: DHCP Discover Tx ID: 0xDCCCBBD7
Router: DHCP Offer: Tx ID: 0xDCCCBBD7 (IP 192.168.1.104, 1 Day Lease)
DS: DHCP Request Tx ID: 0xDCCCBBD7 (IP 192.168.1.104, Seconds Elapsed = 0)
DSL DHCP Request Tx ID: 0xDCCCBBD7 (IP 192.168.1.104, Seconds Elapsed = 768)
Router: DHCP Tx ID: 0xDCCCBBD7 NAK
Between the two DHCP Requests from the DS approximately 3 seconds actually elapse.
Anyone have any ideas at all? I can provide more info or debugging if it will help at all.
Regards
#131457 - GrizzlyAdams - Fri Jun 15, 2007 9:52 pm
Try setting your WFC settings to a static IP appropriate for your network. I don't think the DSWifi version I built MythRemote with supported DHCP or atleast not as well as the current DSWifi.
#131468 - jedacite - Sat Jun 16, 2007 12:42 am
Yeah I did that and it worked, I had just hoped that the dhcp would work. Also, the DS Wifi version that I used is about 6 months old
#150127 - phigan - Wed Jan 30, 2008 9:20 am
Any luck in finding the source to this app to rebuild with working wifilib?
I have a blue DS and a DS lite, both will not connect to Mythfrontend whether I set the IP as static or not. Both work fine with DSorganize.
Getting this app to work would be awesome.
#150167 - Tikker - Wed Jan 30, 2008 8:30 pm
is the source not included with the download?
#154701 - phigan - Sun Apr 20, 2008 3:50 pm
It won't compile. There's changes in the ipc code in libnds and it breaks.
#160705 - B10H4Z4RD - Sun Jul 20, 2008 8:40 pm
I am trying to use mythremote, and having problems
hardware;
DS lite, metalic blue/black
Datel Game n music
kingston 2gb card
san disk 512mb (shiped with my HTC mogel)
version 1.1 just stops at "Waiting for ARM7 to init..."
version 2 stops with the top screen black, and the bottom white, with random colored pixels
I properly patched both versions.
_________________
There Are No Stupid Questions, But There Are A Lot Of Inquisitive Idiots.
#160776 - Doom5 - Mon Jul 21, 2008 11:20 pm
It'll most likely need to be recompiled with a later DKP and Dswifilib, as when this project was released, the DsWifiLib didn't support the newer DS Lites.