LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   another weird sound problem... (https://www.linuxquestions.org/questions/linux-general-1/another-weird-sound-problem-35797/)

ScreeminChikin 11-18-2002 04:34 PM

another weird sound problem...
 
I never could get the sound to work right on my RH7.3 box. I could play CD's fine but no sound from XMMS, Xine or anything like that. I recently went to RH8.0 and it seems to be detecting my soundcard fine (a via built into board) but wont play the test sounds just like when I was running 7.3, but now I also cant play CD's like I could under 7.3. I checked that PNP OS is disabled in the bios, and it is so that is not the problem. Any idea what I could do to get this working? I thought about trying another card I have but I read something about having to recompile the kernel if I change the card. Is that the case? because I really wouldnt have a clue how to do that.

Thymox 11-18-2002 04:37 PM

Do you happen to know what 'card' is onboard, exactly? It is possible that all you need to do is ensure that the correct module is being loaded... take a look at the output from dmesg and see if there's anything in there about your card...?

ScreeminChikin 11-18-2002 06:24 PM

the book says "mainboard has the VIA VT8753 Northbridge and VT8233 Southbridge chipsets that support AC 97 audio codec"

when I run soundcard detection from the redhat menu, it detects it as:
vendor: VIA Technologies
model: VT8233 AC 97 audio controller
module: via 82cxxx_audio

when I do dmesg I get the following, I dont see anything that jumps out at me but I probably don't know what I'm looking at either. The only thing I see that draws my attention is at the very end where it says something about paraport0 and IRQ7 and pci init failed, but again, I dont know if that is pertaining to the sound or not.


Linux version 2.4.18-14 (bhcompile@stripples.devel.redhat.com) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 13:35:50 EDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 1400.166 MHz processor.
Speakup v-1.00 CVS: Tue Jun 11 14:22:53 EDT 2002 : initialized
Console: colour VGA+ 80x25
Calibrating delay loop... 2778.83 BogoMIPS
Memory: 253000k/262080k available (1326k kernel code, 6648k reserved, 999k data, 212k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 4096 (order: 3, 32768 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=31880 max_file_pages=0 max_inodes=0 max_dentries=31880
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 3febf9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 3febf9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 3febf9ff 00000000 00000000 00000000
CPU: Common caps: 3febf9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 1400MHz stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb180, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/3128] at 00:00.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
speakup: initialized device: /dev/synth, node (MAJOR 10, MINOR 25)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
oprofile: can't get RTC I/O Ports
block: 480 slots per queue, batch=120
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=biosirq.
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
ide0: BM-DMA at 0xd400-0xd407, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd408-0xd40f, BIOS settings: hdc:DMA, hdd:pio
hda: WDC AC36400L, ATA DISK drive
hdc: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 12594960 sectors (6449 MB) w/256KiB Cache, CHS=784/255/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 127k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 212k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:44:31 Sep 4 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,2), internal journal
Adding Swap: 522104k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.18, 14 May 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ohci1394: pci_module_init failed
ip_tables: (C) 2000-2002 Netfilter core team
8139too Fast Ethernet driver 0.9.25
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xd0855000, 00:d0:09:ff:98:34, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139B'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.ide-floppy driver 0.99.newide
hdc: ATAPI 52X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ohci1394: pci_module_init failed

Thymox 11-18-2002 06:35 PM

Quote:

Originally posted by ScreeminChikin
When I run soundcard detection from the redhat menu, it detects it as:
vendor: VIA Technologies
model: VT8233 AC 97 audio controller
module: via 82cxxx_audio

But can you get sound once you've run the soundconfig program? If so, can you get sound when you reboot, or do you have to run the program again?

ScreeminChikin 11-18-2002 06:55 PM

I tried that but when I do soundconfig or sndconfig sndconf I just get command not found so either it isnt in RH8.0 or I dont know the proper command. I know I did that in 7.3 but I cant find it in 8.0.

Thymox 11-19-2002 11:28 AM

OK, lets try another avenue then... (I don't run RH and I can't remember what they've changed the sndconfig program to now... perhaps config-sound, or something? - Who knows!)

As root, edit the file /etc/modules and add via82cxxx_audio to it - nothing else, just that line on it's own. Also, you might want to check out the file /etc/modules.conf and add/change a line so that it reads alias sound via82cxxx_audio. Save these, type (as root) modprobe via82cxxx_audio and cross your fingers.

ScreeminChikin 11-19-2002 10:44 PM

OK......I dont have a /etc/modules but I do have a /etc/modules.conf. It looks like this

alias parport_lowlevel parport_pc
alias eth0 8139too
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci

looks like that line is in there so I didnt mess with it. Does it look OK? Now when I did modprobe via82cxxx_audio I get the following....

[root@lancelot root]# modprobe via82cxxx_audio
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o: insmod /lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o failed
/lib/modules/2.4.18-14/kernel/drivers/sound/via82cxxx_audio.o: insmod via82cxxx_audio failed
[root@lancelot root]#

This looks bad to me but I dont know what to do about it. The only thing that really catches my eye here is the line in the conf file that says remove sound-slot-0. Does that hold any signifigance?


All times are GMT -5. The time now is 03:08 PM.