erk
|
|
November 20, 2013, 01:01:34 AM |
|
/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.
Thanks.
Hi erk, please tell me how to delete the hidraw lib? step by step since i am new to linux Assuming you are using Debian and the files are in the same place. cd /usr/local/lib rm -i *hidraw* The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.
|
|
|
|
RicRock
|
|
November 20, 2013, 01:10:28 AM |
|
Does it need to use hidraw or will it try libusb? I doubt if hidraw is compile into the kernel, libusb is there.
/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.
Thanks.
Would def love further instructions
|
|
|
|
RicRock
|
|
November 20, 2013, 01:18:47 AM Last edit: November 20, 2013, 01:48:53 AM by RicRock |
|
so from the hidapi GIT source I did a make uninstall and this is what I have left /usr/include/linux/hidraw.h /usr/lib/libhidapi-hidraw.so /usr/lib/libhidapi-hidraw.la /usr/lib/libhidapi-hidraw.so.0.0.0 /usr/lib/pkgconfig/hidapi-hidraw.pc /usr/lib/libhidapi-hidraw.so.0 /usr/lib/libhidapi-hidraw.a
Removing those to see if configure of bfgminer errors out for having nanofury enabled but no hidapi libs Compiled ok but same errors as before on my PI (Wheezy)
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
November 20, 2013, 03:35:39 AM |
|
Assuming you are using Debian and the files are in the same place.
cd /usr/local/lib
rm -i *hidraw*
The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.
Thanks erk. But it's seem with pi, it's more complicated.
|
|
|
|
erk
|
|
November 20, 2013, 03:39:05 AM |
|
Assuming you are using Debian and the files are in the same place.
cd /usr/local/lib
rm -i *hidraw*
The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled.
Thanks erk. But it's seem with pi, it's more complicated. How do you know the hidapi driver even works on a Pi? I would be surprised if it did without modifications.
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
November 20, 2013, 03:49:04 AM |
|
How do you know the hidapi driver even works on a Pi? I would be surprised if it did without modifications.
That's the problem, it's didn't work
|
|
|
|
RicRock
|
|
November 20, 2013, 04:26:18 AM |
|
/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.
Thanks.
Hi erk, please tell me how to delete the hidraw lib? step by step since i am new to linux Assuming you are using Debian and the files are in the same place. cd /usr/local/lib rm -i *hidraw* The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled. if I remove hidapi, ./configure complains and doesn't enable nano fury. did you install hidapi, run configure of bfgminer, delete libraries, then ran the bfgminer make?
|
|
|
|
erk
|
|
November 20, 2013, 04:44:28 AM |
|
/EDIT nvm I deleted all the hidraw libs, ran another ldconfig and it found the device with libusb it's mining now at about 2.1GH/s with standard defaults.
Thanks.
Hi erk, please tell me how to delete the hidraw lib? step by step since i am new to linux Assuming you are using Debian and the files are in the same place. cd /usr/local/lib rm -i *hidraw* The only reason I removed them was I can't be bothered install installing the kernel source, setting the zillion options, and recompiling with hidraw enabled. if I remove hidapi, ./configure complains and doesn't enable nano fury. did you install hidapi, run configure of bfgminer, delete libraries, then ran the bfgminer make? You have to have hidapi for nanofury I was talking about removing the hidraw variant not all the hidapi libraries. However we don't know that the hidapi works with the Pi hardware. I don't own a Pi so my setup is nothing like yours I am working with Debian on Intel hardware.
|
|
|
|
Zillions
|
|
November 20, 2013, 08:44:38 AM |
|
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
November 20, 2013, 10:18:06 AM |
|
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?
Technobit NanoFury
|
|
|
|
RicRock
|
|
November 20, 2013, 07:55:28 PM |
|
You have to have hidapi for nanofury I was talking about removing the hidraw variant not all the hidapi libraries. However we don't know that the hidapi works with the Pi hardware.
I don't own a Pi so my setup is nothing like yours I am working with Debian on Intel hardware.
Was worth a shot, closest they've been to starting:
|
|
|
|
RicRock
|
|
November 20, 2013, 08:40:09 PM Last edit: November 20, 2013, 08:55:04 PM by RicRock |
|
OK Unplugged all but 2 Nanofury's from a D-Link hub with 4amp power supply. I set the osc6-bits to 5 I'm now getting this:
|
|
|
|
vs3 (OP)
|
|
November 20, 2013, 11:30:49 PM |
|
OK Unplugged all but 2 Nanofury's from a D-Link hub with 4amp power supply. I set the osc6-bits to 5 I'm now getting this: There is a way to get the debug logging turned on and it will print all kinds of info that would be helpful with chasing that further. I forgot what was the parameter - I'll look it up tonight and post a note. If you figure it out in the mean time - plug only one NanoFury (and no other boards - that's just to minimize the amount of noise and unrelated transactions) and PM or email me the debug log.
|
|
|
|
Taugeran
|
|
November 21, 2013, 01:35:07 AM |
|
-D -T 2>./dafuq.log
will enable startup debug and disable curses
and log to dafuq.log in bfgminer startup dir
|
Bitfury HW & Habañero : 1.625Th/s tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1 Come join Coinbase
|
|
|
Zillions
|
|
November 21, 2013, 01:50:36 AM |
|
Stupid question I just freed up a usb port on my hub is there any more available? or was there another thread?
Technobit NanoFuryWas hoping for something a tad more local (East coast,USA) to avoid shipping fees? Guess I'll have to wait till there's another group buy.
|
|
|
|
RicRock
|
|
November 21, 2013, 04:36:23 AM |
|
-D -T 2>./dafuq.log
will enable startup debug and disable curses
and log to dafuq.log in bfgminer startup dir
Really just mcp2210_spi_transfer: Failed to continue SPI transfer (59 bytes remaining) [2013-11-20 23:35:23] NFY 0 failure, disabling! [2013-11-20 23:35:23] mcp2210_set_cfg_spi: Error setting current SPI config (248) [2013-11-20 23:35:23] mcp2210_set_cfg_spi: Error setting current SPI config (248) [2013-11-20 23:35:23] NFY 0 failure, disabling! [2013-11-20 23:35:23] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries [2013-11-20 23:35:24] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries [2013-11-20 23:35:24] Accepted 3b1fd2cb BES12 Diff 4/2 [2013-11-20 23:35:25] NFY 0: bitfury_init_oldbuf: Giving up after 4 tries [2013-11-20 23:35:25] Accepted 71b2c25a BES 6 Diff 2/2 [2013-11-20 23:35:25] mcp2210_spi_transfer: Failed to continue SPI transfer (60 bytes remaining) [2013-11-20 23:35:25] NFY 0 failure, disabling! [2013-11-20 23:35:25] mcp2210_set_cfg_spi: Error setting current SPI config (248) over and over again
|
|
|
|
vs3 (OP)
|
|
November 21, 2013, 06:24:28 AM |
|
The log would look like this: [2013-10-16 04:40:32.895136] hidapi_try_lib: Successfully loaded libhidapi-libusb.so [2013-10-16 04:40:32.907271] mcp2210_devinfo_scan: Found "MCP2210 USB to SPI Master" serial "0000062135" [2013-10-16 04:40:32.962958] >>>tx>42010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [2013-10-16 04:40:32.964924] >>>rx>42000020400d0300ffffefff000000000000010000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0 [2013-10-16 04:40:32.964931] >>>w>00 [2013-10-16 04:40:32.964938] >>>tx>42000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [2013-10-16 04:40:32.966924] >>>rx>42000110ff0d0300ffffefff000000000000010000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0 [2013-10-16 04:40:32.966931] >>>r>ff [2013-10-16 04:40:32.974963] >>>tx>42010000ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [2013-10-16 04:40:32.976937] >>>rx>42000020400d0300ffffefff000000000000010002000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0 ... [2013-10-16 04:40:35.227910] >>>tx>423c000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55 [2013-10-16 04:40:35.229879] >>>rx>42000020400d0300ffffefff0000000000003c0000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0 [2013-10-16 04:40:35.229891] >>>w>04f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55 [2013-10-16 04:40:35.229897] >>>tx>4200000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55 [2013-10-16 04:40:35.231890] >>>rx>42f80020400d0300ffffefff0000000000003c0000000000e5c3384be5c3384be03dc4a0c2139285f1f119c8e5c3384be5c3384be5c3384be01489a0e027c5a0 [2013-10-16 04:40:35.231901] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-10-16 04:40:35.251974] >>>tx>4200000004f230009f590fab4e2c823b79088bf8d7b3c7af4a8f28c660288b48a8a49c8bbeee5abf4a8f28c6cd34ee8625d9e8b66cf89b279f590fabf47bbc55 [2013-10-16 04:40:35.253915] >>>rx>42003c10ffffffff82d29cedc01a86871b139197e25e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da [2013-10-16 04:40:35.253927] >>>r>ffffffff82d29cedc01a86871b139197e25e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da [2013-10-16 04:40:35.255912] >>>tx>4214000072434268f0004fdc42d0bdf5c6a2436d4ac25fb600000000000000000000000000000000000000000000000000000000000000000000000000000000 [2013-10-16 04:40:35.257909] >>>rx>42000020400d0300ffffefff0000000000001400005e1985510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da [2013-10-16 04:40:35.257921] >>>w>72434268f0004fdc42d0bdf5c6a2436d4ac25fb6 [2013-10-16 04:40:35.257927] >>>tx>4200000072434268f0004fdc42d0bdf5c6a2436d4ac25fb600000000000000000000000000000000000000000000000000000000000000000000000000000000 [2013-10-16 04:40:35.259910] >>>rx>42001410c44b8009443234c0ffffffffffffffffffffffff510093871b808216d0559a43c21392851b1391971b1391971b1391971b1391971b13919734d480da [2013-10-16 04:40:35.259932] >>>r>c44b8009443234c0ffffffffffffffffffffffff ...
|
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
November 21, 2013, 06:26:15 AM |
|
The log would look like this: Sorry, the >>>tx/rx was a temporary hack for debugging If I have time, I'll try to add some equivalent I guess...
|
|
|
|
vs3 (OP)
|
|
November 21, 2013, 06:30:56 AM |
|
The log would look like this: Sorry, the >>>tx/rx was a temporary hack for debugging If I have time, I'll try to add some equivalent I guess... Ah ... never mind then. Luke - and thanks for being so lightning fast with the reply! That saved us from a lot of hassles trying to get that kind of a log
|
|
|
|
RicRock
|
|
November 21, 2013, 06:14:17 PM |
|
Snippet from log file in case anything is interesting [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (24 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (24 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] NFY 0: bitfury_init_oldbuf: Differ at 4 [2013-11-20 23:30:30] NFY 0: bitfury_init_oldbuf: Second differ at 5; trying again [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again [2013-11-20 23:30:30] mcp2210_set_cfg_gpio: Failed to set current GPIO config [2013-11-20 23:30:30] mcp2210_spi_transfer: SPI transfer rejected temporarily (60 bytes remaining) [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Differ at 1 [2013-11-20 23:30:30] NFY 1: bitfury_init_oldbuf: Second differ at 2; trying again
BTW vs3, you'll need a USB2.0 hub for your pi and it's kinda specific. Great thread regarding that I'll try to dig up a link for. Most use DLINK DUB-H7 HUBs Edit to add: Meh, can't find thread here but here's a link with a list: http://elinux.org/RPi_Powered_USB_Hubs
|
|
|
|
|