Can you compile your driver as a module. generally exit function's are called when system shuts down,
so try either close (fd) --> fd being the return of open(ttyS0/ttyS1) or compile it as a module and do an insmod/rmmod. regards, Pavan On Wed, Jul 15, 2009 at 6:34 PM, prabhakaran M.C <[email protected]>wrote: > > Hello All, > > In my hardware, after successful hciattach and bluetooth chipset > init, hci_uart_tty_close (kernel/drivers/bluetooth/hci_ > ldisc.c)got called and it brings down the uart and controller. > > I could not trace hci_uart_tty_close function, to know who is > triggering this. Since I am new to the kernel drivers world, please > suggest me how to trace this and fix this issue. > > Thanks, > Prabhakaran. > > > > -- --Pavan Savoy --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
