1. Waiting for him, I read a fashion magazine.

1-2. As I waited for him, I read a hion magazine.
(Are both the same?)

2. To wait for him, I read a fashion magazine.

2-1. I read a fashion magazine so that I waited for him.
(Are both the same?)
---------------------------
Are they all grammatical? Especially, are #1 and #2 grammatical though their meanings are different?

1-2 is the best sentence here. All the others are either awkwardly or incorrectly phrased.