Debugging USB HID keyboard device - Advantage X7500, MDA Ameo General

Hi,
I have a bespoke usb device that "in theory" should report as a HID keyboard.
The device works correctly on vista/mac. But I cannot get it to work on the ameo with the R6.1 MiChy ROM (or earlier versions).
Looking in the registry editor (on the devices tab) the usbhid.dll and kbdhid.dll is loaded, but I am unable to type anything on the keyboard.
I have asked in the windows mobile forums on msdn for ways of debugging, they recommended using the wince platform builder. It's a great recomendation, but also v.expensive.
I'm pretty certain it's my dodgy firmware that I have written, but it's proving v.difficult to debug.
-thanks for the help

Related

Samsung SGH-i607 flashed with SGH-i600 ROM - Does anybody know how to flash it back?

I have flashed my i607 with the i600 new ROM and now I can't flash the phone back.
The phone works because I haven't flashed this part, however had flashed the PDA and have no camera anymore, no vibrator, but at least a working O/S.
I have tried the following:
a ) Purchased the D820 cable. I can see the phone connected using Tera Term in COM1, however is not seen by the WCE downloader as this is looking at USB ports.
b ) I have tried installing the modem drivers time and again, and tried to connect ActiveSync in COM1 according to these instructions:
(1) Use a Samsung D820 cable with Serial Port and plug into your i60x
(2) Connect the cable to your PC's serial port (probably COM1)
(3) Install the Samsung Blackjack Modem Driver
(4) Uncheck the "Allow USB connections" in Active Sync option and select COM1 in "Allow connections in one of the followings"
(5) Let Active Sync to search for the i60x and wait for "Connected"
(6) Run the i600 firmware update program as usual.
NO results. ActiveSync does not connect.
c ) Tried Corona Downloader ver 3.2 for Samsung SGH-D500, it connects to the phone, but vendor ID sent is 0x44 and the phone responds 0x52, aborting further exchanges. I also tried OneNAND downloaders ver 1.4, 1.7 and 1.8 with similar results. I know these flashers may not work on my phone, however gave me an idea some exchange was taking place...
d ) I tried to load the bootloader eboot.nbo in root of the SD card, however i don't know if there should be a key combination to boot from SD card or if there is one other trick nor what name the file should have. Any ideas here?
e ) I have made dumps prior this mishap of all 4 raw partitions in the phone. Is it there a way to write a partition using a utility that I can place in the SD card? Is it there available a SD flasher that may run from the phone?
f ) Is it there a way to modify the WCE downloader to work on COM1 instead of USB?
g ) Is it there a way to modify the device driver to accept the phone as it is now? Apparently the phone device driver messages windows with a device malfunction and Device not recognized. Is it there any way to bypass this?
h ) I even tried to use a Serial-USB bridge and WCE downloader. No results either.
If you have any ideas, please respond to this thread. Any input will be deeply appreciated. Thank-you in advance.
Hi,
Is your Samsung device a derivative of a HTC product or have you posted in the wrong place?
WB
I don't think so
I don't think the Samsung is a derivative of the HTC, nor I want to enter a discussion of territorialism, now with all due respect I though this forum was a place to openly exchange knowledge on xda devices, and yes, as this topic has to do with hacking, and yes, because I have seen postings on Samsung i60x and i71x devices, is why I have posted here. Do you have any insight about the subject matter?
Thank-you

writing usb driver for x7501??

Hi there,
I'm looking for some information about what i would need to do to get a USB device recognised on my x7501. I'm looking to connect a USB-to-UART bridge chip (FT232RL or something) to the device so I can essentially have a serial/COM port on my phone, which i can use for data logging.
I was wondering if anyone's had experience with anything like this so i could find out:
A) what devices are already supported in WM6, as the bridge chips can mimic a virtual com port via built in windows drivers but im not sure if this driver is in windows mobile
B) what i would need to do to setup for dev for writing WM software and the driver if necessary (i have visual studio, i think there is a WM emulator but im not sure totally?)
C) any other questions you think are relevant to my goal
thanks in advance,
sebastian

[VS 08] Using MY device to debug

Hi Everyone
I was wandering, it is possible to use My WM device to directly run the compiled code of my smart device project on the fly?
Like the default emulators, but on my real device
Yes, you can deploy and debug over activesync. In the "target device" drop-down change it from one that's name contains "emulator" to one without. Then it should connect over activesync.

Did anyone get Appinventor by Google running on HD2?

Hey guys,
I was granted access to the beta of Android App Inventor and wanted to start playing around with that software and my HD2 running android. However, I cannot manage to get a connection to the phone via USB. (Selection: Connect to Phone in Block Editor does not work for me).
So, is there anyone working with App Inventor paired with HD2?
Thank you for your help and advice in advance,
jokeR
Download the Android SDK (if you haven't already), and install the package, "Usb Driver Package, revision 3".
Then plug in your HD2, if it doesn't auto-install do the following:
Right click my computer - manage - device manager,
find your HD2 in Other Devices/leo
Right click it, Update Driver Software
Browse my computer for driver software
In the text box: C:\android-sdk-windows\usb_driver (adjust accordingly)
Click next and it should install.
also only some builds have usb connection working i am using darkstones build and usb works fine
Currently I use this build: "shubCRAFT CM6RC2/Froyo" .
I still did not manage to complete a connection. The Block editor quits with an error "We made a mistake! Please help by reporting this bug:
Problem getting project defitions for phone: ...longurl..."
I will retry installing SDK and Extras and driver.
So, after reinstalling everything it still does not work:
"Leo" is listed in Devices as: "Android Composite ADB Interface" - is that the right driver?
I also tried to use a virtual Android device utilizing the SDK, but sadly that did not work as well. I have the Desktop of the virtual Android on my Screen, but clicking connect in Block editor does not connect to the virtual device (the Leo is unplugged in that scenario).
:/
make sure USB debugging is enabled in the application settings
Yes I have App Inventor. It's working OK for my on Darkstones build, but like you, I have issues with Shub's build.
For some reason or another - and I'm not sure how - I got it running just fine with no phone connected at all. I was able to complete the project and save it just fine. Maybe it was a bug...
I tried Darkstone's built, had USB debugging enabled, but it still did not work for me Don't know what to do next.
Anyone working with virtual devices or other builds that could work?
Thanks in advance for your help.

[Q] Samsung USB Drivers

I have no idea in which section to write this, so General seams like the best choice.
I have a Galaxy Y testing device with a broken boot.img. I am trying to get Odin working in Windows 7 in order to flash a new boot.img to this device, but I can't get the Samsung USB drivers to work and my Windows knowledge is now that great as I mostly work on Linux computers, but no fastboot on Samsung devices.
There are two drivers listed in the Device Manager. The Regular Samsung USB drivers, and something called Samsung USB CDC. It's the CDC I seam to have issues with. It just shows an error message that states "The device could not start (Code: 10)". I have already talked to Samsungs online support, but there is not much support to find there. They know nothing about Windows or how to get anything working on it. And google's search engine, which usually is the best friend for something like this, did not come up with much either.
I should mention that I run Windows in VirtualBox. However, I already have HTC Sync Manager fully working with an older HTC device, so this is not a VBox issue. Also, Windows do find the device just fine, it just can't start one of the drivers.
I have tried installing Kies. I have also tried installing other separate driver versions. Nothing is working.
Search the forums for Naked Drivers, its a complete driver package for a lot of android devices.
Give em a try.
I would post a link but my post count is as such that I cannot at this time.
WooHooGuy said:
Search the forums for Naked Drivers, its a complete driver package for a lot of android devices.
Give em a try.
I would post a link but my post count is as such that I cannot at this time.
Click to expand...
Click to collapse
I love the idea of a multi driver for all devices, much like on my linux boxes, so thanks for that. However, I get the same issue and same error message. I will try to reinstall windows and see if that will work. It has been many many years since I ran windows as my daily OS, but I do remember that formatting was the best way of fixing issues with it. If this is still no go, I will try to put windows directly on my netbook to see if this could be a Virtual problem anyways, but I don't think so. USB stuff is working fine on the Virtual OSX.
Will report back later
EDIT:
Nothing is working. All I have installed, is the naked driver. When I plug-in my HTC Desire or HTC Wildfire S, the driver is working fine. But when I plug-in the Galaxy S3 or the Galaxy Y, I get the "The device cannot start (Code: 10)".
So HTC devices are working, but Samsung is not. The same problem I had with separate HTC and Samsung drivers.
try the one from my link,its latest usb driver exe from kies,worx on win8 64bit too.
http://forum.xda-developers.com/showthread.php?t=1927769
-CALIBAN666- said:
try the one from my link,its latest usb driver exe from kies,worx on win8 64bit too.
http://forum.xda-developers.com/showthread.php?t=1927769
Click to expand...
Click to collapse
Thanks, but I have tried that version, and the one newer (1.5.23). I did manage, efter some reinstalls, to get 1.5.18 (I think is was) to work on the real installation. So maybe my issue is with virtualbox, I just can't see what. I have disabled everything in linux that could block something, I have disabled firewall and such on the virtual windows, I have tried checking and changing perms on the linux device nodes, and tried running VB as root.
At least I got the Galaxy Y running again, but I don't like having unresolved issues so VB is going down

Resources