Hallo Zusammen,
ich bin so langsam am verzweifeln hier. Ich versuche nun seit Tagen meine 3D Drucker in die NAS Umgebung einzubinden. Ziel des ganzen, soll sein diese im Docker Container mit Octoprint anzusteuern. Aktuell habe ich 2 unterschiedliche Modelle, welche ich einbinden möchte. Drucker #1 lies sich beim Test problemlos verbinden und wurde auch als USB Gerät erkannt. Ein Test im Docker Container führte ebenfalls zum gewünschten Ergebnis. Leider sieht es bei meinem Drucker #2 nicht so einfach aus. Dieser meldet sich auf der NAS lediglich als Openmoko, Inc an und erhält keinen USB Port zugeteilt.
Habt ihr eine zündende Idee wie ich es hinbekommen könnte, dass der Drucker von der DS erkannt wird?
Anbei noch Auszüge aus der aktuellen Verbindung:
Auszug aus dmesg:
[69443.021775] usb 1-7: new full-speed USB device number 25 using xhci_hcd
[69443.158832] usb-storage 1-7:1.2: USB Mass Storage device detected
[69443.159090] scsi host29: usb-storage 1-7:1.2
[69444.161456] scsi 29:0:0:0: Direct-Access Marlin SDCard 01 1.0 PQ: 0 ANSI: 0 CCS
[69444.161757] sd 29:0:0:0: Attached scsi generic sg4 type 0
[69444.161998] sd 29:0:0:0: [sdq] 7745536 512-byte logical blocks: (3.97 GB/3.69 GiB)
[69444.162246] sd 29:0:0:0: [sdq] Write Protect is off
[69444.162247] sd 29:0:0:0: [sdq] Mode Sense: 03 00 00 00
[69444.162464] sd 29:0:0:0: [sdq] Asking for cache data failed
[69444.168098] sd 29:0:0:0: [sdq] Assuming drive cache: write through
[69444.678564] sdq: sdq3
[69444.678569] sdq: p3 start 3160236353 is beyond EOD, enabling native capacity
[69445.244573] sdq: sdq3
[69445.244576] sdq: p3 start 3160236353 is beyond EOD, truncated
[69445.246039] sd 29:0:0:0: [sdq] Attached SCSI removable disk
lsusb -t
root@Diskstation:/dev# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
|__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 7: Dev 25, If 0, Class=Communications, Driver=, 12M
|__ Port 7: Dev 25, If 1, Class=CDC Data, Driver=, 12M
|__ Port 7: Dev 25, If 2, Class=Mass Storage, Driver=usb-storage, 12M
lsusb -v
Bus 001 Device 025: ID 1d50:6029 OpenMoko, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1d50 OpenMoko, Inc.
idProduct 0x6029
bcdDevice 1.00
iManufacturer 1 marlinfw.org
iProduct 2 Marlin USB Device
iSerial 3 0FFFF014AF6998C05E40CFCBF50020C3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 98
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 0 None
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
ls -ltr /dev | tail
root@Diskstation:/dev# ls -ltr /dev | tail
drwx--x--x 3 root root 60 Aug 29 03:10 virtualization
crw-rw-rw- 1 root root 5, 0 Aug 29 03:11 tty
crwxrwxrwx 1 root root 4, 65 Aug 29 21:46 ttyS1
drwxrwxrwt 2 root root 80 Aug 29 22:21 shm
drwxr-xr-x 2 root root 1180 Aug 29 22:26 block
drwxr-xr-x 2 root root 160 Aug 29 22:26 bsg
brw------- 1 root root 65, 0 Aug 29 22:26 sdq
crw------- 1 root root 21, 4 Aug 29 22:26 sg4
drwxr-xr-x 2 root root 1280 Aug 29 22:26 char
crw-rw-rw- 1 root root 5, 2 Aug 29 22:42 ptmx