A Queensland man has been given bail over an assault rifle allegedly found in a room of a city hotel in Adelaide last week.

Adelaide Magistrates Court heard Jason Santoro, 36, was arrested after a hotel manager allegedly found parts of an SK assault rifle while moving some luggage into storage.

The court previously heard Santoro was originally from South Australia, but had lived in Queensland now for 12 years.

Prosecutors did not oppose home detention bail for Santoro to live with relatives in Adelaide.

He was ordered to return to court in May.