Samuzzal Choudhury
Samuzzal Choudhury

Reputation: 123

USB Serial/CDC function driver

OS: Ubuntu Linux 10.10 Kernel: 2.6.35-30

Query: I need to establish a robust communication between a Windows process and an embedded device on the above platform. What can be a possible solution in this case? Socket programming has already been ruled out in this case. It may sound to you as a very fundamental question but I am new to this domain and will really appreciate your help.

Upvotes: 1

Views: 1463

Answers (2)

Muthu
Muthu

Reputation: 2685

If you are talking about a serial communication of a USB device in Ubuntu, then your device name is something like /dev/ttyUSB(some number). This will appear in your ls command as and when you connect the device.

If you are looking for a simulator for a serial device then I suggest using socat. If you need a reference for socat command, try using this link serial port simulator in linux

Upvotes: 0

jedwards
jedwards

Reputation: 30200

Could you clarify your question?

  1. Do you really mean "Windows USB device driver"?
  2. What is your full setup? (For example:

    The host system is running Ubuntu (Kernel 2.6...) attached to one of it's USB ports is a USB to serial adapter which is connected to the serial port of an embedded device. I need to communicate with the embedded device through a program I'm writing in C.)

Upvotes: 1

Related Questions