"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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzQ0MDcsIm5iZiI6MTczOTE3NDEwNywicGF0aCI6Ii83OTM1NzM1MC8zNDM4MTYwNjktNGY5MzU5NjYtMjk2MC00YjY2LWFjODQtMWIxOWQwMmFlMDNjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA3NTUwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljOGU3MDUyZWQwNzMxMGNiMTYzZDc1YWRjNGI4ZGVmZmQyYjNhOWY2ZTFlZjc0ODAzNjZkZTI3MzdhZjdiOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vghtcmghKgnVvOj-b3hr96AjzUNthgW_5S12f9KXfBs)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzQ0MDcsIm5iZiI6MTczOTE3NDEwNywicGF0aCI6Ii83OTM1NzM1MC8zNDM4MTYxMzAtOWUwYzI3YjMtMzIxNC00ODc1LWExZDEtMWZiYjNhYWVhNWVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA3NTUwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlYzUzY2EzZDhjOTY2OTNkMWI5OTYxOTVhZDc3NmQ1MzRhZDkwYTlmNzIxNTM4NjJlM2E5MjQ5NjhlYTM5NTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.adjfxuPUgS73hlD1WVJhPAsnfFGwmEKihAWiVVNnmiU)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzQ0MDcsIm5iZiI6MTczOTE3NDEwNywicGF0aCI6Ii83OTM1NzM1MC8zNDM3NjIzNDQtODY5YTAwNmYtMmMxNi00NDgwLTk1MDktOTIyY2ZhMjRkZDBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA3NTUwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU0ZjViNzJhMGZiZmEwZmI3NWJkZGNjZDgwNzUwYzVjYmM1YjA5YmVhMzhhMDdiMWQ2ZTkwMDMzMTQ1YWNhY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eaG79JhHqCq6EZYwn2lTPCWy5UN0fmi8CSUs1HUgA9w)
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