arpl
arpl copied to clipboard
Unable to recognize external USB device
I come from China, my English is very poor, the following words, I was written in Chinese, with the translation tool translated into English, I hope you can understand.
- My equipment: G4560+B365SD4, a PCIE to 10 SATA HUB, there are 3 SATA interfaces on the motherboard. There are 2+1USB3.0 and 2+2USB2.0.
- My problem: DSM recognizes my device as having 26 SATA. When I plug in an external storage device to any USB port, it will be recognized as internal storage. DSM prompts me to create a new storage pool to use. This prevents me from transferring files using external storage devices. How to solve it?
- Finally, how to adjust SataPortMap, DiskldxMap and SasldxMap?
Please go to menu, choose "cmdline menu" and choose "Show SATA(s) # ports and drives". Post screen photo here
The first SATA controller is the motherboard, which shows 6 SATAs, but my motherboard only has 3 SATA interfaces and 1 M.2 interface (NVME/M.2 SATA).
Interface No. 4 in the picture is my M.2 SATA boot disk.
The second SATA controller is an external SATA HUB, and this HUB only has 10 SATA interfaces.
When the HUB is loaded at startup, 1-6 interfaces correspond to 7-12 in the figure.
In the 7-10 interface of the HUB, I only insert 1 hard disk, which is displayed as 1F, corresponding to 38 in the figure.
Ok, this ASMedia have 32 ports internally, is much!! Physically have only 10 ports?
Yes, but it doesn't quite get the ports sorted. 1-6 total 6 port sorting is 01,02,03,04,05,06,7-10 sorting should be 1F... like hexadecimal.
like this.
This is the prompt after I insert the U disk.
This SATA card created unnecessary internal ports, "SataPortMap" and "DiskIdxMap" variables will not work correctly.
Please map the tree missing ports so we know what the number of each one will be. Four port is number 38 (0x1F hexa relative)
Do you mean that I need to determine the ports corresponding to 7-10 of this SATA HUB?
Yes!! One of them you already determined.
I'm going to check now.
I made sure that the 7-10 of this HUB corresponds to 35-38.
So what do I need to do now to get it working?
Do a test, add the SataPortMap cmdline, set the value to 46 Look here how do it: https://github.com/fbelavenuto/arpl/issues/103 This will remove ports 13-38 (absolute), or relative ports 7-32, from extra SATA board.
I gave it a try. Now booting up at 7-10 and inserting the hard disk DSM does not recognize it, and there is no response.
Ok, try with external storage into USB ports
DSM can recognize USB external storage now.
Please what model of DSM are you using?
DS3617xs
The DSM version is DSM 7.1.1-42962 Update 2.
I remember before the 7-10 when the hard drive was not plugged in, the USB external storage was normal.
Ok, now remove the SataPortMap and add the variable "usbportcfg" with value "0x3C000000000"
Select the two entries (first is wrong, last is correct)
I don't know how to select and delete.
I gave it a try. DSM is still recognized as a local disk even if the USB external storage device is inserted.
Ok so I need to study more to see how to solve your problem
If I change the SataPortMap to 49, will it work?
If I change the SataPortMap to 49, will it work?
If your define the SataPortMap with this value, will happens:
In first line only the first four ports will be recognized and in second line only the first 9 ports will be recognized.
The problem is your SATA card (second line), it has too many unused ports in between!!
Closing, original question are answered