John Whittington

Results 49 comments of John Whittington

I had a look at the pure Rust [udev](https://github.com/cr8t/udev) and unfortunately it's not a crate yet. I've asked the question https://github.com/cr8t/udev/issues/20 whether it is ready for one or not. I...

https://github.com/tuna-f1sh/cyme/tree/udevrs now uses udev-rs by default rather than rely on libudev. I left the option of using libudev with the `--feature=udevlib`. I would merge it other than I have issues...

Not personally but [nusb](https://github.com/kevinmehall/nusb) is on my radar. It would be a pure Rust solution rather than libusb but not explored whether porting would be possible yet. Open to contributions...

Yes I agree and this is something I've had on my feature list for a while after looking at the lsusb code. `lsusb` will dump quite a few other descriptors...

@hardBSDk if you interested in testing this, the PR #26 can be built with pure Rust using `--no-default-features -F=native`.

It should be possible with the rusb extra bytes: https://docs.rs/rusb/latest/rusb/struct.InterfaceDescriptor.html#method.extra and then processing the raw buffer depending on a class match like `lsusb`: https://github.com/gregkh/usbutils/blob/master/lsusb.c#L507

Working branch for this https://github.com/tuna-f1sh/cyme/tree/dumps in case anyone is interested.

You might be interested, I've been working on and off on this. It's quite a lot of grunt work porting the descriptors and the exact formatting from `lsusb` but I'm...

Yes this was actually a change I made because by default nusb does not list xHCI (root_hubs). It made me re-think the default list and not to show them. The...