PDA

Bekijk de volledige versie : Virtual serial port (CDC Class)



Snail.cz
08-03-2009, 21:31
Hi,
when I insert my hardware(CDC Class) to USB port, it is enumerate right, but no new serial port will appear (/dev/tts/)...

Where I should looking for a new USB device ?



Excuse my english....:confused:

al37919
09-03-2009, 00:25
Hi,
when I insert my hardware(CDC Class) to USB port, it is enumerate right
why do you think so?
If it is common pl2303 or ftdi based devices --- there are special modules which should be loaded before usbserial. If it is a completely generic solution, you need to load usbserial with parameters:

insmod usbserial vendor=0x1234 product=0x5678
Aha, finally, it will be located not at /dev/tts..., but at /dev/usb/tts/0

Snail.cz
09-03-2009, 11:46
why do you think so?
I built this hardware .... (it is enumerate right)



insmod usbserial vendor=0x1234 product=0x5678
vendor and product is vendor and produkt ID in device ?

Thanks, I will try it...

Hi

Snail.cz
09-03-2009, 16:42
It's working.
Thanks... :D