luke-jr / bfgminer

Modular ASIC/FPGA miner written in C, featuring overclocking, monitoring, fan speed control and remote interface capabilities.
http://luke.dashjr.org/programs/bitcoin/files/bfgminer/
Other
1.83k stars 810 forks source link

4.2.0 Rockminer R-BOX fails detection on OS X #469

Closed rinchen closed 10 years ago

rinchen commented 10 years ago

Hi,

I have a Rockminer R-BOX. bfgminer under Mac OS 10.9.3 (both via home-brew and straight compiling) fails to recognize my R-BOX. The Mac sees it as a valid device, just like my Ant Miner U2s. On the same Mac, when I run Ubuntu 14.04 in Parallels and attach the USB to it, bfgminer (compiled from git) in Ubuntu sees it just fine (although I need to use sudo bfgminer).

I've played with several variations of the drivers on OS X and as far as I currently can tell it simply is not recognized by bfgminer.

I'm happy to run any sort of testing I can to enable this to work.

Thanks

luke-jr commented 10 years ago

Is that with -S?

rinchen commented 10 years ago

"bfgminer -S noauto -S rockminer:all --icarus-options 115200:1:1" to be exact although I've tried a few (but probably not all) permutations of that. The above is what works in Ubuntu.

luke-jr commented 10 years ago

Please paste output from:

bfgminer -d? -D -S rockminer:all
rinchen commented 10 years ago

Ubuntu: all I get is "1 devices listed"

Mac:

usb:020:006 is the device...

bash-3.2$ bfgminer -d? -D -S rockminer:all [2014-06-15 10:15:34] setrlimit: Changed soft fd limit from 2560 to 1024 (FD_SETSIZE=1024; hard limit=unlimited) [2014-06-15 10:15:34] Started bfgminer 4.2.0 [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:020:129: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:020:129: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:029:001: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:029:001: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:026:001: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:026:001: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:021:128: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:021:128: LIBUSB_ERROR_OTHER [2014-06-15 10:15:34] hidapi_try_lib: Successfully loaded libhidapi.dylib [2014-06-15 10:15:34] hid_devinfo_scan: Found "Apple Mikey HID Driver" serial "(null)" [2014-06-15 10:15:34] hid_devinfo_scan: Found "JoyWarrior24 Force 8" serial "0000074D" [2014-06-15 10:15:34] hid_devinfo_scan: Found "Studio Display" serial "(null)" [2014-06-15 10:15:34] hid_devinfo_scan: Found "Trackball" serial "(null)" [2014-06-15 10:15:34] hid_devinfo_scan: Found "Dell USB Keyboard" serial "(null)" [2014-06-15 10:15:34] hid_devinfo_scan: Found "(null)" serial "0000074D" [2014-06-15 10:15:34] hid_devinfo_scan: Found "Apple IR" serial "(null)" [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:021:128 (path=(null), vid=05ac, pid=8007, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:026:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:029:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:129 (path=(null), vid=05ac, pid=8007, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:029:002 (path=(null), vid=8087, pid=0024, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:002 (path=(null), vid=2109, pid=2812, manuf=VIA Labs, Inc. , prod=USB2.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:003 (path=(null), vid=05ac, pid=9101, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:021:004 (path=(null), vid=2109, pid=0812, manuf=VIA Labs, Inc. , prod=USB3.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:005 (path=(null), vid=2109, pid=2812, manuf=VIA Labs, Inc. , prod=USB2.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:007 (path=(null), vid=2109, pid=2812, manuf=VIA Labs, Inc. , prod=USB2.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:008 (path=(null), vid=05ac, pid=9118, manuf=(null), prod=(null), serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:021:009 (path=(null), vid=2109, pid=0812, manuf=VIA Labs, Inc. , prod=USB3.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:021:016 (path=(null), vid=2109, pid=0812, manuf=VIA Labs, Inc. , prod=USB3.0 Hub , serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:001 (path=(null), vid=413c, pid=2003, manuf=Dell, prod=Dell USB Keyboard, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:029:009 (path=(null), vid=05ac, pid=1500, manuf=Apple Inc., prod=MacBook Air SuperDrive, serial=KXJC77A5506 ) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:011 (path=(null), vid=07c0, pid=1113, manuf=Code Mercenaries, prod=JoyWarrior24 Force 8, serial=0000074D) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:012 (path=(null), vid=046d, pid=c404, manuf=Logitech, prod=Trackball, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:013 (path=(null), vid=05ac, pid=9218, manuf=(null), prod=Studio Display, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found usb device at usb:020:006 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_05ac_8242_1d182000 (path=USB_05ac_8242_1d182000, vid=05ac, pid=8242, manuf=Apple, Inc., prod=Apple IR, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_07c0_1113_14311000 (path=USB_07c0_1113_14311000, vid=07c0, pid=1113, manuf=Code Mercenaries, prod=(null), serial=0000074D) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_413c_2003_14200000 (path=USB_413c_2003_14200000, vid=413c, pid=2003, manuf=Dell, prod=Dell USB Keyboard, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_046d_c404_14312000 (path=USB_046d_c404_14312000, vid=046d, pid=c404, manuf=Logitech, prod=Trackball, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_05ac_9218_14313000 (path=USB_05ac_9218_14313000, vid=05ac, pid=9218, manuf=(null), prod=Studio Display, serial=(null)) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid:USB_07c0_1113_14311000 (path=USB_07c0_1113_14311000, vid=07c0, pid=1113, manuf=Code Mercenaries, prod=JoyWarrior24 Force 8, serial=0000074D) [2014-06-15 10:15:34] lowlevel_scan: Found hid device at hid: (path=, vid=0000, pid=0000, manuf=(null), prod=Apple Mikey HID Driver, serial=(null)) [2014-06-15 10:15:34] Devices detected: [2014-06-15 10:15:34] Timers: Using gettimeofday 0 devices listed

rinchen commented 10 years ago

FWIW here is more information from the Linux side. One on Debian where it also fails to detect and one on Ubuntu where it detects just fine.

Debian (bad):

Jun 15 16:19:40 radmon kernel: [8783831.948672] usb 1-1.2: new full-speed USB device number 6 using dwc_otg Jun 15 16:19:40 radmon kernel: [8783832.055372] usb 1-1.2: New USB device found, idVendor=10c4, idProduct=ea60 Jun 15 16:19:40 radmon kernel: [8783832.055411] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jun 15 16:19:40 radmon kernel: [8783832.055431] usb 1-1.2: Product: CP2102 USB to UART Bridge Controller Jun 15 16:19:40 radmon kernel: [8783832.055449] usb 1-1.2: Manufacturer: Silicon Labs Jun 15 16:19:40 radmon kernel: [8783832.055466] usb 1-1.2: SerialNumber: 0001

Ubuntu (good):

Jun 15 10:26:33 ubuntu kernel: [44749.261030] usb 2-1: new full-speed USB device number 28 using uhci_hcd Jun 15 10:26:33 ubuntu kernel: [44749.409128] usb 2-1: New USB device found, idVendor=10c4, idProduct=ea60 Jun 15 10:26:33 ubuntu kernel: [44749.409132] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jun 15 10:26:33 ubuntu kernel: [44749.409134] usb 2-1: Product: CP2102 USB to UART Bridge Controller Jun 15 10:26:33 ubuntu kernel: [44749.409136] usb 2-1: Manufacturer: Silicon Labs Jun 15 10:26:33 ubuntu kernel: [44749.409137] usb 2-1: SerialNumber: 0001 Jun 15 10:26:33 ubuntu kernel: [44749.427108] cp210x 2-1:1.0: cp210x converter detected Jun 15 10:26:33 ubuntu kernel: [44749.537396] usb 2-1: reset full-speed USB device number 28 using uhci_hcd Jun 15 10:26:33 ubuntu kernel: [44749.685665] usb 2-1: cp210x converter now attached to ttyUSB0 Jun 15 10:26:33 ubuntu mtp-probe: checking bus 2, device 28: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1" Jun 15 10:26:33 ubuntu mtp-probe: bus: 2, device: 28 was not an MTP device

luke-jr commented 10 years ago

It looks like you don't have the cp2102 driver on the Mac side.

rinchen commented 10 years ago

Tell me more @luke-jr because I may not understand. I have 4 ant miner U2's which I can run on the mac without a problem and the output looks exactly the same:

[2014-06-15 19:12:00] lowlevel_scan: Found usb device at usb:020:006 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:12:00] lowlevel_scan: Found usb device at usb:020:010 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:12:00] lowlevel_scan: Found usb device at usb:020:026 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:12:00] lowlevel_scan: Found usb device at usb:020:014 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)

Also I have

/System/Library/Extensions/SiLabsUSBDriver.kext /System/Library/Extensions/SiLabsUSBDriver64.kext

rinchen commented 10 years ago

Here is the full USB listing on OS X:

[2014-06-15 19:28:16] lowlevel_scan: Found usb device at usb:020:006 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:28:16] lowlevel_scan: Found usb device at usb:020:010 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:28:16] lowlevel_scan: Found usb device at usb:020:026 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:28:16] lowlevel_scan: Found usb device at usb:020:014 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:28:16] lowlevel_scan: Found usb device at usb:020:015 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-06-15 19:28:16] lowlevel_scan: Found vcom device at dev_t:19000012 (path=/dev/cu.SLAB_USBtoUART12, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-15 19:28:16] lowlevel_scan: Found vcom device at dev_t:17000012 (path=/dev/cu.SLAB_USBtoUART11, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-15 19:28:16] lowlevel_scan: Found vcom device at dev_t:15000012 (path=/dev/cu.SLAB_USBtoUART10, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-15 19:28:16] lowlevel_scan: Found vcom device at dev_t:13000012 (path=/dev/cu.SLAB_USBtoUART9, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-15 19:28:16] lowlevel_scan: Found vcom device at dev_t:11000012 (path=/dev/cu.SLAB_USBtoUART, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-15 19:28:16] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART11 [2014-06-15 19:28:16] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART10 [2014-06-15 19:28:16] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART9 [2014-06-15 19:28:16] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART [2014-06-15 19:28:16] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:28:16] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART11 [2014-06-15 19:28:16] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART10 [2014-06-15 19:28:16] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:28:16] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART [2014-06-15 19:28:16] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART9 [2014-06-15 19:28:16] rockminer: Short read from /dev/cu.SLAB_USBtoUART11 (0) [2014-06-15 19:28:16] rockminer: Short read from /dev/cu.SLAB_USBtoUART10 (0) [2014-06-15 19:28:16] rockminer: Short read from /dev/cu.SLAB_USBtoUART (0) [2014-06-15 19:28:16] rockminer: Short read from /dev/cu.SLAB_USBtoUART12 (0) [2014-06-15 19:28:16] rockminer: Short read from /dev/cu.SLAB_USBtoUART9 (0)

rinchen commented 10 years ago

when I do a -S all with all the devices attached I get:

[2014-06-15 19:32:39] Devices detected: [2014-06-15 19:32:39] Device (driver=antminer; procs=1; path=/dev/cu.SLAB_USBtoUART11) [2014-06-15 19:32:39] Device (driver=antminer; procs=1; path=/dev/cu.SLAB_USBtoUART9) [2014-06-15 19:32:39] Device (driver=antminer; procs=1; path=/dev/cu.SLAB_USBtoUART10) [2014-06-15 19:32:39] Device (driver=antminer; procs=1; path=/dev/cu.SLAB_USBtoUART) 4 devices listed

The R-BOX (UART 12) is missing. When I inspect it in the log I see this:

[2014-06-15 19:32:22] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:32:22] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:32:22] rockminer: Short read from /dev/cu.SLAB_USBtoUART12 (0) [2014-06-15 19:32:22] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:32:32] hashfast_detect_one: Failed to parse response on /dev/cu.SLAB_USBtoUART12 [2014-06-15 19:32:32] hashbusterusb_lowl_probe: Matched "(null)" dev_t:19000012, but lowlevel driver is not usb_generic! [2014-06-15 19:32:32] hashbuster_lowl_probe: Matched "(null)" serial "(null)", but lowlevel driver is not hid! [2014-06-15 19:32:32] nanofury_lowl_probe: Matched "(null)" serial "(null)", but lowlevel driver is not mcp2210!

davezes commented 10 years ago

Esteemed Experts, With the exception of running Ubuntu through Parallels, my experience is essentially identical to that of rinchen. Using luke-jr bfgminer compiled from here on github:

attempting to add

/dev/cu.SLAB_USBtoUART

yields

No new devices found

Any advice greatly appreciated.

$ bfgminer/bfgminer -S rockminer:all -d? -D [2014-06-21 09:31:11] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited)
[2014-06-21 09:31:11] Started bfgminer 4.2.0
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:032:129: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:032:129: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:029:001: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:029:001: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:033:128: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:033:128: LIBUSB_ERROR_OTHER
[2014-06-21 09:31:11] hidapi_try_lib: Successfully loaded libhidapi.dylib
[2014-06-21 09:31:11] hid_devinfo_scan: Found "Apple Keyboard" serial "(null)"
[2014-06-21 09:31:11] hid_devinfo_scan: Found "Dave Zess Mouse" serial "e4-8b-7f-09-3f-2a"
[2014-06-21 09:31:11] hid_devinfo_scan: Found "Apple Keyboard" serial "(null)"
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:033:128 (path=(null), vid=05ac, pid=8007, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:029:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:129 (path=(null), vid=05ac, pid=8007, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:029:002 (path=(null), vid=8087, pid=0024, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:029:003 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM20702 Hub, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:002 (path=(null), vid=05ac, pid=1006, manuf=Apple, Inc., prod=Keyboard Hub, serial=000000000000)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:007 (path=(null), vid=1a40, pid=0101, manuf=(null), prod=USB 2.0 Hub [MTT], serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:008 (path=(null), vid=1a40, pid=0201, manuf=(null), prod=USB 2.0 Hub [MTT], serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:003 (path=(null), vid=059b, pid=0370, manuf=Iomega, prod=External HD, serial=159BA00017FF)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:029:006 (path=(null), vid=05ac, pid=828d, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:004 (path=(null), vid=05ac, pid=024f, manuf=Apple Inc., prod=Apple Keyboard, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:009 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:010 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:011 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:013 (path=(null), vid=0403, pid=6010, manuf=FTDI, prod=Dual RS232-HS, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:014 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:015 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:017 (path=(null), vid=03eb, pid=204b, manuf=BFMG, prod=Bitfury BF1, serial=A4931313633351A0A061)
[2014-06-21 09:31:11] lowlevel_scan: Found usb device at usb:032:019 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-21 09:31:11] lowlevel_scan: Found hid device at hid:USB_05ac_024f_20120000 (path=USB_05ac_024f_20120000, vid=05ac, pid=024f, manuf=Apple Inc., prod=Apple Keyboard, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found hid device at hid:Bluetooth_05ac_030d_7f093f2a (path=Bluetooth_05ac_030d_7f093f2a, vid=05ac, pid=030d, manuf=Apple, prod=Dave Zess Mouse, serial=e4-8b-7f-09-3f-2a)
[2014-06-21 09:31:11] lowlevel_scan: Found hid device at hid:USB_05ac_024f_20120000 (path=USB_05ac_024f_20120000, vid=05ac, pid=024f, manuf=Apple Inc., prod=Apple Keyboard, serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found vcom device at dev_t:1f000012 (path=/dev/cu.usbserial-0050342B, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found vcom device at dev_t:1d000012 (path=/dev/cu.usbserial-0050342A, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] lowlevel_scan: Found vcom device at dev_t:1b000012 (path=/dev/cu.SLAB_USBtoUART, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null))
[2014-06-21 09:31:11] /dev/cu.usbserial-0050342A is already in use by another process
[2014-06-21 09:31:11] rockminer: Failed to open /dev/cu.usbserial-0050342A
[2014-06-21 09:31:11] Acquired exclusive advisory lock on /dev/cu.usbserial-0050342B
[2014-06-21 09:31:11] rockminer: Successfully opened /dev/cu.usbserial-0050342B
[2014-06-21 09:31:11] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART
[2014-06-21 09:31:11] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART
[2014-06-21 09:31:11] rockminer: Short read from /dev/cu.usbserial-0050342B (0)
[2014-06-21 09:31:11] rockminer: Short read from /dev/cu.SLAB_USBtoUART (0)
[2014-06-21 09:31:11] Devices detected:
[2014-06-21 09:31:11] Timers: Using gettimeofday

bitmmmbit commented 10 years ago

iMac Mavericks 10.9.3 bfgminer -d? -D -S rockminer:all

[2014-06-21 20:11:50] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited)
[2014-06-21 20:11:50] Started bfgminer 4.2.0
[2014-06-21 20:11:50] Loaded configuration file /Users/gsusgod/.bfgminer/bfgminer.conf
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] hidapi_try_lib: Successfully loaded libhidapi.dylib
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple Mikey HID Driver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple IR" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "RowmoteIREmu" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple Wireless Keyboard" serial "7c-d1-c3-ba-13-34"
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:004 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM2046 Hub, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:005 (path=(null), vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:006 (path=(null), vid=05ac, pid=8215, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=7CD1C3A35234)
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:Bluetooth_05ac_0255_43ba1334 (path=Bluetooth_05ac_0255_43ba1334, vid=05ac, pid=0255, manuf=Apple, prod=Apple Wireless Keyboard, serial=7c-d1-c3-ba-13-34)
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_05ac_8240_0 (path=USB_05ac_8240_0, vid=05ac, pid=8240, manuf=regularrateandrhythm, prod=RowmoteIREmu, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_05ac_8242_fd120000 (path=USB_05ac_8242_fd120000, vid=05ac, pid=8242, manuf=Apple Computer, Inc., prod=Apple IR, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid: (path=, vid=0000, pid=0000, manuf=(null), prod=Apple Mikey HID Driver, serial=(null))
[2014-06-21 20:11:50] Devices detected:
0 devices listed

Ubuntu: [2014-06-21 20:11:50] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited)
[2014-06-21 20:11:50] Started bfgminer 4.2.0
[2014-06-21 20:11:50] Loaded configuration file /Users/gsusgod/.bfgminer/bfgminer.conf
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-21 20:11:50] hidapi_try_lib: Successfully loaded libhidapi.dylib
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple Mikey HID Driver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple IR" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "RowmoteIREmu" serial "(null)"
[2014-06-21 20:11:50] hid_devinfo_scan: Found "Apple Wireless Keyboard" serial "7c-d1-c3-ba-13-34"
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:004 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM2046 Hub, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:253:005 (path=(null), vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found usb device at usb:250:006 (path=(null), vid=05ac, pid=8215, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=7CD1C3A35234)
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:Bluetooth_05ac_0255_43ba1334 (path=Bluetooth_05ac_0255_43ba1334, vid=05ac, pid=0255, manuf=Apple, prod=Apple Wireless Keyboard, serial=7c-d1-c3-ba-13-34)
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_05ac_8240_0 (path=USB_05ac_8240_0, vid=05ac, pid=8240, manuf=regularrateandrhythm, prod=RowmoteIREmu, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_05ac_8242_fd120000 (path=USB_05ac_8242_fd120000, vid=05ac, pid=8242, manuf=Apple Computer, Inc., prod=Apple IR, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-21 20:11:50] lowlevel_scan: Found hid device at hid: (path=, vid=0000, pid=0000, manuf=(null), prod=Apple Mikey HID Driver, serial=(null))
[2014-06-21 20:11:50] Devices detected:
0 devices listed

luke-jr commented 10 years ago

Pretty sure this is not a problem in BFGMiner.

bitmmmbit commented 10 years ago

I think I'm getting closer. It said it found the Rockminer this time. [2014-06-22 07:23:53] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited)
[2014-06-22 07:23:53] Started bfgminer 4.2.0
[2014-06-22 07:23:53] Loaded configuration file /Users/gsusgod/.bfgminer/bfgminer.conf
[2014-06-22 07:23:53] Fatal JSON error in configuration file.
[2014-06-22 07:23:53] Configuration file could not be used.
[2014-06-22 07:23:53] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-22 07:23:53] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-22 07:23:53] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-22 07:23:53] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-22 07:23:53] hidapi_try_lib: Successfully loaded libhidapi.dylib uf=(null), prod=Apple Mikey HID Driver, serial=(nu [2014-06-22 07:23:53] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Mouse" serial "(null)" =USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Log [2014-06-22 07:23:53] hid_devinfo_scan: Found "Apple Wireless Keyboard" serial "7c-d1-c3-ba-13-34"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "RowmoteIREmu" serial "(null)" 6d_c51a_fd130000, vid=046d, pid=c51a, manuf=Log [2014-06-22 07:23:53] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Apple Mikey HID Driver" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-22 07:23:53] hid_devinfo_scan: Found "USB Receiver" serial "(null)" 6d_c51a_fd130000, vid=046d, pid=c51a, manuf=Log [2014-06-22 07:23:53] hid_devinfo_scan: Found "Apple IR" serial "(null)"
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:250:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:253:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:253:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null)) ial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:250:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null)) 07:23:28] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART12
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:250:004 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM2046 Hub, serial=(null)) ner -d? -D -S rockminer:all [2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:250:006 (path=(null), vid=05ac, pid=8215, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=7CD1C3A35234)
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:253:005 (path=(null), vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found usb device at usb:250:005 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_05ac_8242_fd120000 (path=USB_05ac_8242_fd120000, vid=05ac, pid=8242, manuf=Apple Computer, Inc., prod=Apple IR, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid: (path=, vid=0000, pid=0000, manuf=(null), prod=Apple Mikey HID Driver, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_05ac_8240_0 (path=USB_05ac_8240_0, vid=05ac, pid=8240, manuf=regularrateandrhythm, prod=RowmoteIREmu, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:Bluetooth_05ac_0255_43ba1334 (path=Bluetooth_05ac_0255_43ba1334, vid=05ac, pid=0255, manuf=Apple, prod=Apple Wireless Keyboard, serial=7c-d1-c3-ba-13-34)
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 07:23:53] lowlevel_scan: Found vcom device at dev_t:19000021 (path=/dev/cu.SLAB_USBtoUART12, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null))
[2014-06-22 07:23:53] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART12
[2014-06-22 07:23:53] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART12
[2014-06-22 07:23:53] rockminer: Short read from /dev/cu.SLAB_USBtoUART12 (0)
[2014-06-22 07:23:53] Devices detected:
[2014-06-22 07:23:53] Timers: Using gettimeofday
0 devices listed

rinchen commented 10 years ago

@luke-jr is there a printf or similar style debugging statement we could add to see what the device is reporting and compare it to what we're expecting? e.g. Expecting "4679ba4ec99876bf4bfe086082b400254df6c356451471139a3afa71e48f544a00000000000000000000000000000000aa1ff05587320b1a1426674f2fa722ce" but got "abc123"? If we get a bad string from the usb poll then that narrows it down to the usb module or an external driver issue.

(The string came from https://github.com/rockminerinc/cgminer-for-R-BOX)

bitmmmbit commented 10 years ago

What does it mean for the USB to return a "short read"? The only thing I came up from the interwebs is for external usb drives that went bad. Any ideas?

nwoolls commented 10 years ago

@luke-jr let me know if this goes on without resolution and I'll reach out to Rockminer and see if I can get a sample. Has anyone else reported issues on OS X?

luke-jr commented 10 years ago

The short read issue seems to be the device not responding to a probe work sent to chip 0. I don't know what causes this, but I believe it happens regardless of OS. Unfortunately, my unit works 100% of the time, so I have nothing to go on to debug it. :(

bitmmmbit commented 10 years ago

Could the short read be do to an underpowered or insufficiently powered rockminer?

bitmmmbit commented 10 years ago

Can you walk me through how to get you the information you need from my malfunctioning unit?

sergbuslovsky commented 10 years ago

That's not going to lead anywhere guys. I have an R-Box, it was giving the short read under Mavericks, I installed Ubuntu in VM and it works just fine there. The problem is inside bfgminer.

davezes commented 10 years ago

To one and all: thank you very much for your help.

I'm not a CS guy, so please forgive any banal or trivial drivel.

That said, coupla quick notes:

1) No idea what "short read" means, BUT, I get a "short read" on devices that are inactive but functional -- i.e., it may not be indicative of the problem.

2) ReleaseNotes.txt for Silicon Labs VCP Driver does not explicitly state compatibility for OS 10.9.x

-- oh @bitmmmbit : I've tried two different power supplies. Both at/above spec.

Thanks again,

DZ

bitmmmbit commented 10 years ago

@sergbuslovsky I also installed ubuntu under vm but am still having issues getting them to be recognized. Any advice you can lend would be great!

Thanks for the info @davezes

sergbuslovsky commented 10 years ago

@bitmmmbit , what are you getting in the output when you run bfgminer with -S rockminer:all ? BTW, Ubuntu's default config for recognized devices is a bit funky, your user might not have permissions to access the appropriate /dev device, so I'd suggest you run bfgminer under sudo.

rinchen commented 10 years ago

Yes, I MUST run bfgminer using sudo on Ubuntu for it to pick up the USB drivers. I've tried sudo on OS X and it doesn't have the same affect at the moment.

luke-jr commented 10 years ago

Thanks for the info, I guess that confirms it's not a device issue.

bitmmmbit commented 10 years ago

This is my output from bfgminer -d? -D -S rockminer:all

[2014-06-22 20:16:54] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited)
[2014-06-22 20:16:54] Started bfgminer 4.2.0
[2014-06-22 20:16:54] Loaded configuration file /Users/gsusgod/.bfgminer/bfgminer.conf
[2014-06-22 20:16:54] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-22 20:16:54] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:253:001: LIBUSB_ERROR_OTHER
[2014-06-22 20:16:55] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-22 20:16:55] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:250:001: LIBUSB_ERROR_OTHER
[2014-06-22 20:16:55] hidapi_try_lib: Successfully loaded libhidapi.dylib
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Apple Mikey HID Driver" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "RowmoteIREmu" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "USB Receiver" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Trackpad" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Apple IR" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Apple Wireless Keyboard" serial "7c-d1-c3-ba-13-34"
[2014-06-22 20:16:55] hid_devinfo_scan: Found "Mouse" serial "(null)"
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:250:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:253:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:253:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:250:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:250:004 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM2046 Hub, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:253:003 (path=(null), vid=05ac, pid=8242, manuf=Apple Computer, Inc., prod=IR Receiver, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:253:004 (path=(null), vid=05ac, pid=8403, manuf=Apple, prod=Card Reader, serial=000000009833)
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:253:005 (path=(null), vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:250:008 (path=(null), vid=05ac, pid=8215, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=7CD1C3A35234)
[2014-06-22 20:16:55] lowlevel_scan: Found usb device at usb:250:005 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001)
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:Bluetooth_05ac_0255_43ba1334 (path=Bluetooth_05ac_0255_43ba1334, vid=05ac, pid=0255, manuf=Apple, prod=Apple Wireless Keyboard, serial=7c-d1-c3-ba-13-34)
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_05ac_8242_fd120000 (path=USB_05ac_8242_fd120000, vid=05ac, pid=8242, manuf=Apple Computer, Inc., prod=Apple IR, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Mouse, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=Trackpad, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_05ac_8240_0 (path=USB_05ac_8240_0, vid=05ac, pid=8240, manuf=regularrateandrhythm, prod=RowmoteIREmu, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid:USB_046d_c51a_fd130000 (path=USB_046d_c51a_fd130000, vid=046d, pid=c51a, manuf=Logitech, prod=USB Receiver, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found hid device at hid: (path=, vid=0000, pid=0000, manuf=(null), prod=Apple Mikey HID Driver, serial=(null))
[2014-06-22 20:16:55] lowlevel_scan: Found vcom device at dev_t:0b000021 (path=/dev/cu.SLAB_USBtoUART, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null))
[2014-06-22 20:16:55] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART
[2014-06-22 20:16:55] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART
[2014-06-22 20:16:55] rockminer: Short read from /dev/cu.SLAB_USBtoUART (0)
[2014-06-22 20:16:55] Devices detected:
0 devices listed

rinchen commented 10 years ago

I retried this today using @nwoolls home-brew setup (thanks btw), using HEAD, and for -d? I get:

[2014-06-23 14:37:05] lowlevel_scan: Found vcom device at dev_t:1f000012 (path=/dev/cu.SLAB_USBtoUART, vid=0000, pid=0000, manuf=(null), prod=(null), serial=(null)) [2014-06-23 14:37:05] Acquired exclusive advisory lock on /dev/cu.SLAB_USBtoUART [2014-06-23 14:37:05] rockminer: Successfully opened /dev/cu.SLAB_USBtoUART [2014-06-23 14:37:05] rockminer: Short read from /dev/cu.SLAB_USBtoUART (0)

but it fails to detect the device. This is better than what I previously got.

rinchen commented 10 years ago

To summarize where I think we are at with this issue, for some users under Mac OS X bfgminer is able to detect, open, and write to the Rockminer (see flow in driver-rockminer.c) but when it attempts to read from it, it consistently gets 0 bytes back.

nwoolls commented 10 years ago

I got in touch with Alex from Rockminer.com and he's providing another sample to help address this.

bitmmmbit commented 10 years ago

Hey everybody! Happy pre-Friday! Its been a few days. Just wondering if anyone got anywhere on this? I've purchased RaspberryPi in the interim. Thanks!

luke-jr commented 10 years ago

My condolences, RaspberryPi sucks.

bitmmmbit commented 10 years ago

It can suck as long as it works while sucking! :)

luke-jr commented 10 years ago

That's the problem, it often doesn't.

bitmmmbit commented 10 years ago

OH NO!!!! Well Poop! Thanks for informing me! @luke-jr

nwoolls commented 10 years ago

@bitmmmbit I should have a Rockminer on July 1st and can then start trying to reproduce and address the issue on OS X.

bitmmmbit commented 10 years ago

@nwoolls Awesome!! If I can lend any assistance at all lemme know.

davezes commented 10 years ago

Most excellent! Much obliged.

bitmmmbit commented 10 years ago

@sergbuslovsky You said your rockminers work with Ubuntu parallel? Did you have any problems with setting them up in this environment?

bitmmmbit commented 10 years ago

Hey @nwoolls! You are receiving your own rockminer tomorrow but I wanted to upload more info I came across.

RaspberryPi 3.10.25+ / cgminer 4.3.3 Rockminer is identified when ICA looks for 067b:2303 but finds 10cf:ea60(rockminer) instead, with the following errors:

Icarus USB failed to get '/tmp/cgminer-usb-1-5' - device in use RMU: cgid 0 EnableUART got err 0 RMU: cgid 0 SetDataCtrl got err 0 RMU: cgid 0 SetBaud got err 4 USB: RMU0 read1 buffering 16 extra bytes RMU: cgid 0 init: mode=default read_time=12532ms limit-oms Hs=2.976100e-09

Following this it is interesting when cgminer looks for RMU 10cf:ea60 but finds 067b:2303 instead. ???

bitmmmbit commented 10 years ago

My Rockminer's are working now!!! YayYAY! I'm getting tonnes of 'Share above target' though. Is this a setup issue?

nwoolls commented 10 years ago

Here's a fix for the issue detecting RockMiner ASICs:

https://github.com/nwoolls/bfgminer/commit/b99fc3bf86a6cbdb7a0a931a1d558278efcdff65

nwoolls commented 10 years ago

This is resolved in BFGMiner 4.4 via b99fc3bf86a6cbdb7a0a931a1d558278efcdff65

davezes commented 10 years ago

A doff of my hat to you, @nwoolls -- and to all on the thread.

jstanton617 commented 10 years ago

I'm still not able to detect my RockMiner. It works fine from a Ubuntu VM on the same hardware.

OSX 10.9.3 / MacBook Pro 17" Early 2011 (MacBookPro8,3)

./bfgminer -S rockminer:all -d? -D

[2014-07-08 11:02:39] setrlimit: Changed soft fd limit from 256 to 1024 (FD_SETSIZE=1024; hard limit=unlimited) [2014-07-08 11:02:39] Started bfgminer 4.4.0 [2014-07-08 11:02:39] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:253:001: LIBUSB_ERROR_OTHER [2014-07-08 11:02:39] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:253:001: LIBUSB_ERROR_OTHER [2014-07-08 11:02:39] usb_devinfo_scan: Error getting USB string 2 (iManufacturer) from usb:250:001: LIBUSB_ERROR_OTHER [2014-07-08 11:02:39] usb_devinfo_scan: Error getting USB string 1 (iProduct) from usb:250:001: LIBUSB_ERROR_OTHER [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:250:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:253:001 (path=(null), vid=05ac, pid=8006, manuf=(null), prod=(null), serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:253:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:250:002 (path=(null), vid=0424, pid=2514, manuf=(null), prod=(null), serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:250:004 (path=(null), vid=0a5c, pid=4500, manuf=Apple Inc., prod=BRCM2070 Hub, serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:253:004 (path=(null), vid=050d, pid=0255, manuf=(null), prod=(null), serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:250:008 (path=(null), vid=05ac, pid=821a, manuf=Apple Inc., prod=Bluetooth USB Host Controller, serial=(null)) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:253:006 (path=(null), vid=1058, pid=1021, manuf=Western Digital, prod=Ext HDD 1021, serial=574D415A4133343339313637) [2014-07-08 11:02:39] lowlevel_scan: Found usb device at usb:253:007 (path=(null), vid=10c4, pid=ea60, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-07-08 11:02:39] lowlevel_scan: Found vcom device at dev_t:09000012 (path=/dev/cu.SLAB_USBtoUART, vid=0000, pid=0000, manuf=Silicon Labs, prod=CP2102 USB to UART Bridge Controller, serial=0001) [2014-07-08 11:02:39] Devices detected: [2014-07-08 11:02:39] Timers: Using gettimeofday

luke-jr commented 10 years ago

Looks like it was compiled without rockminer driver.

bfgminer --help | head
jstanton617 commented 10 years ago

Yep. Works great once built correctly.

Thanks, Jim

rinchen commented 10 years ago

@luke-jr @nwoolls I can confirm this works, thanks. home-brew --HEAD installs 4.2 so I had to remove bfgminger and reinstall to get 4.4. Thanks for you help!