LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-13-2004, 11:38 AM   #1
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Rep: Reputation: 0
A newbies terribly annoying sound and mounting problems


Hey, I'm an aggrovated Windoze user who finally took the initiative to switch to linux and these are my first problems (well not the first...but the first I couldn't find a solution for). Any help would be great, remember I'm a complete newbee so be very gentle.

Alright first and foremost is my sound problem, during the instilation of fedora core 2 My C-media CM8738 sound card was detected and played the test sound. woooohooo. Unfortunately as soon as I logged in after everything was installed and popped a cd in I heard nothing. I went to soundcard detection and sure enough my card was detected again (along with my sis900) but I couldn't hear the test sound this time. I've tried fiddeling with all the sound options I can find on both GNOME (which is what i use normally) and KDE but nothing seemed to help. Lastly I tried disabling my sis900 soundcard but still I get nothing.

My second problem has to do with mounting my usb stick. I downloaded and installed a script I got from the web that made a little icon on my desktop show up when I plugged in the usb stick and mounted it. The only problem with it is that to unmount it i can't just right-click the icon and hit an unmount button I have to go to the terminal to the /mnt directory and umount the device, call me lazy but menu option would be great. Its very possible that I didn't use the script correctly as I am a complete newbee. I don't remember the site I got the script from but I'll post again with it.

Thanks for any help you can give me.
 
Old 08-13-2004, 12:39 PM   #2
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
Now is not the best time to be *just starting* to use Linux. You have to understand that the 2.6 kernel is still very new and thus there are going to be "issues" that come from its immaturity. Some veteran Linux users don't consider a kernel relatively mature until the mid-teens, that is "2.6.15", or later. I still use 2.4.26 and just now am considering starting to use 2.6.
Anyway, one of the problems with the new 2.6 kernel is, of course, sound. Many other people are having the same problem as you (misery loves company). But trust me Linux is worth the effort. The problem comes from ALSA now being integrated into the kernel by default. I won't even try to tell you I understand the whole problem, but it stems from the Linux developers wanting to switch from the old OSS sound to the new super duty ALSA sound.
First thing I would recommend is (if you haven't already) upgrade to kernel 2.6.7 or 2.6.8 and see if that fixes your problem, if it doesn't, we'll start troubleshooting other things.
 
Old 08-13-2004, 12:54 PM   #3
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Hey thanks for the reply, I'm currently using kernel 2.6.7, If going up to 2.6.8 might help I'll definitely do it but I'm not exactly sure how.
 
Old 08-13-2004, 02:18 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Could it be a permission-problem (the permissions on the sound-devices not properly set or you not being in the group which is granted access to these devices)?

Do you get any error-messages?

What exactly does not work?

Are you using alsa? BTW: alsa works just fine for me - and has been for more than two years, when it was not as mature as it is now

Did you try running "alsamixer" - does not matter if on console or in a terminal?

Does it work if you are root? --> permission problem - I concider this, because you said you could hear a test-sound when installing - but not anymore...

I myself am running 2.6.7 - but upgrade 2.6.8 is not difficult - it was more tricky when upgrading from 2.4.x series to 2.6.x series - well, not tricky - but you had to know and do some things before it could work - but upgrading inside of the same series of kernels is as easy as getting the new kernel-source (or a patch to go from 2.6.7 to 2.6.8) and recompile and install it...
 
Old 08-13-2004, 03:25 PM   #5
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
The sound doesn't work as root either so I'm pretty sure it's not a permissions problem, and I just ran alsamixer in the terminal and everything that can be turned up is max (minus the microphone settings)

To answer ur question nothing sound related works at all (cd's, sound effects, soundcard detection)
The fact that the test sound played during the install is what gets me, that would mean that the first kernel installed w/ Fedora Core 2 (2.6.4 i think) worked. so confusing

2.6.7 is the most recent stable kernel, should i patiently wait for 2.6.8? At this point i'll try anything....I need my music!

Also, this might be completely stupid as I've said i'm a newbee. If we can't work together to figure this problem out would it be possible to use kernel 2.4.27 before they started using this ALSA? I know that you can boot to more then one kernel because whenever i start my computer i can either boot to kernel 6.2.4 or the 6.2.7 that I upgraded to, so I could just boot to 2.4.27 and happily listen to my music until 2.6 kernel has properly "matured"


Last edited by SwimmingPenguin; 08-13-2004 at 03:35 PM.
 
Old 08-13-2004, 03:34 PM   #6
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
Was helping someone on the forum with a similar prob and recommended they try using alsaconf command but they never even had to try that

quote
Right, thanks! It's working now. I didn't have to do alsaconf for this, though. I fiddled around with the sliders in aumix and Mixer and somehow I got sound after popping in Mob Rules' "Hollowed Be Thy Name" CD :d And then all my mp3s :P


So maybe it`s just going to be a case of fiddling around!
 
Old 08-13-2004, 03:48 PM   #7
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Ok I just ran into something that I think is a little wierd but as always it could just be newbee idiocy. When i was fiddling in aumix i found that if hold shift and the right arrow key (to move the litttle 'o' over) while on the volume bar then my speakers make a crackling noise. I just thought it was strange because software was making the speakers do something, which is more then i've gotten so far. After fiddling for a while longer to no more breakthroughs (yes, i call this a breakthrough...i'm that desperate) I simply put all the bars (excepting the mic) up to full
 
Old 08-13-2004, 04:00 PM   #8
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
Ok, since you already have 2.6.7 I wouldn't worry about upgrading to 2.6.8. Like jomen said, you can try alsamixer and make sure that *all* the levels are up to at least 75% and that none of them are muted. The reason I say *all* is because you really don't need all of them, but just to make sure that the one channel that is really needed isn't accidently muted. Later after you get the sound working you can go back and turn off the one's you don't need. If alsamixer is the same on your FC2 2.6 kernel as my FC1 2.4 kernel, there will be a "MM" at the top of a channel if it is muted, you can unmute each channel by pressing "m", and I believe that by default they *are* muted.
If that doesn't fix your problem, you should post the output of the "/sbin/lsmod" and post what your /etc/modules.conf file has in it. The easiest way to do that is to type "/sbin/lsmod > lsmod.txt" , and then "cat /etc/modules.conf > /etc/modules-conf.txt", in a terminal (without the quotation marks)and hit enter after each command. This will generate 2 files in your home directory one named lsmod.txt and one named /etc/modules-conf.txt. You need to include both of those files in your next post. The reason for this is that your system might be loading modules it shouldn't, or it might not be loading modules it should, and these will show if something is wrong.
Here are a couple links that might help you. The first one is from a guy who was having the same problem as you, keep in mind though that he is using Debian and the file structure is a little different than on Fedora:

http://www.linuxquestions.org/questi...hreadid=208926

The second is to the CCRMA website and this section explains how to configure ALSA for the 2.4 kernel on FC1, but you still will find some information relevant to the 2.6 kernel on FC2. This is the version of Fedora that I use. It is for low-latency audio work and the kernel is specifically setup for that, but it also makes a excellent gaming kernel, which is what I mainly use it for. If you find that the 2.6 kernel is giving you too many problems, this version of Fedora would make a good choice for you (at least until the 2.6 kernel matures a little), and all the documentation for the install is right there on the CCRMA website. They will probably switch over to the 2.6 kernel in two or three months. Anyway, here's the link:

http://ccrma.stanford.edu/planetccrm...00000000000000

Anyway, I live in Florida and hurricane Charley is coming right over where I live at about 8pm eastern time U.S. and I am almost certain the power will be out for a couple days, so if I don't get back to you later you will know why (I'm sure somebody else will help if I can't). Time to start boarding the windows up.

Last edited by zajelo3; 08-13-2004 at 04:03 PM.
 
Old 08-13-2004, 04:15 PM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
that really is confusing...

to (just maybe) diagnose the problem we would need to know a few things:

it seems that you have two soundcards on your system - since you mentioned:

"...and sure enough my card was detected again (along with my sis900)"

maybe only the first one is set up - or maybe both, but by default you are using the wrong one?

when you run "alsamixer" the device it is using is displayed in the upper left corner - is it your CM8738 ?

Did or do you compile the kernel yourself?

Which modules are loaded - if sound-support is not compiled into the kernel itself ? (lsmod)


what is in your /etc/modprobe.conf ? - look for "alias snd-card-0 ..." - is it your CM8738 ?

is there an entry like: "alias snd-card-1 ..." ?


could you give the output of:

lspci -v

and of:

ls -l /lib/modules/2.6.7/kernel/drivers/sound/pci


can't help with your usb-stick problem!

I'll get fedora next week - to try it out and see where it is different from other distibutions - with respect to locations of files in /etc/... and other directories - until that time I don't know about the layout and only assume it to be in the same locations as it is on my current system.
 
Old 08-13-2004, 04:23 PM   #10
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Here is my lsmod file:

Module Size Used by
snd_pcm_oss 42985 0
snd_mixer_oss 14017 3 snd_pcm_oss
snd_cmipci 32485 3
snd_pcm 83529 2 snd_pcm_oss,snd_cmipci
snd_page_alloc 8393 1 snd_pcm
snd_opl3_lib 9281 1 snd_cmipci
snd_timer 25413 2 snd_pcm,snd_opl3_lib
snd_hwdep 6597 1 snd_opl3_lib
gameport 4033 1 snd_cmipci
snd_mpu401_uart 7361 1 snd_cmipci
snd_rawmidi 21733 1 snd_mpu401_uart
snd_seq_device 6473 2 snd_opl3_lib,snd_rawmidi
snd 45349 12 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_device
soundcore 7713 3 snd
parport_pc 21249 1
lp 9133 0
parport 35977 2 parport_pc,lp
autofs4 20677 0
sunrpc 141861 1
sis900 15941 0
ipt_REJECT 5057 1
ipt_state 1857 1
ip_conntrack 25569 1 ipt_state
iptable_filter 2369 1
ip_tables 13889 3 ipt_REJECT,ipt_state,iptable_filter
ne2k_pci 7329 0
8390 10177 1 ne2k_pci
floppy 54001 0
dm_mod 47317 0
osst 41689 0
st 30429 0
sr_mod 14309 0
sd_mod 17473 0
sg 28385 0
scsi_mod 105361 5 osst,st,sr_mod,sd_mod,sg
ohci_hcd 19793 0
sis 50593 2
ipv6 216325 8
ext3 96937 2
jbd 66521 1 ext3


I don't have a /etc/modules.conf file but i do have a /etc/modprobe.conf file so I've included that below:

alias eth1 sis900
alias snd-card-0 snd-cmipci
install snd-cmipci /sbin/modprobe --ignore-install snd-cmipci && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-cmipci { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-cmipci
install snd-trident /sbin/modprobe --ignore-install snd-trident && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-trident { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-trident
alias usb-controller ohci-hcd
alias eth0 ne2k-pci


-I haven't had time to take a look at those links yet but thanks for the reply-
 
Old 08-13-2004, 04:27 PM   #11
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Hey zajelo3!

Until now I have only heard and seen what hurricans can do - I wish you the best of luck and that it may not harm you or anyone else!!!
 
Old 08-13-2004, 04:37 PM   #12
zajelo3
Member
 
Registered: Mar 2004
Location: Central Florida
Distribution: Gentoo & Fedora
Posts: 153

Rep: Reputation: 30
Oh, btw, your usbstick problem can be solved by right clicking anywhere on your desktop, in the menu that pops up you will see the "create launcher" option, click on that, then name it what you want (like "unmount usbstick") and in the "command" option simply type the command you usually have to type in a terminal to unmount your usbstick. Then everytime you click on the launcher (icon) it will execute that command. This is for Gnome, I don't know how to do it on KDE.
 
Old 08-13-2004, 04:41 PM   #13
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
jomen - here are the lspci command results:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 730 Host (rev 02)
Flags: bus master, medium devsel, latency 32
Memory at d0000000 (32-bit, non-prefetchable)
Capabilities: <available only to root>

00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step)
Flags: bus master, fast devsel, latency 16
I/O ports at ff00 [size=16]

00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
Flags: bus master, medium devsel, latency 0

00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 82)
Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at d800 [size=cffc0000]
Memory at cfff9000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 00020000 [disabled]
Capabilities: <available only to root>

00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at cfffa000 (32-bit, non-prefetchable)

00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] Onboard USB Controller
Flags: bus master, medium devsel, latency 64, IRQ 5
Memory at cfffb000 (32-bit, non-prefetchable)

00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
Flags: bus master, VGA palette snoop, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: cfe00000-cfefffff
Prefetchable memory behind bridge: bfc00000-cfcfffff
Expansion ROM at 0000b000 [disabled] [size=4K]

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
Flags: medium devsel, IRQ 3
I/O ports at d400

00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at d000
Capabilities: <available only to root>

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31) (prog-if 00 [VGA])
Subsystem: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter
Flags: 66Mhz, medium devsel
BIST result: 00
Memory at c0000000 (32-bit, prefetchable)
Memory at cfee0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at bc00 [size=128]
Capabilities: <available only to root>

In regard to the ls -l /lib/modules/2.6.7/kernel/drivers/sound/pci file.....I don't have one. Heres whats in /lib/modules/2.6.7-1.494.2.2/kernel/drivers/:

acpi
atm
block
bluetooth
char
cpufreq
firmware
i2c
ide
ieee1394
input
isdn
md
media
message
misc
mtd
net
parport
pci
pcmcia
scsi
serial
usb
video

**These are all directories**

as for the kernel I did not compile it myself but updated the kernel through up2date


zajelo3 - is there any way to add commands like this to a right click menu??

Last edited by SwimmingPenguin; 08-13-2004 at 04:43 PM.
 
Old 08-13-2004, 05:00 PM   #14
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
o.k. - I see - your sis900 is your network-card - I was just confused...

but: what are those entries about trident doing in your /etc/modprobe.conf ?

only those belonging to cmipci are valid (I suppose)
I'd comment out the other ones - just to be sure

but your output from "lsmod" does not show anything about the wrong drivers - hmm

ps:

I just red your last post - it seems this is for someone who knows where to look in fedora and/or knows how their kernel and modules are organized - it is not the same here on my system - so I'm like in the dark here...

I'm sorry but I cannot say more!
 
Old 08-16-2004, 04:57 PM   #15
SwimmingPenguin
LQ Newbie
 
Registered: Jul 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Alright guys after doing a lot more looking through forums and stuff I saw a lot of suggestions to use the alsaconf script. Turns out I don't have an alsaconf script so I downloaded one. But, the alsaconf didn't find any supported pci sound cards when i ran it. This was wierd because when I run soundcard detection from the gnome toolbar It finds my C-Media CM8738 card. As far as I can tell I can find anything on my computer ALSA related other than the alsamixer. I'm so confused.
 
  


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
ANNOYING buzzing sound 2uantuM Linux - Hardware 3 04-24-2004 03:19 PM
Annoying problems with sound in slackware 8.1 nick_krym Linux - Hardware 3 04-05-2004 04:13 PM
Annoying sound Skills Linux - Newbie 2 03-28-2004 05:44 PM
Mandrake 9.2: sound, acpi and mounting problems!!!! debloxie Mandriva 5 12-12-2003 02:54 PM
Annoying modem sound when connecting suro Linux - Software 3 08-06-2003 05:26 PM

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

All times are GMT -5. The time now is 01:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration