Okay ...
Now,we will try and understand tensions on the two sides of the pulley.To keep things simple,the string is considered massless.So,for the time being assume string to be massless.
Reconsider the torque equation of the pulley FR-fr=Iα .Now what happens is that the torque on the pulley due to friction(FR) is equal to the difference in the torques due to tensions on the two sides (T2R-T1R).
So,we can rewrite the torque equation of the pulley about the axle as (T2-T1)R -fr =Iα.Keep this equation in mind.
Now we will simplify things one step at a time.
If the pulley is frictionless ,'f' in the second term on the L.H.S becomes zero and we have (T2-T1)R=Iα.
Case 1) Pulley has mass , I≠0 .So,T2≠T1 i.e tensions on the two sides are unequal.So,if the question says the pulley is frictionless but has mass then the tensions on the two sides are different.
Case 2) Pulley is massless , I=0 .So,T2=T1 i.e tensions on the two sides are equal. So,if the question says the pulley is frictionless and massless then the tensions on the two sides are same.