Re: Help with device drivers

2009-08-11 Thread Krassimir Slavchev
Hans Petter Selasky wrote: On Monday 10 August 2009 13:39:31 Krassimir Slavchev wrote: If I try to open the device from userland with: fd = open(/dev/xxx0, O_RDWR) it fails because open() tries to open the device for reading first and then for writing. There is a bug in the code. If you

Help with device drivers

2009-08-10 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, Looking at sys/dev/usb/misc/ufm.c ... static int ufm_open(struct usb_fifo *dev, int fflags) { if ((fflags (FWRITE | FREAD)) != (FWRITE | FREAD)) { return (EACCES); } return (0); } ... and

Re: amrd disk performance drop after running under high load

2007-10-16 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexey Popov wrote: Hi. Kris Kennaway wrote: After some time of running under high load disk performance become expremely poor. At that periods 'systat -vm 1' shows something like this: What does high load mean? You need to explain the

Modem stuff?

2000-05-09 Thread Krassimir Slavchev
containing pattern "+++ATS2=127WO1\r", in many times successfully, but any of modems can not be set properly. It is possible to filter IP packets containing patterns like +++ATH0 or any other way to set S2 register remotely? Thanks in advance Regards -- Krassimir Slavchev B