[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem flushing buffers for USB devices.



Greetings,
The flushing of buffers for devices plugged into a USB port is problematic. When writing data to a USB stick it usually took two attempts to write a directory to a USB stick. The first attempt didn't show the directory was there when it was removed then plugged back in.

I then used sync a couple of times to flush the buffers after write then lo and behold the data remained on the USB stick after the first write.

This is a problem, that data should not need a follow up sync for it to be properly written to the USB stick.

Recently a dialup modem was plugged in to the computer using a serial to
USB cable. This worked up to a point. Sometimes it is very slow especially on thunderbird (icedove) and on some websites, especially google's. After doing a sync every couple of seconds one notices that the read-data light on the modem comes on soon after the sync command and the data from website comes much more quickly.

That is a bug which needs to fixed; one shouldn't have to run a script to do a sync every couple of seconds just so that USB traffic goes to and fro as it should.

Is there an adequate fix ? Have Debian 5.04 here on an Asus notebook, a PRO50G . Problem especially noticeable on iceweasel and icedove from this release. Didn't noticed any rise in CPU or memory use for any of the processes, not the kernel processes with a k prefix either. Nothing stood out on the syslog or anything else in /var/log on an initial inspection.

Thanks in advance.

frank.jansen@actrix.gen.nz, ZL2TTS


Reply to: