On Sat, Jan 06, 2007 at 08:27:50PM +0200, Ramagudi Naziir wrote: > Hello. > > I am writing a driver for a serial device. > > I want it to be suspended before the serial driver, > and resumed after the serial driver. Drivers aren't tied to serial devices usually from within the kernel. But if you want to do this, look at the bluez code, it handles this properly. good luck, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/