...
Any ideas?
![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
So adding "-D" to the command line will give back a message like:
Open %s failed, errno:%d <- linux
Open %s failed, GetLastError:%u <- windows
That errno or GetLastError will help work it out.
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
alan@alan-Vostro-1500:~/bc/cgminer$ lsusb
...
Bus 002 Device 002: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
...
alan@alan-Vostro-1500:~/bc/cgminer$ ls /dev/serial/by-id/
usb-Butterfly_Labs_Inc._BitFORCE_SHA256-if00-port0
alan@alan-Vostro-1500:~/bc/cgminer$ ls /dev/ttyUSB*
/dev/ttyUSB0
alan@alan-Vostro-1500:~/bc/cgminer$ ./cgminer -S 0
All devices disabled, cannot mine!
alan@alan-Vostro-1500:~/bc/cgminer$ ./cgminer -S /dev/ttyUSB0
All devices disabled, cannot mine!
alan@alan-Vostro-1500:~/bc/cgminer$
alan@alan-Vostro-1500:~/bc/cgminer$ lsusb
...
Bus 002 Device 002: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
...
alan@alan-Vostro-1500:~/bc/cgminer$ ls /dev/serial/by-id/
usb-Butterfly_Labs_Inc._BitFORCE_SHA256-if00-port0
alan@alan-Vostro-1500:~/bc/cgminer$ ls /dev/ttyUSB*
/dev/ttyUSB0
alan@alan-Vostro-1500:~/bc/cgminer$ ./cgminer -S 0
All devices disabled, cannot mine!
alan@alan-Vostro-1500:~/bc/cgminer$ ./cgminer -S /dev/ttyUSB0
All devices disabled, cannot mine!
alan@alan-Vostro-1500:~/bc/cgminer$
#!/bin/sh
#
if [ "$1" = "up" ] ; then
echo -n 'gpuintensity|0,9' | nc 127.0.0.1 4028 ; echo
fi
#
if [ "$1" = "down" ] ; then
echo -n 'gpuintensity|0,d' | nc 127.0.0.1 4028 ; echo
fi
#!/bin/sh
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
while true ; do
killall -HUP cgminer > /dev/null 2>&1
now="`date +%Y%m%d%H%M%S`"
if [ -e "/usr/tmp/mine-high" ];
then
echo "Starting cgminer in high mode"
cgminer --url xxxx --user xxxx --pass xxxx --url xxxx --user xxxx --pass xxxx --auto-fan --auto-gpu --gpu-engine 300-750 --gpu-memclock 150 --gpu-vddc 1.0 --intensity "d,8,8,8" --gpu-fan 30-85 --temp-target 73 -w 256 --text-only 2> /home/jintu/cgminer-logs/run.$now.$$.log
else
if [ -e "/usr/tmp/mine-low" ];
then
echo "Starting cgminer in low mode"
cgminer --url xxxx --user xxxx --pass xxxx --url xxxx --user xxxx --pass xxxx --auto-fan --auto-gpu --gpu-engine 300-550 --gpu-memclock 150 --gpu-vddc 1.0 --intensity "d,8,8,8" --gpu-fan 30-50 --temp-target 73 -w 256 --text-only 2> /home/jintu/cgminer-logs/run.$now.$$.log
fi
fi
echo "Sleeping for 10 seconds."
sleep 10
done
#Weekdays
0 0 * * mon,tue,wed,thu,fri /usr/local/bin/mine-high.sh
0 12 * * mon,tue,wed,thu,fri /usr/local/bin/mine-low.sh
#Weekend
0 0 * * sat,sun /usr/local/bin/mine-high.sh
0 13 * * sat,sun /usr/local/bin/mine-low.sh
#!/bin/sh
#
rm /usr/tmp/mine-low > /dev/null 2>&1
touch /usr/tmp/mine-high > /dev/null 2>&1
killall -HUP cgminer > /dev/null 2>&1
#!/bin/sh
#
rm /usr/tmp/mine-high > /dev/null 2>&1
touch /usr/tmp/mine-low > /dev/null 2>&1
killall -HUP cgminer > /dev/null 2>&1