Find a driver for 1a86:7523 usb to serial converter (W2K)

I intend to use this (in the beginning not so) nice dingy to attach serial ports over USB to a Virtual Machine running W2KSP4 on my Opensuse Linux notebook. Yep, you guessed right, many things in my collection have serial ports for communication and data exchange.

The plugs just have arrived by mail from Singapore (the shop claimed to be in HK), I had bought them on ebay (searching for USB 2 serial wordlwide and sorted by increasing price & shipping, and they were not really expensive (2.3 Euros incl. shipping and a USB extension cable. Meanwhile, I found a similar adapter *with* driver CD for even 1.69, shipping included, from Mainland China. Strangely, this is much cheaper than buying from a German source, but when buying from a +- local dealer, maybe you won’t run into challenges like this one, at least, it will be easier for you to catch someone whom you may rip off the head in this case). For a windows driver, there was a link on the seller’s page, it pointed to the 1.5M file dx0038.rar, stored on box.net, a filehoster. I ran the setup, plugged the adapter into a USB slot and: Nope! Of course, nothing worked (if it had, you wouldn’t be able to read it here :).

So far the story. Here is the solution (that’s what you’re here for, probably).

In Linux, the lsusb command showed the device ID:
1a86:7523 Unknown HL-340 USB-Serial adapter
Googling for it (it was something like: 1a86:7523 HL-340 USB-Serial), I found this driver archive: href=http://www.winchiphead.com/download/CH341/CH341SER.ZIP.
At http://www.winchiphead.com/download/index.htm, you’ll find some technical schematics that explain how such a converter works. They are in chinese, but the schematics are with western characters and mostly self-explanatory. Winchiphead manufactures one of the chips inside the green dingy, not the adapter itself.

In this archive, there is folder DRIVER. There you’ll find the file CH341SER.INF and some *.SYS files. When Windows asks you for the driver, you need to point it to this INF file. On said notbook, I could install 3 of these converters in parallel. Windows enumerated them as COM3, COM4 and COM5. According to the schematics in the docs, there seems not much difference between the 340 and the 341 flavor. There is another directory in the package labelled INSTALL. There is an executable that seems to be a tool to access serial ports. But it is in chinese; you’ll need a chinese windows in order display the menues and characters correctly. And, of course, you need to be able to read chinese!

During my research, I came over some other sources, too, but they did not work with this converter. I had a look into the file and found the note for Windows 98/Me/2000/XP/Server2003/Vista/64bit XP/64bit Vista. So, it might work there, too. Good luck and have fun!

What might be the reason for this? I suppose, there are various chips in these adapters, requiring different drivers.

With Linux, there seem to be less problems: My Linux host (OpenSuse 11.1, Kernel 2.26.27.48-0.2-default)  recognizes the adapter immediately and mounts it as /dev/ttyUSB0. A second one appears as /dev/ttyUSB1. More on this topic may be found there.

Advertisements
This entry was posted in Computers. Bookmark the permalink.

9 Responses to Find a driver for 1a86:7523 usb to serial converter (W2K)

  1. Davis Sladky says:

    This is a superb post and may be one that ought to be followed up to see what the results are

    A pal e mailed this link the other day and I’m eagerly looking your next blog post. Continue on the top class work.

  2. ourarn says:

    great luck with new posts

  3. Tomasi says:

    Very good, it works perfectly, thx very much =D

  4. Lucas Sanchez says:

    Thanks man! Works like a charm :D

  5. Felix says:

    Works great with rs485 adapters bought on ebay. Thanks :D

  6. Thank you… my uno finally works…

  7. You really make it seem so easy with your presentation but I find this topic to be actually something that I
    think I would never understand. It seems too complicated and extremely broad for me.
    I’m looking forward for your next post, I’ll try to get the hang of
    it!

  8. Titus says:

    I got a USB to serial converter with incorrect driver shipped with it.
    Thanks a lot for your post.

  9. Thank you man! Works great!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s