pastebin (don't paste here) the output of the end of 'dmesg' when you plug the AMU in
also 2 cgminer outputs:
1) cgminer -n
2) cgminer -D -T -verbose ... your options ... 2> debug.log
and let that run for about 30 seconds - and pastebin it or upload the log somewhere
I don't have a powered hub, I guess I better get one to see what's happening myself
(tried to get one last week and oddly none of the shops I went to had one ... except one that was crap)
One other thing to try is to leave it unplugged for about a minute then see if that fixes it
I had mine go into a weird state not being recognised after using different OSs and being left unplugged for a while fixed it for me
The error I got when this happened in the debug log was an error 4 setting the baud
I might try see if that is reproduceable - the error and the unplug fix, and if so, when it happens print a message to do that.
Here you go:
http://pastebin.com/tRWSfvNVI hope it helps. I would be happy to provide more info, if needed.
Leaving it unplugged for a minute had no effect.
Thank you kano and fydel!
Some additional data:
http://pastebin.com/2W2wte3z Note: rpi -> usb hub -> 1 AMU
Regarding the hub: just connected a single AMU directly to the rpi (usb hub disconnected, rpi power cycled) and have had the same issue. Guess the powered usb hub is not the cause.
Same eror there also
[2013-05-31 22:26:51] AMU: cgid 0 SetBaud got err 4
Yep trying to sort out what causes it (and what fixes it) ...
Is this resolved yet? If so how?
I too see
[2013-06-03 19:39:57] ICA looking for and found AMU 10c4:ea60
[2013-06-03 19:39:57] USB lock Icarus 7-14
[2013-06-03 19:39:57] RES: Icarus (7:14) lock=1
[2013-06-03 19:39:57] USB res lock Icarus 7-14
[2013-06-03 19:39:57] RES: Icarus (7:14) lock ok=1
[2013-06-03 19:39:57] USB init, kernel attached ... - AMU device 7:14
[2013-06-03 19:39:57] USB init, kernel detached successfully - AMU device 7:14
[2013-06-03 19:39:57] USB init - AMU device 7:14 usbver=0110 prod='CP2102 USB to UART Bridge Controller' manuf='Silicon Labs' serial='0001'
[2013-06-03 19:39:57] AMU: cgid 0 SetDataCtrl got err 0
[2013-06-03 19:39:57] AMU: cgid 0 SetBaud got err 4
[2013-06-03 19:39:57] Icarus Read: No data for 101 ms
[2013-06-03 19:39:57] AMU: cgid 0 SetDataCtrl got err 0
[2013-06-03 19:39:57] AMU: cgid 0 SetBaud got err 4
[2013-06-03 19:39:57] Icarus Read: No data for 101 ms
[2013-06-03 19:39:57] USB uninit AMU0
[2013-06-03 19:39:57] USB free AMU
Ive added the udev rules.
The moment i plug it in, /dev/ttyUSB0 is automatically added . I can use the usbtest.py just fine. The result i get is same as what it says it should be.
Now, whenever i run cgminer, it removes the /dev/ttyUSB0 interface, and i cant get it back without removing and adding the erruptor again.
Tried running cgminer (tried both the master and 3.2.0) , tried both with and without sudo.
Is there a way to force cgminer to use the old serial interface?
uname -a
Linux xxxxxxxx 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux