Unhappy [P5100]Undetected by PC

My P5100 is undetected by my PC,the cable works,i tried changing the USB ports,ODIN does not detect my device,
when i connect my P5100 it does not say that it is being used as a mass storage device(and just charges instead)
i run Android 4.4.2
with a unnoficial Cyanogen 11 build (i have MTP ticked on the cyanogenmod settings,i also tried unmounting and mounting my SD card in the settings)

may you guys please help me fix this ?.
thanks ahead

PS this problem is recurring with my last build as well so i do not think that it is the ROM that is giving me issues