Re: Sound system
Kent West wrote:
MillTek wrote:
MillTek wrote:
I went to install alsa-base from apt-get and I got this result;
apt-get install alsa-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
alsa-utils
Suggested packages:
apmd alsadriver
The following NEW packages will be installed:
alsa-base alsa-utils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/175kB of archives.
After unpacking 614kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 1:
field name `contains' must be followed by colon
E: Sub-process /usr/bin/dpkg returned an error code (2)
Anyone have any idea what this is about?
Answered that one myself. Appears that a file called 'available' in
/var/lib/dpkg is badly corrupted (had a power failure here today.
Does anyone have any idea where I can get a fresh copy or how to
generate one?
I believe you can just rename the file to get it "out of the way", and
then rerun "apt-get update".
But before doing installing alsa-base, are you in the audio group (log
in as yourself and type "groups" to see which groups you're in. If
you're not in the audio group, add yourself by typing (as root)
"adduser jim audio" where "jim" is your login name; then logout/log
back in.
Also, what modules do you have loaded? Try "lsmod" to show the
modules; you should see (among others,) something like:
snd_pcm_oss 53732 0
snd_mixer_oss 19840 1 snd_pcm_oss
snd_via82xx 26144 0
snd_pcm 100196 2 snd_pcm_oss,snd_via82xx
snd_timer 25924 1 snd_pcm
snd_ac97_codec 62724 1 snd_via82xx
snd_page_alloc 12164 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7872 1 snd_via82xx
snd_rawmidi 25120 1 snd_mpu401_uart
snd_seq_device 8136 1 snd_rawmidi
snd 55780 9
snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
via82cxxx_audio 29896 0
uart401 11716 1 via82cxxx_audio
sound 83820 2 via82cxxx_audio,uart401
soundcore 10272 3 snd,via82cxxx_audio,sound
ac97_codec 18828 1 via82cxxx_audio
Of these, I think the last five are the most critical. Of course,
since your audio is i810-based instead of via82x-based, you'll want
the i810 modules. Run "modconf" and look for i810 or Intel Integrated
sound drivers, or just manually try "modprobe i810_audio" (look under
/lib/modules/[your module version]/kernel . . . for the available
module names you can try), and if it works, add this name to
/etc/modules for future boots.
Kent,
Here are the results of my lsmod;
lsmod
Module Size Used by
snd_mixer_oss 16640 0
tsdev 7168 0
mousedev 9684 2
psmouse 17544 0
nvidia 2072232 12
ipv6 220384 8
af_packet 20616 2
shpchp 87404 0
pciehp 86508 0
pci_hotplug 32176 2 shpchp,pciehp
snd_intel8x0 31528 0
snd_ac97_codec 54916 1 snd_intel8x0
snd_pcm 84900 1 snd_intel8x0
snd_timer 23044 1 snd_pcm
snd_page_alloc 10884 2 snd_intel8x0,snd_pcm
gameport 4736 1 snd_intel8x0
snd_mpu401_uart 7296 1 snd_intel8x0
snd_rawmidi 22688 1 snd_mpu401_uart
snd_seq_device 7944 1 snd_rawmidi
snd 48356 8 snd_mixer_oss,snd_intel8x0,snd_ac97_codec,
snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ehci_hcd 26116 0
joydev 9408 0
usbhid 29248 0
ohci_hcd 17668 0
usbcore 95068 5 ehci_hcd,usbhid,ohci_hcd
nvidia_agp 7580 1
agpgart 31272 2 nvidia_agp
evdev 9088 0
i810_audio 30356 0
ac97_codec 16908 1 i810_audio
soundcore 9824 2 snd,i810_audio
forcedeth 14336 0
nls_cp437 6016 2
capability 4356 0
commoncap 7168 1 capability
ide_cd 38788 1
cdrom 35488 1 ide_cd
rtc 12088 0
xfs 511800 0
reiserfs 199536 0
jfs 154364 0
vfat 13184 1
fat 41664 1 vfat
isofs 32440 0
ext3 108392 0
jbd 54040 1 ext3
ide_disk 17152 4
ide_generic 1664 0
amd74xx 13340 1
ide_core 134496 4 ide_cd,ide_disk,ide_generic,amd74xx
unix 25776 260
font 8576 0
cfbcopyarea 3840 0
cfbimgblt 3200 0
I carriage-returned the line 'snd' to reduce width. All of the
reasonable modules that I find in /lib/modules/2.6.6-1-386 are already
in the lsmod results so I have no clue what to add. modprobe
i810_audio produces no results. I tried , by the way, renaming that
'available' file and redoping apt-get update but that does not re-create
the file from scratch.
Thanks,
Jim
Reply to: