Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E173z-1 Discovery on wrong tty #155

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments
Open

E173z-1 Discovery on wrong tty #155

GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I have E173z-1 with this vendor and product ids
0x12d1, 0x1506
In file pdiscovery.c I've found, that this model is supported but with wrong 
order of ports in struct device_ids.

Original 
static const struct pdiscovery_device device_ids[] = {
        { 0x12d1, 0x1001, { 2, 1, /* 0 */ } },          /* E1550 and generic */
//      { 0x12d1, 0x1465, { 2, 1, /* 0 */ } },          /* K3520 */
        { 0x12d1, 0x140c, { 3, 2, /* 0 */ } },          /* E17xx */
        { 0x12d1, 0x1436, { 4, 3, /* 0 */ } },          /* E1750 */
        { 0x12d1, 0x1506, { 1, 2, /* 0 */ } },          /* E171 firmware 21.x : thanks Sergey Ivanov */
};

When I changed last line to 
{ 0x12d1, 0x1506, { 2, 1, /* 0 */ } },
discovery works correctly. 

Original issue reported on code.google.com by nameta...@gmail.com on 22 Oct 2013 at 11:10

@GoogleCodeExporter
Copy link
Author

It was me from wrong google account

Original comment by MKa...@gmail.com on 22 Oct 2013 at 11:13

@GoogleCodeExporter
Copy link
Author

Thanks.

modeswitch  can assign same IDs for differ models, and and then not possible to 
distinguish.

also AT^U2DIAG (or other device control command) may can change the order of 
ttys

Better way - resolve tty by USB interface #, but this require additional 
library for supporting.

Original comment by bg_...@mail.ru on 30 Dec 2013 at 9:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant