|You cannot run Windows 8 on that model. HP do not have any Windows 8 drivers for it. That's why some hardware components don't work.|
HP do not have any Windows 7 drivers for it either, so I guess you must have used Vista drivers as they are the only drivers that HP have for the Pavillion a6334f.
While Vista drivers will often work on Windows 7, they will definitely not work on Windows 8.
You must always check what drivers are available on the PC maker's website before upgrading (or downgrading) the OS.