dukelec / mbrush

PrinCube / MBrush APP Source Code
https://p.d-l.io
145 stars 54 forks source link

Can't connect to the princube cmd: source: not found #35

Closed hobeika closed 3 years ago

hobeika commented 3 years ago

I've been having issues recently. The princube won't start properly (white led no beep). When I start in programming mode I can see the princube via usb:

[Mon Feb  8 10:27:21 2021] usb 1-4: new high-speed USB device number 12 using xhci_hcd
[Mon Feb  8 10:27:21 2021] usb 1-4: New USB device found, idVendor=a108, idProduct=c309, bcdDevice= 1.00
[Mon Feb  8 10:27:21 2021] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Mon Feb  8 10:27:21 2021] usb 1-4: Product: Ã   USB Boot Device
[Mon Feb  8 10:27:21 2021] usb 1-4: Manufacturer: Ingenic
$ lsusb -s 1:12 -v

Bus 001 Device 012: ID a108:c309  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0xa108 
  idProduct          0xc309 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Is there a hardware issue with my princube or am I doing things wrong?

I tried the factory reset by holding the button for 5 seconds but nothing happens. Is there a way to do a hard reset of the hardware?

Thanks for your help, sorry if it's the wrong way to reach help. I couldn't get help from the support of TheGodThings so far.

dukelec commented 3 years ago

Please try refreshing the machine with the burner tool, refer to #18.

hobeika commented 3 years ago

Awesome! It fixed everything. Thanks a lot. If I may suggest an improvement, it would be nice to have a troubleshoot section in the README. It's hard to find this information. Thanks again for the support! Keep it up! :+1: