LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 05-15-2007, 06:41 PM   #1
animeshsaxena
LQ Newbie
 
Registered: May 2007
Posts: 20

Rep: Reputation: 0
Smile Sound Card Problem in FC 6 --- Really Wierd Issue


I have two operating systems installed -- Windows 2000, Fedora Core 6.

The sound card sometimes works and sometimes doesn't. The amazing part is that always the module is initialized properly, just the sound doesn't come . Then I noticed something strange. When I start windows and shut it down abruptly (No proper shutdown), then when I start Fedora the sound works perfectly. But if I shut it down proprly (Windows 2000) then the sound does not come. In both the cases module is loaded. Might be windows is turning of some setting that Fedora is not able to turn back on.

I am using Compaq V3155AU Laptop, with Connexant HD Audio system.


I also tried the latest version of ALSA Mixer hopin that volume control is not able to initialize properly. But I guess Fedora is not able to turn on the setting even after loading the module. Sound card Module loaded is "snd-hda-intel".


Any ideaz on this one????
 
Old 05-16-2007, 07:07 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Sample Alsa section of the /etc/modprobe.d/modprobe.conf.dist file;

Code:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel 
options snd-hda-intel probe_mask=3 position_fix=3 model=laptop-eapd

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-hda-intel

# card #1
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-oss
alias sound-service-0-12 snd-pcm-oss

install sound-slot-* /sbin/modprobe snd-card-${MODPROBE_MODULE##sound[_-]slot[_-]}

install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss
Sample /etc/modprobe.conf file;
Code:
alias net-pf-10 off
alias eth0 8139cp
alias eth1 orinoco_cs
alias wlan0 ndiswrapper
alias scsi_hostadapter sata_sil
remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
Sample /etc/asound.state file;
Code:
state.SB {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Front Playback Volume'
		value.0 23
		value.1 23
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Surround Playback Volume'
		value.0 0
		value.1 0
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Surround Playback Switch'
		value.0 false
		value.1 false
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 31'
		iface MIXER
		name 'Center Playback Volume'
		value 2
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 31'
		iface MIXER
		name 'LFE Playback Volume'
		value 0
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Center Playback Switch'
		value false
	}
	control.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'LFE Playback Switch'
		value false
	}
	control.9 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Side Playback Volume'
		value.0 0
		value.1 0
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Side Playback Switch'
		value.0 false
		value.1 false
	}
	control.11 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.12 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'CD Playback Volume'
		value.0 23
		value.1 23
	}
	control.13 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
	}
	control.14 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Line Playback Volume'
		value.0 0
		value.1 0
	}
	control.15 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
	}
	control.16 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		iface MIXER
		name 'Mic Boost'
		value.0 0
		value.1 0
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 0
		value.1 0
	}
	control.20 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		iface MIXER
		name 'Front Mic Boost'
		value.0 0
		value.1 0
	}
	control.21 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
	}
	control.22 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'PC Speaker Playback Volume'
		value.0 24
		value.1 24
	}
	control.23 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'PC Speaker Playback Switch'
		value.0 false
		value.1 false
	}
	control.24 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
	}
	control.25 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
	}
	control.26 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 0
		value.1 0
	}
	control.27 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.28 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		value Mic
	}
	control.29 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.30 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 '2ch'
		iface MIXER
		name 'Channel Mode'
		value '2ch'
	}
	control.31 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		iface MIXER
		name 'PCM Playback Volume'
		value.0 195
		value.1 195
	}
}
 
Old 05-17-2007, 06:07 PM   #3
animeshsaxena
LQ Newbie
 
Registered: May 2007
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the help. Could solve the sound problem by installin new kernel 2.6.18-1.2798.fc6.stk16-i686
But now when I tried to compile programs like driverloader or ndiswrapper I get a floating point exception kinda error. Is there any patch for that....


(cd /usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942 && make "DLDR_KERNELSRC=/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942" "M=/usr/lib/driverloader/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942'
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942/.tmp_versions/driverloader.mod Modules.symvers
(cd /usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942 && make "DLDR_KERNELSRC=/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942" "M=/usr/lib/driverloader/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942'
CC [M] /usr/lib/driverloader/modules/dldrmod.o
CC [M] /usr/lib/driverloader/modules/dldrpci.o
CC [M] /usr/lib/driverloader/modules/dldrusb.o
CC [M] /usr/lib/driverloader/modules/osusb.o
/usr/lib/driverloader/modules/osusb.c: In function 'OsUsbMakeControlTransfer':
/usr/lib/driverloader/modules/osusb.c:813: warning: passing argument 7 of 'usb_fill_control_urb' from incompatible pointer type
CC [M] /usr/lib/driverloader/modules/GPL/netndis.o
CC [M] /usr/lib/driverloader/modules/osservices.o
CC [M] /usr/lib/driverloader/modules/osstdio.o
CC [M] /usr/lib/driverloader/modules/osresour.o
CC [M] /usr/lib/driverloader/modules/osstring.o
CC [M] /usr/lib/driverloader/modules/osmemory.o
CC [M] /usr/lib/driverloader/modules/GPL/divdi3.o
LD [M] /usr/lib/driverloader/modules/driverloader.o
Building modules, stage 2.
MODPOST
/bin/sh: line 1: 8124 Floating point exceptionscripts/mod/modpost -m -a -i /usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942/Module.symvers -I /usr/lib/driverloader/modules/Module.symvers -o /usr/lib/driverloader/modules/Module.symvers /usr/lib/driverloader/modules/driverloader.o
make[2]: *** [__modpost] Error 136
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i686-dldrtmp6942'
make: *** [all] Error 2
 
Old 05-18-2007, 04:07 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Well it may be easier to use the standard kernel from FC6 and install the dkms-ndiswarrper pacakge from freshrpms.net;

yum install dkms-ndiswrapper

This of course requires a working Internet connection and the freshrpms-release repo enabled;

http://zod.freshrpms.net/

rpm -ivh http://ftp.freshrpms.net/pub/freshrp....fc.noarch.rpm

yum install dkms-ndiswrapper

By hand, download the dkms-ndiswrappr rpm package and also the dkms rpm package from Fedora Core 6 extras. You will need to have the matching (by kernel version number) kernel-devel and kernel-headers rpm packages installed:

http://download.fedora.redhat.com/pu...inux/extras/6/

Then as root from where the two rpm packages are type: rpm -ivh dkms*.rpm
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wine and Monty Python game - wierd sound issue CaptainInsane Linux - Games 2 02-03-2007 01:38 PM
Wierd BT848 Tv Tuner Card Issue holymoo Linux - Hardware 6 07-28-2005 10:02 PM
wierd sound card in Debian? ruwach Linux - Hardware 4 12-22-2004 06:25 PM
wierd sound problem noobtesting Mandriva 1 06-25-2004 10:27 AM
Wierd ES1370/BTTV sound issue dudaman Linux - General 2 02-21-2002 12:42 AM


All times are GMT -5. The time now is 04:50 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration