LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2004, 11:05 AM   #1
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Rep: Reputation: 0
Avance ALS4000 sound card problems


Hello,

I must confess I'm a newbie. Working with my first attempt at RedHat 9. So far it's been challenging but overall really cool.
I am having trouble getting the sound card to kick in.
Here is the info on the system. I've inserted the /sbin/lspci and dmesg outputs below.
Any ideas on how to get the sound going?
THANKS!

Card: Avance Logic, Inc. ALS4000
Box: Compaq Deskpro EN Pentium II 320MB ram
RedHat 9 version: 2.4.20-8
/sbin/lspci contents:

/lib/ld-linux.so.2
libc.so.6
stdout
strerror
geteuid
snprintf
__strtol_internal
qsort
fgets
memcpy
malloc
optarg
optind
sscanf
iopl
getopt
memset
sprintf
fclose
stderr
fputc
__ctype_b_loc
pread
fwrite
access
__errno_location
exit
__fxstat
fopen
_IO_putc
_IO_stdin_used
__libc_start_main
strlen
strchr
fputs
pwrite
vfprintf
free
pm_intel_conf1
pm_intel_conf2
__gmon_start__
GLIBC_2.3
GLIBC_2.0
GLIBC_2.1
PTRhH
rAf9
[^_]
,[^_]
,[^_]
D$(1
D$$1
D$ 1
,[^_]
[^_]
<nonf
,[^_]
<[^_]
D$ 1
0[^]
T$$1
T$ 1
[^_]
[^_]
[^_]
[^_]
L[^_]
t-9}
<[^_]
D$ 1
[^_]
WVS1
[^_]
[^_]
[^_]
[^_]
[^_]
[^_]
[^_]
[^_]
[^_]
,[^_]
tNf@tJ
[^_]
[^_]
[^_]
[^_]
[^_]
[^_]
;FX~,
;GX~)
;GX~)
7;BX
[^_]
t29P
;E u
[^_]
<[^_]
~ u
<Ct_
[^_]
E 9E
U$9U
U 9U
U$9U
t]<*u
[^_]
t[<*u
tO<*u
tc<*u
tY<*u
[^_]
wL9~\
[^_]
PL9B\t
tkf=
t5f=
[^_]
[^_]
[^_]
[^_]
,[^_]
t3Ht)
[^_]
Unable to read %d bytes of configuration space.
Unable to read cardbus bridge extension data.
Flags: PMEClk%c DSI%c D1%c D2%c AuxCurrent=%dmA
PME(D0%c,D1%c,D2%c,D3hot%c,D3cold%c)
Status: D%d PME-Enable%c DSel=%d DScale=%d PME%c
Status: RQ=%d SBA%c 64bit%c FW%c Rate=%s
Command: RQ=%d SBA%c AGP%c 64bit%c FW%c Rate=%s
Command: DPERE%c ERO%c RBC=%d OST=%d
Status: Bus=%u Dev=%u Func=%u 64bit%c 133MHz%c SCD%c USC%c, DC=%s, DMMRBC=%u, DMOST=%u, DMCRS=%u, RSCEM%c
Secondary Status: 64bit%c, 133MHz%c, SCD%c, USC%c, SCO%c, SRD%c Freq=%d
Status: Bus=%u Dev=%u Func=%u 64bit%c 133MHz%c SCD%c USC%c, SCO%c, SRD%c
: Upstream: Capacity=%u, Commitment Limit=%u
: Downstream: Capacity=%u, Commitment Limit=%u
Message Signalled Interrupts: 64bit%c Queue=%d/%d Enable%c
Slot ID: %d slots, First%c, chassis %02x
Bus: primary=%02x, secondary=%02x, subordinate=%02x, sec-latency=%d
!!! Unknown I/O range types %x/%x
!!! Unknown memory range types %x/%x
!!! Unknown prefetchable memory range types %x/%x
BridgeCtl: Parity%c SERR%c NoISA%c VGA%c MAbort%c >Reset%c FastB2B%c
Prefetchable memory behind bridge: %08x-%08x
Prefetchable memory behind bridge: %08x%08x-%08x%08x
Memory behind bridge: %08x-%08x
I/O behind bridge: %08x-%08x
Memory window %d: %08x-%08x%s%s
16-bit legacy interface ports at %04x
BridgeCtl: Parity%c SERR%c ISA%c VGA%c MAbort%c >Reset%c 16bInt%c PostWrite%c
!!! Unknown header type %02x
!!! Invalid class %04x for header type %02x
Control: I/O%c Mem%c BusMaster%c SpecCycle%c MemWINV%c VGASnoop%c ParErr%c Stepping%c SERR%c FastB2B%c
Status: Cap%c 66Mhz%c UDF%c FastB2B%c ParErr%c DEVSEL=%s >TAbort%c <TAbort%c <MAbort%c >SERR%c <PERR%c
Interrupt: pin %c routed to IRQ %d
## %02x.%02x:%d is a bridge from %02x to %02x-%02x
!!! Bridge points to invalid primary bus.
!!! Bridge points to invalid bus range.
Discovered device %02x:%02x.%d
WARNING: Bus mapping can be reliable only with direct hardware access enabled.
%02x:%02x.%x %s: %s
(prog-if %02x
[%s]
(rev %02x)
[size=
Region %d:
I/O ports at
<ignored>
[disabled]
<unassigned>
%04lx
Memory at
non-
32-bit
64-bit
low-1M
type 3
(%s, %sprefetchable)
<invalid-64bit-slot>
%08x%08lx
[virtual]
Power Management version %d
Bridge: PM%c B3%c
AGP version %x.%x
PCI-X non-bridge device.
bridge
simple
PCI-X bridge device.
Expansion ROM at
Address:
%08x
%08x Data: %04x
Capabilities:
[%02x]
Vital Product Data
#%02x [%04x]
<chain broken>
<available only to root>
Secondary status: SERR
(prefetchable)
I/O window %d: %08x-%08x%s
Subsystem: %s
slow
medium
fast
BIST is running
BIST result: %02x
Latency: %d
, cache line size %02x
%dns max
%dns min
Flags:
%s devsel
, IRQ %d
, latency %d
user-definable features,
66Mhz,
fast Back2Back,
stepping,
VGA palette snoop,
bus master,
%02x:
Device: %02x:%02x.%x
Class: %s
SVendor: %s
SDevice: %s
ProgIf: %02x
Rev: %02x
%02x:%02x.%x
"%s" "%s" "%s"
"" ""
-p%02x
-r%02x
%02x.%x
%s
-[%02x-%02x]-
+-[%02x]-
\-[%02x]-
But it was filtered out.
Mapping bus %02x
Summary of buses:
%02x.%d Bridge to %02x-%02x
<crossing bug>
<overlap bug>
%02x:
Entered via %02x:%02x.%d
Primary host bus
Secondary host bus (?)
Only root can map the bus.
-d: %s
-s: %s
--version
lspci version 2.1.10
lspci:
Unable to allocate %d bytes of memory
Unknown hardware configuration type %s
/usr/share/hwdata/pci.ids
pcilib:
Decided to use %s
Trying method %d...
...No.
...OK
Out of memory (allocation of %d bytes failed)
This access method is not supported.
Cannot find any working access method.
Unaligned write: pos=%02x,len=%d
Unaligned read: pos=%02x, len=%d
%x:%x.%d
%x:
dump: Malformed line
dump: Cannot open %s: %s
dump: File name not given.
dump
dump: line too long or unterminated
Writing to dump files is not supported.
%s: %s: %s
%s, line %d: duplicate entry
%s, line %d: parse error
%x%x
read
stat
<too-large>
%s %s
%s: Unknown device %04x
Unknown device %04x:%04x
%s [%04x]
Class %04x
PriO
PriP
SecO
SecP
Master
%s%s%s%s%s
<pci_lookup_name: invalid request>
Invalid bus number
Invalid slot number
Invalid function number
':' expected
Invalid vendor ID
Invalid device ID
/proc/bus/pci
Cannot open %s
...using %s
%s/devices
File name too long
%s/%02x/%02x.%d
proc_read: read failed: %s
proc_write: write failed: %s
%x %x %x %lx %lx %lx %lx %lx %lx %lx %lx %lx %lx %lx %lx %lx %lx
proc: parse error (read only %d items)
proc_read: tried to read %d bytes at %d, but got only %d
proc_write: tried to write %d bytes at %d, but got only %d
You need to be root to have access to I/O ports.
...outside the Asylum at 0/%02x/0
conf2_write: only first 16 devices exist.
...sanity check
...insane
...no I/O permission
Intel-conf1
Intel-conf2
Scanning bus %02x for devices...
Device %02x:%02x.%d has unknown header type %02x.
Bus %02x seen twice (firmware bug). Ignored.
%02x:%02x.%d: Invalid 64-bit address seen.
%02x:%02x.%d 64-bit device address ignored.
nvbxs:d:ti:mgMGP:H:F:
Usage: lspci [<switches>]
-v Be verbose
-n Show numeric ID's
-b Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)
-x Show hex-dump of config space
-s [[<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only selected devices
-t Show bus tree
-m Produce machine-readable output
-i <file> Use specified ID database instead of %s
-M Enable `bus mapping' mode (dangerous; root only)
-P <dir> Use specified directory instead of /proc/bus/pci
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read configuration data from given file
-G Enable PCI access debugging

dmesg output:


Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000014000000 (usable)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
320MB LOWMEM available.
On node 0 totalpages: 81920
zone(0): 4096 pages.
zone(1): 77824 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/ hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 447.696 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 891.28 BogoMIPS
Memory: 317504k/327680k available (1347k kernel code, 7612k reserved, 999k data, 132k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Pentium II (Deschutes) stepping 02
Enabling fast FPU save and restore... 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 0xed8a8, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7110] at 00:14.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Detected PS/2 Mouse Port.
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
PCI: Found IRQ 10 for device 00:0e.0
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (134d,7891,134d,0001)
and the manufacturer and name of serial board or modem board
to:
register_serial(): autoconfig failed
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:14.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x2050-0x2057, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0x2058-0x205f, BIOS settings: hdcMA, hddio
hda: WDC WD600BB-00CAA1, ATA DISK drive
hdb: WDC WD800BB-00CAA1, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03ca084, I/O limit 4095Mb (mask 0xffffffff)
hdc: LITE-ON LTR-52327S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7753/240/63, UDMA(33)
hdb: host protected area => 1
hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=10337/240/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 hda6 >
hdb: hdb1 hdb2 hdb3
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 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
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: 146k 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: 132k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 9 for device 00:14.2
PCI: Sharing IRQ 9 with 00:10.0
usb-uhci.c: USB UHCI at I/O 0x2020, IRQ 9
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: 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
hub.c: new USB device 00:14.2-2, assigned address 2
input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb1:2.0
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
Adding Swap: 2555272k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LITE-ON Model: LTR-52327S Rev: QS0C
Type: CD-ROM ANSI SCSI revision: 02
IA-32 Microcode Update Driver: v1.11
microcode: CPU0 updated from revision 20 to 42, date=05121999
microcode: freed 2048 bytes
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 52x/52x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
ip_tables: (C) 2000-2002 Netfilter core team
PCI: Found IRQ 11 for device 00:0d.0
3c59x: Donald Becker and others.
See Documentation/networking/vortex.txt
00:0d.0: 3Com PCI 3c905B Cyclone 100baseTx at 0x2080. Vers LK1.1.18-ac
00:01:02:cc:37:42, IRQ 11
product code 4347 rev 00.12 date 09-25-00
Full duplex capable
Internal config register is 400000, transceivers 0xa.
8K byte-wide RAM 5:3 Rx:Tx split, 100baseTX interface.
Enabling bus-master transmits and whole-frame receives.
00:0d.0: scatter/gather enabled. h/w checksums enabled
divert: allocating divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,EPP]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
 
Old 01-14-2004, 12:20 PM   #2
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
He dude. I have the same sound card and it works like a charm with me So getting it working on your box shoulden't be a problem.
First, tell me what you tried alraigdy.
Are you using alsa? I assume you are, all modern distro's come with that.
What kernel are you using? you can find out by typing "uname -r" on an console.
As a first try, try doing "modprobe snd-als4000" . If it says "no such module" or something to that effect, you have to some how get the kernel module for your card. If it does work, run "alsamixer" and unmute the channals. Then you should be able to hear some music.
I have to go now, I'l report back.
 
Old 01-14-2004, 01:00 PM   #3
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
schatoor,

I'm using RedHat 9 version: 2.4.20-8. I don't know what alsa is, but I'll try the modprobe thing as soon as an update finishes.
In a GUI I've gone to the System Settings/Sounscard Detection and it has not detected the card. I've tried searching the Internet for a Linux driver and haven't found one and if I did I'm not real clear on how you add hardware or update a driver yet.
 
Old 01-14-2004, 02:34 PM   #4
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
I tried modprobe snd-als4000 and received the response 'Can't locate module snd-als4000'.
Also, in the system log there are repeated entries stating:
modprobe: Can't locate module sound-slot-0
modprobe: Can't locate module sound-service-0-3

Any ideas?
 
Old 01-14-2004, 06:01 PM   #5
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Ye, like I said, if it can't find the modules, they just arn't there. That means we have got to get them.
Alsa stands for "advanced linux sound architecture". The project supplies you with sound card drivers for many sound card, including yours. How can find an howto here
Download this
extract the the file by doing "tar xjf alsa-driver-0.9.8.tar.bz2". cd in the the resulting directory. Then in sequance to "./configure --with-snd-card-als4000", "make", "make install".
There are a few things that can go wrong. I'm not a 100% sure if the first command is correct. The thing is, you should tell the configure script that only the driver for the als4000 card should get compiled. If you get an error with the first command, do "./configure --help" which should describe how to use the configure script. Read that, it shoulden't be to hard to figure out what the correct command is if mine is incorrect.
another thing that could go wrong is that you should have the kernel sources installed and configured. If you don't have them installed, you won't be able to compile the driver. I'm not familiar with RH, but the sources should be on the red hat cd someware. If "./configure" fails with something like "can't fine /usr/src/linux/version.h" or something similar, first check if the directory "/usr/src/linux" existst. If it doesn't, you wll need to install the kernel sources. If it does, we will need to configure the sources. Go in the /usr/src/linux directory and do "make symlinks"
If the first command is okey and you have the kernel sources installed and configured, the drivers should get compiled. Now try "modprobe snd-als4000" If you don't get any error's, all should be fine. Now try "alsamixer". If you get "command not found" or something to that effect, you will also need to install "alsa-libs" and "alsa-utils". But for now, just do the stuff discribed above.

Last edited by qanopus; 01-14-2004 at 06:08 PM.
 
Old 01-14-2004, 08:50 PM   #6
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Ok,
I think I've gotten alsa installed ok. The alsamixer came back with a command not found though. After a reboot the ALS4000 card was detected but still no sound, guess it's muted still. Any more good ideas on how to get the mixer going? I couldn't find anything called alsa-libs or alsa-utils....

Getting close!
 
Old 01-15-2004, 04:22 AM   #7
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
He cool, you are 99% done!
After "make install", you should go in the the alsa source directories and run the "snddevices" script, like "./snddevices", which should create the sound devices. By default, the permissions of the sound devices are so that only root can acces them. Thats not good! Do "chmod a=rw /dev/dsp*" and "chmod a=rw /dev/mixer*".
After that , get alsa-lib and
alsa-utils. Unpack them with "tar xjf alsa-... ", cd in to the respective directories and to "./configure", "make", "make install". Note that you must install "alsa-libs" first.
Now you should be able to call "alsamixer" which is just an mixer program you can use to unmute the sound.
If you have any problems running "alsamixer", check if the sound card module is inserted by doing "lsmod". If it is not inserted, insert it by doing "modprobe snd-als4000" amd then run "alsamixer".
To get the sound unmuted and the modules inserted on bootup, we will have to edit some files
First, look in to the file "/etc/modules.conf" and add the following lins if they are not there:

Code:
alias char-major-14 soundcore
alias char-major-116 snd
alias snd-card-0 snd-als4000
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
This will make sure the right modules get loaded at bootup.
Okey every thing should be set up now. Report how it goes.
 
Old 01-15-2004, 08:04 AM   #8
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Everything seemed to go ok but still no sound. I did the last steps you mentioned and alsamixer did open. I adjusted the volume up but even after a reboot can't get any sound...
Here is the lsmod output and then the /etc/modules.conf output in case that gives any clues.

lsmod:

Module Size Used by Not tainted
snd-pcm-oss 45060 0 (autoclean)
snd-mixer-oss 16432 0 (autoclean) [snd-pcm-oss]
snd-als4000 7040 0 (autoclean)
snd-pcm 85408 0 (autoclean) [snd-pcm-oss snd-als4000]
snd-page-alloc 9844 0 (autoclean) [snd-pcm]
snd-mpu401-uart 5200 0 (autoclean) [snd-als4000]
snd-rawmidi 18688 0 (autoclean) [snd-mpu401-uart]
snd-opl3-lib 8708 0 (autoclean) [snd-als4000]
snd-seq-device 6204 0 (autoclean) [snd-rawmidi snd-opl3-lib]
snd-timer 19684 0 (autoclean) [snd-pcm snd-opl3-lib]
snd-hwdep 7136 0 (autoclean) [snd-opl3-lib]
snd-sb-common 12356 0 (autoclean) [snd-als4000]
snd 46020 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-als4000 snd-pcm snd-mpu401-uart snd-rawmidi snd-opl3-lib snd-seq-device snd-timer snd-hwdep snd-sb-common]
gameport 3364 0 (autoclean) [snd-als4000]
soundcore 6404 6 (autoclean) [snd]
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
3c59x 30736 1
sg 36524 0 (autoclean)
sr_mod 18136 0 (autoclean)
microcode 4668 0 (autoclean)
ide-scsi 12208 0
scsi_mod 107544 3 [sg sr_mod ide-scsi]
ide-cd 35712 0
cdrom 33728 0 [sr_mod ide-cd]
keybdev 2976 0 (unused)
mousedev 5556 1
hid 22244 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26412 0 (unused)
usbcore 79040 1 [hid usb-uhci]
ext3 70784 2
jbd 51924 2 [ext3]

/etc/modules.conf:

alias eth0 3c59x
alias usb-controller usb-uhci
alias char-major-14 soundcore
alias char-major-116 snd
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-midi
alias sound-slot-0 snd-als4000
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 || :

Thanks!
 
Old 01-15-2004, 10:37 AM   #9
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Okey, this is starting to freak me out. Re-reading my last post I see I forgot to tell you how to re-adjust the sound volume on every boot-up. But after umuting the sound channels, you should be able to hear something.
Are you getting any error messages? Try playing something while being root. What player are you using? Have you tried more then one to see if it is the player that is mis-configured, or that you don't have sound any where.
Are you dual booting with windows? If so, do you have sound under windows? Just to rule out any hardware issues.
I have to get going now, I'l describe how to re-adjust the sound volume on every boot in the next post.

Last edited by qanopus; 01-15-2004 at 10:40 AM.
 
Old 01-15-2004, 11:38 AM   #10
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
Hey,
Yes I'm quad booting between W2K, XP, Server 2003, and Red Hat. The sound works on all Windows Systems.
Logged into KDE as root. Trying Audio Player...no sound, no error. KsCD...have sound playing audio CD! Grip...have sound! No system sounds though. Rebooted and logged in as a user and same functions.
Logged into GNOME as root. Trying Audio Player...no sound, no error. CD Player...have sound with an audio CD! Grip...have sound! There are system sounds working. Rebooted and logged in as a user and same functions.
I guess it's working now. Does that sound like the way it's supposed to be?

Thanks schatoor!
 
Old 01-15-2004, 01:13 PM   #11
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Hmm, so you can play mp3 with xmms? Or wait, I know that in RH, mp3 support is not there by default. Because of potential legal problems. Talking about being paranoid! Any way, can you play wav files or ogg's? Or any movies you have, do you get sound with them
Come to think of it, last time I installed alsa, for a moment I had the same problem you had, that is, the sound modules were inserted and the sound chanels were unmuted, but there was no sound coming out of my speakers. A reboot helped. But when you reboot, the sound channels get re-muted because we still have to setup some system init scripts to unmute them on bootup. So when you reboot, run alsamixer again, unmute the channels and then try to play a sound.
I still owe you an explanation on how to get the sound channels unmuted on bootup.
First, tell me what the content is of the directory "/etc/rc.d/init.d". All the startup scripts are located here. I want to see if there is something sound related there alraidy.
 
Old 01-15-2004, 03:10 PM   #12
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
The /ect/rc.d/init.d output is:

aep1000
alsasound
amd
anacron
apmd
arpwatch
atalk
atd
autofs
bcm5820
bgpd
bluetooth
bootparamd
canna
cpqarrayd
crond
cups
dhcpd
dhcrelay
firstboot
FreeWnn
functions
gpm
halt
hpoj
httpd
identd
innd
ip6tables
ipchains
iptables
irda
irqbalance
iscsi
isdn
isicom
kadmin
kdcrotate
keytable
killall
kprop
krb524
krb5kdc
kudzu
ldap
lisa
lpd
mailman
mars-nwe
mdmonitor
microcode_ctl
mysqld
named
netdump
netdump-server
netfs
network
nfs
nfslock
nscd
ntpd
ospf6d
ospfd
pcmcia
portmap
postfix
postgresql
privoxy
psacct
pxe
radvd
random
rarpd
rawdevices
rhnsd
ripd
ripngd
routed
rstatd
rusersd
rwalld
rwhod
saslauthd
sendmail
single
smartd
smb
snmpd
snmptrapd
spamassassin
squid
sshd
syslog
tux
ups
vncserver
vsftpd
winbind
xfs
xinetd
ypbind
yppasswdd
ypserv
ypxfrd
zebra
 
Old 01-15-2004, 03:23 PM   #13
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Okey, I see that an script called "alsasound" is there. Okey, now go in to the directory /etc/rc.d/rc5.d and tell me is there is an symbolic link called "Sxxalsa" or any other link with "alsa" in the name. Note that 'xx' here are two numbers. They can be any thing. If there is, you are probebly done.
Just a question, were you trying to play mp3's? Cos I heard you won't be able to be default on RH.
Good luck.

Last edited by qanopus; 01-15-2004 at 03:37 PM.
 
Old 01-15-2004, 03:59 PM   #14
joe_wilkins2001
LQ Newbie
 
Registered: Jan 2004
Location: USA
Distribution: Red Hat 9
Posts: 16

Original Poster
Rep: Reputation: 0
schatoor,

No I'm not playing MP3's. Just sounds/music from different CD/games/websites mainly.
I don't see Sxxalsa...

/ect/rc.d/rc5.d output:

K05innd
K05saslauthd
K09privoxy
K10psacct
K12mailman
K12mysqld
K15httpd
K15postgresql
K16rarpd
K20bootparamd
K20iscsi
K20netdump-server
K20nfs
K20rstatd
K20rusersd
K20rwalld
K20rwhod
K24irda
K25squid
K28amd
K34dhcrelay
K34yppasswdd
K35atalk
K35dhcpd
K35vncserver
K35winbind
K40mars-nwe
K45arpwatch
K45named
K45smartd
K46radvd
K50netdump
K50snmpd
K50snmptrapd
K50tux
K50vsftpd
K54pxe
K55routed
K61ldap
K65identd
K65kadmin
K65kprop
K65krb524
K65krb5kdc
K70aep1000
K70bcm5820
K74ntpd
K74ups
K74ypserv
K74ypxfrd
K84bgpd
K84ospf6d
K84ospfd
K84ripd
K84ripngd
K85zebra
K90isicom
K95firstboot
S00microcode_ctl
S05kudzu
S08ip6tables
S08ipchains
S08iptables
S09isdn
S10network
S12syslog
S13irqbalance
S13portmap
S14nfslock
S17keytable
S20random
S24pcmcia
S25netfs
S26apmd
S28autofs
S55sshd
S56rawdevices
S56xinetd
S59hpoj
S80sendmail
S80spamassassin
S85gpm
S90canna
S90crond
S90cups
S90FreeWnn
S90xfs
S91smb
S92lisa
S95anacron
S95atd
S97rhnsd
S99local
S99mdmonitor

Thanks!
 
Old 01-16-2004, 06:15 AM   #15
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
Okey, try this "rc-update add alsasound default" .
A little info on what i'm trying to do there. In the /etc/rc.d/init.d directory, you will find alot of scripts that can perform a lot of tasks when you computer boots up. Most of these scripts have three arguments which you can give when you call them; "start", "stop" and "restart". So if I would do "/etc/rc.d/init.d/cups stop" I would stop the cups deamon.
Linux has different running modes called runlevels. For example, if you enter in to runlevel 3, you will have network connection, will have the abillity to log on as different users, but you won't have a gui to work with. (unless of course you do "startx" while already in runlevel 3). If you go in to runlevel 5, you will have much of the same stuff you whould have when you enter runlevel 3, but you will see a nice graphical login.
in the "/etc/rc.d/" directory you will see the directores rcx.d where x is an number from 0 to 6. The symbolic links in those directories tell what services are started up when you go in to runlevel x. In rc5.d, I see you have "S80sendmail". That capital S you see there says that the servise "sendmail" should get Started when when you enter runlevel 5. Those numbers tell witch this have to get started first. As you can see, sendmail with number 80 doesn't have much of a priority.
Now we want the sound volumes to be adjusted automatically when you enter the default runlevel. You can see what your default runlevel is in the file "/etc/inittab". With the command "rc-update add alsasound default", you will add "alsasound" to one of the things that need to be done when you enter the default runlevel. Make sure you are root when you give that command.

Last edited by qanopus; 01-16-2004 at 06:19 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat does not see Avance logic sound card Meanbean Linux - Newbie 4 01-31-2005 03:08 PM
ALS4000 Sound card not working with RHLinux9.0 bipinkdas Linux - Hardware 2 08-10-2004 06:51 AM
ALS4000 sound card rbohaty Linux - Hardware 12 07-03-2003 03:21 AM
Avance AC'97 sound card (intergrated) in Slackware 9.0 amenas Linux - Hardware 1 05-28-2003 05:23 PM
Avance Logic sound card problem ShadowLux Linux - Hardware 1 08-19-2002 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration