VirtualHere Server 2.5.0 on RaspberryPI caught signal 11 while shut down

I got a SIG 11 while stopping the server.
The process history was that I plugged and unplugged some USB devices and while shut dow nthe server application with + I got he Segmentation fault message

Starting v2.5.0 (Built: Oct 5 2015, 23:26:34)
.....
Oct 14 12:30:52 RPI-eid vhusbd[2547]: Connection 1 successfully removed (reason:server shutdown)
Oct 14 12:30:52 RPI-eid vhusbd[2547]: Connection 2 successfully removed (reason:server shutdown)
Oct 14 12:30:52 RPI-eid vhusbd[2547]: Device 112 UNBOUND from connection 5
Oct 14 12:30:52 RPI-eid vhusbd[2547]: VirtualHere 2.5.0 caught signal 11 (Segmentation fault) and must exit. Sorry for the inconvenience, please contact mail@virtualhere for help
Oct 14 12:30:52 RPI-eid vhusbd[2547]: Backtrace:
Oct 14 12:30:52 RPI-eid vhusbd[2547]: ip = 212ed4, sp = b6fb8ae8
Oct 14 12:30:52 RPI-eid vhusbd[2547]: ip = 2100d8, sp = b6fb8dd8
Oct 14 12:30:52 RPI-eid vhusbd[2547]: End backtrace

As it comes while explicit server application shut down, it's no real problem, but just in case you want to have such issues reported.

Another question is about the meaning of such syslog entries while accessing the USB device:
Oct 14 12:37:25 RPI-eid vhusbd[4584]: Warning, discard urb(0x1b01500) for device /sys/bus/usb/devices/1-1.2 failed, error 22 (Invalid argument)

I get a lot of such entries generated while doing my payload on the device with different numbers in brackets (0x1b01500).

The used device you can see below [04e6:5293]:

Oct 14 12:36:42 RPI-eid vhusbd[4584]: >>> Starting v2.5.0 (Built: Oct 5 2015, 23:26:34)<<<
Oct 14 12:36:42 RPI-eid vhusbd[4584]: Using configuration /usr/bin/config.ini
Oct 14 12:36:42 RPI-eid vhusbd[4584]: Server licensed to=unlicensed max_devices=1
Oct 14 12:36:42 RPI-eid vhusbd[4584]: Using large URB's
Oct 14 12:36:42 RPI-eid vhusbd[4584]: TCPServer starting...
Oct 14 12:36:42 RPI-eid vhusbd[4584]: Listening on all network interfaces at port 7575
Oct 14 12:36:42 RPI-eid vhusbd[4584]: Found Full speed device [04e6:5293] "SCM Microsystems Inc., SCL01x Contactless Reader" at address 112
Oct 14 12:36:44 RPI-eid vhusbd[4584]: Callback: #027VirtualHere USB Sharing#006_vhusb#004_tcp#005local Name Registered
Oct 14 12:36:44 RPI-eid vhusbd[4584]: 192.168.126.72 connected
Oct 14 12:36:49 RPI-eid vhusbd[4584]: 192.168.126.66 connected
Oct 14 12:36:50 RPI-eid vhusbd[4584]: 192.168.126.62 connected
Oct 14 12:37:00 RPI-eid kernel: [343208.083696] usb 1-1.2: reset full-speed USB device number 21 using dwc_otg
Oct 14 12:37:00 RPI-eid vhusbd[4584]: Device 112 BOUND to connection 1
Oct 14 12:37:25 RPI-eid vhusbd[4584]: Warning, discard urb(0x1b01500) for device /sys/bus/usb/devices/1-1.2 failed, error 22 (Invalid argument)

#2

Its saying the warning because the kernel has lost a message sent to it. The kernel should not have lost the message it should have returned or canceled it.

Anyway, can you upgrade your server to 2.5.3. I added some more debug info to those messages to help trace where the bug is...could you post those errors when you run that version

#3

Hello Michael,

here is the syslog Output of Server 2.5.3:

Oct 14 14:32:29 RPI-eid vhusbd[4781]: >>> Starting v2.5.3 (Built: Oct 12 2015, 16:37:20)<<<
Oct 14 14:32:29 RPI-eid vhusbd[4781]: Using configuration /usr/bin/config.ini
Oct 14 14:32:29 RPI-eid vhusbd[4781]: Server licensed to=unlicensed max_devices=1
Oct 14 14:32:29 RPI-eid vhusbd[4781]: Using large URB's
Oct 14 14:32:29 RPI-eid vhusbd[4781]: TCPServer starting...
Oct 14 14:32:29 RPI-eid vhusbd[4781]: Listening on all network interfaces at port 7575
Oct 14 14:32:30 RPI-eid vhusbd[4781]: Callback: #027VirtualHere USB Sharing#006_vhusb#004_tcp#005local Name Registered
Oct 14 14:32:31 RPI-eid vhusbd[4781]: 192.168.126.72 connected
Oct 14 14:32:49 RPI-eid vhusbd[4781]: 192.168.126.66 connected
Oct 14 14:32:51 RPI-eid vhusbd[4781]: 192.168.126.62 connected
Oct 14 14:33:07 RPI-eid vhusbd[4781]: Connection 1 remotely disconnected gracefully (rx)
Oct 14 14:33:13 RPI-eid vhusbd[4781]: Connection 1 ping dropped (1444833193,1444833185,8)...
Oct 14 14:33:17 RPI-eid vhusbd[4781]: Connection 1 ping dropped (1444833197,1444833185,12)...
Oct 14 14:33:17 RPI-eid vhusbd[4781]: Connection 1 successfully removed (reason:timeout)
Oct 14 14:34:02 RPI-eid vhusbd[4781]: 192.168.126.72 connected
Oct 14 14:34:27 RPI-eid kernel: [350255.013698] usb 1-1.2: new full-speed USB device number 28 using dwc_otg
Oct 14 14:34:27 RPI-eid kernel: [350255.137210] usb 1-1.2: New USB device found, idVendor=04e6, idProduct=5293
Oct 14 14:34:27 RPI-eid kernel: [350255.137250] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=7
Oct 14 14:34:27 RPI-eid kernel: [350255.137269] usb 1-1.2: Product: SCL01x Contactless Reader
Oct 14 14:34:27 RPI-eid kernel: [350255.137284] usb 1-1.2: Manufacturer: SCM Microsystems Inc.
Oct 14 14:34:27 RPI-eid kernel: [350255.137299] usb 1-1.2: SerialNumber: 21161044204823
Oct 14 14:34:27 RPI-eid vhusbd[4781]: Found Full speed device [04e6:5293] "SCM Microsystems Inc., SCL01x Contactless Reader" at address 112
Oct 14 14:34:42 RPI-eid kernel: [350270.413686] usb 1-1.2: reset full-speed USB device number 28 using dwc_otg
Oct 14 14:34:42 RPI-eid vhusbd[4781]: Device 112 BOUND to connection 4
Oct 14 14:34:43 RPI-eid pcscd: ccid_usb.c:514:OpenUSBByName() Can't claim interface 1/28: -6
Oct 14 14:34:43 RPI-eid pcscd: ifdhandler.c:117:CreateChannelByNameOrChannel() failed
Oct 14 14:34:43 RPI-eid pcscd: readerfactory.c:972:RFInitializeReader() Open Port 0x200000 Failed (usb:04e6/5293:libudev:0:/dev/bus/usb/001/028)
Oct 14 14:34:43 RPI-eid pcscd: readerfactory.c:279:RFAddReader() SCM Microsystems Inc. SCL01x Contactless Reader [SCL01x Contactless Reader] (21161044204823) init failed.
Oct 14 14:34:43 RPI-eid pcscd: hotplug_libudev.c:379:HPAddDevice() Failed adding USB device: SCM Microsystems Inc. SCL01x Contactless Reader
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4e00 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ee0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4fc0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:31 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e20 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f77c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ec0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4fa0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5080 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e60 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ec0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4fa0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5080 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e60 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ec0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4fa0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5080 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7e60 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd100 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd100 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd100 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4ff0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:32 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f4f30 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f5020 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7de0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd190 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f78b0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f78b0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f7780 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11dd0c0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
Oct 14 14:35:33 RPI-eid vhusbd[4781]: Error 22 discarding urb 0x11f78b0 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)

#4

Looks like your pi is trying to simultaneously access your smart card reader, only one program can access it at a time, try disabling the pi smart card driver

ok I disabled the pcscd on the PI.
But syslog is almost the same.
It changed back from
Error 22 discarding urb 0x11f4f10 for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)
into
Error 22 discarding urb 0x1821e80 for device /sys//bus/usb/devices/1-1.2, Invalid argument (abort endpoint)

Do I need all the pcsc / ccid stuff on the PI?
If it's the best, I would like to uninstall all stuff, which interference the local USB Access on the PI.

If I'm using the same Card Reader on Windows with virtuaHere GUI Windows Client I do not get such error in syslog, but the Transaction Fails at same Point in my application.

If i'm using a card reader "ReinerSCT cyberJack RFID basis" == [0c4b:9102] via Windows GUI Client, the whole transaction is successful and no syslog entries, too.

#8

Yes the SCM SCL011 card readers are the one shown on page http://www.identive-infrastructure.com/index.php/products-solutions/sma…

They are mostly the type "SCL011-generic" == [04e6:5293]
and one "SCL011-nPA" with different ID [04e6:5292].

On VirtualHere server the "SCM SCL011" reader are found and shown in logfile as
Found Full speed device [04e6:5293] "SCM Microsystems Inc., SCL01x Contactless Reader"

The used Firmware on "SCL011-generic" is 1.18

#9

OK, im going to test on one of those devices and see if i can find the problem...

#10

Can you try 2.5.6 of the server and let me know if its ok now.

I have used the new server 2.5.6 and latest Linux client 3.2.2 but I still get those error entries
Error 22 discarding urb 0x..... for device /sys//devices/platform/soc/20980000.usb/usb1/1-1/1-1.2, Invalid argument (abort endpoint)

Maybe I should update some components?
My RaspberryPI is running on 4.1.10 kernel
libusb ++ 0.1.12-20
libusb 0.1.12-20
libusb-dev 0.1.12-20
additionally the libusb 1.0.11-1 is installed, but no related libusb-dev 1.0.x

Does it help you if I trace the USB Access to that Card Reader on a Windows PC where the interworking works fine (real PC or VM connected via Digi AnywhereUSB box)?
If so I would try that usblyzer...

#12

I picked up a SCL011 on ebay and tested it yesterday by running this http://www.scardsoft.com/index.php?Theme=Soft_v3Server in a windows 7 64-bit vm and scanning several smartcards i have about 20 times and i didnt see that message appear in the pi log that you see.

What software are you running? Im hopeful i can fix this, if digi anywhere works virtualhere should too!

What is your scenario...is it just listening for cards to be scanned on the reader for a while like 5 minutes or something and it will start logging the abort errors in the pi log? Or is it scanning lots of cards all the time and after a while it causes the error?

The card reader is used to access the german ID Card, refer to https://en.wikipedia.org/wiki/German_identity_card#Chip
While establishing the channel a lot of cryptographically operation is done.
Notice: Some APDUs are extended APDUs, if this is a potential issue and there the APDUs are send as a Batch.

Exactly at the same point of communication the dialog fails, so it's an issue related to that batch C-APDU

I think the extended APDUs can not be an issue here, because the failing C-APDU is the longests one at this point, but always has a length of 520 hex digits or in other words 209 bytes after converting them into "binary". This is below 255 bytes for Standard APDUs.
And in a working case where Card Reader is connected directly to PC, the response APDU has a length of 16 Bytes only.

One of my customers is posting a similar device with the same problem to me, so when I receive that and I test I think it will solve your problem also hopefully in the next week or two

Ok i received the smartcard device and i can see a raspberry pi kernel bug, my syslog says "...FIQ reported NYET data may have been lost..."

Can you edit the /boot/cmdline.txt file on your raspberry pi and add dwc_otg.fiq_fsm_mask=0x5 then reboot your pi and see if the smartcard works ok now..

#17

My syslog never showed such entries, but nevertheless I added the entry in my /boot/cmdline.txt to give it a try.
The Parameter was applied while booting, but my broblem still exists. The "one" special APDU Fails.
And the lot entries on RaspberryPI are still present Error 22 discarding urb ..... for device /sys//bus/usb/devices/1-1.2, Invalid argument (abort endpoint)

Do you need some USB traffic capture? I could give you a traffic comparision from communication on real PC over real USB hub and via VirtualHere on the same machine.

#18

I have similar crash in 2.5.6. Except that it happens during normal operation, a few minutes after start up.

Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: >>> Starting v2.5.6 (Built: Oct 17 2015, 08:12:09)<<<
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: Using configuration /home/pi/config.ini
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: Server licensed to=00000000c91b8e68 max_devices=unlimited
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: Using large URB's
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: TCPServer starting...
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: Listening on all network interfaces at port 7575
Nov 11 11:51:30 raspberrypi vhusbdarm[2123]: Found Full speed device [0403:6001] "FTDI, USB-RS485 Cable" at address 113
Nov 11 11:51:30 raspberrypi ntpd[2043]: Listen normally on 2 eth0 192.168.1.222 UDP 123
Nov 11 11:51:30 raspberrypi ntpd[2043]: peers refreshed
Nov 11 11:51:31 raspberrypi ntpd_intres[2049]: DNS 0.debian.pool.ntp.org -> 85.254.217.3
Nov 11 11:51:31 raspberrypi ntpd_intres[2049]: DNS 1.debian.pool.ntp.org -> 178.16.23.50
Nov 11 11:51:31 raspberrypi ntpd_intres[2049]: DNS 2.debian.pool.ntp.org -> 89.111.54.85
Nov 11 11:51:31 raspberrypi ifplugd(eth0)[1563]: Program executed successfully.
Nov 11 11:51:31 raspberrypi ntpd_intres[2049]: DNS 3.debian.pool.ntp.org -> 178.16.23.50
Nov 11 11:51:31 raspberrypi vhusbdarm[2123]: Callback: #033VirtualHere USB Sharing (2)#006_vhusb#004_tcp#005local Name Registered
Nov 11 11:51:33 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:51:34 raspberrypi vhusbdarm[2123]: Connection 1 remotely disconnected gracefully (rx msg size)
Nov 11 11:52:04 raspberrypi vhusbdarm[2123]: Connection 1 ping dropped (31sec)...
Nov 11 11:52:04 raspberrypi vhusbdarm[2123]: Connection 1 successfully removed (reason:timeout)
Nov 11 11:52:21 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:52:21 raspberrypi kernel: [ 53.867916] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Nov 11 11:52:21 raspberrypi kernel: [ 53.868097] ftdi_sio 1-1.3:1.0: device disconnected
Nov 11 11:52:21 raspberrypi kernel: [ 53.947511] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 11:52:21 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 2
Nov 11 11:52:48 raspberrypi vhusbdarm[2123]: Connection 2 remotely disconnected gracefully (rx msg size)
Nov 11 11:52:50 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:52:56 raspberrypi vhusbdarm[2123]: Connection 2 ping dropped (8sec)...
Nov 11 11:53:00 raspberrypi vhusbdarm[2123]: Connection 2 ping dropped (12sec)...
Nov 11 11:53:00 raspberrypi vhusbdarm[2123]: Device 113 UNBOUND from connection 2
Nov 11 11:53:00 raspberrypi vhusbdarm[2123]: Connection 2 successfully removed (reason:timeout)
Nov 11 11:53:00 raspberrypi kernel: [ 93.087560] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 11:53:00 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 3
Nov 11 11:53:26 raspberrypi vhusbdarm[2123]: Connection 3 remotely disconnected gracefully (rx msg size)
Nov 11 11:53:32 raspberrypi vhusbdarm[2123]: Connection 3 ping dropped (7sec)...
Nov 11 11:53:35 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:53:36 raspberrypi vhusbdarm[2123]: Connection 3 ping dropped (11sec)...
Nov 11 11:53:36 raspberrypi vhusbdarm[2123]: Device 113 UNBOUND from connection 3
Nov 11 11:53:36 raspberrypi vhusbdarm[2123]: Connection 3 successfully removed (reason:timeout)
Nov 11 11:53:36 raspberrypi kernel: [ 129.077509] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 11:53:36 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 4
Nov 11 11:54:10 raspberrypi vhusbdarm[2123]: Connection 4 remotely disconnected gracefully (rx msg size)
Nov 11 11:54:12 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:54:16 raspberrypi vhusbdarm[2123]: Connection 4 ping dropped (8sec)...
Nov 11 11:54:20 raspberrypi vhusbdarm[2123]: Connection 4 ping dropped (12sec)...
Nov 11 11:54:20 raspberrypi vhusbdarm[2123]: Device 113 UNBOUND from connection 4
Nov 11 11:54:20 raspberrypi vhusbdarm[2123]: Connection 4 successfully removed (reason:timeout)
Nov 11 11:54:20 raspberrypi kernel: [ 173.087524] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 11:54:20 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 5
Nov 11 11:54:44 raspberrypi vhusbdarm[2123]: Connection 5 remotely disconnected gracefully (rx msg size)
Nov 11 11:54:48 raspberrypi vhusbdarm[2123]: Connection 5 ping dropped (8sec)...
Nov 11 11:54:48 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 11:54:52 raspberrypi vhusbdarm[2123]: Connection 5 ping dropped (12sec)...
Nov 11 11:54:52 raspberrypi vhusbdarm[2123]: Device 113 UNBOUND from connection 5
Nov 11 11:54:52 raspberrypi vhusbdarm[2123]: Connection 5 successfully removed (reason:timeout)
Nov 11 11:54:52 raspberrypi kernel: [ 205.107548] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 11:54:52 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 6
Nov 11 12:01:48 raspberrypi vhusbdarm[2123]: Connection 6 ping dropped (8sec)...
Nov 11 12:01:52 raspberrypi vhusbdarm[2123]: Connection 6 ping dropped (12sec)...
Nov 11 12:01:52 raspberrypi vhusbdarm[2123]: Device 113 UNBOUND from connection 6
Nov 11 12:01:52 raspberrypi vhusbdarm[2123]: Connection 6 successfully removed (reason:timeout)
Nov 11 12:02:18 raspberrypi vhusbdarm[2123]: 192.168.0.232 connected
Nov 11 12:02:20 raspberrypi kernel: [ 652.747497] usb 1-1.3: reset full-speed USB device number 4 using dwc_otg
Nov 11 12:02:20 raspberrypi vhusbdarm[2123]: Device 113 BOUND to connection 7
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: VirtualHere 2.5.6 caught signal 11 (Segmentation fault) and must exit. Sorry for the inconvenience, please contact mail@virtualhere for help
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: Backtrace:
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: ip = 21300c, sp = b6f21bd0
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: ip = 17878, sp = b6f21ec0
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: ip = 17abc, sp = b6f21ee0
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: ip = 20fca0, sp = b6f21f08
Nov 11 12:08:34 raspberrypi vhusbdarm[2123]: End backtrace
Nov 11 12:08:34 raspberrypi kernel: [ 1026.819951] BUG: Bad page map in process vhusbdarm pte:f7ff6001 pmd:1b32a831
Nov 11 12:08:34 raspberrypi kernel: [ 1026.830564] addr:b6ea0000 vm_flags:00100073 anon_vma:db3eb700 mapping: (null) index:b6ea0
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842424] CPU: 0 PID: 2164 Comm: vhusbdarm Not tainted 3.18.7+ #755
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842668] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842722] [] (show_stack) from [] (dump_stack+0x20/0x28)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842773] [] (dump_stack) from [] (print_bad_pte+0x10c/0x1ac)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842810] [] (print_bad_pte) from [] (vm_normal_page+0x60/0xb8)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842842] [] (vm_normal_page) from [] (unmap_single_vma+0x278/0x690)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842870] [] (unmap_single_vma) from [] (unmap_vmas+0x64/0x78)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842901] [] (unmap_vmas) from [] (exit_mmap+0xe8/0x260)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842938] [] (exit_mmap) from [] (mmput+0x48/0x11c)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.842971] [] (mmput) from [] (do_exit+0x278/0xa58)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843000] [] (do_exit) from [] (do_group_exit+0x50/0xf0)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843036] [] (do_group_exit) from [] (get_signal+0x1bc/0x6fc)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843073] [] (get_signal) from [] (do_signal+0x1ac/0x400)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843106] [] (do_signal) from [] (do_work_pending+0xc0/0x110)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843135] [] (do_work_pending) from [] (work_pending+0xc/0x20)
Nov 11 12:08:34 raspberrypi kernel: [ 1026.843149] Disabling lock debugging due to kernel taint

I'll have to revert to an older version.

That crash appears to be from the kernel, i would suggest rolling back your raspbian first before trying an older virtualhere...

e.g this message "BUG: Bad page map in process vhusbdarm pte:f7ff6001 pmd:1b32a831" is actually from the kernel

#21

Hello Michael,

after so many time, 1,5 years ;-) I tried again the issue where the SCM SCL011 Contactless Reader is not able to work for the german ID card

I upgraded the RaspberryPI OS to get the newest 4.9.30 kernel, just in case that kernel has some fixes, but it wasn’t.

After a lot of reading about issues with the poor RaspberryPI USB hub, I have found a (bad) solution to get it working. :-)

I added to the /boot/cmdline.txt that option
dwc_otg.speed=1

This setting forces the USB ports into USB 1.1 mode.
It’s a partly bad solution, because the network interface speed is down, too.

But my former failing communication with the german ID card is working now fine over VirtualHere.
I want to tell you that, just in case for other issues with low speed USB devices on RaspberryPI.

BTW: The syslog is still full of those entries Error 22 discarding urb 0x1821e80 for device /sys//bus/usb/devices/1-1.2, Invalid argument (abort endpoint)
But it's ok for me

#22

OK great! Thanks for the info, that might be useful for other people. So its definitely a bug in the raspbian kernel for 1.1 devices.