[REQ] Information about W100 remote drivers.. - Touch Diamond, MDA Compact IV General

Right, I had an HTC artemis before my HTC Diamond, and I went out and baught one of
those nifty little W100 remotes. As you'll all know by now (or at least you should do) that
they only work for windows media player, and are not mappable. I want to change this!
Now, i've had a look around the file system, and in the registry, and I've found some things
that i'm curious about...
h2w_accessory.dll seems to be referenced as an active device/driver, and this seems to
be the only thing that could be remotely related to the remote. There has to be some kind
it "middle man" to open WMP and pass it the commands, and I want to gain access into it,
to break it open and generate button press events...
I have tried to access all of the serial ports by writing a small program, to see if the remote
communicated via a simple serial interface, but this yeilded no results. I have listened for
button events system wide, also via a simple program I made, but this also yeilded nothing
useful.
Does anyone know anything more about the inner workings of this remote control's drivers,
and would like to try and help make a solution, hopefully for ALL HTC devices.
I hope we can all finally get our heads down and crack open this remote for the good of
the community, and finally show HTC how to make a remote control useful for more of the
Windows Mobile population...

Related

Microsoft announces Windows SideShow for Windows Mobile Development Beta

The title says it all. Maybe one of the board members can play with it and create something worth installing.
you can download it here
http://www.microsoft.com/downloads/details.aspx?FamilyID=79f19684-f862-4e02-a2b0-0003b4565f34&DisplayLang=en
Finally! Been waiting on this forever! Also, Live Anywhere which they promised a while back!
I do a monthly geek dinner thing where a microsoft person or two come in. One of them is really into the mobile scene. I'll ask her what she has heard/seen so far the next time I see her.
Kyle
installed and working on Diamond rom V4. it is excellent like a remote control for your pc. i am very happy with it i can see many many things will be done with this. exciting stuff.
Chem E Sam said:
installed and working on Diamond rom V4. it is excellent like a remote control for your pc. i am very happy with it i can see many many things will be done with this. exciting stuff.
Click to expand...
Click to collapse
can you post it please ?im on my pda atm
edit * NVM got it
Sounds Sweet!
I'll check it out...
Vista Required
Nogo on XP Pro. Requirements call for Vista or Server 2008. Might be a service driver that could be used from Vista in XP, but not sure about that.
Awesome. I have been waiting for this for some time now. It would be nice for everyone if there was mirror link posted. Also if the mods could move this to the correct section it would be great too, such as the software section.
**Edit
Thanks guys
***Another Edit
Here is a mirror for everyone
odic said:
Nogo on XP Pro. Requirements call for Vista or Server 2008. Might be a service driver that could be used from Vista in XP, but not sure about that.
Click to expand...
Click to collapse
SideShow is a feature of Windows Vista and it has not been, and probably will never be, ported to older Windows versions due to underlying differences in the operating systems, driver models etc.
Such a shame this is only bluetooth, other sideshow devices utlise wifi.
Still cool to finally get it though.
ladytoast said:
Such a shame this is only bluetooth, other sideshow devices utlise wifi.
Still cool to finally get it though.
Click to expand...
Click to collapse
It's still in its very early stages, so it may eventually get there and offer wifi support (Salling Clicker does it so MS definitely should be able to get it running).
I couldn't get it to work on my pavillion laptop (dv9700t)...it keeps saying 'can't connect' from the software. Yet, I can see it briefly connect then disconnect on my laptop. Oh well, back to salling clicker....
Windows SideShow for Windows Mobile Beta: Screenshot Tour
Hey Guys. This group has always had the most intense members of the Windows Mobile community and been a place where I can always count on learning something new.
I wanted to make sure everyone knew about the Windows SideShow for Windows Mobile Beta.
http://www.microsoft.com/downloads/...84-f862-4e02-a2b0-0003b4565f34&displaylang=en
I have a screenshot tour if anyone is interested:
http://www.cjcraft.com/blog/2008/06...ndowsMobileBetaSeeTheScreenshotTourFirst.aspx
My goal to make something that people get a feel for the product and its possibilities.
--
Thanks,
Chris Craft
Windows Mobile Device Application Development MVP
http://www.cjcraft.com/blog/
InGeNeTiCs said:
I couldn't get it to work on my pavillion laptop (dv9700t)...it keeps saying 'can't connect' from the software. Yet, I can see it briefly connect then disconnect on my laptop. Oh well, back to salling clicker....
Click to expand...
Click to collapse
make sure u follow the installation instruction carefully, and keep trying to connect afterwards. took me a while to get it to work, but it's definitely blows salling clicker out of the water, being it's at a preview stage.... sure has potentials
CJCraft said:
Hey Guys. This group has always had the most intense members of the Windows Mobile community and been a place where I can always count on learning something new.
I wanted to make sure everyone knew about the Windows SideShow for Windows Mobile Beta.
...
Click to expand...
Click to collapse
This is a really neat idea in theory. I just found out about this the other day when Woot had a picture frame for sale that supported SideShow.
I found it much more useful for a device like a dumb terminal picture frame. It could allow you not to just show pictures, but overlay the weather, RSS feeds, e-mail notifications, and even stream music to the frame.
Although I like that it is being supported for WM devices, I don't really see too many advantages of the current widgets/gadgets/whatever that are out there.
A WM phone is already a powerful device that has outlook, media player, office mobile (including power point) that having to stream these as a sideshow to the device seems redundant. I'm sure some plugins will come around that are very innovative, but I don't really see the use other than novelty right now.
The advantage I see would be for developers to write just a sideshow app that can run on many platforms and not just tied to vista.
For instance a sideshow app for Windows Media Center that would allow you to turn your phone into a powerful remote for WMC.
I don't know if 2008 supports sideshow yet, but if they add it in I could see a HUGE benefit of having a server monitoring sideshow that I could connect to remotely. I could keep track of servers remotely and perform some common tasks via the sideshow.
These are the types of things I'd like to see eventually.
This was posted in the general thread, but I see this one is more active so I will post my comments here as well.
This is a really neat idea in theory. I just found out about this the other day when Woot had a picture frame for sale that supported SideShow.
I found it much more useful for a device like a dumb terminal picture frame. It could allow you not to just show pictures, but overlay the weather, RSS feeds, e-mail notifications, and even stream music to the frame.
Although I like that it is being supported for WM devices, I don't really see too many advantages of the current widgets/gadgets/whatever that are out there.
A WM phone is already a powerful device that has outlook, media player, office mobile (including power point) that having to stream these as a sideshow to the device seems redundant. I'm sure some plugins will come around that are very innovative, but I don't really see the use other than novelty right now.
The advantage I see would be for developers to write just a sideshow app that can run on many platforms and not just tied to vista.
For instance a sideshow app for Windows Media Center that would allow you to turn your phone into a powerful remote for WMC.
I don't know if 2008 supports sideshow yet, but if they add it in I could see a HUGE benefit of having a server monitoring sideshow that I could connect to remotely. I could keep track of servers remotely and perform some common tasks via the sideshow.
These are the types of things I'd like to see eventually.
That had to posted by an M$ employee
This is cool
I am giving this a shot on my Tilt with the L26 diamond v5 rom. I paired my phone with my Vista business pc and connected right away. Some of the other gadgets you can install are pointless. Gmail viewer? LOL. All you can do is view the mail... so you have to walk back over to the pc and check it anyway. The media player gadget is the best... I could actually see me using this for a party or social gathering where I can control all the tunes from my phone. I COULD NOT get the picture viewer to work!!! When I downloaded the .msi file I got the error "This application is not a valid install fie" or something of that nature.
Any ideas on that one?
i still can't get the bloody thing to work.
in my experiance of it you need to be using microsoft bluetooth stack/drivers, widcom broadcom, toshiba or blueseil dont work, which is a pain because windows bluetooth drivers are very limited as to what else they do, if anybody gets this working with bluesoeil drivers let me know

What can a Diamond do?

I just bought a Touch Diamond -very nice phone with a couple exceptions.
Touchflo 3d is nice but Im finding it doesnt have much depth - it needs more functions. And the loudspeaker is not very good - not loud, not clear.
Anyways, its my first windows mobile phone and had a couple questions about what WM6.1 can do. Im using Vista btw.
1. Email - Im downloading ALL my email and its fairly big. Can I force it to save only to internal storage?
2. Music - How do you get the album photo to come up while playing through Touchflo music - the picture does come up if i just play in windows media player.
3. Is it possible to add/remove multiple contacts from the People Menu ie Favourite contact
4. Most important - connectivity. Is it possible to access the phone wirelessly from PC via router? The phone connects to the router wirelessly fine and I can use the internet. But what I want to be able to do is either access the internal storage or sync up with outlook without using the usb cable.
5. What kind of BASIC phone functions does it have?
Eg. Call timer during call
Stop it going to that call history page after a call - i want it to go straight back to home.
Theres more functions it seems to be missing....
6. How do you make it so it FULLY shuts down a program when u hit the top right close button? I dont want to have to keep re-hitting the top right button to open task manager and full close it that way.
7. Lastly, is there any secret tips that a newbie wouldnt know about eg. codes to get to secret menus etc?
1. I don't think so, but I don't download email, so somebody who does may be able to help.
2. Strange problem, probably to do with the version of ID3 tags each uses. But again I have no idea how to solve it
3. No idea with no device in hand
4. Microsoft, being twats, reoved sync via Wi-Fi with the upgrade to WM2003. So, sorry mate, no way that I know
5. My dialer on my other PPC has call timer I think, but the diamond's may not, a new dialer with it included may solve the problem.
Other stuff missing?
6. Get a proper x button, like WKTask, or Wisbar, or something similar. Its also probably possible to change the settings to make it close by tapping X. I also think that with the HTC program, you can close by tap and hold, or, from today, click where the x should be, and a menu comes up enabling you to close them individually.
7. Secret codes? Not that I know of.
Hope the small things I have known here do help
Rory
Yeah, 6 is definitely something that can be done in the standard Windows Mobile settings (unless they've removed the setting in 6.1, in which case a registry edit might do it).
I guess when the phone has been out for a while, a lot of registry tweaks and utils will show up around here to adress all kinds of small and big issues.
i was gona go for a diamond but look at htc touch pro. everything diamond plus hardware keyboard and memory expansion slot (minus front camera).
Found how to fully close the progam in one go - went to task manager - button - and chose "End Programs by tapping X"
Under this option is "End programs by tapping and holding X" which is the default.
I tried it and it does work but I dont like it. Coz u cant really tell how long to hold it. If u keep holding, the program actually just stays open until u release. And I guess if u release too early it wont fully close.
Anyways - thats not a huge issue - wireless sync is!!!!!!!!!!!!!!
Has anyone found a way to get around it?
Best you can do with WIFI is put the UNC name of your pc into the browser and bring up the shares.
If you want to sync wirelessly, you'll have to do it via bluetooth. You should be able to get a bluetooth dongle for your pc for about 20 bucks though.
OH YEAH!!!!!!!! Going through Opera to browse my PC directory - You little beauty!!!
Now, how do I set up a name for the diamond so I can see it on my PC. Is there a setting you have to enable? I browse for "PCs" and it doesnt find the diamond - just my other PCs

BT Stereo Headset starts WMPlayer

I have a stereo Jabra BT headset.
When I klik on the button on the headset he starts WMPlayer.
Does anybody know if there is a setting the turn this off?
Now its have a conflict with PocketMusic (v5.04)
Configurable Avrcp_MPplugin.dll interface??
Responsible for the opening is a DLL called Avrcp_MPplugin.dll
where this functionality is hardcoded.
I had a standard HTC Touch that mapped the BT Headset button on my sony HBH-200 to the OK Button. With Mort Player and Pocket Player i was therefore able to pause/play.
Question to community:
1. Is it possible to replace the DLL with the one from HTC Touch on the diamond?
2. if YES can anyone send me the DLL or explain how to do it. Patch Rom Install Update or cook a new Rom?
to: ratzefumm at gmx.net
Need: Avrcp_MPplugin.dll, bta2dp.dll, sbc.dll
(see http://discussion.treocentral.com/showthread.php?t=112637)
3. does a version exist that is configurable? with button mapping or button learning function.
think: BT Command comes via AVRCP from HS so it should be possible to map this commands on demand.
ratzefumm said:
Responsible for the opening is a DLL called Avrcp_MPplugin.dll
where this functionality is hardcoded.
I had a standard HTC Touch that mapped the BT Headset button on my sony HBH-200 to the OK Button. With Mort Player and Pocket Player i was therefore able to pause/play.
Question to community:
1. Is it possible to replace the DLL with the one from HTC Touch on the diamond?
2. if YES can anyone send me the DLL or explain how to do it. Patch Rom Install Update or cook a new Rom?
to: ratzefumm at gmx.net
Need: Avrcp_MPplugin.dll, bta2dp.dll, sbc.dll
(see http://discussion.treocentral.com/showthread.php?t=112637)
3. does a version exist that is configurable? with button mapping or button learning function.
think: BT Command comes via AVRCP from HS so it should be possible to map this commands on demand.
Click to expand...
Click to collapse
I'm trying to copy the files off my Mogul for you, to see if that works, but it's apparently a protected file. I can't copy it. I wonder if that's because it's loaded and running? Maybe these files can be extracted from a cooked ROM. Any ideas? I'm very interested in getting this working because I want a Touch Pro. I'm waiting until it comes out for sale through Sprint though. Currently I have a HTC Mogul. One problem I can see right now is if I can't even copy it off the Mogul, how are we going to write over it on the Diamond/Pro? I'm thinking a ROM would have to be cooked up, no?
Okay I tried messing around with my Mogul to see if it was possible to substitute the DLLs on it. I figured if it was, it might be possible to do it on the Touch Diamond/Pro. Unfortunately, I couldn't write over those files or copy them off the device. It is definitely in the ROM and read-only. I even got rid of all the registry entries that referred to it, to make sure it wasn't just file-locked.
The next thing I tried was copying the Tornado Avrcp_MPplugin.dll using a different name. No problem. I called it Avrcp_MPplugin_tor.dll. I then changed the HKEY_CLASSES_ROOT\CLSID\{7AAC2B28-5DD1-4052-81DD-E17114EE96B6}\InProcServer32 default value to the new name. Soft reset. This worked. However, again, I only have a Mogul right now, so the best I was hoping for was just not breaking my phone. I can't test to see if this makes a difference for intercepting the AVRCP commands on a Diamond/Pro where the AVRCP is funky.
Can anybody out there with a Diamond/Pro give these steps a shot? Also, this is "hacking" territory, so be sure you know what you are doing so you don't completely brick your phone.
If replacing this DLL doesn't work, there's still the bta2dp.dll and bthutil.dll which have changable registry entries.
EDIT: Don't forget to run Tor_A2DP_cert.cab since the new DLLs are signed by a different CA than the originals.
I am trying to stop my HTC headset using the Touch Flow player on my Pro as it cant cope with the number of files I have. Any ideas on this?
thx1200 said:
Okay I tried messing around with my Mogul to see if it was possible to substitute the DLLs on it. I figured if it was, it might be possible to do it on the Touch Diamond/Pro. Unfortunately, I couldn't write over those files or copy them off the device. It is definitely in the ROM and read-only. I even got rid of all the registry entries that referred to it, to make sure it wasn't just file-locked.
The next thing I tried was copying the Tornado Avrcp_MPplugin.dll using a different name. No problem. I called it Avrcp_MPplugin_tor.dll. I then changed the HKEY_CLASSES_ROOT\CLSID\{7AAC2B28-5DD1-4052-81DD-E17114EE96B6}\InProcServer32 default value to the new name. Soft reset. This worked. However, again, I only have a Mogul right now, so the best I was hoping for was just not breaking my phone. I can't test to see if this makes a difference for intercepting the AVRCP commands on a Diamond/Pro where the AVRCP is funky.
Can anybody out there with a Diamond/Pro give these steps a shot? Also, this is "hacking" territory, so be sure you know what you are doing so you don't completely brick your phone.
If replacing this DLL doesn't work, there's still the bta2dp.dll and bthutil.dll which have changable registry entries.
EDIT: Don't forget to run Tor_A2DP_cert.cab since the new DLLs are signed by a different CA than the originals.
Click to expand...
Click to collapse
I can confirm this doesn't work with avrcp_mplugin.dll
I downloaded the Tornado A2DP cab from here:
http://forum.xda-developers.com/showthread.php?t=263735
I ran the cert cab and copied the renamed avrcp_mplugin.dll into my windows directory, changed the registry key, and soft-reset. No luck with pocket player. WMP still popped up. There are no other instances of that dll in the registry. I will have to try the other dlls at a later time, but it seems unlikely that the dlls that are the issue-- AVRCP works perfectly for me when I use the HTC player within TouchFlo3D.
FYI, I'm on a Sprint CDMA Diamond.
-R
sketchy9 - thanks for trying that out. My hope was that the hard-wired code was in a higher level DLL -- possibly even a semi-unrelated DLL (such as a A2DP DLL isntead of the AVRCP DLL), but it may possibly be deeper in the BT stack. From what I've read, there are at least several other people looking into the deeper BT stack, so since I have very little expertise in that area, I'll leave that to them. Meanwhile, I'm attempting to talk to somebody at HTC directly about this issue, hoping to hear from the horse's mouth exactly where the hardwired WMP code exists and if there's a way to work around it.
sketchy9 said:
I can confirm this doesn't work with avrcp_mplugin.dll
I downloaded the Tornado A2DP cab from here:
http://forum.xda-developers.com/showthread.php?t=263735
I ran the cert cab and copied the renamed avrcp_mplugin.dll into my windows directory, changed the registry key, and soft-reset. No luck with pocket player. WMP still popped up. There are no other instances of that dll in the registry. I will have to try the other dlls at a later time, but it seems unlikely that the dlls that are the issue-- AVRCP works perfectly for me when I use the HTC player within TouchFlo3D.
FYI, I'm on a Sprint CDMA Diamond.
-R
Click to expand...
Click to collapse
This is not good news. The Sprint Music player sucks. The UI is horrid and since it has control of the AVRCP it's the music player I'm forced to use as I use a stereo bluetooth headset all the time and listen to tunes much more than make phone calls. Not being able to touch the pause button on the headset and having to instead dig out the phone, unlock it, get over to a music player like Pocket Player and hit the pause button only to say "Huh? I sorry I was listening to music. What did you say?" is totally unacceptable.
Are you sure that when you copied avrcp_mplugin.dll into the Windows directory it actually replaced the file? Because I can't even copy it out much less rename it without a permissions or sharing violation. How can you overwrite it?
I believe the HTC Player is using Windows Media Components or something like that. Is there any way to disable the HTC Player (on my Sprint phone this is called Sprint Music) such that it doesn't grab hold of the AVRCP away from another media player like Pocket Player.
Oh and note I have had some times where the HTC Player does not respond to a Play/Pause through AVRCP. I don't know how it happens but the HTC Player loses control of AVRCP. Instead I fired up Pocket Player and to my delight it responded to Play/Pause through AVRCP. However, to my horrid that broke before my own ears about an hour or two later and control reverted back to Sprint Music.
Are there any HTC forums specifically about their Touch Flow 3D interface?
ratzefumm said:
I had a standard HTC Touch that mapped the BT Headset button on my sony HBH-200 to the OK Button. With Mort Player and Pocket Player i was therefore able to pause/play.
Click to expand...
Click to collapse
Can you please explain how you did that in more details. How exactly did you map BT Headset button to the OK button and how do you choose which one to map (for example HBH-DS220 has stop, play and call button). I opened buttons dialog from the settings and only button I can see is button1(hold).
Pocket Player did it
At this URL you can see comments on the related topic - apparently Pocket Player has solved this issue. I'm not a fan of their player usually - a little heavy and a little slow. But in this case, I must say that they are the only ones who solved it. I tried it myself and it works.
If anybody is still watching this thread or finds it and will be interested in Pocket Player, head over here:
http://forum.xda-developers.com/showthread.php?t=406116&page=8
thanks
thanks amidsin,
this solved my big problem.
amidsin said:
At this URL you can see comments on the related topic - apparently Pocket Player has solved this issue. I'm not a fan of their player usually - a little heavy and a little slow. But in this case, I must say that they are the only ones who solved it. I tried it myself and it works.
If anybody is still watching this thread or finds it and will be interested in Pocket Player, head over here:
http://forum.xda-developers.com/showthread.php?t=406116&page=8
Click to expand...
Click to collapse

Andriod version of "My Mobiler"

Is anyone going to made a "My Mobiler" type of application for the G1?
It was very nice to have it with my Wing.
i loved it on my Wing too. i miss it!
Please report this thread to Koush
As he already have Screenshot Application Relaying it to any IP Socket can make a Video Streaming of Onscreen on G1 then only Catching Mouse and Keyboard Events from PC to G1 is require and mapped and channels to Device can be done to Make such Applications
Bump!
Did anyone ever find an app that does anything remotely like this? I'd love to have this capability, since I'm near a desktop pretty much all day and could benefit greatly by responding to messages through a PC based console.
hetaldp said:
Please report this thread to Koush
As he already have Screenshot Application Relaying it to any IP Socket can make a Video Streaming of Onscreen on G1 then only Catching Mouse and Keyboard Events from PC to G1 is require and mapped and channels to Device can be done to Make such Applications
Click to expand...
Click to collapse
That sounds cool. Where can I find it?
Robb_in_hou said:
Is anyone going to make a "My Mobiler" type of application for the G1?
Click to expand...
Click to collapse
Someone, please do it! I used MyMobiler constantly on my previous WinMo phone (T-Mobile MDA). I would pay to have its equivalent for the Android T-Mobile G1. I haven't rooted my G1 (yet) but would absolutely do it if it was required for running a MyMobiler-like app.
Just think of it:
- Type text messages using your keyboard.
- View your mobile screen on your desktop.
- Control your mobile by using desktop keyboard and mouse.
- Copy/Cut/Paste text between mobile and desktop.
- Capture mobile screen.
- Drag and drop files to your mobile.
Reference: MyMobiler
i looked in to this a little for a project i am working on (Droid Explorer). I found that /dev/input/event1 is the touch events, /dev/input/event2 is the trackball events, /dev/input/event3 is the keyboard and buttons, i cant figure out what /dev/input/event0 and /dev/input/event4 are for.
I tried writing to the file with events that were "recorded" but was unable to write to it. That is as far as I got when I was looking in to it, I put it on the back burner for now.
This would definitely be awesome to get going
Hmm, im not a dev or anything but wouldn't it be somewhat easy to redirect the emulator in the SDK to use the phone instead of the files in the SDK?
camalot said:
i looked in to this a little for a project i am working on (Droid Explorer). I found that /dev/input/event1 is the touch events, /dev/input/event2 is the trackball events, /dev/input/event3 is the keyboard and buttons, i cant figure out what /dev/input/event0 and /dev/input/event4 are for.
I tried writing to the file with events that were "recorded" but was unable to write to it. That is as far as I got when I was looking in to it, I put it on the back burner for now.
Click to expand...
Click to collapse
i dont know if this can help u.
here is a VNC Server for android.
http://code.google.com/p/android-vnc-server/
it works realy slow so its not for daily use (and after a time of use, the android turns into a reboot), but i think in the sorcecode you can find something that can help u
Hey guys there is one now!
[Tool] Android Screencast (open-source)
http://forum.xda-developers.com/showthread.php?t=557717
Go search for mymobiler at code.google.com and vote for it.
I want something like this too and I can't root my phone...
Does the VNC Viewer work over USB? (On Windows Mobile it make a RNDIS connection over USB so I could use TCP/IP programs like Web/FTP/VNC Servers...)
MyMobiler for Android is good solution
For those who have used MyMobiler on WM, I just read on there website that MyMobiler now supports Android! I tested it and it works on my Inspire
http://mymobiler.com/ it is also listed in this froum http://forum.xda-developers.com/showthread.php?t=1230349
Direct Link http://mymobiler.com/?p=42

PS3 controller

Hi everyone,
I have started looking into using a PS3 controller as an input device for my Diamond.
I want the adility to play games using a PS3 contoller over bluetooth, as the device doesnt have good controls for games. I have managed to get my ps3 controller to work over usb on my pc Next step is to get my controller over blueooth to my pc, I will keep updating this thread
I have found some useful web pages
how get input from PS3 controller over wired with source code: http://www.codeproject.com/KB/mcpp/wiredps3axis.aspx
How to get ps3 controller over bluetooth on linux with source code: http://fedoraforum.org/forum/showthread.php?t=199246
I dont really know what Im doing when it comes to wm6 and making a device work with wm6. I dont know much about the bluetooth stack either. I will probably need to write some sort of a driver at some point. To catch the input from the controller and convert it into a command on my diamond.
So any help of any kind would be great. Any problems you can see with my plan?
Sorry not sure if this is the right place to put this thread so move if you want.
Well, that didnt go to well.
The controller is appearing in my bluetooth manager on my pc, but i cant connect or query its services.
Now Im really stuck
if someone could help me get some trace data from the connection, or enlighten me to a way of getting some information out of the bluetooth stack.
Thx,
Chris McNamee
Assuming that the PS3 doesn't use a proprietary communication protocol that can't be reverse engineered, this should be possible.
However, I suggest looking here first to get source and discussion re use of the Wii mote on the PPC first.
Then re implement the PS3's control mechanisms.
http://www.codeplex.com/WiiMoB/Thread/View.aspx?ThreadId=10953
There's further discussions here:
http://forum.xda-developers.com/showthread.php?t=335973
and here:
http://forums.neurostechnology.com/index.php?topic=9759.0
to get you started. Interesting project though!
V
Thanks
Cheers vijay555,
I will have a look as soon as I get a bit of free time
Hmmmm
Thanks vijay555
There is some excellent information on some of those links, but will need to get a wiimote. I cant tell if the drivers have been loaded by the wm6
but i was wondering, how does wm6 know which device its talking to over bluetooth?
It must be via a device serial or something, but what is the term for it?
like i said im a bit of a novice
Yeah, now we're cooking
I found an alternative, the wii remote/classic controller it uses bluetooth and there is lots of source code and examples
http://sourceforge.net/projects/wiiuse/
it comes with a libaray for windows and an example of how to use
all the source code is there to downloading
Now all I need is a wii remote
and to get it going on my pc, then port to PPC.
Then I need to write a frontend to control what action on the mote do on my PPC. Should be easy
sounds like an interesting project, keep us updated!
It has begun
Yesterday I bought a wii controller and got it talking to my pc using the wiiuse.
Wiiuse is open source and it has code already to interpret the controls of the wiimote, including the ir sensing, accelerometer, wii nunchuck, and the classic controller. Which we be very useful, as I dont need to work it out myself.
Also I have got wiimob, kind of working. It uses a library called bluetools to controller the bluetooth (which is pay for, so will need to find/make an alternative at some point but works for now). I have got to the point the author got stuck at (comment in the code says he never got passed), so Im kind of on my own now. Wiimob can search for wiimotes, then search it services but fails when trying to get a stream to the service. Im pretty sure this is because the RemoteService class returned by the bluetools doesnt have the correct GUID, which cause the connection to be refused by the remote device as it doesnt exist.
It is all looking very promising at the min
next steps:
get the bluetools talking to a service on my pc and see if I get the right GUID to determine if its the bluetools code which is failing to get the GUID or the wiimote not giving its GUID for the service.
Will post back with any news
Interesting
It seems that the library doesnt want to connect to a human input device, it wont connect to the wiimote or my bluetooth keyboard. It does seem to work to other services like Obex file transfer.
Hmmm, what?
Guess I found try and find some samples of people using this library and human input device or find a new library. Im not really up for trying to create my own at the min, as it would take a while
O dear
Its really not going well, either my knowledge isnt up to the job or it cant be done.
I have tried hard, but windows mobile is missing the all important hid.dll driver to get a listing of pair bluetooth hid devices so i can open a handle to the device. So I then looked into opening a connection myself and bypassing the hid driver, but from what I can work out it needs two l2cap connections open to the device, 1 on channel 11 for writing and another on channel 13 for reading data. But windows mobile doesnt have an api to access the l2cap layer of the bluetooth stack, the layer down (hci) can be extended but this would take along time to implement as I would then have to implement the l2cap layer myself.
Its turning into a losing battle, I really now doubting that I can do this.
The only idea left is how does the windows mobile use a bluetooth keybaord, does it use a generic driver which it extends or is it complete in its self. If it does uses a generic driver, i need to find some doc.
If anyone has any advice about how to implement l2cap connection or any thing about connecting to a hid device in windows mobile I would be very greatful.
Thanks guys,
But I think this is dead, like many other projects to try and get windows mobile work with a wiimote.
Things have taken a turn
Yeah,
A very helpful guy pointed me down a new line of throught,
I now beleive that I maybe able to do this
well, i need the win ce 6 platform builder
i owuld like to help but not got a clue about these things! keep up the good work
Well, any suggestions
Hmm, the wiimote uses bluetooth hid profile to communicate which talks over a l2cap connection. HID profile uses the universal serial bus (USB) architecture but send data over bluetooth
http://www.bluetooth.com/Bluetooth/Technology/Works/HID.htm
I have two options from what i can see
1. Well, I have found source for a sample keybaord device which I could rip off but cant get it to compile
2. Gain access to the L2CAP layer of the bluetooth stack by extending the stack with some of my own code. Then create my own connections to the wiimote and start sending and receiving reports to the device.
Any suggestions on the best approach?
both will take alot of time either way.
Hmm,
The L2CAP sample code requires some of the core dll for wm. These include coredll.dll and the btd.dll
during the build linking fails as I dont have the lib files, to get the lib files I need to build the os, as these files can change depending on the options specified during the build. I dont really want to do this, as it will limit the software to only one os version of wm, the one i build against.
Next question is can I do a library call and get the function points at runtime?
Well I think I may have to ask on a new thread. I hope so, as it would over come alot of problems, and it wouldnt limit the code to certain versions of the wm
Opened my mouth too quick
I using the wince 6 sdk,
But windows mobile 6 is based on wince 5. Hopefull I will have more luck with the wince 5 sdk
Well, that went a bit better.
Ive got pasted all compiling errors with the sample code I found. I have all the needed include and library files.
When trying to link the compiled code I get a single error now.
1>Compiling...
1>l2capdev.cpp
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>uafxcw.lib(dllmodul.obj) : error LNK2005: DllMain already defined in l2capdev.obj
1> Creating library Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.lib and object Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.exp
1>Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.dll : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://d:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\Bak new l2capdev\l2capdev\Windows Mobile 6 Professional SDK (ARMV4I)\Release\BuildLog.htm"
1>l2capdev - 2 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If anyone can help with this error it would be great.
Sorry guys, but Ive got alot of coursework on at the min.
So it might go a bit quite on here for a bit, but done worry.
Im still working on this when I get some spare time, but I dont have much at the min
Any progress on this mcnamee?
No luck
Well, I have given up on this for awhile.
I would like to start working on this project again when I have some more time.
But for now this is dead.
Chris McNamee
If you are interested in alternatives to the MSI or Chainpus BGP100 bluetooth gamepad, google search "modded by bacteria" go to the "work in progress" section of his forums, and search for the thread "Re-housed Bluetooth controller". The creator of the site, Bacteria, will be transplanting the innards of the BGP100 into an SNES controller. Previously, he has transplanted it into a PS1 controller. It seams feasible to DIY into almost any controller housing.
PS3 for EVO?
I'd love to use the bluetooth connectivity for my Evo and playing ROMs. any ideas?
Apologies if this has been mentioned...

Categories

Resources