Author

Topic: Help with CGMiner! (Read 2621 times)

member
Activity: 96
Merit: 13
October 04, 2023, 08:30:56 PM
#21
lol i found out what the problem was...
no miner was broken, no cable was broken and no other hardware was broken...
i was not logged in as administrator - after i activated the su, all my 8 miners started without problems Grin
how could i have missed that... Lips sealed Tongue Roll Eyes
It's in the README Smiley
SETTING UP USB DEVICES on WINDOWS/LINUX/OSX
https://github.com/kanoi/cgminer/blob/master/README#L609

The Gekko setup support page says it also:
https://kano.is/gekko.php#run

I don't have one of those USB sticks to connect to. Preferably something that will work with the builtin GPU on the Windows that I can mine testnet btc or that I use the pool to connect to maybe nicehash or something.
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
October 03, 2023, 05:54:35 PM
#20
lol i found out what the problem was...
no miner was broken, no cable was broken and no other hardware was broken...
i was not logged in as administrator - after i activated the su, all my 8 miners started without problems Grin
how could i have missed that... Lips sealed Tongue Roll Eyes
It's in the README Smiley
SETTING UP USB DEVICES on WINDOWS/LINUX/OSX
https://github.com/kanoi/cgminer/blob/master/README#L609

The Gekko setup support page says it also:
https://kano.is/gekko.php#run
member
Activity: 96
Merit: 13
October 03, 2023, 04:07:00 PM
#19
There is NO GPU mining in cgminer.
Ok. But how do you get cgminer to work?
By getting it from Kano's GIT, https://github.com/kanoi/cgminer then reading the extensive README and pointing it at a supported ASIC-based miner...

Ok. Thanks.
legendary
Activity: 3612
Merit: 2506
Evil beware: We have waffles!
October 03, 2023, 02:40:46 PM
#18
There is NO GPU mining in cgminer.
Ok. But how do you get cgminer to work?
By getting it from Kano's GIT, https://github.com/kanoi/cgminer then reading the extensive README and pointing it at a supported ASIC-based miner...
member
Activity: 96
Merit: 13
October 03, 2023, 01:21:28 PM
#17
There is NO GPU mining in cgminer.

Ok. But how do you get cgminer to work?
legendary
Activity: 3578
Merit: 1090
Think for yourself
October 03, 2023, 07:09:32 AM
#16
Still makes no sense resurrecting a decade old thread instead of posting in the proper support thread.
legendary
Activity: 3122
Merit: 7618
Cashback 15%
October 03, 2023, 06:57:57 AM
#15
lol i found out what the problem was...
no miner was broken, no cable was broken and no other hardware was broken...
i was not logged in as administrator - after i activated the su, all my 8 miners started without problems Grin
how could i have missed that... Lips sealed Tongue Roll Eyes
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
October 03, 2023, 04:10:20 AM
#14
Code:
pi@raspberrypi:~/cgminer $ lsusb
Bus 002 Device 003: ID 04e8:4001 Samsung Electronics Co., Ltd PSSD T7
Bus 002 Device 096: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Since it shows no miners, it's one of:
Your hub is dead
You forgot to put power into your hub
Your hub power is dead
Your miners are dead
You forgot to connect the hub cable to your rpi
The hub cable is dead
Your rpi is faulty
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
October 03, 2023, 04:07:44 AM
#13
There is NO GPU mining in cgminer.
member
Activity: 96
Merit: 13
October 01, 2023, 10:39:54 PM
#12
Hey guys. I'm glad I found the right thread. But basically, I've been trying to mine testnet btc using cgminer but no success so far. I'm getting multiple errors. One is Fatal JSON error. The other is need to specify at least one pool server.

I am basically trying to mine with my Windows computer using the built in GPU which is a AMD 550. The cgminer that I am using is 3.7.2. I've seen other version like 4.9.2 but it seems like that version is for asic only.

Could someone post a sample cgminer config for me? Also, I have a testnet full node running. I am supposedly having a P2Pool running also via dockerfile. It shows online. But maybe my config is wrong or something. In any case, can someone post a sample of how I should config my cgminer for a single GPU on a Windows desktop?

Thank you.
legendary
Activity: 3234
Merit: 2943
Block halving is coming.
September 30, 2023, 08:54:06 PM
#11
~snip~

Does your USB hub have separate power?

Check the power supply it might not giving enough power if you have an extra power supply you can test it or try to run your miner one by one.
Also, make sure the USB hub is connected only to USB2, not USB3.

If it still doesn't work you might need to reinstall everything on the RPi4 you can follow the guide on Kano.is or check the troubleshooting guide below

- https://kano.is/gekko.php#trf
legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
September 30, 2023, 10:13:02 AM
#10
Although not 100% the same you should be seeing something like the below showing the attached devices.
If not something else is wrong. Check all the cables and connections and such. Since it's not responding to the mouse, I would point to something with the USB ports themselves.

Can you plug the miners into a different device to see if they are seen there? If that works then it's probably the Pi if they do not work in the other device then it's probably it's the cables or USB hub.

-Dave



If the fan was pulling extra juice and also plugged into Port 1 or Port D it might have messed up the power going to the hub chip. Any other ports should be pretty much bulletproof.

If you plug the hub in and run 'lsusb' it should read out a Terminus FE2.1 7-port USB hub on the bus.

It does now which is weird. It didn't when the fan was in port 1.

Code:
pi@RPi4:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 004: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@RPi4:~ $

Thanks to everyone for the help and getting me up and running with this small poject.
legendary
Activity: 3122
Merit: 7618
Cashback 15%
September 30, 2023, 08:50:24 AM
#9
An 11 year necro-bump. I think that is a record.

hehe, why should i create a new thread when i found this one already created via the search function Wink

If you run lsusb  https://linux.die.net/man/8/lsusb
What devices are listed.

Code:
pi@raspberrypi:~/cgminer $ lsusb
Bus 002 Device 003: ID 04e8:4001 Samsung Electronics Co., Ltd PSSD T7
Bus 002 Device 096: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

And the obligatory, did you reboot the Pi and power cycle the USB hub(s) that the miners are plugged into?
Also, if you plug in a basic device like a mouse into the hub(s) with the miners does the OS see it?

-Dave

of the 3 available usb ports, the usb mouse only does not respond on the usb 3.0 port (a hard disk is connected to the second blue (usb 3.0) port)

legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
September 30, 2023, 08:29:28 AM
#8
An 11 year necro-bump. I think that is a record.
If you run lsusb  https://linux.die.net/man/8/lsusb
What devices are listed.

And the obligatory, did you reboot the Pi and power cycle the USB hub(s) that the miners are plugged into?
Also, if you plug in a basic device like a mouse into the hub(s) with the miners does the OS see it?

-Dave
legendary
Activity: 3122
Merit: 7618
Cashback 15%
September 30, 2023, 08:01:11 AM
#7
i didn't want to open a new thread now and post my concern here, because i think that the topic title fits to all cgminer problems in general Wink

wanted to restart all my miners (5x compac f and 2x r909) today, since a long time. after i execute the ./cgminer ... command, i get the following message:
Code:
[2023-09-30 13:56:41.380] No devices detected!
[2023-09-30 13:56:41.381] Waiting for USB hotplug devices or press q to quit

i have not changed anything at all on the system (rpi4) and version 4.12.1 of cgminer is installed - anyone got an idea?
legendary
Activity: 1876
Merit: 1000
October 05, 2012, 05:47:17 PM
#6
Thanks for all the help, I was able to get it working.

First tried reinstalling drivers....same issue

Tried uninstalling and then installing drivers.... same issue

Finally just did a clean install of Windows and all drivers....WORKED!
A windows reinstall was compleatley unneccessary, My bet is that you never Properly uninstalled the drivers' SDK, by running something like Driver Sweeper

i would tend to agree with this, i have never used the sweeper, but i will run the full install multiple times and viola..  i get lucky.

get em running, lower the volts. run them stable and kool 24/7
legendary
Activity: 1428
Merit: 1001
Okey Dokey Lokey
October 05, 2012, 05:22:24 PM
#5
Thanks for all the help, I was able to get it working.

First tried reinstalling drivers....same issue

Tried uninstalling and then installing drivers.... same issue

Finally just did a clean install of Windows and all drivers....WORKED!
A windows reinstall was compleatley unneccessary, My bet is that you never Properly uninstalled the drivers' SDK, by running something like Driver Sweeper
AJM
newbie
Activity: 38
Merit: 0
September 22, 2012, 07:47:18 PM
#4
Thanks for all the help, I was able to get it working.

First tried reinstalling drivers....same issue

Tried uninstalling and then installing drivers.... same issue

Finally just did a clean install of Windows and all drivers....WORKED!
legendary
Activity: 1876
Merit: 1000
September 22, 2012, 04:52:39 PM
#3
I just installed another graphics card and now cgminer is saying "All devices disabled, cannot mine!".
For reference I am running windows 64bit.
Any help will be greatly appreciated.

really not a cgminer issue.. windows issue.

check in computer->manage->devices->display adapters


windows is always the same/similar steps

try each, if not working, try next

reboot
shut down, change cards around, make sure power is properly plugged into cards..
reinstall drivers
uninstall gpus, reboot
start removing cards one by one, or start with one and add one by one

sometimes you have to install drivers twice (i do the full CCC install)



legendary
Activity: 3578
Merit: 1090
Think for yourself
September 22, 2012, 03:18:53 PM
#2
Did you try posting in the CGMiner thread?  That's a good place to receive CGMiner help.
Sam
AJM
newbie
Activity: 38
Merit: 0
September 22, 2012, 03:56:10 AM
#1
I just installed another graphics card and now cgminer is saying "All devices disabled, cannot mine!".
For reference I am running windows 64bit.
Any help will be greatly appreciated.
Jump to: