wblock@ said:What kind of hardware device? usbhidaction(1) can do things with uhid(4) devices. I'd link to the foot pedal thread, but this terrible forum software seems to have no global search and the links are broken.
I really thought I had already posted this, but apparently something went funky. Anyway: thanks for the suggestion! I wasn't even aware of that utility, even though it's in the base system. :rprotocelt said:I have no experience with it, but would usbdump(8) possibly work?
wblock@ said:What kind of hardware device? usbhidaction(1) can do things with uhid(4) devices. I'd link to the foot pedal thread, but this terrible forum software seems to have no global search and the links are broken.
fonz said:It sounds to me like you need/want to snoop USB traffic. I don't know whether there's anything in the ports tree that can do that. If not, you're probably going to need to hook a few system calls in the kernel, which would be an interesting and educational exercise if you've never done such a thing before.
Thanks for the interesting question, by the way. I've got a USB device here (*) that comes only with Windows drivers, so for quite a while now I've been wanting to figure out how to snoop USB traffic and analyse it in order to reverse-engineer the communication protocol so I can create an open-source driver (and front-end) for it.
Ad (*): If you must know, it's an electronic variometer used in paragliding :h
To be fair, most Windows users don't need to understand such things because their gizmos come with Windows drivers and Windows front-end applications so they don't even need to know what actually makes it workkr651129 said:The same conversation with a lot of Windows users would have a reply with something along these lines "Ummm, so I should reboot the machine" /flamebait
fonz said:To be fair, most Windows users don't need to understand such things because their gizmos come with Windows drivers and Windows front-end applications so they don't even need to know what actually makes it workkr651129 said:The same conversation with a lot of Windows users would have a reply with something along these lines "Ummm, so I should reboot the machine" /flamebait
If she's your wife, doesn't she have you to change the oil and look after the car for her? P §ekr651129 said:fonz said:I have this conversation with my wife all the time. You don't NEED to know how your car works. But it sure is a lot cheaper to know how to change your own oil or know how to fix your car with a quick and dirty hack when you're on the side of the highway so you can at least get it to a shop
fonz said:If she's your wife, doesn't she have you to change the oil and look after the car for her? P §ekr651129 said:fonz said:I have this conversation with my wife all the time. You don't NEED to know how your car works. But it sure is a lot cheaper to know how to change your own oil or know how to fix your car with a quick and dirty hack when you're on the side of the highway so you can at least get it to a shop