Re: Problem with card reader on Debian 11

2022-11-20 Thread Curt
On 2022-11-20, Claudia Neumann wrote: > > I read the answer in stackoverflow, but I don't know how I should implement > it with /dev/ > ttyACM0. > There appears to be a Debian package that contains a utility to read the German Gesundheitkarte (/usr/bin/egk-tool); maybe du solltest take a gander

Re: Problem with card reader on Debian 11

2022-11-20 Thread Claudia Neumann
Hi again, I read the answer in stackoverflow, but I don't know how I should implement it with /dev/ ttyACM0. I don't initiate oder configure /dev/ttyACM0. Ich send my request to the device and the device answers. How would I configure it to answer with 256 Bytes? Best regards Claudia Am Mont

Re: Problem with card reader on Debian 11

2022-11-14 Thread tomas
[CC'ing Claudia per her own wish] On Sun, Nov 13, 2022 at 04:34:30PM -, Curt wrote: > On 2022-11-12, to...@tuxteam.de wrote: > > > > If that is successful, the next step would be to tell udev to stop > > loading that module. But first steps first :) > > > > There is an oddly analogous thread

Re: Problem with card reader on Debian 11

2022-11-14 Thread tomas
On Sat, Nov 12, 2022 at 02:14:25PM +0100, Claudia Neumann wrote: > Hi Tomas, > > mmh, may be it has something to do with cdc_acm. [...] Possibly. But if there is no module, there is no ttyACM0, and you need that :-) I am sorry I have to postpone things a bit. I'm flooded at the moment, but migh

Re: Problem with card reader on Debian 11

2022-11-13 Thread Curt
On 2022-11-12, to...@tuxteam.de wrote: > > If that is successful, the next step would be to tell udev to stop > loading that module. But first steps first :) > There is an oddly analogous thread (but maybe 64 bytes from ttyacm0 is a thing) below from way back when that incriminates the code, whic

Re: Problem with card reader on Debian 11

2022-11-12 Thread Claudia Neumann
Hi Tomas, mmh, may be it has something to do with cdc_acm. On Debian 10, where the reading is okay, cdc_acm is inserted in the kernel if I insert the device. If I 'rmmod cdc_acm' the /dev/ttyACM0 disappears und so I cannot read from the device. Perhaps I have to deactivate the registration of

Re: Problem with card reader on Debian 11

2022-11-12 Thread tomas
On Sat, Nov 12, 2022 at 09:38:34AM +0100, Claudia Neumann wrote: > Am Freitag, 11. November 2022, 19:37:08 CET schrieb to...@tuxteam.de: > > On Fri, Nov 11, 2022 at 04:38:21PM +0100, Claudia Neumann wrote: > > > Hi Tomas, > > > > Hi Tomas, > > I did as you said. You find the results in the attach

Re: Problem with card reader on Debian 11

2022-11-12 Thread Claudia Neumann
Am Freitag, 11. November 2022, 19:37:08 CET schrieb to...@tuxteam.de: > On Fri, Nov 11, 2022 at 04:38:21PM +0100, Claudia Neumann wrote: > > Hi Tomas, > > Hi Tomas, I did as you said. You find the results in the attachments. There is a differenz in udev behaviour on inserting the device. Perhap

Re: Problem with card reader on Debian 11

2022-11-11 Thread tomas
On Fri, Nov 11, 2022 at 04:38:21PM +0100, Claudia Neumann wrote: > Hi Tomas, > > > Am Freitag, 11. November 2022, 06:54:36 CET schrieb to...@tuxteam.de: > > On Thu, Nov 10, 2022 at 11:21:21PM +0100, Claudia Neumann wrote: [...] Thanks. The only difference I can see is: [Debian 11] [...] > Afte

Re: Problem with card reader on Debian 11

2022-11-11 Thread Claudia Neumann
Hi Tomas, Am Freitag, 11. November 2022, 06:54:36 CET schrieb to...@tuxteam.de: > On Thu, Nov 10, 2022 at 11:21:21PM +0100, Claudia Neumann wrote: > > Hi all, > > > > I programmed a library to read german electronic health cards from special > > devices certified in Germany. > > > > After an upda

Re: Problem with card reader on Debian 11

2022-11-10 Thread tomas
On Thu, Nov 10, 2022 at 11:21:21PM +0100, Claudia Neumann wrote: > Hi all, > > I programmed a library to read german electronic health cards from special > devices > certified in Germany. > > After an update from Debian 10 to Debian 11 one of these card readers reads > only 64 > bytes using /de

Problem with card reader on Debian 11

2022-11-10 Thread Claudia Neumann
Hi all, I programmed a library to read german electronic health cards from special devices certified in Germany. After an update from Debian 10 to Debian 11 one of these card readers reads only 64 bytes using /dev/ttyACM0. It should read 256 Bytes which it did from 2010 on. Something must have