Hi On Tue, 24 Apr 2007 08:26:00 -0700 [email protected] wrote: > Adrian Bunk napsal: > > Subject : gammu no longer works > > References : http://lkml.org/lkml/2007/4/20/84 > > Submitter : Wolfgang Erig <[email protected]> > > Status : unknown > > As several people reported this issue to me, I debugged gammu and here > are details: This is caused by setting fcntl(filehandle, F_SETFL, > FASYNC). Consequent write(filehandle, ...) generate SIGIO, which end > application. I'm still investigating why FASYNC was there and whether > it is really needed, but it worked with it for ages (this code is > there at least since 2004 where my VCS history ends). Reply to myself... At the end it turned out that Gammu wrongly sets async I/O while it doesn't want it and does not handle it. Till now no driver which has been used didn't support it, so this issue has not been caught. I just removed this code from Gammu, so this is IMHO not a kernel regression. PS: Please CC me on reply, I'm not subscribed. -- Michal Čihař | http://cihar.com | http://blog.cihar.com
Attachment:
signature.asc
Description: PGP signature
- Prev by Date: Re: [patch 1/7] libata: check for AN support
- Next by Date: Re: Renice X for cpu schedulers
- Previous by thread: [OOPS 2.6.21-rc7-mm1] kernel BUG at fs/sysfs/inode.c:272 (sysfs_drop_dentry)
- Next by thread: [PATCH] Remove unnecessary include of linux/tty.h from a bunch of files
- Index(es):