denio
(usa Slackware)
Enviado em 23/04/2019 - 12:23h
Pessoal, boa tarde.
Estou com uma questão na distribuição Slackware a partir da versão 14.2, pois toda vez que plugo um PINPAD Gertec PPC902 o Kernel ejeta o dispositivo como se ele não estivesse mais plugado.
Fiz testes no Linux Slackware 14.1 e também outras distribuições como Linux Mint 19 e funcionam sem problemas, já com o Slackware 14.2 e também com a versão corrente do Slackware o problema ocorre.
Monitorando o UDEV podemos observar:
root@darkstar:/u# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[3626.013100] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
KERNEL[3626.015922] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
KERNEL[3626.017935] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/tty/ttyACM0 (tty)
KERNEL[3626.017993] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
KERNEL[3626.018037] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
KERNEL[3626.018078] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
KERNEL[3626.018127] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
KERNEL[3626.086078] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/tty/ttyACM0 (tty)
KERNEL[3626.086128] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
KERNEL[3626.086160] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
KERNEL[3626.086192] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
KERNEL[3626.086225] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
KERNEL[3626.086639] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
KERNEL[3626.086690] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV [3626.538480] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV [3626.545897] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
UDEV [3626.545943] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV [3626.546245] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
UDEV [3626.547268] add /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/tty/ttyACM0 (tty)
UDEV [3626.547527] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV [3626.547720] bind /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV [3626.548004] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
UDEV [3626.548567] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/tty/ttyACM0 (tty)
UDEV [3626.548612] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1 (usb)
UDEV [3626.548931] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV [3626.549360] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0 (usb)
UDEV [3626.549570] unbind /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
UDEV [3626.550063] remove /devices/pci0000:00/0000:00:1d.1/usb3/3-1 (usb)
--------------------------------------------------- RESULTADO DO DMESG ----------------------------------------------------------------
[ 900.329260] usb 3-2: new full-speed USB device number 7 using uhci_hcd
[ 900.499278] usb 3-2: Dual-Role OTG device on non-HNP port
[ 900.502284] usb 3-2: New USB device found, idVendor=1753, idProduct=c902, bcdDevice= 0.01
[ 900.502288] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 900.502292] usb 3-2: Product: PPC920 Pinpad Terminal
[ 900.502295] usb 3-2: Manufacturer: GERTEC
[ 900.505428] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
[ 900.507994] usb 3-2: USB disconnect, device number 7
Alguém com alguma sugestão!?
Obrigado!