Doodle3D / doodle3d-client

The Doodle3D web interface that people can access on computers or tablets to draw doodles and control the Doodle3D WiFi box.
www.doodle3d.com
GNU General Public License v2.0
3 stars 8 forks source link

Makerbot 5th Generation support #249

Closed peteruithoven closed 8 years ago

peteruithoven commented 10 years ago

We received the first logs from Makerbot 5th Generation users. It looks like the printer driver isn't started. This could have something to do with the device path. With the current stable version we start the print3d driver when we find a /dev/ttyUSB* or /dev/ttyACM* device. (We did change to a inotifyd system) Looking at logs, the sys_devices_platform_ehci-platform_usb1.tree file seems interesting, it should contain the device name. A comparison:

//////// No devices //////// 
   |-------usb1
   |---------1-0:1.0
   |-----------ep_81
   |-----------port1
   |---------ep_00

//////// Arduino //////// 
   |-------usb1
   |---------1-0:1.0
   |-----------ep_81
   |-----------port1
   |---------1-1
   |-----------1-1:1.0
   |-------------ep_82
   |-------------tty
   |---------------ttyACM0
   |-----------1-1:1.1
   |-------------ep_04
   |-------------ep_83
   |-----------ep_00
   |---------ep_00

//////// Hub & Arduino //////// 
   |-------usb1
   |---------1-0:1.0
   |-----------ep_81
   |-----------port1
   |---------1-1
   |-----------1-1.4
   |-------------1-1.4:1.0
   |---------------ep_82
   |---------------tty
   |-----------------ttyACM0
   |-------------1-1.4:1.1
   |---------------ep_04
   |---------------ep_83
   |-------------ep_00
   |-----------1-1:1.0
   |-------------ep_81
   |-------------port1
   |-------------port2
   |-------------port3
   |-------------port4
   |-----------ep_00
   |---------ep_00

//////// Hub //////// 
   |-------usb1
   |---------1-0:1.0
   |-----------ep_81
   |-----------port1
   |---------1-1
   |-----------1-1:1.0
   |-------------ep_81
   |-------------port1
   |-------------port2
   |-------------port3
   |-------------port4
   |-----------ep_00
   |---------ep_00

//////// MAKERBOT 5th Generation //////// 
   |-------usb1
   |---------1-0:1.0
   |-----------ep_81
   |-----------port1
   |---------1-1
   |-----------1-1.2
   |-------------1-1.2:1.0
   |---------------ep_01
   |---------------ep_81
   |-------------ep_00
   |-----------1-1:1.0
   |-------------ep_81
   |-------------port1
   |-------------port2
   |-------------port3
   |-------------port4
   |-----------ep_00
   |---------ep_00
peteruithoven commented 10 years ago

All the log files: http://www.tempfiles.net/download/201405/344750/wifibox-logs-makerbot-5.html

peteruithoven commented 10 years ago

Intersting part of syslog from Makerbot users:

Thu Jan  1 16:18:04 1970 kern.info kernel: [58684.270000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Thu Jan  1 16:18:04 1970 kern.info kernel: [58684.430000] hub 1-1:1.0: USB hub found
Thu Jan  1 16:18:04 1970 kern.info kernel: [58684.430000] hub 1-1:1.0: 4 ports detected
Thu Jan  1 16:20:06 1970 kern.info kernel: [58806.920000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform
Thu Jan  1 16:20:08 1970 kern.info kernel: [58808.200000] usb 1-1.2: new high-speed USB device number 4 using ehci-platform

Syslog part of when hub and Arduino is connected:

Thu Jan  1 00:03:20 1970 kern.info kernel: [  200.900000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Thu Jan  1 00:03:21 1970 kern.info kernel: [  201.060000] hub 1-1:1.0: USB hub found
Thu Jan  1 00:03:21 1970 kern.info kernel: [  201.060000] hub 1-1:1.0: 4 ports detected
Thu Jan  1 00:03:30 1970 kern.info kernel: [  210.810000] usb 1-1.4: new full-speed USB device number 3 using ehci-platform
Thu Jan  1 00:03:30 1970 kern.info kernel: [  210.930000] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
peteruithoven commented 10 years ago

A first guess is that we need another usb driver for this Makerbot version.

woutgg commented 10 years ago

To be able to resolve this, we would need certain information about the device to start with:

peteruithoven commented 10 years ago

We received the following device information from a Makerbot 5th generation user:

 MakerBot Replicator:
  Product ID:   0x0005
  Vendor ID:    0x23c1
  Version:  3.08
  Serial Number:    23C100053C7059001400
  Speed:    Up to 480 Mb/sec
  Manufacturer: MakerBot Industries
  Location ID:  0x1a120000 / 4
  Current Available (mA):   500
  Current Required (mA):    2
olijf commented 8 years ago

@jeroensomers and I looked into cracking the Makerbot 5th Gen, but where unable to make anything usefull out of it. @gryphius at https://github.com/gryphius/makerbot-gen5-api created a nice little API in python to use basic features, but I believe even he is unable to get the Makerbot to print anything. As Makerbot has chosen to drift away from the open-source community and venture into a different business model it seems to be impossible to support new Makerbot models in the future.