[DRIVER]USB Scanner driver for devices with USB Host capability - Windows Mobile Development and Hacking General

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

Related

Really Hacking mobile devices

Who can tell me what the "hackable footprint" of a "networked" WM5 device is ?
What I mean is, what ports or services are running on a networked device that I can send commands to ?
Back in the old days with windows, a fresh installed computer had about 12 ports open which enabled a variety of hack attacks.
Using S.O.T.I pocket controller (enterprise) I can see many services running. However, a portscan shows no listeners (quite normal, as there prolly ain't no IIS , SMTP or NETBIOS service running.
The question remains, what's the hackable footprint ? Where should I start to look to hack my way into a networked device ? Has it ever been attempted ?
I did find some usefull stuff here : http://www.phrack.org/phrack/63/p63-0x06_Hacking_WindowsCE.txt
I'm talking about my own device here, not someone elses. Hope I won't be banned for asking this kind of stuff.... I'm just curious.
There's another Phrack article/presentation that goes into more detail on general hacking of WM devices, linking to the post you posted. They don't discuss much network hacking, but day-to-day, there are other ways into the Windows Mobile devices...
V

Remote PDA Management Software

Hi all,
I joined the forum because I'm looking to design a PC application using Visual Studio 2005 that will connect to most phones and allow you to send/receive SMS, manage contacts, perhaps even use any onboard camera as a webcam.
I'm an experienced programmer, but know little about the architecture on the Andes, which is my testbed.
Basically, all I need to get started on the basics is how to communicate with the device using a serial connection (Not in debug mode though!), or the best way to accomplish this if not bluetooth.
Any/all help appreciated. I'm not looking for code just a procedure to establish a serial link that'll allow me to issue commands to the device whilst its in its usual turned on and usable state, or docked. However if you think it'll help please feel free.
Many thanks in advance!
opennetcf.org has examples and a free library which you can download
Eelco
Many thanks! However from what I can see, I'd need the latest version, which is not free :S Any attempt to install the previous SDK's fail as I'm running VS2005...
Ok, to clarify, I'm looking for a framework for a windows application that will enable me to connect to a smartphone, and control it. From what I can tell from the above site, the Opennetcf libraries are for a device application... I've installed the free version of the libraries and they work find under the emulator, but that's not really what I'm after...

[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.

Mounting the Touch Dual/Nike on Linux?

Hey guys! Good looking forum here..
I have an old Ubuntu box that I would like to be able to "talk" to my HTC Touch Dual. Even if its getting access via a "Mass Storage Device" setting of some kind. The ability to transfer files would be a start.
Problem being that there seems to be know way of doing this! At least not without installing software on the phone... which requires a way of transfering the files themselves.
The reason I'm relying on this ubuntu box is as my windows laptop has damaged USB ports that won't allow me to connect any external devices at all. [Its a hardware fault with physical damage to the ports.]
I have heard about using SynCE - but I'm not sure if what I want to do is actually "sync'ing" as such; so whether this tool will work or not is another question all together!
I'm looking for the basic ability to move files - music, videos and photos etc. For testing purposes - then it would also be very desirable for a connection as I'd like to get the Android build up on it!
Cheers in advance!
try installing active sync via Wine
Access to your phone can be done via 'synce'
See http://www.synce.org/moin/SynceInstallation
With that software you can install cabs, access files, synce data etc

Android USB communication

Hello everyone,
i was wondering if anyone could give me any tips about how to communicate with android device through usb from c++ or java(i guess that won't work without JNI though). I was trying to google up some documentation on this matter but found nothing. I wanted to program something like 'nokia ovi' suit as my b.c. 'thesis'.
Thanks for reading this, Tomas Herman
Hi,
Did you found any info on this ?
Certainly should be possible since Sync applications are working ...
Daniel
Yes, this is possible but AFAIK only as a hack. You can install the USB driver for the SDK and use adb's port forwarding. See /code.google.com/p/android-notifier/ as an example. Obviously, not an elegant solution and definitely not for the general Android user.

Categories

Resources