Author

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

legendary
Activity: 2576
Merit: 1186
Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. Any solutions? Smiley
Upgrade to BFGMiner.
full member
Activity: 236
Merit: 100
Got it working!

I went back to cgminer 3.1.1 and used the -S option to tell it where to look.

I'll play with the other settings now and see if I can get it running without root, etc.

---

elchorizo - Tip jar address?

Tip the cgminer folks instead mate, they do 1000x more then me and deserve it MUCH more.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Latest code from git:
Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. I reverted cgminer to 102e907a475723ceff0de915227296190e2f3beb (3.1.0).
Any solutions? Smiley
legendary
Activity: 1904
Merit: 1185
notorious shrimp!
i'm using Ubuntu 12.04 and there are no ttyUSB* device...
where do i find my USB devices?

legendary
Activity: 2912
Merit: 1060
Yeah well i got server 2012 free so its nice. I used a mod to get the start button back. Hope these retards bring it back with 8.1.

Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.

Ah, well I had not messed with 2012 much.  Tried out an eval of Win 8, which lasted all of 5 minutes after it was installed because I can't stand the Metro interface.  Server 2012 at least goes to a somewhat normal desktop.  Can't see myself using it much either.

So, looks like I'll be mining with cgminer on Win 7 and/or Linux unless Microsoft comes to their senses and goes back to making normal desktop Windows like everyone wants.  Wink
full member
Activity: 224
Merit: 100
Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.

Ah, well I had not messed with 2012 much.  Tried out an eval of Win 8, which lasted all of 5 minutes after it was installed because I can't stand the Metro interface.  Server 2012 at least goes to a somewhat normal desktop.  Can't see myself using it much either.

So, looks like I'll be mining with cgminer on Win 7 and/or Linux unless Microsoft comes to their senses and goes back to making normal desktop Windows like everyone wants.  Wink
legendary
Activity: 1540
Merit: 1001
Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.

Shouldn't be using a server for anything that would get it infected anyhow. Smiley

M
newbie
Activity: 70
Merit: 0
FYI -

My ASICMiner USB Block Erupter is now working (XUbuntu).

I believe I only needed:

To be in the dialout group

cgminer 3.1.1 with -S [/dev/ttyUSBx]

---

I'm not using a udev rule or running as root any more and things are working fine.
legendary
Activity: 2912
Merit: 1060
Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.


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: 70
Merit: 0
Got it working!

I went back to cgminer 3.1.1 and used the -S option to tell it where to look.

I'll play with the other settings now and see if I can get it running without root, etc.

---

elchorizo - Tip jar address?
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.

What happens if you run it as root... get it working in the simple conditions first then tweak it.
When I run as root, without the udev rule (so the USB is owned by root), I get the same cp210x message as above - that it disconnected ttyUSB0 and then cgminer doesn't detect anything.  Same thing if I put the udev rule back...

Also, FYI - I have removed modemmanager as suggested in another thread.
newbie
Activity: 70
Merit: 0
When I start cgminer /var/log/syslog shows:

cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
cp210x 2-2.2:1:0: device disconnected
full member
Activity: 236
Merit: 100
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.

What happens if you run it as root... get it working in the simple conditions first then tweak it.
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?
Jump to: