Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 319. (Read 5805537 times)

full member
Activity: 168
Merit: 100
can the new version auto detect for gpu's as well?  thread concurrences etc?
newbie
Activity: 70
Merit: 0
If I start cgminer with --ndevs it shows the ASICMiner USB:

.USB dev 0: Bus 2 Device [number] ID: [vendor]:[id]

The Product is : "CPU2102 USB to UART Bridge Controller"

This is with the udev rule.

So, it looks like it recognizes it when asked with the command line switch but then doesn't recognize it when it starts up.
newbie
Activity: 70
Merit: 0
Thank you elchorizo - I had missed that.

----

I am still having trouble.

I have added myself to the dialout group and rebooted.  dialout shows up when I do 'groups'.

/dev/ttyUSB0 is in the dialout group.

When I start cgminer it still gives the priviledge error.

I set up a udev rule so I own the USB device.  This makes /dev/bus/usb/002/[number] owned by me which I was assuming would fix the permission issue.

If the udev rule is running then cgminer doesn't even detect the device at all.

Before I start cgminer /dev/ttyUSB0 exists.  After starting cgminer it goes away.

With the udev rule the miner looks like it is mounting as /dev/ttyS0 and /dev/ttyUSB0.  ttyUSB0 goes away when cgminer is started and ttyS0 stays.

Thanks again for the help.
full member
Activity: 236
Merit: 100
Do I have to do something special to give permission?

Run it as root or fix it the right way and give your user the proper permissions (described in many places)
Thanks.

I did some reading and found that USB devices have ultra restrictive permissions by default.  I'll get it figured out elsewhere as it is probably standard Linux stuff that's the problem.

I'll post a quick follow up here for others that have the same problem.

From cgminer FAQ

Code:
Q: On linux I can see the /dev/ttyUSB* devices for my Icarus FPGAs, but
cgminer can't mine on them
A: Make sure you have the required priviledges to access the /dev/ttyUSB* devices:
 sudo ls -las /dev/ttyUSB*
will give output like:
 0 crw-rw---- 1 root dialout 188, 0 2012-09-11 13:49 /dev/ttyUSB0
This means your account must have the group 'dialout' or root priviledges
To permanently give your account the 'dialout' group:
 sudo usermod -G dialout -a `whoami`
Then logout and back in again
newbie
Activity: 70
Merit: 0
Do I have to do something special to give permission?

Run it as root or fix it the right way and give your user the proper permissions (described in many places)
Thanks.

I did some reading and found that USB devices have ultra restrictive permissions by default.  I'll get it figured out elsewhere as it is probably standard Linux stuff that's the problem.

I'll post a quick follow up here for others that have the same problem.
full member
Activity: 236
Merit: 100
Do I have to do something special to give permission?

Run it as root or fix it the right way and give your user the proper permissions (described in many places)
newbie
Activity: 70
Merit: 0
I'm having trouble getting my ASICMiner USB Block Erupter working.

I do have a non-standard setup so possibly this is what's causing me trouble?

I'm running xUbuntu 13.04 under VMWare Fusion under Mac OS X.

I plug in the Erupter and do lsusb to see it:

...
Bus 002 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
...

I downloaded the executabel cgminer 3.2.0 from the link in the original post in this thread.

I start cgminer with:

./cgminer-nogpu --icarus-options 115200:1:1 --icarus-timing 3.0=80 -o https://[pool] -u [user] -p [password]


cgminer starts up and says it successfully connects to the pool.

But, then it says:

USB init open device failed, err -3, you dont have priviledge to access - AMU device 2:9
Icarus detect (2:9) failed to initialise (incorrect device?)


Do I have to do something special to give permission?
legendary
Activity: 1540
Merit: 1001
updating to 3.1.1 got me a 5 mhash/s on my 7970 Cheesy!
is there a 3.1.1. for windows too? I can't find to download it.

You could click on the link in the top post.

Today I notice that PC still shuts down even I use cutoff--temp 92
So how to find out if that is cause of graphic card or something else like CPU or motherboard?

Generally if something shuts down its either getting too hot and turning itself off, or your power supply is being overloaded. 

M
sr. member
Activity: 412
Merit: 250
updating to 3.1.1 got me a 5 mhash/s on my 7970 Cheesy!
is there a 3.1.1. for windows too? I can't find to download it.

You could click on the link in the top post.

Today I notice that PC still shuts down even I use cutoff--temp 92
So how to find out if that is cause of graphic card or something else like CPU or motherboard?
full member
Activity: 224
Merit: 100
What was the other Microsoft av? 8/2012 switched back to the other one
Id love to have av on my 2012, uninstalled sep crap already

As far as I know, there's only MSE: http://windows.microsoft.com/en-us/windows/security-essentials-download

The only choice really is whether you need 32bit or 64bit.

I know they have some different versions, like Forefront, which is made to run in large enterprise setups (runs in client/server modes only, no standalone client installs).  MSE is purely a standalone client that can be used on any of Microsoft's OS products.  Should work on anything from Windows XP and Server 2003 on up through latest Win 8 and Server 2012 versions.

Ah, just realized they renamed it back to Defender for Win 8/2012.  Same thing, different name.  Only thing is it's already included in Win 8/2012.

So MSE download is for everything back to Win XP, but not for Win 8.  Smiley
newbie
Activity: 50
Merit: 0

sudo aticonfig -f --initial --adapter=all

Thanks so much, all up and running again!

Also, thanks for nudging me towards Linux. Was a fair bit of a learning curve, but with a few good guides I was able to get everything installed quite easily.

Was also able to get more hashes!

Win7x64 - 620khs
Ubuntux64 - 650khs
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hey everyone, I have a n00b question about ubuntu.

I took ckolivas's advice and moved to linux. Had it all set up and running, no problems.

But I decided to move a card (for cooling reasons) and broke the ribbon connector in the process.

I had 3 cards, and now only have 2 working.

Problem is, one of the leftover 2 cards doesn't detect in cgminer anymore, ubuntu seems to think it is there, but its not activated or something? Is there a command that I can use to re-detect or activate it?
Quote
sudo aticonfig -f --initial --adapter=all
newbie
Activity: 50
Merit: 0
Hey everyone, I have a n00b question about ubuntu.

I took ckolivas's advice and moved to linux. Had it all set up and running, no problems.

But I decided to move a card (for cooling reasons) and broke the ribbon connector in the process.

I had 3 cards, and now only have 2 working.

Problem is, one of the leftover 2 cards doesn't detect in cgminer anymore, ubuntu seems to think it is there, but its not activated or something? Is there a command that I can use to re-detect or activate it?

If I run ./cgminer -n this is the output:

CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2013-06-02 17:40:59] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2013-06-02 17:40:59] CL Platform 0 version: OpenCL 1.2 AMD-APP (1124.2)                    
 [2013-06-02 17:40:59] Platform 0 devices: 1                    
 [2013-06-02 17:40:59]    0   Tahiti                    
 [2013-06-02 17:40:59] Failed to ADL_Adapter_ID_Get. Error -10                    
 [2013-06-02 17:40:59] This error says the device is not enabled                    
 [2013-06-02 17:40:59] Failed to ADL_Adapter_ID_Get. Error -10                    
 [2013-06-02 17:40:59] This error says the device is not enabled                    
 [2013-06-02 17:40:59] GPU 0 AMD Radeon HD 7900 Series hardware monitoring enabled                    
 [2013-06-02 17:40:59] 1 GPU devices max detected                    
 [2013-06-02 17:40:59] USB all: found 11 devices - listing known devices                    
 [2013-06-02 17:40:59] No known USB devices

If I boot into windows (Drive is dual boot) both cards are there and hash happily. (3rd one is removed until I get a new ribbon cable)

Thanks for your help
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Hey folks,

is it possible to let cgminer not crash when a USB device (ztex) is removed while mining ?

Currently I got around 10 ztex boards connected to a usb hub which are all recognized without problems by cgminer 3.2.0 but as soon as a device fails or is physically removed from the usb hub, cgminer crashes and I have to restart again.

Would be great if the "missing" device is simply disabled and a note is posted into the log instead of a whole segfault Smiley

Thanks,

oc
We'd love to, but ztex doesn't have a regular maintainer since neither Kano nor I have one and we can only hack on it blindly, and we only sporadically get people hacking on it. Getting a debug output from you when it crashes would be helpful.
full member
Activity: 231
Merit: 100
In parallel SEP deleted several files, I am attaching a screenshot of that.

The question is - is this a false positive?

Your computer definitely was infected. The other deleted files and the removed registry key correspond to the Wsnpoem trojan. Zbot is an alias of that trojan. It seems like SEP mistakingly identified cgminer.exe as part of the trojan's files.

And I would add to that to stop using SEP.  Worst antivirus ever.

You've clearly never tried any recent version of McAfee. +1 for MSE. IF you're using Windows, that's the way to go.
legendary
Activity: 2912
Merit: 1060
What was the other Microsoft av? 8/2012 switched back to the other one
Id love to have av on my 2012, uninstalled sep crap already
full member
Activity: 224
Merit: 100
Ps those other files looked useful. I'm assuming you run server edition hence your only option is sep.

License change with MSE version 2, you can now run it on anything that Microsoft makes (server included).

That's why I'm using it on all my stuff, and it's never triggered a false positive on cgminer, or any of the other miner programs I've tried on my system to find the best one to use.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
False it's the fact cgminer is used in trojans to mine

That's what I am aware of, I wonder what those other files that were deleted are and if they could use the vanilla unaltered cgminer.exe for their purpose.

Just in case, could anyone confirm that md5 hash sum for cgminer.exe from cgminer-2.10.1-win32 package is af60f0da905591f0a3eb6167f27d7228 please?

Thanks
... and relevant ... this is mentioned in the FAQ in the README

The other files have nothing to do with cgminer.

af60f0da905591f0a3eb6167f27d7228  cgminer.exe
94554fd1461edb2946f5ebfcabd9e203  cgminer-fpgaonly.exe
legendary
Activity: 2912
Merit: 1060
Ps those other files looked useful. I'm assuming you run server edition hence your only option is sep.
legendary
Activity: 2912
Merit: 1060
Why don't you just upgrade cgminer
Jump to: