Author Topic: newbie question:re sound  (Read 907 times)

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« on: 11 December 2002, 14:34 »
I would appreciate some help on a problem Ive been having with sound - sometimes my computer will boot up with no sound support and I have to set up my sound from the terminal.  I think it would be fairly easy to shove a few lines into my boot up to  get sound working but I dont know how.  Below is the procedure I follow to ge sound working:
(stuff that I do is indented by an asterix *)

*su root

*draksound

*set driver to:snd-intel8x0 (intel 82801AA, 82901AB, i810, i820, i830, i840, MX440, SiS 7012)

i810 audio :D evice or resource busy
starting alsa version 0.9.0rc2 :( intel8x0) [OK]
/lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o.gz: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
modprobe:insmod /lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o.gz failed
modprobe:insmod snd-intel8x0 failed
insmoding module snd-intel8x0 failed at /usr/lib/libDrakX/modules.pm line 55

*draksound

*set driver to:i810_audio (intel 810 audio support)

shutting down alsa sound driver (version 0.9.0rc2):no (sound is being used by pid xxxx)
rmod:module snd-intel8x0 is not loaded

*kill xxxx

*draksound

*set driver to:snd-intel8x0 (intel 82801AA, 82901AB, i810, i820, i830, i840, MX440, SiS 7012)

alsa driver (version 0.9.0rc2) is already running

#(there is still no sound at this stage, but applications which will not start with no sound drivers will run)

*draksound

*set driver to:i810_audio (intel 810 audio support)

shutting down alsa sound driver (version 0.9.0rc2):[OK]
rmod:module snd-intel8x0 is not loaded
loading sound module (i810_audio) [OK]

#(sound now works perfectly)


    :confused:        :confused:        :confused:  

btw im using onboard sound   :(   - intel corporation|ICH2 810 chipset AC97 audio controller

[ December 11, 2002: Message edited by: Faust ]

[ December 11, 2002: Message edited by: Faust ]

Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #1 on: 11 December 2002, 14:37 »
I have no idea why the   :D    :(  smilies are in the above post...   :confused:    :confused:    :confused:  

cat /proc/pci gives:
   bus 0, device 31, function 5
   multimedia audio controller:intel corp 82801BA/BAM AC97 audio (rev 5)
   IRQ 10
   I/O at 0xe000 [0xeOff]
   I/O at 0xf000 [0xf03f]

The output from dmesg is pretty long so i wont post it unless someone asks me to...
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
newbie question:re sound
« Reply #2 on: 11 December 2002, 15:39 »
ok, just stick this in /etc/modules.conf
Code: [Select]
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
newbie question:re sound
« Reply #3 on: 11 December 2002, 15:40 »
and remember to run alsamixer after each boot, i don't know how to set up autoloading of mixer settings though.
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #4 on: 11 December 2002, 15:44 »
thanks choasforages! 8-)
doing it now...
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #5 on: 11 December 2002, 16:20 »
quote:
and remember to run alsamixer after each boot, i don't know how to set up autoloading of mixer settings though.

  :confused:    :confused:    :confused:  
alsamixer?
changing /etc/modules.comf didnt work... 8-(
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
newbie question:re sound
« Reply #6 on: 11 December 2002, 16:58 »
try modprobing each of those and see what it does

modprobe snd-intel8x0;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

do anything?

[ December 11, 2002: Message edited by: choasforages ]

x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #7 on: 11 December 2002, 17:28 »
All of the modprobes give absolutely no output... they just run and then i get a command prompt back, EXCEPT for modprobe snd-intel8x0 which gives the following -

/lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o.gz: 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
modprobe: insmod /lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o.gz failed
modprobe: insmod snd-intel8x0 failed
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #8 on: 11 December 2002, 17:31 »
also when i run alsamixer i get -

alsamixer: function snd_ctl_open failed for default: no such device
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
newbie question:re sound
« Reply #9 on: 11 December 2002, 18:30 »
after the modprobing failing what does

dmesg

tell us happend
i don't know much after that
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #10 on: 11 December 2002, 19:01 »
dmesg output is as follows -

Linux version 2.4.19-16mdk ([email protected]) (gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #1 Fri Sep 20 18:15:05 CEST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffeb000 (usable)
 BIOS-e820: 000000000ffeb000 - 000000000ffef000 (ACPI data)
 BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved)
 BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
255MB LOWMEM available.
Advanced speculative caching feature not present
On node 0 totalpages: 65515
zone(0): 4096 pages.
zone(1): 61419 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux-yesx ro root=301 quiet devfs=mount hdc=ide-scsi
ide_setup: hdc=ide-scsi
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 1351.967 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2700.08 BogoMIPS
Memory: 256676k/262060k available (1176k kernel code, 4996k reserved, 444k data, 136k 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)
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: 0383fbff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(TM) CPU                1300MHz stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1351.9699 MHz.
..... host bus clock speed is 103.9976 MHz.
cpu: 0, clocks: 1039976, slice: 519988
CPU0<T0:1039968,T1:519968,D:12,S:519988,C:1039976>
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0df0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
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 version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
devfs: v1.12a (20020514) Richard Gooch ([email protected])
devfs: boot_options: 0x1
vesafb: framebuffer at 0xf0000000, mapped to 0xd0800000, size 65536k
vesafb: mode is 800x600x16, linelength=1600, pages=3
vesafb: protected mode interface info at c000:c060
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Looking for splash picture.... found (800x600, 30412 bytes).
Console: switching to colour frame buffer device 80x16
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller on PCI bus 00 dev f9
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda  :D  MA, hdb  :D  MA
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc  :D  MA, hdd    io
hda: ST340810A, ATA DISK drive
hdb: ST360021A, ATA DISK drive
hdc: 16X10, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdb: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 >
 /dev/ide/host0/bus0/target1/lun0: p1
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
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: 122k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Mounted devfs on /dev
Freeing unused kernel memory: 136k freed
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 18:49:04 Sep 20 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 5
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
PCI: Found IRQ 9 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
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: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal
Adding Swap: 401584k swap-space (priority -1)
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x45e/0x40) is not claimed by any active driver.
usb.c: registered new driver usb_mouse
usb-uhci.c: interrupt, status 3, frame# 111
input0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) on usb1:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: ATAPI     Model: CD-R/RW 16X10     Rev: G.DJ
  Type:   CD-ROM                             ANSI SCSI revision: 02
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,6), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ip_conntrack version 2.1 (2047 buckets, 16376 max) - 300 bytes per conntrack
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: Each connection entry needs 116 bytes at least
IPVS: ipvs loaded.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
Installing knfsd (copyright (C) 1996 [email protected]).
Intel 810 + AC97 Audio, version 0.21, 18:45:57 Sep 20 2002
PCI: Found IRQ 10 for device 00:1f.5
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH2 found at IO 0xf000 and 0xe000, IRQ 10
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x414c:0x4710 (ALC200/200P)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
Splash status on console 0 changed to off
inserting floppy driver for 2.4.19-16mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
udf: registering filesystem
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
cdrom: open failed.
PPP BSD Compression module registered
PPP Deflate Compression module registered
usb-uhci.c: interrupt, status 2, frame# 1426
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
usb-uhci.c: interrupt, status 2, frame# 758
PCI: Found IRQ 10 for device 00:1f.5
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000
Intel 810 + AC97 Audio, version 0.21, 18:45:57 Sep 20 2002
PCI: Found IRQ 10 for device 00:1f.5
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH2 found at IO 0xf000 and 0xe000, IRQ 10
i810_audio: Audio Controller supports 6 channels.
ac97_codec: AC97 Audio codec, id: 0x414c:0x4710 (ALC200/200P)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2

(sorry about the line beginning with input0... will be replaced after I get a new keyboard I swear!)

[ December 11, 2002: Message edited by: Faust ]

Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
newbie question:re sound
« Reply #11 on: 11 December 2002, 19:07 »
hmmm, when trying the modprobeing was any of the modules already loaded. and easy way to tell is

cat /proc/modules
try before messing with draksound or the modprobe, and after the draksound try it agian.
anybody else have this problem? anybody ever messed with a  i8* soundsystem. im about at faust as the newbie on this one
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #12 on: 11 December 2002, 19:31 »
theres no difference in the output of cat /proc/modules from before I get the sound working till after I get the sound working
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html

foobar

  • Member
  • **
  • Posts: 308
  • Kudos: 0
    • http://www.fuckmicrosoft.com
newbie question:re sound
« Reply #13 on: 11 December 2002, 19:45 »
quote:
Originally posted by Faust:
I have no idea why the   :D    :(  smilies are in the above post...   :confused:    :confused:    :confused:  




That is because UBB 'picks out' smiles from the pieces of code that you provide us. If it contains any line of text that you would normally use to post a Graemlin, such as :p, :), and ;), it will change that text to one.

Best thing is, just like I did, to disable smiles in your post when you post pieces of code, or put it between
Code: [Select]
tags.
Linux user #283039

Gosh, I love Linux Quake.


Faust

  • Member
  • **
  • Posts: 1,223
  • Kudos: 0
newbie question:re sound
« Reply #14 on: 11 December 2002, 19:57 »
 
thanks wuck... should have spotted it coming from the abundance of colons in that post... ty!
 
Yesterday it worked
Today it is not working
Windows is like that
 -- http://www.gnu.org/fun/jokes/error-haiku.html