LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2005, 09:39 PM   #1
michaeljh2000
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10
Posts: 17

Rep: Reputation: 0
How do I get sound working?


Ok, I've got sound now working, at least system sounds. However there are a few issues.

Issue 1: upon reboot, there is a loud "hiss" from speakers. I disable the hiss in kmix by turning off one of the radio buttons, but it would be nice to not have to disable the button everytime the system re-boots.

Issue 2: Can't seem to get cd to work. When I try to mount the cdrom, get message:
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems

So, now I just want to play my favorite cd's and MP3. Any help appreciated. Thanks.

I'm on Slack 10, KDE 3.2.3, 2.4.26 kernal


Last edited by michaeljh2000; 01-08-2005 at 12:21 AM.
 
Old 01-07-2005, 10:20 PM   #2
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Is it detecting the modem as well?

Scroll down to:
Sound on ThinkPad x30 (Intel AC 97 Audio Controller)

here: http://www.edafe.org/slack.html

Works on my Dell Inspiron laptop. HP desktop with integrated audio doesn't need it.
 
Old 01-08-2005, 12:24 AM   #3
michaeljh2000
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10
Posts: 17

Original Poster
Rep: Reputation: 0
I don't have a modem installed. This is a Shuttle. Kinda like a compact desktop.

I'll check out the link though, thanks.
 
Old 01-08-2005, 01:02 AM   #4
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
$su -
$alsamixer
Configure bars with arrows, enable or disable service with "m" key.
When done ESC
#alsactl store
P.S. If you have 5.1 speaker system, be sure that LFE channels bars are all way down and [off]. LFE channel is to generate 5.1 emulation matrix on 4 speaker systems.
 
Old 01-08-2005, 06:14 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
As for Issue 2, audio CDs don't have to be mounted.

Enjoy!
--- Cerbere
 
Old 01-08-2005, 08:48 AM   #6
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Quote:
Originally posted by SlackerLX
$su -
$alsamixer
Configure bars with arrows, enable or disable service with "m" key.
When done ESC
#alsactl store
P.S. If you have 5.1 speaker system, be sure that LFE channels bars are all way down and [off]. LFE channel is to generate 5.1 emulation matrix on 4 speaker systems.
Mmm, yes. The "Unmuting" in alsamixer caught me off guard the first time as well.
 
Old 01-08-2005, 10:14 AM   #7
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
HEY! I've got problems with sound too!
I run XMMS. It plays about an hour, but when I turn it off - I get BAD system sound that error happend. What's up?
Can u help me, if it's not difficult?
 
Old 01-08-2005, 10:21 AM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Zdravstvuy dorogoy tovarisch kornerr!
Welcome back!
Let me understand the problem correctly. After playing XMMS for about an hour you successfully close the programm and upon reopening you have bad output in sound. Am I correct in my extrapolation?
If I am then you have to check if alsa sound in being interfered with AC97 emulation.
 
Old 01-08-2005, 10:40 AM   #9
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Zdraste!
Kak tebya zovut, brat??? Est' u tebya sait? HTO TI?
A ti vashe russkii? Che, realno v Kanade?
ALSA found my AC'97. I've got Slack10.0.
First it was with 2.4.6. But then I had a look at CD and found experimental kernel 2.7.6. I "installed" it. After it Errors occur less, but still... And this ErrorMessage occurs only after playing sound about an hour (or two). It sounds about an error, then if I run XMMS again - everything's fine. But after 1-2 hours the same thing occurs. I don't know. I ran ALSA sound several times. 'alsaconf', 'alsamix', 'alsactl store'... but this doesn't happens.

ps: tell me, please, commands how to configure Net. I know NO one.
 
Old 01-08-2005, 10:52 AM   #10
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
See that your AC97 emulation is way down and off in alsamixer
 
Old 01-08-2005, 01:18 PM   #11
michaeljh2000
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Cerbere
As for Issue 2, audio CDs don't have to be mounted.

Enjoy!
--- Cerbere
Ok, so then why cannot I not access my cd rom?

At audio cd browser i get this error:

An error occurred while loading audiocd:/:
Could not read /dev/cdromAn error occurred while loading audiocd:/:

And I get this error too:

mount: only root can mount /dev/cdrom on /mnt/cdrom
Please check that the disk is entered correctly.

 
Old 01-08-2005, 01:28 PM   #12
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
/dev/cdrom is a link to actual device. Please check your "dmesg" for actual cdrom device.
It must be /dev/hdb or hdc or any other but not /dev/cdrom. When you get right device, chmod it and mount it
 
Old 01-09-2005, 08:25 AM   #13
michaeljh2000
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware 10
Posts: 17

Original Poster
Rep: Reputation: 0
here is my dmesg:
I try to mount /dev/hdc but message says it cant be found.


Linux version 2.4.26 (root@tree) (gcc version 3.3.4) #6 Mon Jun 14 19:07:27 PDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=301
Initializing CPU#0
Detected 3502.527 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 6973.03 BogoMIPS
Memory: 904360k/917504k available (1844k kernel code, 12756k reserved, 618k data, 120k init, 0k highmem)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 65536 (order: 6, 262144 bytes)
Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 09
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 0xfb4f0, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX/ICH [8086/24d0] at 00:1f.0
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 02:06.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xe8000000, mapped to 0xf880d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:bcb0
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10f
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 10 for device 00:1f.1
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 02:06.0
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddio
hda: C/H/S=20510/81/100 from BIOS ignored
hda: WDC WD450AA-00BAA0, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 87930864 sectors (45021 MB) w/2048KiB Cache, CHS=87233/16/63, UDMA(66)
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: [PTBL] [5473/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 4018.800 MB/sec
32regs : 2636.800 MB/sec
pIII_sse : 4526.800 MB/sec
pII_mmx : 4128.800 MB/sec
p5_mmx : 4022.000 MB/sec
raid5: using function: pIII_sse (4526.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 2008084k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected an Intel(R) 865G, but could not find the secondary device. Assuming a non-integrated video card.
agpgart: Detected Intel(R) 865G chipset
agpgart: AGP aperture is 64M @ 0xf0000000
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 10 for device 02:06.0
PCI: Sharing IRQ 10 with 00:1d.2
PCI: Sharing IRQ 10 with 00:1f.1
eth0: RealTek RTL8139 at 0xf8ab2000, 00:30:1b:af:a6:96, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
PCI: Found IRQ 11 for device 02:07.0
PCI: Sharing IRQ 11 with 00:1d.1
eth1: RealTek RTL8139 at 0xf8ab4000, 00:05:5d:d0:7b:6e, IRQ 11
eth1: Identified 8139 chip type 'RTL-8139C'
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 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.19, 19 August 2002 on ide0(3,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.


Last edited by michaeljh2000; 01-09-2005 at 08:32 AM.
 
Old 01-09-2005, 10:34 AM   #14
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Here is what you need to do.(as root)

rm -rf /dev/cdrom

ln -s /dev/hdc /dev/cdrom

then edit /etc/fstab

change where it says

"/dev/cdrom /mnt/cdrom........... ro,noauto,OWNER to ro,noauto,users

do the same with floppy.

then go into xmms, right click, options > preferences.

click cd-audio and then configure, and choose digital audio extraction and make sure the 2 boxes above it say

/dev/cdrom and /mnt/cdrom.

then when you want to play the cd, open up xmms, right click, and choose play location, and type in /mnt/cdrom and you should be able to play your audio cd's.

Last edited by liquidtenmilion; 01-09-2005 at 10:35 AM.
 
Old 01-09-2005, 10:42 AM   #15
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
and if that doesn't work, type (as root)

chmod 777 /dev/cdrom

chmod 777 /dev/hdc

chmod 777 /mnt/cdrom
 
  


Reply



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
Intel sound not working, usb modem not working. siriusb Linux - Hardware 8 03-04-2006 10:16 PM
Sound not working in GNOME but sound card test works saravkrish Linux - Hardware 3 02-08-2006 11:03 AM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 01:02 PM
Sound was working.. rebooted.. alsa start errors... no sound now.. Zero-0-Effect Linux From Scratch 5 03-21-2004 09:58 PM
Sound working but not working in Redhat 9.0 Isocene Linux - Software 3 06-03-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:34 PM.

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