Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA not working
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Fri Mar 31, 2006 1:23 pm    Post subject: Reply with quote

dkaplowitz,

udev should add all the sound entries and symlinks to /dev as the moudes load. The script creates them statically, which is not teh same things at all. The fact that you needed the script, points to udev not working, which probably means it won't create other /dev entries for you in the future when you add other equipment.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Fri Mar 31, 2006 11:05 pm    Post subject: Reply with quote

Thanks for the reply, Neddy. I noticed the udev failing at boot time. That gives me enough to go on to fix it. I appreciate it.
_________________
http://dkap.info
Back to top
View user's profile Send private message
EOF
Guru
Guru


Joined: 02 Jul 2003
Posts: 345
Location: Usingen

PostPosted: Tue Apr 04, 2006 10:08 am    Post subject: Reply with quote

I also cannot get my sis 761 cipset to produce sound. I tried hard with and without kernel and still cannot succeed :(.
I use the newest devkernel 2.6.15.
Currently i have compiled alsa-driver:

Code:

# /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found...                                                                                           [ !! ]
 * Unloading ALSA ...                                                                                                                                [ ok ]
 * Unloading ALSA modules ...                                                                                                                        [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                                                                                         [ ok ]
 *   Loading: snd-seq ...                                                                                                                            [ ok ]
 * ERROR: Failed to load necessary drivers                                                                                                           [ ok ]
 * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card! 


Code:

# lspci-v
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
        Subsystem: Fujitsu Siemens Computer GmbH Unknown device 109f
        Flags: medium devsel, IRQ 58
        I/O ports at 1400 [size=256]
        I/O ports at 1000 [size=128]
        Capabilities: [48] Power Management version 2



Code:

localhost jens # modprobe snd-intel8x0
localhost jens # lsmod | grep snd
snd_seq                51296  0
snd_intel8x0           32616  0
snd_ac97_codec         99736  1 snd_intel8x0
snd_ac97_bus            4480  1 snd_ac97_codec
snd_pcm                81736  2 snd_intel8x0,snd_ac97_codec
snd_timer              22088  2 snd_seq,snd_pcm
snd                    45968  5 snd_seq,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9952  1 snd
snd_page_alloc         11088  2 snd_intel8x0,snd_pcm

# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Tue Apr 04, 2006 4:13 pm    Post subject: Reply with quote

EOF,

You have a pure ALSA setup. You should find that /dev/snd, you alsa files are are there but your ALSA emulation of OSS in /dev/sound is either missing or has most elemenets missing.

Most games and a few apps need OSS but XMMS and friends, Xine mplayer can use either ALSA or OSS.

What you need to do to add OSS emualtion support depends on how you have installed sound so far.
Its possible you have it but its not loaded because your /etc/modules.d/alsa file is incorrect.
Code:
modprobe -l | grep oss
will show if the modules are present.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Sat Apr 08, 2006 12:22 am    Post subject: Got it working Reply with quote

Hi all,

Got it working - compiled the driver and alsa into the kernel and then downloaded the driver source code and ran the snddevices script (which I suspect is very similar to the script above).

Only problem now is that on boot:

Quote:

snd_mixer_oss: Unknown symbol snd_ctl_find_id
snd_mixer_oss: Unknown symbol snd_verbose_printk
snd_mixer_oss: disagrees about version of symbol snd_register_oss_device
snd_mixer_oss: Unknown symbol snd_register_oss_device
snd_mixer_oss: disagrees about version of symbol snd_card_file_add
snd_mixer_oss: Unknown symbol snd_card_file_add
snd_mixer_oss: disagrees about version of symbol snd_mixer_oss_notify_callback
snd_mixer_oss: Unknown symbol snd_mixer_oss_notify_callback
snd_mixer_oss: disagrees about version of symbol snd_cards
snd_mixer_oss: Unknown symbol snd_cards
snd_mixer_oss: disagrees about version of symbol snd_ctl_notify
snd_mixer_oss: Unknown symbol snd_ctl_notify
snd_mixer_oss: disagrees about version of symbol snd_info_create_card_entry
snd_mixer_oss: Unknown symbol snd_info_create_card_entry
snd_mixer_oss: disagrees about version of symbol snd_card_file_remove
snd_mixer_oss: Unknown symbol snd_card_file_remove
snd_mixer_oss: disagrees about version of symbol snd_info_unregister
snd_mixer_oss: Unknown symbol snd_info_unregister
snd_mixer_oss: disagrees about version of symbol snd_ctl_find_numid
snd_mixer_oss: Unknown symbol snd_ctl_find_numid
snd_timer: disagrees about version of symbol snd_info_register
snd_timer: Unknown symbol snd_info_register


It goes on for a bit longer than that though....

Any ideas?
Jonathan
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sat Apr 08, 2006 9:45 am    Post subject: Reply with quote

jonathanhaddock,

Those errors mean one of the following :-
1) The kernel and the modules listed in the error were maded with different gcc versions.
2) You changed some key kernel config options between making the kernel and some modules.

The fix is the same in both case, rebuild your kernel and its modules with your current gcc after cleaning outthe ols binaries from the tree.
Code:
cd /usr/src/linux
make clean

<build-kernel>
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
are
Apprentice
Apprentice


Joined: 03 Jan 2006
Posts: 188

PostPosted: Tue Apr 11, 2006 11:26 am    Post subject: Reply with quote

Quote:

lspci gives:
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)


perhaps this Patch can help.

Best regards
are
Back to top
View user's profile Send private message
jonathanhaddock
n00b
n00b


Joined: 24 Mar 2006
Posts: 19

PostPosted: Tue Apr 11, 2006 10:10 pm    Post subject: Reply with quote

@NeddySeagoon

I tried the fix you provided and then used genkernel to build my new kernel,

the errors are still present.

I also tried to compile in acpi but that fails too :(

Any ideas? It isn't a problem - more of an inconvenience to see kernel error messages and suggests to me that other thingss on the system might go wrong too...

Thanks in advance.

Jonathan
Back to top
View user's profile Send private message
EOF
Guru
Guru


Joined: 02 Jul 2003
Posts: 345
Location: Usingen

PostPosted: Wed Apr 12, 2006 8:51 am    Post subject: Reply with quote

are wrote:
Quote:

lspci gives:
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)


perhaps this Patch can help.

Best regards
are


I failed with this patch :(.

Code:

linux # /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Re-caching dependency info (mtimes differ)...
 * Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found...                                              [ !! ]
 * Unloading ALSA ...                                                                                   [ ok ]
 * Unloading ALSA modules ...                                                                           [ ok ]
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Re-caching dependency info (mtimes differ)...
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                                            [ ok ]
 *   Loading: snd-pcm-oss ...                                                                           [ ok ]
 *   Loading: snd-seq ...                                                                               [ ok ]
 * ERROR: Failed to load necessary drivers                                                              [ ok ]
 * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!                                  [ ok ]

Back to top
View user's profile Send private message
weird wonko
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jan 2003
Posts: 141

PostPosted: Sun May 07, 2006 4:07 pm    Post subject: Reply with quote

I think I just had a similar or the same problem.

A temporary fix was to issue a udevstart and /etc/init.d/alsasound restart.

A more permanent fix was to change the RC_DEVICE_TARBALL option in /etc/conf.d/rc to yes. I don't like it that way, but it works for now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum