How can brain know about consciousness if it can't be observed outside ourselves?
The fact that we can talk about our own subjective experience as such, and about our qualia as qualia, seems to prove that it is not true that these things cannot be observed objectively. However, it is also probably mistaken to frame the problem as if it was an empirical question.
The problem of consciousness, the hard problem of consciousness, is fundamentally that there is nothing in our materialist model of the physical world which we could use to represent the quality of our subjective experience, i.e., our qualia. If we want to say that the physical world is made of matter, and that the properties of matter include mass, electric charge, magnetic field, etc., then none of these things appear to be appropriate to explain the quality of our subjective experience, i.e., our qualia.
We know ourselves, we know our own consciousness, or rather, our own consciousness knows itself. The material world that we know, however, is not the actual material world. Rather, what we know seems to be a model of the actual material world, presumably logically derived by our brain from the perception data it has about the world. However, the "symbols" used to represent in this model are nothing but our qualia themselves. Thus, I suspect that the real problem is essentially the old problem of self-reference, which would logically obviate the possibility of a rational articulation of qualia in terms of the actual material world.
Our rational explanations about the material world do not change this situation.
We know our qualia exist because we know them. We certainly believe that the actual material world exists, but it is equally clear that it is not really as we think of it. The only criterion deciding that the model of the material world produced by our brain is valid is that it should allow us to survive in the actual material.
A model does not need to be "realistic" to be effective and useful. We only need it to be useful. Thus, we cannot explain our qualia in terms of our model of the material world because our explanation would be self-referential. And we cannot explain our qualia in terms of the actual world because we don't know the actual material world at all.
This, however, is no problem. All we really need is to survive in the material world and it seems we do. To achieve survival, we don't seem to need to understand our qualia in material terms. All we need is to understand the material world in our own terms, which are our qualia. Seems to work.
The problem of consciousness is really the problem of the material world, namely, the fact that we cannot represent the material world in its own terms, i.e., in actual material terms. It would not be possible to represent atoms using actual atoms, for example, because we would have to represent an elephant as an actual elephant and it wouldn't fit into our brain. So, our brain can only use symbols and its own symbols, namely, as it is, our qualia. Our brain is the product of natural selection, so its function is probably limited to help us survive in the material environment, not to help us solve metaphysical questions that have probably no effect on our survival.
Stop the goose chase.