matt_thomas Posted December 24, 2003 Report Share Posted December 24, 2003 I posted a similar question to the hardware forum... I sometimes have problems with sound skipping when system sounds are being played, or when playing files through xmms. When I was setting up my hardware, I remember seeing a buffer size or priority or something along those lines....Thought maybe if I increase the size.... Any ideas? Thanks. Quote Link to comment Share on other sites More sharing options...
bvc Posted December 24, 2003 Report Share Posted December 24, 2003 (edited) adding echo 1024 > /proc/sys/dev/rtc/max-user-freq to /etc/rc.d/rc.local always fixes it for me. You can find your default (probably 64 maybe 128) with cat /proc/sys/dev/rtc/max-user-freq Oh, here is where i put it fielif [ $SECURE_LEVEL -ge 4 ]; then rm -f /etc/issue /etc/issue.net fi echo 1024 > /proc/sys/dev/rtc/max-user-freq touch /var/lock/subsys/local check that dma is enabled for all your drives with either hdparm (be careful) or for example [root@ml root]# ls /proc 1/ 2068/ 2276/ 2383/ 2418/ 8/ driver/ locks sys/ 10/ 2069/ 2292/ 2385/ 2419/ 998/ execdomains meminfo sysrq-trigger 1043/ 2070/ 2312/ 2388/ 2427/ acpi/ fb misc sysvipc/ 1059/ 2071/ 2314/ 2390/ 2429/ asound/ filesystems modules tty/ 122/ 2072/ 2316/ 2392/ 2430/ buddyinfo fs/ mounts@ uptime 13/ 2178/ 2318/ 2395/ 2438/ bus/ ide/ mtrr version 1322/ 2225/ 2320/ 2398/ 2448/ cmdline interrupts net/ vmstat 1723/ 2236/ 2328/ 2399/ 3/ config.gz iomem partitions 1738/ 2237/ 2373/ 2400/ 32/ cpufreq ioports pci 1762/ 2259/ 2374/ 2401/ 4/ cpuinfo irq/ scsi/ 1824/ 2263/ 2375/ 2402/ 5/ crypto kallsyms self@ 2/ 2266/ 2376/ 2403/ 531/ devices kcore slabinfo 206/ 2268/ 2379/ 2404/ 6/ diskstats kmsg stat 2067/ 2272/ 2381/ 2405/ 7/ dma loadavg swaps [root@ml root]# ls /proc/ide/ drivers hda@ hdc@ hdd@ ide0/ ide1/ via [root@ml root]# ls /proc/ide/ide0 channel config hda/ mate model [root@ml root]# ls /proc/ide/ide0/hda cache driver identify model smart_thresholds capacity geometry media settings smart_values [root@ml root]# cat /proc/ide/ide0/hda/settings name value min max mode ---- ----- --- --- ---- acoustic 0 0 254 rw address 0 0 2 rw bios_cyl 59554 0 65535 rw bios_head 16 0 255 rw bios_sect 63 0 63 rw bswap 0 0 1 r current_speed 69 0 70 rw failures 0 0 65535 rw init_speed 12 0 70 rw io_32bit 1 0 3 rw keepsettings 0 0 1 rw lun 0 0 7 rw max_failures 1 0 65535 rw multcount 16 0 16 rw nice1 1 0 1 rw nowerr 0 0 1 rw number 0 0 3 rw pio_mode write-only 0 255 w slow 0 0 1 rw unmaskirq 1 0 1 rw using_dma 1 0 1 rw wcache 0 0 1 rw [root@ml root]# and be careful when using cat and echo on kernel stuff in /proc....you can lock it up. Edited December 24, 2003 by bvc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.