1 |
I'm very new to list servs, so I don't really know if I'm going about this |
2 |
the right way, but I can't really find my USB-serial converter in /dev, and |
3 |
I would appreciate if someone could tell me where I might find it. I'm using |
4 |
an FTDI rs-232 to usb converter, and I installed the driver from their site. |
5 |
I tried |
6 |
|
7 |
echo "test" >> /dev/ttyS0 and the light on the dongle didn't blink, which it |
8 |
does when there's data traveling through it. I tried that with |
9 |
/dev/ttyS0-4. /proc/bus/usb/devices gives me this, among other things: |
10 |
|
11 |
|
12 |
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 |
13 |
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 |
14 |
P: Vendor=0403 ProdID=6001 Rev= 4.00 |
15 |
S: Manufacturer=FTDI |
16 |
S: Product=USB HS SERIAL CONVERTER |
17 |
S: SerialNumber=FTCTXW5O |
18 |
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 44mA |
19 |
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) |
20 |
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms |
21 |
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms |
22 |
|
23 |
I basically just need to open the device as a file in either C++ or Java and |
24 |
write to/read from it. If I'm going about this the wrong way, please let me |
25 |
know. |
26 |
|
27 |
Thanks, |
28 |
-Peter |