Unstable VH USB Server on Raspberry Pi with OSX Client

12 posts / 0 new
Last post
BigBalou
Unstable VH USB Server on Raspberry Pi with OSX Client

Problem
Sometimes one can establish a connection with the scanner but often not. It is really a trail-on-error happening. Are you lucky to have an connection, the result of the scanner is poor and not usable (various gray bars on scan).
I was very enthusiastic about VirtualHere but it dropped dramatically fast and for me not usable at this stage.

Client: OSX Mavericks 10.9.4/Virtualhere Client version 2.4.4
VENDOR: EPSON
PRODUCT: EPSON Scanner
VENDOR ID: 0x04B8
PRODUCT ID: 0x012F
HUB: 0011
PORT: 0002

Raspberry Pi B+ model, supplied with 5.2V/2A adapter:
VirtualHere USB Server. Share USB Devices over the network
(C) VirtualHere Pty. Ltd 2010-2014
http://www.virtualhere.com

usage: vhusbdpin [-bcdohl] [-c ]

The Raspberry Pi is connect with a Epson Perfection V350 PHOTO.
Read often that it could be a power supply issue of the Raspberry. That why I'am using a 5.2 Volt adapter. But still it is not stable.

Michael
OK firstly can you update the

OK firstly can you update the raspberry pi firmware by doing the following

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
sync
reboot

Once thats done and if there is still an error i will assume it could be in virtualhere and ill take a look

BigBalou
Unstable

Michael, thanks for responding so quick.
I've put a new image on the SD-card and done everything you suggested. Did a 'sudo apt-get install avahi-daemon' for the vhusbdpin asked for
it. Did a 'reboot' an vhusbdpin was running.
--------------------------------------------------------------
Linux joosts-pi1 3.12.28+ #710 PREEMPT Wed Sep 10 15:23:42 BST 2014 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Sep 14 18:13:21 2014
pi@joosts-pi1 ~ $ uname -a
Linux joosts-pi1 3.12.28+ #710 PREEMPT Wed Sep 10 15:23:42 BST 2014 armv6l GNU/Linux
pi@joosts-pi1 ~ $ sudo /usr/sbin/vhusbdpin -h
vhusbdpin v1.8.9
VirtualHere USB Server. Share USB Devices over the network
(C) VirtualHere Pty. Ltd 2010-2014
http://www.virtualhere.com

usage: vhusbdpin [-bcdohl] [-c ]

options:
-b run daemon in the background
-c configuration file
-d display debug messages
-h display this usage
-l display license text

pi@joosts-pi1 ~ $ ps axv|grep vh
2096 ? Ssl 0:57 0 0 114240 2736 0.7 /usr/sbin/vhusbdpin -b -c /root/config.ini
--------------------------------------------------------------------------------
The VH-client version running on my iMac Mavericks 10.9.4 is: 2.4.4.
I'am using the application "EPSON Scan" version 3.28D (Univeral) for my Epson Perfection V350 PHOTO on my iMac.

Starting up the scan program takes a long time if it works. Often the busy cursor keeps spinning and the only way to quit the scan program is to disable the use of the device/port of the scanner in the VH-client menu.

It is still very unstable and when I manage to make a scan, the result is still messed up with gray vertical lines of different gray colors.
Her is a part of the log.....
--------------------------------------------------
Sep 14 19:34:48 imac-van-rene kernel[0]: USBF: 23998.542 com_virtualhere_vhhcd::handleBulkIntMsgAck (id=12493)
Sep 14 19:34:48 imac-van-rene kernel[0]: USBF: 23998.542 com_virtualhere_vhhcd::handleBulkIntMsgAck (id=12493) received [,00]
Sep 14 19:34:49 imac-van-rene.fritz.box EPSON Scan[2070]: ICAGetDeviceList_Deprecated-Has been deprecated since 10.5. Calls to this function in the future may crash this application. Please move to ImageCaptureCore
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.882 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:34:49 --- last message repeated 1 time ---
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.882 com_virtualhere_vhhcd::createControlMsg (id=12494) (114 - SNK,2,1,0,129,0,out)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.882 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleCtrlRequestAck (id=12494,sr=0,al=0,lr=0)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::UIMClearEndpointStall (2:1:in) passing true for clearToggle
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:1) clearToggle
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent ABORT EP (id=12495)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent RESET EP (id=12496)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent CLEAR_HALT (id=12497)USBF: 23999.884
Sep 14 19:34:49 imac-van-rene kernel[0]: com_virtualhere_vhhcd::createAbortEpMsg (id=12495)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:34:49 --- last message repeated 1 time ---
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::createResetEpMsg (id=12496)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::createClearHaltMsg
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::createControlMsg (id=12498) (114 - SNK,2,1,0,2,0,out)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.884 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.885 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.885 com_virtualhere_vhhcd::handleAbortEpMsgAck (id=12495,ok)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.886 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.886 com_virtualhere_vhhcd::handleResetEpMsgAck (id=12496,ok)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.887 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.887 com_virtualhere_vhhcd::handleClearHaltMsgAck (id=12497, failed)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.887 com_virtualhere_vhhcd::handleClearHaltMsgAck FAILED returned -1
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleCtrlRequestAck (id=12498,sr=0,al=0,lr=0)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::UIMClearEndpointStall (2:2:out) passing true for clearToggle
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:2) clearToggle
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent ABORT EP (id=12499)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent RESET EP (id=12500)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent CLEAR_HALT (id=12501)USBF: 23999.888
Sep 14 19:34:49 imac-van-rene kernel[0]: com_virtualhere_vhhcd::createAbortEpMsg (id=12499)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::createResetEpMsg (id=12500)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.888 com_virtualhere_vhhcd::createClearHaltMsg
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.889 com_virtualhere_vhhcd::rx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::handleAbortEpMsgAck (id=12499,ok)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::handleResetEpMsgAck (id=12500,ok)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::tx
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::handleClearHaltMsgAck (id=12501, failed)
Sep 14 19:34:49 imac-van-rene kernel[0]: USBF: 23999.891 com_virtualhere_vhhcd::handleClearHaltMsgAck FAILED returned -1
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.109 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:34:50 --- last message repeated 1 time ---
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.109 com_virtualhere_vhhcd::createControlMsg (id=12502) (114 - SNK,2,1,0,129,0,out)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.110 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleCtrlRequestAck (id=12502,sr=0,al=0,lr=0)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::UIMClearEndpointStall (2:1:in) passing true for clearToggle
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:1) clearToggle
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent ABORT EP (id=12503)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent RESET EP (id=12504)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent CLEAR_HALT (id=12505)USBF: 24000.111
Sep 14 19:34:50 imac-van-rene kernel[0]: com_virtualhere_vhhcd::createAbortEpMsg (id=12503)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:34:50 --- last message repeated 1 time ---
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.111 com_virtualhere_vhhcd::createResetEpMsg (id=12504)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.112 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.112 com_virtualhere_vhhcd::createClearHaltMsg
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.112 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.112 com_virtualhere_vhhcd::createControlMsg (id=12506) (114 - SNK,2,1,0,2,0,out)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.112 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.113 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.113 com_virtualhere_vhhcd::handleAbortEpMsgAck (id=12503,ok)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.113 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.113 com_virtualhere_vhhcd::handleResetEpMsgAck (id=12504,ok)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.114 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.114 com_virtualhere_vhhcd::handleClearHaltMsgAck (id=12505, failed)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.114 com_virtualhere_vhhcd::handleClearHaltMsgAck FAILED returned -1
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleCtrlRequestAck (id=12506,sr=0,al=0,lr=0)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::UIMClearEndpointStall (2:2:out) passing true for clearToggle
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:2) clearToggle
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent ABORT EP (id=12507)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent RESET EP (id=12508)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.115 USBF: 24000.115 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent CLEAR_HALT (id=12509)com_virtualhere_vhhcd::createAbortEpMsg (id=12507)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.116 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.116 com_virtualhere_vhhcd::createResetEpMsg (id=12508)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.116 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.116 com_virtualhere_vhhcd::createClearHaltMsg
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.116 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.117 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.117 com_virtualhere_vhhcd::handleAbortEpMsgAck (id=12507,ok)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.118 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.118 com_virtualhere_vhhcd::handleResetEpMsgAck (id=12508,ok)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.118 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.119 com_virtualhere_vhhcd::handleClearHaltMsgAck (id=12509, failed)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.119 com_virtualhere_vhhcd::handleClearHaltMsgAck FAILED returned -1
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.139 com_virtualhere_vhhcd::UIMCreateBulkTransfer
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.139 com_virtualhere_vhhcd::createBulkIntMsg (id=12510,ad=2,ep=2)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.139 com_virtualhere_vhhcd::createBulkIntMsg sending [,1b,03]
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.139 com_virtualhere_vhhcd::createBulkIntMsg (114, 2,0,2)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.139 com_virtualhere_vhhcd::rx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::tx
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::handleBulkIntMsgAck (id=12510)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::UIMCreateBulkTransfer
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::createBulkIntMsg (id=12511,ad=2,ep=1)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::createBulkIntMsg (114, 129,0,2)
Sep 14 19:34:50 imac-van-rene kernel[0]: USBF: 24000.141 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 com_virtualhere_vhhcd::handleBulkIntMsgAck (id=12511)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 WARNING, com_virtualhere_vhhcd::handleBulkIntMsgAck (id=12511) bulk ack error -108
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:36:12 --- last message repeated 1 time ---
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 com_virtualhere_vhhcd::createControlMsg (id=12512) (114 - SNK,2,1,0,129,0,out)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.522 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.531 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.531 com_virtualhere_vhhcd::handleDeviceUnbindAckMsg
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.531 com_virtualhere_vhhcd::abortAllPendingRequestsForDevice
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.531 com_virtualhere_vhhcd::abortRequest (id=12512)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::UIMClearEndpointStall (2:0:in) passing true for clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:0) clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 WARNING, com_virtualhere_vhhcd::handleEndpointAbortForDevice skipping, no existing endpoint
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::UIMClearEndpointStall (2:0:in) passing true for clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:0) clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 WARNING, com_virtualhere_vhhcd::handleEndpointAbortForDevice skipping, no existing endpoint
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::handleUIMControlTransfer (2:0)
Sep 14 19:36:12 --- last message repeated 1 time ---
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::createControlMsg (id=12513) (114 - SNK,2,1,0,2,0,out)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.532 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 WARNING, com_virtualhere_vhhcd::handleCtrlMsgAck did not find pending request (id=12512)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleCtrlMsgAck
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleCtrlRequestAck (id=12513,sr=0,al=0,lr=0)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::UIMClearEndpointStall (2:2:out) passing true for clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleEndpointAbort
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleEndpointAbortForDevice (2:2) clearToggle
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent ABORT EP (id=12514)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent RESET EP (id=12515)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.535 USBF: 24082.535 com_virtualhere_vhhcd::handleEndpointAbortForDevice auto-sent CLEAR_HALT (id=12516)com_virtualhere_vhhcd::createAbortEpMsg (id=12514)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.536 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.536 com_virtualhere_vhhcd::createResetEpMsg (id=12515)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.536 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.536 com_virtualhere_vhhcd::createClearHaltMsg
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.536 com_virtualhere_vhhcd::rx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.538 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.538 com_virtualhere_vhhcd::handleAbortEpMsgAck (id=12514,ok)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.538 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.538 com_virtualhere_vhhcd::handleResetEpMsgAck (id=12515,ok)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.539 com_virtualhere_vhhcd::tx
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.539 com_virtualhere_vhhcd::handleClearHaltMsgAck (id=12516, failed)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.539 com_virtualhere_vhhcd::handleClearHaltMsgAck FAILED returned -1
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.554 com_virtualhere_vhhcd::hubCompleteTransaction completed Interrupt transaction
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.554 com_virtualhere_vhhcd::clearHubPortFeature (17, 1)...
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.554 com_virtualhere_vhhcd::hubResetEnableChange for port 1
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::clearHubPortFeature (16, 1)...
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::hubResetChangeConnection for port 1
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::abortAllPendingRequestsForDevice
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::hubResetChangeConnection device at port 1 has been disconnected
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::UIMDeleteEndpoint (f=2,ep=1,dir=1)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::UIMDeleteEndpoint (f=2,ep=2,dir=0)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::UIMDeleteEndpoint (f=2,ep=0,dir=3)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::UIMCreateInterruptTransfer
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::handleUIMCreateInterruptTransferForHub
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::hubQueueInterruptRead
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::hubStartTimer32 (32)
Sep 14 19:36:12 imac-van-rene kernel[0]: USBF: 24082.555 com_virtualhere_vhhcd::hubQueueTransaction
Sep 14 19:37:13 imac-van-rene.fritz.box EPSON Scan[2079]: ICAGetDeviceList_Deprecated-Has been deprecated since 10.5. Calls to this function in the future may crash this application. Please move to ImageCaptureCore
Sep 14 19:37:13 imac-van-rene EPSON Scan[2079]: objc[2079]: Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import. One of the two will be used. Which one is undefined.
Sep 14 19:37:13 imac-van-rene EPSON Scan[2079]: objc[2079]: Class TSSandboxPrefs is implemented in both /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced. One of the two will be used. Which one is undefined.
Sep 14 19:38:13 imac-van-rene kernel[0]: USBF: 24203.779 com_virtualhere_vhhcd::tx
Sep 14 19:38:13 imac-van-rene kernel[0]: USBF: 24203.779 com_virtualhere_vhhcd::handleSetDebugLevelMsg (1410716064640700, 0)
imac-van-rene:tmp Joost$
-------------------------------------------------

I hope it can help to solve the problem.

Regards!

BigBalou
Unstable RPi USB Server

Michael,
I have uninstalled Flip4Mac. Its working slightly better but stil unstable and gray bars. Epson app often wants me to check the cables if it is connected.
Regards!

Michael
I have been researching this

I have been researching this problem yesterday. Luckily I have scanner that works a similar way and i can reproduce the issue. At the moment i think there is a bug in 1.8.8 of the server AND i think there is a bug in the raspbian kernel. The reason is the scanner works fine with a beaglebone running the exact same virtualhere code but different kernel. So i will create a new build of the server to fix that bug i found in vitualhere but i dont think it will entirely fix the issue with your scanner but its worth a try...Will let you know when its ready..

Michael
1. Reboot your mac

1. Reboot your mac
2. Download and run 2.4.5 of the osx client from here http://www.virtualhere.com/usb_client_software
3. Download and run 1.9.0 of the raspbian server from here http://www.virtualhere.com/usb_server_software

If you are still getting the problems then it is the raspbian kernel (specifically the reset endpoint) function that has a bug in it...

BigBalou
Unstable RPi USB Server

Michael,
Running on OSX VH Client 2.4.5 (which installed new drivers), RPi VH USB Server 1.9.0.
Within 20 seconds the EPSON Scan program stops responding ("Command + Option + Escape" window). I have to force it to stop. So far no improvement.
Regards

-------------------------
pi@joosts-pi1 ~ $ ps axv|grep vh
2088 ? Ssl 0:25 0 0 79484 2328 0.6 /usr/sbin/vhusbdpin -b -c /root/config.ini
2165 pts/0 S+ 0:00 0 141 3410 852 0.2 grep --color=auto vh
pi@joosts-pi1 ~ $ /usr/sbin/vhusbdpin -h
vhusbdpin v1.9.0
VirtualHere USB Server. Share USB Devices over the network
(C) VirtualHere Pty. Ltd 2010-2014
http://www.virtualhere.com

usage: vhusbdpin [-bcdohl] [-c ]

options:
-b run daemon in the background
-c configuration file
-d display debug messages
-h display this usage
-l display license text

pi@joosts-pi1 ~ $ sudo more /root/config.ini
it=1410710813
UseAVAHI=1
ServerName=Raspberry Hub
License=unlicensed,1,MCACDkn0jww6R5WOIjFqU/apAg4Um+mDkU2TBcC7fA1FrA==
TraceMsgs=0
TCPNoDelay=1
TCPPort=7575
IgnoredDevices=424/ec00
CompressionLimit=384
pi@joosts-pi1 ~ $ date
Tue Sep 16 20:49:01 CEST 2014
pi@joosts-pi1 ~ $

Michael
.

OK i did more research and i managed to get my scanner working with the pi by working around the bug in the raspbian kernel. You need to download the latest server and client and set two custom event handlers for that scanner

Instructions:

1. Reboot your mac
2. Download server 1.9.1 and install and start it on your raspberry pi
3. Download client 2.4.6 for your mac and run it
4. When you see the scanner right click and select "Custom Event Handler..."
Paste in the following line:

onResetEp.$VENDOR_ID$.$PRODUCT_ID$=

and click ok

Right click again on the scanner and select "Custom Event Handler..." and paste in the following line

onClearHalt.$VENDOR_ID$.$PRODUCT_ID$=

then click OK.

Now select Use for the scanner and see if it works now.

BigBalou
STABLE RPi USB Server

Micheal,
I'am impressed!
It works! I can stop the Epson app and start it again and comes up in a couple of seconds. Can scan in various dpi's, no problem. But there ar still ver very slight bar's of various saturation. Can I mail you the result of a scan? If yes, mail me you're email address to my personal email account.
Do I have to paste every time the both strings into the custom event handler evertime I quit and start the client in OSX?
Again: I'm impressed!
Regards

Michael
OK great , i thought that

OK great , I thought that might help as that got my scanner working. My scanner image doesnt show any artifacts and looks fine.

The server remembers those custom event strings so you only need to put them in once.

Basically the problem is that there is a bug in raspbian. Any more improvement will have to be fixed by whoever develops raspbian. VirtualHere relies on proper functioning kernel for its operation. For example a scanner works fine on beaglebone and most of the NAS's because their kernels dont have this bug (asustor seems to at the moment fail with same bug)... anyway the communications with the scanner works as follows:

initialize scanner
send/recv data
cancel current data transfer
clear transfer status <- this is where the bug seems to be in raspbian.
send /recv data
send recv data
done

You can send me the scan to mail@virtualhere.com but i doubt it can be fixed until that raspbian bug is fixed.

BigBalou
STABLE RPi USB Server

Michael,
Before I moved to the Raspberry with VH, I had installed VH USB server on a ASUS eeeBox (B202) with UBuntu 12.04. It had the same hickups.
Next I'am gonna do is install XuBuntu 14.04 (little lighter then UBuntu) on my eeeBox and see how that works. I'll let you know.
Regards

Michael
Ok, when you install it on

Ok, when you install it on the other servers they probably dont have this bug so you will need to make sure the custom event handlers are not in the configuration. Take a look in the server config.ini file and just make sure there is no onResetEp and onClearHalt events listed.

Log in or register to post comments