Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Interfacing (DSI, CSI, I2C, etc.) • Re: telescope focus motor - xHCI host not responding

$
0
0
Hi, many thanks for your response.

I've posted the output in the text below (sorry if a bit long), with some comments at the top to describe how I was doing things. Just some extra detail, I have been using a DC-DC buck-boost converter as a power supply, which provides up to 10A at 5V (from 12V). I was worried this might be a problem, so also got the official 27W power supply and did the same plugging-in sequence. I got the same result, so I don't think it's the power supply.

One other thing, I've been in contact with one of the INDIGO authors (Peter, very helpful), and he mentioned it might be an issue with USB rules for the focuser. He suggested this (I guess in a file in /lib/udev/rules.d?):

Code:

SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="a50f", MODE="0666", SYMLINK+="usb_focuser"
I have tried something similar to no avail, but there might be something in Peters rules that I missed......but it seems strange that the xHC fails, is it a rules issue? I'm just digging into this and learning on the fly, so still a bit green regarding how this works. I'll post ASAP if I have a new development after trying this...

Best,
Chris

Code:

#Device plugged directly into RPi5, powered USB port (ASMedia) also plugged in.#12V Power is being directly supplied to the focuser prior to connecting USB.jones@indigosky:~ $ sudo lsusb -tv && sudo lsusb -v/sys/bus/usb/devices/3-1/bcdDevice: No such file or directory/sys/bus/usb/devices/3-1/bmAttributes: No such file or directory/sys/bus/usb/devices/3-1/configuration: No such file or directory/sys/bus/usb/devices/3-1/devnum: No such file or directory/sys/bus/usb/devices/3-1/idProduct: No such file or directory/sys/bus/usb/devices/3-1/idVendor: No such file or directory/sys/bus/usb/devices/3-1/maxchild: No such file or directory/sys/bus/usb/devices/3-1/rx_lanes: No such file or directory/sys/bus/usb/devices/3-1/tx_lanes: No such file or directory/sys/bus/usb/devices/3-1:1.1/bAlternateSetting: No such file or directory/sys/bus/usb/devices/3-1:1.1/bInterfaceClass: No such file or directory/sys/bus/usb/devices/3-1:1.1/bInterfaceNumber: No such file or directory/sys/bus/usb/devices/3-1:1.1/bInterfaceProtocol: No such file or directory/sys/bus/usb/devices/3-1:1.1/bInterfaceSubClass: No such file or directory/sys/bus/usb/devices/3-1:1.1/bNumEndpoints: No such file or directory/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M    ID 1d6b:0003 Linux Foundation 3.0 root hub/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M    ID 1d6b:0002 Linux Foundation 2.0 root hub    |__ Port 1: Dev 0, If 0, Class=Communications, Driver=cdc_acm, M        ID 0000:0000      |__ Port 1: Dev 0, If 1, Class=, Driver=, M        ID 0000:0000  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M    ID 1d6b:0003 Linux Foundation 3.0 root hub    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M        ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M    ID 1d6b:0002 Linux Foundation 2.0 root hub    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M        ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hubBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubCouldn't open device, some information will be missingDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         3   bMaxPacketSize0         9  idVendor           0x1d6b Linux Foundation  idProduct          0x0003 3.0 root hub  bcdDevice            6.06  iManufacturer           3 Linux 6.6.16-v8-16k+ xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.1  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x001f    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12        bMaxBurst               0Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubCouldn't open device, some information will be missingDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.00  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         1 Single TT  bMaxPacketSize0        64  idVendor           0x1d6b Linux Foundation  idProduct          0x0002 2.0 root hub  bcdDevice            6.06  iManufacturer           3 Linux 6.6.16-v8-16k+ xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.1  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0019    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         3   bMaxPacketSize0         9  idVendor           0x174c ASMedia Technology Inc.  idProduct          0x3074 ASM1074 SuperSpeed hub  bcdDevice            0.01  iManufacturer           2 Asmedia  iProduct                3 ASM107x  iSerial                 1 123456789130  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x001f    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                8mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes           19          Transfer Type            Interrupt          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0002  1x 2 bytes        bInterval               8        bMaxBurst               0Hub Descriptor:  bLength              12  bDescriptorType      42  nNbrPorts             4  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection  bPwrOn2PwrGood       60 * 2 milli seconds  bHubContrCurrent    400 milli Ampere  bHubDecLat          0.4 micro seconds  wHubDelay          3492 nano seconds  DeviceRemovable    0x00 Hub Port Status:   Port 1: 0000.02a0 5Gbps power Rx.Detect   Port 2: 0000.02a0 5Gbps power Rx.Detect   Port 3: 0000.02a0 5Gbps power Rx.Detect   Port 4: 0000.02a0 5Gbps power Rx.DetectBinary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x002a  bNumDeviceCaps          3  USB 2.0 Extension Device Capability:    bLength                 7    bDescriptorType        16    bDevCapabilityType      2    bmAttributes   0x00000000      (Missing must-be-set LPM bit!)  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x00    wSpeedsSupported   0x000e      Device can operate at Full Speed (12Mbps)      Device can operate at High Speed (480Mbps)      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro seconds  Container ID Device Capability:    bLength                20    bDescriptorType        16    bDevCapabilityType      4    bReserved               0    ContainerID             {386eb160-048b-4ea8-8aa8-18de5780bfed}Device Status:     0x000d  Self Powered  U1 Enabled  U2 EnabledBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         3   bMaxPacketSize0         9  idVendor           0x1d6b Linux Foundation  idProduct          0x0003 3.0 root hub  bcdDevice            6.06  iManufacturer           3 Linux 6.6.16-v8-16k+ xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.0  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x001f    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12        bMaxBurst               0Hub Descriptor:  bLength              12  bDescriptorType      42  nNbrPorts             1  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection  bPwrOn2PwrGood       50 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  bHubDecLat          0.0 micro seconds  wHubDelay             0 nano seconds  DeviceRemovable    0x00 Hub Port Status:   Port 1: 0000.0263 5Gbps power suspend enable connectBinary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x000f  bNumDeviceCaps          1  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x02      Latency Tolerance Messages (LTM) Supported    wSpeedsSupported   0x0008      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro secondsDevice Status:     0x0001  Self PoweredBus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.10  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         2 TT per port  bMaxPacketSize0        64  idVendor           0x174c ASMedia Technology Inc.  idProduct          0x2074 ASM1074 High-Speed hub  bcdDevice            0.01  iManufacturer           2 Asmedia  iProduct                3 ASM107x  iSerial                 1 123456789130  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0029    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower              100mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      1 Single TT      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0001  1x 1 bytes        bInterval              12    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       1      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      2 TT per port      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0001  1x 1 bytes        bInterval              12Hub Descriptor:  bLength               9  bDescriptorType      41  nNbrPorts             4  wHubCharacteristic 0x00a9    Per-port power switching    Per-port overcurrent protection    TT think time 16 FS bits    Port indicators  bPwrOn2PwrGood        1 * 2 milli seconds  bHubContrCurrent    100 milli Ampere  DeviceRemovable    0x00  PortPwrCtrlMask    0xff Hub Port Status:   Port 1: 0000.0100 power   Port 2: 0000.0100 power   Port 3: 0000.0100 power   Port 4: 0000.0100 powerBinary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x002a  bNumDeviceCaps          3  USB 2.0 Extension Device Capability:    bLength                 7    bDescriptorType        16    bDevCapabilityType      2    bmAttributes   0x00000000      (Missing must-be-set LPM bit!)  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x00    wSpeedsSupported   0x000e      Device can operate at Full Speed (12Mbps)      Device can operate at High Speed (480Mbps)      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro seconds  Container ID Device Capability:    bLength                20    bDescriptorType        16    bDevCapabilityType      4    bReserved               0    ContainerID             {386eb160-048b-4ea8-8aa8-18de5780bfed}Device Status:     0x0001  Self PoweredBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.00  bDeviceClass            9 Hub  bDeviceSubClass         0   bDeviceProtocol         1 Single TT  bMaxPacketSize0        64  idVendor           0x1d6b Linux Foundation  idProduct          0x0002 2.0 root hub  bcdDevice            6.06  iManufacturer           3 Linux 6.6.16-v8-16k+ xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.0  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0019    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0     bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0       bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0       Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12Hub Descriptor:  bLength               9  bDescriptorType      41  nNbrPorts             2  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection    TT think time 8 FS bits  bPwrOn2PwrGood       10 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  DeviceRemovable    0x00  PortPwrCtrlMask    0xff Hub Port Status:   Port 1: 0000.0507 highspeed power suspend enable connect   Port 2: 0000.0100 powerDevice Status:     0x0001  Self Powered

Statistics: Posted by labrat789 — Tue Mar 12, 2024 5:49 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles