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. Perhaps it is 
this Flexocard 
identification. The device I am using is not a Flexocard device. I don't know 
if there is a 
relation between Zemo, the manufacturer of the VML-GK2, and Flexocard. 

How can I get rid of that Flexocard configuration? 

I tried 
stty -F /fev/ttyACM0 115200 parenb -parodd -cstopb
which was used in the old times on /dev/ttyS0. But that did not change 
anything. So it 
seems to be something with udev??

Thanks for the help.

Best regards

Claudia

> > 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]
> [...]
> 
> > After:
> [...]
> 
> > Bus 001 Device 008: ID 1f61:0001 Flexocard GmbH VML-GK2 (USB)
> 
> [...]
> 
> >   iManufacturer           1 Flexocard GmbH
> >   iProduct                2 VML-GK2 (USB)
> >   iSerial                 3 2009002
> 
> [Debian 10];
> [...]
> 
> > After:
> [...]
> 
> > Bus 001 Device 014: ID 1f61:0001
> 
> [...]
> 
> >   iManufacturer           1
> >   iProduct                2
> >   iSerial                 3
> 
> This would kind of make sense: the newer kernel has a more complete
> USB device database and "knows" the Flexocard device.
> 
> Now I see a couple of possibilities. Either the newer drivers are
> buggy, or some other program (perhaps courtesy of udev) "thinks" it
> has to take care of this USB gadget. To get a clearer idea about the
> second, you might try to run "udevadm monitor" while you insert your
> device.
> 
> Another thing to check is whether any application has /dev/ttyACM0
> (that was its name, wasn't it?) open is to query it with `lsof`.
> 
> Ah, you might also want to see what parameters this pseudo-serial
> interface it has, e.g. `stty -a < /dev/ttyACM0'.
> 
> Sorry: if it seems like I'm poking in the dark, then that' perhaps
> because I am :-)
> 
> Cheers
> --
> tomás


root@Mediondebn:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[2035.060329] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
KERNEL[2035.067291] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
KERNEL[2035.067318] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
KERNEL[2035.067352] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
UDEV  [2035.079950] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
UDEV  [2035.082479] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
KERNEL[2035.088880] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
KERNEL[2035.088911] add      
/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/tty/ttyACM0 (tty)
KERNEL[2035.088951] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
KERNEL[2035.088970] add      /bus/usb/drivers/cdc_acm (drivers)
KERNEL[2035.088983] add      /module/cdc_acm (module)
UDEV  [2035.089029] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
UDEV  [2035.089748] add      /bus/usb/drivers/cdc_acm (drivers)
UDEV  [2035.090184] add      /module/cdc_acm (module)
UDEV  [2035.093556] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
UDEV  [2035.094826] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
UDEV  [2035.095798] add      
/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/tty/ttyACM0 (tty)
UDEV  [2035.096868] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)

No message on lsof | grep ttyACM

root@Mediondebn:~# stty -a < /dev/ttyACM0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = 
<undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase 
= ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff 
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt 
echoctl echoke -flusho -extproc
root@Mediondebn:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[145.449225] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
KERNEL[145.450616] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
KERNEL[145.450776] add      
/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/tty/ttyACM0 (tty)
KERNEL[145.450800] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
KERNEL[145.450821] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
KERNEL[145.450844] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
KERNEL[145.450867] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
UDEV  [145.454702] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)
UDEV  [145.455832] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
UDEV  [145.456187] add      /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
UDEV  [145.456878] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1 
(usb)
UDEV  [145.457303] add      
/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/tty/ttyACM0 (tty)
UDEV  [145.458222] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0 
(usb)
UDEV  [145.462165] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-4 (usb)

No message on lsof | grep ttyACM0

root@Mediondebn:~# stty -a < /dev/ttyACM0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = 
<undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase 
= ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff 
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt 
echoctl echoke -flusho -extproc

Reply via email to