Title: 请问如何在树莓派(raspberrypi)支持烤猫CP210X,求救! Post by: AmWays on June 19, 2013, 03:35:52 PM 1.安装了CP210X驱动,如下:
pi@raspberrypi ~ $ dmesg | grep tty* [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xd bcm2708.serial=0xb4c85aef smsc95xx.macaddr=B8:27:EB:C8:5A:EF sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1f000000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait [ 0.000000] console [tty1] enabled [ 0.577003] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3 [ 0.887025] console [ttyAMA0] enabled [ 1.543292] Setting default values for core params [ 1.550245] Finished setting default values for core params [ 6.464775] usb 1-1.2: cp210x converter now attached to ttyUSB0 2.cgminer 3.2.2 运行的状态,如下: cgminer version 3.2.2 - Started: [2013-06-19 15:35:51] -------------------------------------------------------------------------------- (5s):0.000 (avg):0.000h/s | A:0 R:0 HW:0 U:0.0/m WU:0.0/m ST: 2 SS: 0 NB: 1 LW: 0 GF: 0 RF: 0 Connected to btcguild.com diff 1 with LP as user plutbobo_1 Block: 009372e7dbd46435... Diff:19.3M Started: [15:35:50] Best share: 0 -------------------------------------------------------------------------------- [P]ool management -------------------------------------------------------------------------------- [2013-06-19 15:35:49] No devices detected! [2013-06-19 15:35:49] Waiting for USB hotplug devices or press q to quit [2013-06-19 15:35:49] Probing for an alive pool [2013-06-19 15:35:50] Network diff set to 19.3M [2013-06-19 15:35:50] Long-polling activated for http://btcguild.com:8332/LP/ [2013-06-19 15:35:56] USB init open device failed, err -3, you dont have privil edge to access - AMU device 1:4 [2013-06-19 15:35:56] Icarus detect (1:4) failed to initialise (incorrect devic e?) [2013-06-19 15:36:01] USB init open device failed, err -3, you dont have privil edge to access - AMU device 1:4 [2013-06-19 15:36:01] Icarus detect (1:4) failed to initialise (incorrect devic e?) -------------------------------------------------------------------------------- 请问怎么解决,这个问题,3Q! Title: Re: 请问如何在树莓派(raspberrypi)支持烤猫CP210X,求救! Post by: techwtf on June 19, 2013, 04:56:23 PM run as root (sudo may help)
Title: Re: 请问如何在树莓派(raspberrypi)支持烤猫CP210X,求救! Post by: AmWays on June 20, 2013, 12:57:02 PM |