"Undeserved" patent attribution I work with professor from my college and it seems like we are close to invention, so he said me to collaborate with his old friend and patent it. All amount of work was divided between us unequally. Idea belongs to my professor and he did some minor measurement, I've done about 90% of work, including writing text of patent itself, while his friend has no idea about the thing or process and simply gives obvious advices, such as "search for other similar patents and use them as reference" and "you should be comfortable with these topics" (Oh, thank you very much, I never would have guessed without your advice). 

Just out of interest, I've searched for all professor's patents and found out one weird thing: each patent has four names (his, his friend's, his student's, who did all the work, and his daughter's). I can't say something bad about her because I don't even know her. The reason is: she has never even been at this college, studying many miles away and having nothing in common with all these researches. I know some of his students, and they definitely have never worked with her. 

I feel disappointed and kind of cheated: it's pretty hard for me to know that his friend will share with me this invention, and even harder to know that I will have another "co-author" which I don't even know. His friend, at least, read the text of patent; I doubt that she knows about this research, by the way. I can't refuse now, because all work is done and, besides, I can't change supervisor during this year, at least. I feel like if I would try to protect myself in this situation, he would simply tell that she did some amount of work (and definitely he would be mad at me). What can I do now?
This is one of those situations that has an obvious, but unsatisfactory, solution. The supervisor has power over you and can wield it to your disadvantage. I suggest that you just let it ride without complaint. I know it isn't fair, but, as a student you have little recourse or power to change things. 

Know that if you let it go you will get a good, if not perfect, outcome, and that you won't always be "under the thumb" of your supervisor. But having your name on a patent is a positive thing, no matter the rest. 

But he can make if very unpleasant for you if you object. As other questions here suggest this is unfortunately a moderately common issue. 

Treat it as a learning experience and if you make a career in Academia, don't do this sort of thing. And if you wind up with some "power" there, work to assure it doesn't happen in the future, but you have little power now.