Wednesday 28 September 2016

Binding the device to the driver

Binding is the process of assigning a piece of hardware to a piece of software. The USB dongle I was using today when plugged into the Linux machine was getting picked up by the other USB modules running in the system. What I wanted was for it to be picked up by the driver module that I wrote. This would be verified by when the init function is called and the corresponding message is shown in the dmesg logs. Somehow the binding was not happenning by itself so I had to do it manually. It involved disabling a couple of USB modules and then re forming some symbolic links.

No comments:

Post a Comment