Mostly, in vivo single-unit recording device with optogenetic activation or inhibtion seems to only use in anesthesia condition.
Are there some commercial goods for free-moving mouse recording electrophysiology with optogenetics?
http://bmc1.erin.utoronto.ca/~stuart/RIN/index.html