If you found your device on devices->other devices as android then what you need to do is install the driver for your device. Even if it is cyanogen moded samsung phone, in most cases installing samsung driver will fix the issue.. You can get samsung drivers on the following link.

[link] http://developer.samsung.com/technical-doc/view.do?v=T000000117#none

 I'm using samsung galaxy s duos with cyanogen moded cosmic ROM. It worked fine for me.