usb DEVICE drivers

ihar
Could anybody says me:
are there any usb DEVICE driver for WinCe(to create Virtual COM or for
simple BULK communications , for example)? 
It seems that they are absent in Linux.

skip2816
Hi ihar,

the factory default linux kernel ist very poor on compiled in USB drivers.
But you can compile your own one with more driver support.
I did this successful for USB audio, USB modem and USB to serial converter.
The drivers self are all included in the kernel package from these web
site.

skip

ihar
Hi skip!
Is your USB serial convertor DEVICE or HOST driver?
Ihar

skip2816
Hi Ihar,

my USB to serial converter is not a real converter, it's a short wave
receiver, connected by a USB cable. Its controlled (frequency ...) by USB
to serial protocol an the sound comes over USB audio. for both together,
one single cable is used. My micro is host and the receiver is device.

Satish
Using Usb Host driver i connect dotmatrix printer (i.e TVS MSP-250champ) 
it's printing special characters.....why i resolve this issue.

Please help me it's very urgent for my project.

domdom
It's possible to configure USB device (USB type B connector) to have a
serial communication between the mini2440 and a PC.
See SYSGEN_USBFN_SERIAL (search it in the catalog items view of Platform
Builder).
I didn't test this solution with mini2440 but with another Windows CE 5.0
device.
domdom

jeangr
I found in C:\WINCE500\PUBLIC\COMMON\OAK\CATALOG\CEC\usb.cec
the line
FeatureVariable ( "SYSGEN_USBFN_SERIAL", "1" )

if I set this variable to 0, USB type B connector becomes an host?

domdom
No, you must never change c:\wince600\public content.

In Platform Builder, you have to add the component \USB function
clients\Serial that you can find by searching SYSGEN_USBFN_SERIAL in the
catalog item search.

If USB Function Clients\Mass Storage is not selected, you should directly
be able to do a serial communication between the mini2440 and your PC.

In Activesync, file menu, connexion parameters (my XP is French, i
translate it, but it is certainly not the exact translation). Uncheck
"Allow USB connexion". 

To access serial com on your PC, you must use the name "\\\\.\\wceusbsh001"
(example : CreateFile(TEXT("\\\\.\\wceusbsh001"), GENERIC_READ |
GENERIC_WRITE, 0 , NULL, OPEN_EXISTING, 0, NULL); )

On the mini2440, it should be comX, I don't know what is the value of X (I
didn't try on the mini2440).

domdom

jeangr
ok thanks.... I have problems in managing 2 USB devices with a USB hub: the
pen and a wifi VNT6656 and a multiserial FTDI chip why not work in
contemporary. So I would like to use the USB type B connector to have
another USB port without using a USB hub ...
Maybe I'm wrong elements to insert in the catalog items.
I insert these items concerning the 'usb':
 
Asyncmac NDIS Driver (for activesync)
RNDIS Client         (without this item the arm can not find USB devices)
Serial               (for activesync)
OHCI                 (EHCI and UHCI are not allowed)
USB host support
Samsung 2440A CSP

something is missing or in conflict?
I have to use 2 usb devices with an hub

thank you very much

domdom
You can use the type B connector for activsync connexion, serial
communication (see my previous post) or mass storage (the mini2440 will be
seen as a USB key when connected on a PC).
I don't know about problems using USB hubs.
domdom