Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Updated CP2102 driver

Need help with peripherals or devices?
Post Reply
Message
Author
RWlodarczyk
Posts: 3
Joined: 2024-04-16 16:07

Updated CP2102 driver

#1 Post by RWlodarczyk »

Good morning!

I'm looking to get an updated CP2102 driver. The fix that I'm looking for was merged into mainline on March 4, 2024 (see: https://github.com/torvalds/linux/commi ... 62ec8a3175). It seems to have been backported to kernel 6.1.86.

I'm running:
- Debian 12
- kernel version: 6.1.0-18-amd64

Is there a way that I can update the CP2102 driver?

Thank you,

Robert.

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Updated CP2102 driver

#2 Post by kalle123 »

What issues do you experience with the default CP2102 driver?

br KH

RWlodarczyk
Posts: 3
Joined: 2024-04-16 16:07

Re: Updated CP2102 driver

#3 Post by RWlodarczyk »

Specifically my USB TTL device is one of these that has a different USB ID, covered in this case:

Code: Select all

{ USB_DEVICE(0x11CA, 0x0212) }, /* Verifone USB to Printer (UART, CP2102) */
So, when I plug in the device, I can't get it to mount to

Code: Select all

/dev/ttyUSB0
or similar. I tried writing a udev rule too, but that didn't work. It seems the driver doesn't even load.

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Updated CP2102 driver

#4 Post by kalle123 »

Have a assortment of those USB UART sticks here. FTDI 232, CP2102, CP2104, CH340 and PL2303.Experienced problems with fake FTDI and PL2303 sticks, but over the years not with the CP2102.

RWlodarczyk
Posts: 3
Joined: 2024-04-16 16:07

Re: Updated CP2102 driver

#5 Post by RWlodarczyk »

Indeed, this is likely due to it being a fake CP2102, so the USB address is incorrect. I'm glad it got added upstream, but without porting that driver down, it'll be a while. In the meantime, I ordered a different USB TTL to dedicate to this project and have confirmed it works because it's a legit CP2102.

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Updated CP2102 driver

#6 Post by kalle123 »

Have to correct myself.

Think I do have one of the 'bad' CP2102s here.

We do some programming of small micro controllers like Arduinos or ATTinys and that one here was send over to me for a check, because the user could not flash firmware with that UART. But it is obvious, that the inscription on the chip has been erased.
Screenshot_2024-04-21_09-08-54.jpg
Comparing this one and a 'good' one (right side) only showed these differences.
Attachments
Screenshot_2024-04-21_09-10-28.jpg

Post Reply