"labgrid-client -p Place power get" does not find specified usb port #1436
Unanswered
BenM-github
asked this question in
Q&A
Replies: 1 comment
-
The primary problem is that USB Hubs with more than 4 ports are usually built out of two cascaded USB HUB Chips. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, does anyone know why this error (img below) is occuring? Do I need do add driver information to the exporter or is it my
/etc/udev/rules.d/52-usb.rules
specification? Other commands likelabgrid-client -p PLACE acquire
run without any problem.Error:
![error](https://private-user-images.githubusercontent.com/79357350/343816069-4f935966-2960-4b66-ac84-1b19d02ae03c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTIwNjcsIm5iZiI6MTczOTIxMTc2NywicGF0aCI6Ii83OTM1NzM1MC8zNDM4MTYwNjktNGY5MzU5NjYtMjk2MC00YjY2LWFjODQtMWIxOWQwMmFlMDNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4MjI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3M2M4YjY3MDQ2YmQ4MmNjZGY5ZDhmZGZlYjkxYmJmZTAzNGY2YmFlMTViYTExNmZhNzBjYzJkZTExOTFkNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.38jet88JKOfB7lhrrEtdt7RL_43kM2j5VXsJNlgleWo)
I mean if there is no USBPowerPort I can talk to why can I see them in my labgrid-client resources? This is propably the wrong place for this question but I am unsure where else to find an answer.
This is what labgrid says about the USBPowerPort (labgrid-client -p Place show):
![labgrid-client show](https://private-user-images.githubusercontent.com/79357350/343816130-9e0c27b3-3214-4875-a1d1-1fbb3aaea5ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTIwNjcsIm5iZiI6MTczOTIxMTc2NywicGF0aCI6Ii83OTM1NzM1MC8zNDM4MTYxMzAtOWUwYzI3YjMtMzIxNC00ODc1LWExZDEtMWZiYjNhYWVhNWVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4MjI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlMDAyYTBkMzI0MWFjYzdlMTgwMmMzOWEzNDIyYjhlZDE3YjEzMDk5MzVmOTRjOWM4ZjBhOGExY2ViZmM1NDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RbGwf6OUlNWvUrhNjkQ4PtS4Etmh1ehUeia5F_h9RaM)
And this is how I present the resource information to the exporter in the exporter.yaml:
![Screenshot 2024-06-27 140312](https://private-user-images.githubusercontent.com/79357350/343762344-869a006f-2c16-4480-9509-922cfa24dd0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTIwNjcsIm5iZiI6MTczOTIxMTc2NywicGF0aCI6Ii83OTM1NzM1MC8zNDM3NjIzNDQtODY5YTAwNmYtMmMxNi00NDgwLTk1MDktOTIyY2ZhMjRkZDBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE4MjI0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5ODRmM2Y4NWFmMDFkMWE1ZGRmMDc2ZDk2YjcyMzlhODNlNTlmMjNiZWIwNWZiMDZhMWNhZjI4MmQ5N2E0Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.IjVoX3fYZuC2dO6DDjlA3jQQaB_4rummkCuczRI_SWM)
I also read the doc about USBPowerPort (https://labgrid.readthedocs.io/en/latest/configuration.html#usbpowerport) but it seems like my mistake is something different than the USBPowerPort specification.
When I run
uhubctl -l 3-8.4 -p 2
like in the error message I get the return:No compatible devices detected at location 3-8.4! Run with -h to get usage info.
Makes sence that such error is occuring but why is this resource listed in the first place?
My knowlege of USB-Ports is very limited so I hope there is an answer to this problem at all. 😅
Thanks and best regard
Ben
Beta Was this translation helpful? Give feedback.
All reactions