Bitcoin Forum

Other => Off-topic => Topic started by: daemonic on July 21, 2012, 01:27:15 AM



Title: BFL Single Linux help
Post by: daemonic on July 21, 2012, 01:27:15 AM
Hi,

Ive been running my BFL single on my Win7 machine for some time now, i had to visit the datacentre today, so i took the single in with me to add to the mining rigs already there, although im having issues getting it detcted.

lsusb shows it is there;
Code:
Bus 001 Device 003: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
but i have no /dev/ttyUSBn devices to connect to

if i modprobe ftdi_sio, i then get the following entries under lsmod;
Code:
ftdi_sio               68553  0
usbserial              67377  1 ftdi_sio

I'm running centos 5.8 on this machine, am i likely to be missing some udev rules or such to generate the /dev device?

TIA


Title: Re: BFL Single Linux help
Post by: daemonic on July 21, 2012, 02:02:25 AM
Ive managed to get it to generate the /dev/ttyUSB0 device now, by adding the following udev rule;
Code:
SYSFS{idProduct}=="6014", SYSFS{idVendor}=="0403", RUN+="/sbin/modprobe ftdi_sio product=0x6014 vendor=0x0403"
but... i now get the following;
Code:
 BFL 0: 1107951616.0C         | REST  /  0.0Mh/s | A:1 R:0 HW:0 U:9.96/m
</snip>
 [2012-07-21 03:01:02] BFL0: Hit thermal cutoff limit, disabling!
 [2012-07-21 03:01:05] BFL0: Hit thermal cutoff limit, disabling!
<and repeat>
im sure if it was that hot, it wouldve gone into meltdown by now!


Title: Re: BFL Single Linux help
Post by: daemonic on July 23, 2012, 11:53:53 AM
does anyone have any pointers/ideas?

Switching to BFGMiner solved my issues :D


Title: Re: BFL Single Linux help
Post by: generalfault on July 23, 2012, 01:35:12 PM
Ive managed to get it to generate the /dev/ttyUSB0 device now, by adding the following udev rule;
Code:
SYSFS{idProduct}=="6014", SYSFS{idVendor}=="0403", RUN+="/sbin/modprobe ftdi_sio product=0x6014 vendor=0x0403"
but... i now get the following;
Code:
 BFL 0: 1107951616.0C         | REST  /  0.0Mh/s | A:1 R:0 HW:0 U:9.96/m
</snip>
 [2012-07-21 03:01:02] BFL0: Hit thermal cutoff limit, disabling!
 [2012-07-21 03:01:05] BFL0: Hit thermal cutoff limit, disabling!
<and repeat>
im sure if it was that hot, it wouldve gone into meltdown by now!

I've actually posted this before, but on centos the bitforce driver is broken. It shows exactly what you see. (apparently the bitforce is as hot as the sun.)

To fix it, in driver-bitforce.c find the line:
float temp = strtof(s + 1, NULL);
and change it to:
float temp = strtod(s + 1, NULL);



Title: Re: BFL Single Linux help
Post by: daemonic on July 23, 2012, 04:46:24 PM
Cheers for that, ive now fixed my cgminer :D