For anyone having troubles with their Giant X10, could you try logging into it (default user:pass is baikal:baikal) and running this command:
lsusb | grep 0483
This command will list the USB devices attached to the OrangePi and then filter those results to only show lines with "0483" (STMicroelectronics' USB vendor ID). The expected result is this (where things should be working properly):
Bus 007 Device 003: ID 0483:5740 STMicroelectronics STM32F407
But if you get this:
Bus 007 Device 002: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
Then the STM32 microcontroller may need to be reset (it is stuck in firmware download mode). If this is the case, issue these two commands:
echo 0 > /sys/class/gpio_sw/PA10/data
echo 1 > /sys/class/gpio_sw/PA10/data
The first command sets the PA10 pin to 0 (off) on the OrangePi, which is connected to the STM32's reset pin, which in turn holds it in a reset state (it needs to be at 0v to reset). The second command de-asserts (sets to 1 in this case) the reset pin allowing the STM32 to begin normal operations. These steps fixed the issue with a Giant X10 I looked at. These commands may need to be run again after reboot, so you may want to write a script in your favorite language to do this at boot or to do a periodic check.
If you get "
permission denied" (or something like that, I don't remember the exact message ATM) when trying those commands, try this first:
su
(then type "baikal" again for the password to elevate your terminal to root level)
Or simply log in as root:baikal instead.
Please do a quick Google search of these commands first to know that they're actually doing what I've explained above. You should default to not trusting random internet stranger's instructions if you're not familiar with what you're doing. Hopefully this helps someone solve their miner issues. Please post if you tried these steps and it solved the issue for you so I know if this is a common problem or if I'm the only one who had trouble with it. Happy mining!
My ("tboy32c") PGP fingerprint: 02F2 B257 1793 8F10 3089 F951 2EE7 F90A 2A75 9BC6
Message signature:
iQEzBAABCAAdFiEEAvKyVxeTjxAwiflRLuf5Cip1m8YFAlpIW7gACgkQLuf5Cip1m8bLJgf/
TmL2jFsaknETS81QkLdsoqE4RDpW5Wn2/fU40K8PfNz3BupfE/htC+weOgw0TBtTgdg+loTT
OWeevU51BoiAbQVAsJesAy4MSqDpAasX1raS1bwOAz21fbf+0mYYDiRJChNrrIThJJT+wFLL
zy1z47LE/msYvv4UY23P0GABXKf36kALBQCJXTMgnSFAl7XrP6hEH9MslV2XDe+4crtBzt1q
Y+xDhLqPsNomtDNqPH7M/wi8GItT5rXk8Cb3lIDVB1mzump/c4YLWse1KTR93KTpoyg/l++d
1ORVlJ+SX724d6nNX75UeAz1R3E8hh8+M/9AKg8YIipMEjKNzuJD8A==