+ Reply to Thread
Results 1 to 11 of 11

[HELP]About UART2

This is a discussion on [HELP]About UART2 within the Modding & Development forums, part of the Meizu M8 category; Hi guys, I am an M8 fan from China. My english is poor so I don't know whether you can ...

  1. #1
    Passing By
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile [HELP]About UART2

    Hi guys, I am an M8 fan from China. My english is poor so I don't know whether you can understad me.

    Recently, I have been working on my bluetooth gamepad in which I use an old gamepad, an ATmega8 chip and a bluetooth serial module to connet to my M8. I can send signal from gamepad to M8 to create KEYDOWN event. The bluetooth gamepad is working well and I can play a lot of games.
    I realized that the delay of key is great and bluetooth consumed too much power. So I prepare to make a gamepad using a serial cable. But the serial debug port of M8 is invisiable and inaccessible in MyMobile. Banxian said I can do some work on eboot and NK zone to shield UART2. But I do not know how to do. Could you guys help me?

  2. #2
    BPM
    BPM nincs online
    Member
    Join Date
    Aug 2009
    Location
    Austria
    Posts
    222
    Thanks
    44
    Thanked 10 Times in 10 Posts
    perhas you can find some info about serial port here:
    http://www.meizume.com/modding-devel...izu-m8-58.html

  3. Member who thanked BPM for the post:


  4. #3
    Passing By
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by BPM View Post
    perhas you can find some info about serial port here:
    http://www.meizume.com/modding-devel...izu-m8-58.html
    Thank you very much, I checked it and there is no information for me.

  5. #4
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    song991, it won´t be easy to do this since on m8fe the uart is in use for a debug.
    So one should disable it first before you can really use it for the function you want but then you´ need to customize the mymobile package.. but i wouldn´t be sure if you can waste time to it since i can´t find the debug on SE.. so what is the point if SE has no serial port that can be used.

    Anyway : goodluck !

  6. #5
    Junior Member
    Join Date
    Jun 2009
    Posts
    70
    Thanks
    5
    Thanked 15 Times in 9 Posts
    楼主,我也中国的,你可以尝试拿M8的线控耳机上的按键做手柄,塞班上就有有人这么做过
    就是拿一条坏掉的线控耳机,把它连到小霸王手柄上(五块钱两个那种),然后把线控上的按键映射到游戏按键就 可以玩了。。。


    Sorry for spoken Chinese here...

  7. #6
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    hongweibing, are you saying you could use audio out for communications or did i misunderstand you?

  8. #7
    Junior Member
    Join Date
    Jun 2009
    Posts
    70
    Thanks
    5
    Thanked 15 Times in 9 Posts
    Quote Originally Posted by evow04 View Post
    hongweibing, are you saying you could use audio out for communications or did i misunderstand you?
    Ok But my English is bad too......

    i said we can use the ....the headphone?I don't know how to say, oh.... when we listen the music with the headphone we can contorl the musicplayer with the keys on the headphone,so we can also use the keys toplay games we can mod a gamepad to connect the headphone......OMG,my English is bad

  9. Member who thanked hongweibing for the post:


  10. #8
    Member
    Join Date
    Apr 2009
    Posts
    116
    Thanks
    58
    Thanked 14 Times in 5 Posts
    Quote Originally Posted by hongweibing View Post
    Ok But my English is bad too......

    i said we can use the ....the headphone?I don't know how to say, oh.... when we listen the music with the headphone we can contorl the musicplayer with the keys on the headphone,so we can also use the keys toplay games we can mod a gamepad to connect the headphone......OMG,my English is bad
    I think I understood what you were trying to say...

    He said:
    On the official earpieces (headset) of Meizu there is a small button on it (just on the other side of the "Meizu" text). With this button you are able to switch to the next song in the music player or you can answer a call with it.
    So his idea is to use this to build an own modded controller that uses the 3,5mm jack plug (3,5mm Klinke) to send commands to the M8...

    I think this is a good idea and it should be possible with a bit more knowledge (than I have xD)

  11. #9
    Junior Member
    Join Date
    Jun 2009
    Posts
    70
    Thanks
    5
    Thanked 15 Times in 9 Posts
    Quote Originally Posted by Lil-rich View Post
    I think I understood what you were trying to say...

    He said:
    On the official earpieces (headset) of Meizu there is a small button on it (just on the other side of the "Meizu" text). With this button you are able to switch to the next song in the music player or you can answer a call with it.
    So his idea is to use this to build an own modded controller that uses the 3,5mm jack plug (3,5mm Klinke) to send commands to the M8...

    I think this is a good idea and it should be possible with a bit more knowledge (than I have xD)
    Yeah!That's what I want to say

  12. #10
    Passing By
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by evow04 View Post
    song991, it won´t be easy to do this since on m8fe the uart is in use for a debug.
    So one should disable it first before you can really use it for the function you want but then you´ need to customize the mymobile package.. but i wouldn´t be sure if you can waste time to it since i can´t find the debug on SE.. so what is the point if SE has no serial port that can be used.

    Anyway : goodluck !
    Thanks for your answer! Banxian has replied but I really did not unsterstand him

  13. #11
    Passing By
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by hongweibing View Post
    Yeah!That's what I want to say
    It is a great idea but is hard to do. For I can find no APIs that can peek the signal. I think the signal is handled by hardware.