'Hip is derived from a much earlier phrase 'to be on the hip.' It was originally a bit of opium-smoking argot. The smoker lies on his hip, off in his inner world."

from, "If You Meet The Buddha On The Road, Kill Him!" by Sheldon B. Kopp