Post
Topic
Board Mining (Altcoins)
Re: Official FutureBit Moonlander 2 Driver and Support Thread
by
Muppet007
on 11/01/2022, 08:38:29 UTC
...
Thanks for the reply, do you have a sample of what the -S should look like in linux?
Before coming here I read this thread in regards to my aforementioned question. https://bitcointalk.org/index.php?topic=5187949.0
jstefanop gives an example of -S \\.\COM1 -S \\.\COM2 -S \\.\COM3 however that thread refers to a windows .bat file not a linux .sh.
...  

See the second post of this topic:

...
for linux it will be /dev/ttyUSBx
...
Code:
./bfgminer --scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u jstefanop.1 -p 1,d=256 -S MLD:/dev/ttyUSB0 -S MLD:/dev/ttyUSB1 --set MLD@/dev/ttyUSB0:clock=600 --set MLD@/dev/ttyUSB1:clock=648
...

Cheers for pointing me in the right direction.

The only command that works so far is as follows.
sudo ./bfgminer --scrypt -o stratum+tcp://us2.litecoinpool.org:3333 -u username.1 -p password -S MLD:ALL --set MLD:clock=600 (This works with and without sudo however must be executed without cgminer running and with -S MLD:ALL not -S ALL or I get 'NO DEVICES FOUND')

I have tried the following without cgminer running, all I get is 'NO DEVICES FOUND'.
sudo ./bfgminer --scrypt -o stratum+tcp://us2.litecoinpool.org:3333 -u username.1 -p password -S MLD:/dev/ttyUSB084 -S MLD:/dev/ttyUSB082 -S MLD:/dev/ttyUSB083 -S MLD:/dev/ttyUSB081 --set MLD:clock=600
sudo ./bfgminer --scrypt -o stratum+tcp://us2.litecoinpool.org:3333 -u username.1 -p password -S MLD:/dev/ttyUSB84 -S MLD:/dev/ttyUSB82 -S MLD:/dev/ttyUSB83 -S MLD:/dev/ttyUSB81 --set MLD:clock=600
sudo ./bfgminer --scrypt -o stratum+tcp://us2.litecoinpool.org:3333 -u username.1 -p password -S MLD:/dev/ttyUSB084 -S MLD:/dev/ttyUSB082 -S MLD:/dev/ttyUSB083 -S MLD:/dev/ttyUSB081 --set MLD@/dev/ttyUSB084:clock=600 --set MLD@/dev/ttyUSB082:clock=600 --set MLD@/dev/ttyUSB083:clock=600 --set MLD@/dev/ttyUSB081:clock=600
sudo ./bfgminer --scrypt -o stratum+tcp://us2.litecoinpool.org:3333 -u username.1 -p password -S MLD:/dev/ttyUSB84 -S MLD:/dev/ttyUSB82 -S MLD:/dev/ttyUSB83 -S MLD:/dev/ttyUSB81 --set MLD@/dev/ttyUSB84:clock=600 --set MLD@/dev/ttyUSB82:clock=600 --set MLD@/dev/ttyUSB83:clock=600 --set MLD@/dev/ttyUSB81:clock=600

I have tried with the device numbers as they appear in lsusb with the 0 in front USB084 and without.
I also tried -S /dev/ttyUSB084 as per jstefanop's post, 'for linux it will be /dev/ttyUSBx' however the example is '-S MLD:/dev/ttyUSBx'
 
Is there something I am missing?