Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04

Bug #1972725 reported by Jan
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
pcsc-lite (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This chipset from Realtek (card reader) was supported in Ubuntu 18.04 and 20.04.
After upgrading to Ubuntu 22.04, the card reader no longer works.

The system recognizes 'something' when I plug it in:
Bus 003 Device 007: ID 0bda:0165 Realtek Semiconductor Corp. Smart Card Reader Interface

Yet when I open the software to read my ID, it says "No card reader found". When I plug in my ID, I'm expecting to see a LED turn on but that doesn't happen in 22.04 anymore (still does in 20.04).

This chipset is used in a very common card readers. While it's definitely more than a couple years old, it's still a product that is commonly used.

(please see https://answers.launchpad.net/ubuntu/+question/701636 for more information)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-04-22 (18 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
IwConfig:
 lo no wireless extensions.

 enp3s0 no wireless extensions.
MachineType: MSI MS-7821
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=9c9b89dd-6496-4ec9-974d-fd3b84d8288d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-27-generic N/A
 linux-backports-modules-5.15.0-27-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
RfKill:

Tags: jammy
Uname: Linux 5.15.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 07/21/2014
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.9
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z87-G45 GAMING (MS-7821)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.9:bd07/21/2014:br4.6:svnMSI:pnMS-7821:pvr1.0:rvnMSI:rnZ87-G45GAMING(MS-7821):rvr1.0:cvnMSI:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7821
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1972725/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1972725

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jan (jan-rubbrecht) wrote : Re: [Bug 1972725] Re: Please add RTS5169 support in Ubuntu 22.04

I'm sorry for not mentioning a specific package. In the support call on
launchpad it was suggested to me that it had something to do with the
difference in Linux kernel.
On version 5.10.0 everything is working fine but moving to the 5.15.0
kernel that ships with Ubuntu 22.04, I'm having issues with this chipset.

On Tue, May 10, 2022 at 6:00 PM Brian Murray <email address hidden>
wrote:

> ** Package changed: ubuntu => linux (Ubuntu)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1972725
>
> Title:
> Please add RTS5169 support in Ubuntu 22.04
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1972725/+subscriptions
>
>

tags: added: apport-collected jammy
description: updated
Revision history for this message
Jan (jan-rubbrecht) wrote : AlsaInfo.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : Lspci.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : Lspci-vt.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : Lsusb.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : Lsusb-t.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : Lsusb-v.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : PaInfo.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : ProcModules.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : UdevDb.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : WifiSyslog.txt

apport information

Revision history for this message
Jan (jan-rubbrecht) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Iagoba Apellaniz (iagoba-apellaniz) wrote : Re: Please add RTS5169 support in Ubuntu 22.04

Do someone think that's because snap-packaging? It seems that there are some libraries missing from older distros such as mozilla-opencs etc. Since Firefox is now bundled into a snap, I'm worried if that could be the problem.

Revision history for this message
Jan (jan-rubbrecht) wrote : Re: [Bug 1972725] Re: Please add RTS5169 support in Ubuntu 22.04

I have no idea what it is, but every time I need to log in to a government
website, I have to switch to Windows to make my card reader work.
This is a deal breaker for me. It is only happening in Ubuntu 22.04, no
other major Linux distros.

The packages involved are:
apt install eid-viewer eid-mw
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  *beid-mozilla-extension beid-mozilla-webext libbeidpkcs11-0
libbeidpkcs11-bin libeidviewer0 libnss3-tools*
The following NEW packages will be installed:
  *beid-mozilla-extension beid-mozilla-webext eid-mw eid-viewer
libbeidpkcs11-0 libbeidpkcs11-bin libeidviewer0 libnss3-tools*
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1.027 kB of archives.
After this operation, 3.606 kB of additional disk space will be used.

My system is a pretty standard installation (no alterations with regards to
snap or apt), runs nearly daily updates and there's still no fix. I fail to
see how it has anything to do with Firefox as the software (eid-viewer)
runs without Firefox installed and should read a smart ID card.

At the moment I'm stuck with 1 computer, until my work laptop comes back
from repair. Once that's done I'm going back to Ubuntu 20.04 or even Debian
Bullseye until I know a solution has been found. I have tried 3 different
card readers that are "supported on Linux", yet the latest Ubuntu fails on
all of them.
Everything installs fine but I keep getting the message that no card reader
is found when I launch the id viewer.

On Tue, Jul 19, 2022 at 10:05 AM Iagoba Apellaniz <
<email address hidden>> wrote:

> Do someone think that's because snap-packaging? It seems that there are
> some libraries missing from older distros such as mozilla-opencs etc.
> Since Firefox is now bundled into a snap, I'm worried if that could be
> the problem.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1972725
>
> Title:
> Please add RTS5169 support in Ubuntu 22.04
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1972725/+subscriptions
>
>

summary: - Please add RTS5169 support in Ubuntu 22.04
+ Smart Card Reader (RTS5169) stops working in Ubuntu 22.04
summary: - Smart Card Reader (RTS5169) stops working in Ubuntu 22.04
+ Smart Card Reader (RTS5169 and chipsets) stops working in Ubuntu 22.04
Revision history for this message
gbear14275 (gbear14275) wrote :

Sat Sep 10 03:56:07 2022
 Reader 0: Alcor Micro AU9540 00 00
  Event number: 34
  Card state: Card removed,

Sat Sep 10 03:56:10 2022
 Reader 0: Alcor Micro AU9540 00 00
  Event number: 35
  Card state: Card inserted,

Using pcsc_scan I can see my card but chrome, edge, and VMware horizon prompt me infinitely for the pin and never seem to respond.

Revision history for this message
TomasHnyk (sup) wrote :

In the linked answer, a proposal to turn on the pcscd service with

sudo systemctl start pcscd

fixed the issue.

Now the question is why that service is not running automatically?

affects: linux (Ubuntu) → pcsc-lite (Ubuntu)
Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.