IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

limit speed of usbsrvd

 
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux
View previous topic :: View next topic  
Author Message
ocean



Joined: 01 Nov 2016
Posts: 1

PostPosted: Tue Nov 01, 2016 2:37 am    Post subject: limit speed of usbsrvd Reply with quote

hi, there is a problem while using usb redirector ,could you help me
i limit the speed of usbsrvd to 200KB in client using trickle, after it ,i insert my USB device, and the usb device
redirect to server, then i copy 100MB files to USB device in server , but after awhile, the copy failed, the linux system log
is:
Oct 12 08:14:39 localhost kernel: [ 2261.842154] hub 1-1:1.0: cannot reset port 7 (err = -110)
Oct 12 08:14:40 localhost kernel: [ 2262.842170] hub 1-1:1.0: cannot reset port 7 (err = -110)
Oct 12 08:14:41 localhost kernel: [ 2263.842188] hub 1-1:1.0: cannot reset port 7 (err = -110)
Oct 12 08:14:42 localhost kernel: [ 2264.842175] hub 1-1:1.0: cannot reset port 7 (err = -110)
Oct 12 08:14:43 localhost kernel: [ 2265.842188] hub 1-1:1.0: cannot reset port 7 (err = -110)
Oct 12 08:14:43 localhost kernel: [ 2265.842210] hub 1-1:1.0: Cannot enable port 7. Maybe the USB cable is bad?

then the second problem comes, if i call urEnumLocalDevices and urUnshareDevice, the client linux system panic。i think the urEnumLocalDevices call can enumerate usb device, but connect usb failed, then if call urUnshareDevice, the will lead to panic? i don't ensure if this is a bug in urUnshareDevice if usb hub down.
kernel log:
sd 16:0:0:0: [sdc] Mode Sense: 23 00 00 00
sd 16:0:0:0: [sdc] Assuming drive cache: write through
sd 16:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 16:0:0:0: [sdc] Assuming drive cache: write through
sd 16:0:0:0: [sdc] Attached SCSI removable disk
input: spice vdagent tablet as /devices/virtual/input/input32
SELinux: initialized (dev sdc1, type vfat), uses genfs_contexts
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
usb 2-1: reset high speed USB device number 32 using xxxxx-usb-vhci-driver
sd 16:0:0:0: [sdc] Unhandled error code
sd 16:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK



i cann't find any log about usbsrvd in /var/log/. could you give me same advices? my linux kernel is 3.10.98
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 653

PostPosted: Tue Nov 01, 2016 9:17 am    Post subject: Reply with quote

If you are our OEM customer, please contact us by e-mail as the standard support procedure suggests in your OEM agreement.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group