RE: PL2303 Driver Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

Thanks for your assistance.

I am using RXTXComm API for getting list of serial ports and available USB ports. I have attached the java code for your kind glance.
For some of the point of sales machines the telxon device is working. 

If the connection is successful, the following information is displaying.

Bus 001 Device 003: ID 0557:2008 ATEN International Co. Ltd.
                Language IDs: none (invalid length string descriptor 63; len=7)

If the connection is failed, the following information is displaying.

Bus 001 Device 002: ID 0557:2008 ATEN International Co. Ltd.
string descriptor 1 invalid (00 00; len=52)
string descriptor 2 invalid (00 00; len=48)

I am less proficient in linux. So kindly help me in resolving this issue.

What does it mean "string descriptor 1 invalid"?
Is it causing the problem. If so please let know how to resolve this.


Thanks & Regards,
Praveen Kumar Reddy K
Hewlett-Packard Company

#101, 1035 64 Ave SE ,Calgary, AB, T2H 2J7, CANADA

+1 403 692 7914 / Tel 
+1 403 619 8242 / Mobile 
praveen-kumar.reddy-kaveri@xxxxxx / Email




-----Original Message-----
From: Greg KH [mailto:greg@xxxxxxxxx] 
Sent: Sunday, October 07, 2012 8:47 AM
To: Reddy Kaveri, Praveen Kumar
Cc: linux-serial@xxxxxxxxxxxxxxx
Subject: Re: PL2303 Driver Issue

On Sat, Oct 06, 2012 at 06:33:19PM +0000, Reddy Kaveri, Praveen Kumar wrote:
> Hi,
> 
> I am using Telxon PTC-710 device in linux environment and I am using
> RS232 Serial to USB converter. When I connect the device to USB port
> it is detecting and showing in the system log as "attached to
> ttyUSB0".  I have written a java program to display all the available
> ports. But this program is displaying only ttyS0 &ttyS1. I have tried
> to set all permissions to the user as well as to port. Please help me
> if I am missing any configuration related to this driver.

You are going to have to modify your userspace program to know to look
for the ttyUSBX devices as well.  There's nothing the kernel can do
about this.

As you wrote the program, how are you getting the list of serial devices
in the system?

greg k-h

Attachment: SerialProgramming.java
Description: SerialProgramming.java


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux