Hi! Habe gerade ein Kernel update gemacht und nun will der STM32 CDC Stack nicht mehr (bzw. linux mag ihn nicht mehr). Beim öffnen des devices bekomme ich folgenden Fehler:
1 | [ 1325.109770] cdc_acm 1-10:1.0: ttyACM0: USB ACM device |
2 | [ 1333.790160] cdc_acm 1-10:1.0: acm_port_activate - usb_submit_urb(ctrl irq) failed |
Die Änderungen im Kernel-Source sehen für mich gut aus und der STM32 USB Stack hatte in der Vergangenheit immer wieder Macken. Hat da jemand eine Idee dazu? Der dump von lsusb:
1 | Bus 001 Device 016: ID 0483:5740 STMicroelectronics Virtual COM Port |
2 | Device Descriptor: |
3 | bLength 18 |
4 | bDescriptorType 1 |
5 | bcdUSB 2.00 |
6 | bDeviceClass 2 Communications |
7 | bDeviceSubClass 2 Abstract (modem) |
8 | bDeviceProtocol 0 |
9 | bMaxPacketSize0 64 |
10 | idVendor 0x0483 STMicroelectronics |
11 | idProduct 0x5740 Virtual COM Port |
12 | bcdDevice 2.00 |
13 | iManufacturer 1 STMicroelectronics |
14 | iProduct 2 STM32 Virtual ComPort |
15 | iSerial 3 204E37773453 |
16 | bNumConfigurations 1 |
17 | Configuration Descriptor: |
18 | bLength 9 |
19 | bDescriptorType 2 |
20 | wTotalLength 0x0043 |
21 | bNumInterfaces 2 |
22 | bConfigurationValue 1 |
23 | iConfiguration 0 |
24 | bmAttributes 0xc0 |
25 | Self Powered |
26 | MaxPower 100mA |
27 | Interface Descriptor: |
28 | bLength 9 |
29 | bDescriptorType 4 |
30 | bInterfaceNumber 0 |
31 | bAlternateSetting 0 |
32 | bNumEndpoints 1 |
33 | bInterfaceClass 2 Communications |
34 | bInterfaceSubClass 2 Abstract (modem) |
35 | bInterfaceProtocol 1 AT-commands (v.25ter) |
36 | iInterface 0 |
37 | CDC Header: |
38 | bcdCDC 1.10 |
39 | CDC Call Management: |
40 | bmCapabilities 0x00 |
41 | bDataInterface 1 |
42 | CDC ACM: |
43 | bmCapabilities 0x02 |
44 | line coding and serial state |
45 | CDC Union: |
46 | bMasterInterface 0 |
47 | bSlaveInterface 1 |
48 | Endpoint Descriptor: |
49 | bLength 7 |
50 | bDescriptorType 5 |
51 | bEndpointAddress 0x82 EP 2 IN |
52 | bmAttributes 3 |
53 | Transfer Type Interrupt |
54 | Synch Type None |
55 | Usage Type Data |
56 | wMaxPacketSize 0x0008 1x 8 bytes |
57 | bInterval 16 |
58 | Interface Descriptor: |
59 | bLength 9 |
60 | bDescriptorType 4 |
61 | bInterfaceNumber 1 |
62 | bAlternateSetting 0 |
63 | bNumEndpoints 2 |
64 | bInterfaceClass 10 CDC Data |
65 | bInterfaceSubClass 0 |
66 | bInterfaceProtocol 0 |
67 | iInterface 0 |
68 | Endpoint Descriptor: |
69 | bLength 7 |
70 | bDescriptorType 5 |
71 | bEndpointAddress 0x01 EP 1 OUT |
72 | bmAttributes 2 |
73 | Transfer Type Bulk |
74 | Synch Type None |
75 | Usage Type Data |
76 | wMaxPacketSize 0x0040 1x 64 bytes |
77 | bInterval 0 |
78 | Endpoint Descriptor: |
79 | bLength 7 |
80 | bDescriptorType 5 |
81 | bEndpointAddress 0x81 EP 1 IN |
82 | bmAttributes 2 |
83 | Transfer Type Bulk |
84 | Synch Type None |
85 | Usage Type Data |
86 | wMaxPacketSize 0x0040 1x 64 bytes |
87 | bInterval 0 |
88 | can't get device qualifier: Resource temporarily unavailable |
89 | can't get debug descriptor: Resource temporarily unavailable |
90 | Device Status: 0x0001 |
91 | Self Powered |