2015-12-07, 18:06
(2015-10-05, 20:40)J_E_F_F Wrote: RPi2 fails to connect to USB SMB Share when moved from direct USB port to USB hub.
I use SMB share from a Win8.1 file server.
The SMB share drive letter does not change (D:\) and the SMB address does not change (smb://192.168.xxx.xxx/Video/)
A windows build of Kodi handles this fine, the RPi2 fails to open files.
Moving the USB drive from the hub back to a direct connection fixes the problem.
Very odd.
Finally found a resolution to this problem.
Edit or create IRPStackSize in the Windows registry.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
1. Locate IRPStackSize
2. If this value does not exist Right Click on Parameters key and Click on New > Dword Value and type in IRPStackSize under the name.
3. The name of the value must be exactly (combination of uppercase and lowercase letters) the same as what I have above.
4. Right Click on the IRPStackSize and click on Modify
5. Select Decimal enter a value higher than 15(Maximum Value is 50 decimal) and Click Ok (I used 50)
8. You can close the registry editor and restart your computer.