using xda as advanced usb client for Windows host - Windows Mobile Development and Hacking General

I would like to extend the capabilities of my xda running as a smart USB client on a Windows XP host. Actually I look for a way to advertise a (virtual) interface in my device descriptor. While MS has a lot to say about the USB host capabilities of our boxes there is next to nothing about the USB client side.
Has anybody suceeded in hooking the USB discovery phase in order to inject your own code? If so I would welcome any code snippets or links I could refer to.
Thanks for your answer
Udo

Related

Wm6 protected dll's

hi mighty all :0)
i have problem with laying my hands on 4-in-1 cable (and i need to use vga-out and usb at same time, my pointing device is Trust TK-3300p wireless (usb dongle + ball mouse/laser pointer not detected by btCrawler (i guess it's not bt or some non-standart implementation). So i decided to digg a little on miniusb port (hell ActiveSync still uses it to transfer data to pc). I wish to play with busenum.dll public functions to gain hints and digg deeper.Anyone have any info on ActiveSync work,busenum.dll fnc list, ohci2.dll fnc list, hidmouse.dll fnc list as there is no info in WM6 SDK.
any help appreciated
BTW NETCF 2.0 suck i guess C++ will do better
sorry for dupe but in "Athena mobile 6" thread no one answered.
after u finish playing with them sign them with msigner..

[REQ/REL] USB camera driver

I found source code for USB camera driver from Microsoft (usbcam.dll) it is for Windows CE and it is compatible with Windows Mobile. It need to be compiled for IntelXscale and/or ARM (depending on device)... Maybe someone here can try. It support around 30 usb web camera models with USB 1 and 2. It include also filter:
; Register JPEG -> RGB filter
; This filter is intended for use with the usbcam.dll, which
; produces output in the JPEG/MJPEG formats
Click to expand...
Click to collapse
There are 4 files:
usbcam.dll (Driver)
jpeg2rgb.dll (Support file - Filter)
usbcam.reg
jpeg2rgb.reg
Developer of this code confirm that it can be compiled for WM 5/6
Microsoft has released a webcam driver (with source) that does support a Direct Show interface. It is written for CE 6, but could be recompiled for Win Mobile 5/6 since they support Direct Show capture drivers.
Click to expand...
Click to collapse
Please help, im sure that it will work, there is many devices with USB Host and web cameras are so cheap... That would be great if someone will help !
so this means that with a usb-host capable device,
it is possible to use an external camera?
xeirwn said:
so this means that with a usb-host capable device,
it is possible to use an external camera?
Click to expand...
Click to collapse
If someone will compile it... yes
Here is quote from description:
"The driver supports both USB 1.x and 2.0 (high-speed) cameras. The driver will
expose both uncompressed and MJPEG modes, if supported by the camera."
anyone ? This should be simple...
This would be very cool
to connect a webcam to the phone
(right, that's what it's for?)
NisseDILLIGAF said:
This would be very cool
to connect a webcam to the phone
(right, that's what it's for?)
Click to expand...
Click to collapse
Yes, but USB host is requried...
Ehh it look like I must compile it myself... So many programmers here but noone can do it...
my device Xda Flame has USB OTG version 1.2 compliant. (USB On-The-Go)
and can connect to HD, flash memory, keyboard, mouse etc.
I have posted on our forum http://xdaflameusers.com/viewtopic.php?id=1447
Still no reply..
Really hope someone makes use of this
If you check the developer's link, you can download webcam.dll file (from WebCam_100.zip )
also checked the discussions, a CamTest app is mentioned but where is it??
webcamWhitePaper.doc is also interesting..
EDIT: found the Camtest but no exe file! dl from http://devpi.free.fr/wince/camtest2_cpp.zip
sorry for double posting, but I think I found the answer from the developer himself
As for your initial question, I'm not sure this driver will do what you want. You to want to use the webcam with a Windows Mobile system. If however, you want to display the image through media player, this driver won't help. It doesn't support a proper Direct Show interface.
Microsoft has released a webcam driver (with source) that does support a Direct Show interface. It is written for CE 6, but could be recompiled for Win Mobile 5/6 since they support Direct Show capture drivers. The link for that driver is
http://www.microsoft.com/downloads/...c0-a4ae-42cc-abd0-c466787c11f2&DisplayLang=en
Click to expand...
Click to collapse
copied from here:
http://www.codeplex.com/cewebcam/Thread/View.aspx?ThreadId=17584
I was very close to run it... I used webcam.dll from codeplex (version for arm) but it was compiled for win ce... I used registry key whiich was included to regiister hardware type. Wheen I connected camera it as usualy ask for drivver... but surprise here - it doesn't do this again as usualy, instead of this it show "error installing driver". Camera test is not exe becouse it like driver need to be compiled for windows mobile like driver. I am 100% sure that if driver, filter and cam test app will be compiled for windows mobile it will work fine.... but we need someone who will do it....
Shame that noone here can help us... developers...
What Happend
Wutsup ppl it seems no one is interested anymore in this, if anybody got progress or someone got compiled wm6,wm5 drivers plz share with us
I think nobody's interested because all our HTC devices have cameras in them already (and most new ones have 2). Why plug in another camera?
I need the same thing...
Industrial application with a USB camera hanging off a windows mobile device. Has anybody compiled this driver into windows mobile?
Thanks,
Linda
The project sounds interesting, but I don't think the ExtUSB in HTC devices support host mode. Plus, having a camera dangling from the only data/ power port on the device sounds like a waste.
What would be more interesting is to find a way to connect a web cam to a bluetooth device. My phone has a back camera, but I'd still love to buy a bluetooth camera to attach to the phone.

[DRIVER]USB Scanner driver for devices with USB Host capability

Hey there!
Okay, long story short:
I've got a Toshiba Intermec CN3 device (has USB Host controller) I would like to develop a driver for a USB scanner. Can anybody give me some tips on what needs to be done in order to achieve this?
The problem is that i can't get the Windows Mobile Platform Builder/Developer... because it's way to expensive.
I was thinking of trying to port the USB Scanner Support for Linux...
I know it might sound silly but i looked everywhere and i couldn't find something like this already done. Do you know of any similar drivers?
Thanks guys!
one dont require the platform builder to make or install a driver
for wm
a search for something like this could get you in the general direction of developing
devices drivers for windows mobile
http://www.google.dk/search?source=...+mobile&btnG=Google-søgning&meta=lr=&aq=f&oq=
The guy who started this thread - http://forum.xda-developers.com/showthread.php?t=480899&highlight=zeno+usb - will probably have some answers or tips.
Thank you both for replying.
@Rudegar i don't think you've understood my question ... i don't want to develop a driver for windows XP/Vista that will support a WM device.... what I need is to write a driver to be installed ON a specific windows mobile device that is capable of USB Hosting.
So the way i see it, when you connect a scanner (for example) to the device, the device should then recognize the scanner make it possible for the user to scan documents (for example) directly from the device...
@aiiro i've already pm'ed the guy, hopefully he'll notice my message

Android/Desire Keyboard MOD

Gentlemen Good Day,
I am looking for 3 or 4 Developers for Android Platform.
The idea: When connecting an Android Phone via USB to a Personal Computer, the computer shall recognize the Phone as a regular USB Keyboard. But the
Phone won`t be used as a regular Keyboard,
it`s about something let`s say different and for more spectacular things.
So if you are interested and think you are able to do this, please write a mail to: "sonic.ops AT sonicsn4ke.net"
I will send you an e-mail containing the detailed description.
Regards, sonicsn4ke
EDIT: Here is the detailed PDF Description
View attachment SS4-AD-001-2011.pdf
You mean that you want the devs to create a windows driver, messing with android core to such levels may create problems.
XDA App

Mobile controls TV?

Who can tell me how this ipush linux device work?
today I got a news online:a iPush Wireless HDMI Adapter carried OS: Linux 3.0.8 works as a DLAN/airplay receiver for android OS/iOS devices.
Mod Edit: Link removed )
It’s a white small decive and size like USB. Support Wifi and multi language
Let’s think about what would happened when I use it for inf transmission.
1. After Connect them,my phone will appear on a linux user interface?
2. Can I use my mobile to control this user interface?
3. Should i download any app to achieve that?
my friendes talked about it for long time and without an answer.
Any thoughts?
Please do not post links to tinydeal.com or other websites with referral or affiliate programs.
Thank you!

Categories

Resources