LinuxQuestions.org
Help answer threads with 0 replies.
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 07-04-2004, 03:45 AM   #31
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0

I'm still having problems with ALSA, and getting the sources and compiling them myself didn't help. Googling at random, I cam up with this thread: http://lists.debian.org/debian-devel.../msg02387.html

I can't really understand what's going on, and it is a debian ml, but perhaps it's a more common problem and it affects slackware as well.
 
Old 07-04-2004, 03:58 AM   #32
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by Franklin
I have noticed that once I add more than one user to the system, one user seems to have ownership of the /dev/dsp symlink and the others complain about permissions untill I chmod it..
You need to add that user to the audio group.

# adduser <username> audio

I think that's all there is to the command. If not, you can search for it and read man pages.
 
Old 07-04-2004, 03:59 AM   #33
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by dori
I'm still having problems with ALSA, and getting the sources and compiling them myself didn't help. Googling at random, I cam up with this thread: http://lists.debian.org/debian-devel.../msg02387.html

I can't really understand what's going on, and it is a debian ml, but perhaps it's a more common problem and it affects slackware as well.
What distribution are you running, and what version?
 
Old 07-04-2004, 08:26 AM   #34
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Chinaman -

After reading your post and doing some (re)searching, I decided that your approach does indeed make more sense than chmoding to world. So after changing the ownership/group of all dsp, mixer, and midi devices in /dev to root/audio, I included the users in the audio group and everything is playing nice.

Funny how you can make something work by accident and think you understand it.

Thanks for the clarification.

S
 
Old 07-04-2004, 08:34 AM   #35
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
I'm using Slackware 10.0, no problems on the same comp with 9.1
 
Old 07-04-2004, 08:38 AM   #36
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
dori -

Are you running 2.6.x or 2.4.26?
 
Old 07-04-2004, 08:45 AM   #37
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Dori,

That problem doesn't occur in the Slackware-10.0 kernel 2.4.26, but in kernel 2.6.x
and not for everyone in every distribution using that. Do you have a dual boot now
with Slackware 9.1 and 10.0?

Be notified that because of the way the Debian distro works, with so many different
people inputting, there's frequently this type of problem for them. They'll eventually
get it worked out, but it does not effect Slackware.

Last edited by Bruce Hill; 07-04-2004 at 08:46 AM.
 
Old 07-04-2004, 08:52 AM   #38
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Dori,

With your Slackware 10.0 system running, issue "lsmod" and post the results. Like
Code:
bash-2.05b$ lsmod
Module                  Size  Used by    Tainted: P  
hid                    21188   0 (unused)
nvidia               1964864   6 (autoclean)
ehci-hcd               17580   0 (unused)
8139too                13352   1
mii                     2336   0 [8139too]
crc32                   2912   0 [8139too]
sd_mod                 10764   2 (autoclean)
usb-storage            26096   1
printer                 7744   0
ide-scsi                9360   0
scsi_mod               56632   4 [sd_mod usb-storage ide-scsi]
usbkbd                  3416   0 (unused)
usb-uhci               22256   0 (unused)
usbcore                60044   1 [hid ehci-hcd usb-storage printer usbkbd usb-uhci]
agpgart                43908   3
Read that and tell me why I have no sound in my Slackware 10.0 system right now.

What are the problems that you're still having with Slackware and ALSA? No one can just
guess your problem from what you've posted.

You guys really need to read this How To Ask Questions The Smart Way before posting with so little information.
 
Old 07-04-2004, 10:34 AM   #39
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
I am using 2.6.7, I also have an install of 9.1 with 2.6.6 that works just fine. Here's my lsmod as it stands right now:

Code:
Module                  Size  Used by
ppp_deflate             4864  0
zlib_deflate           21144  1 ppp_deflate
zlib_inflate           21248  1 ppp_deflate
bsd_comp                5312  0
ppp_async               9664  1
ppp_generic            20500  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6720  1 ppp_generic
snd_seq_oss            31488  0
snd_seq_midi            6432  0
snd_emu10k1_synth       6784  0
snd_emux_synth         35584  1 snd_emu10k1_synth
snd_seq_virmidi         5824  1 snd_emux_synth
snd_seq_midi_event      6272  3 snd_seq_oss,snd_seq_midi,snd_seq_virmidi
snd_seq_midi_emul       6848  1 snd_emux_synth
snd_seq                49168  8 snd_seq_oss,snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
ntfs                   87180  1
snd_emu10k1            91784  2 snd_emu10k1_synth
snd_rawmidi            20324  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_pcm                84744  1 snd_emu10k1
snd_timer              21060  2 snd_seq,snd_pcm
snd_seq_device          6536  7 snd_seq_oss,snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         66372  1 snd_emu10k1
snd_page_alloc          8968  2 snd_emu10k1,snd_pcm
snd_util_mem            3264  2 snd_emux_synth,snd_emu10k1
snd_hwdep               7172  2 snd_emux_synth,snd_emu10k1
snd                    45988  16 snd_seq_oss,snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
soundcore               7392  1 snd
r128                  102180  2
via_agp                 6784  1
uhci_hcd               29264  0
usbcore                99360  3 uhci_hcd
 
Old 07-04-2004, 11:07 AM   #40
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 824

Rep: Reputation: 30
People need KDE and ALSA on servers now-a-days? Boy how times have changed
 
Old 07-04-2004, 01:19 PM   #41
Dusan
LQ Newbie
 
Registered: Aug 2002
Location: Belgrade, Serbia
Posts: 24

Rep: Reputation: 15
I have problems with ALSA, all aplications give this error message ''Unable to open the audio device''. But alsamixer and amixer works fine. I have SB Audigy that is device 1 and Leadtek (bt878) tv tuner that is device 0. Or ALSA during setup installed them that way. I tried with alsaconf and it found my sound card, and change modules.conf but still nothing.
How to make audigy work? In slack 9.0 I installed ALSA and everything worked like a charm. But I don't recall setin bt878 in ALSA.

This is what I get when I run lsmod
Code:
Module                  Size  Used by    Tainted: P
ppp_deflate             3256   0  (autoclean)
zlib_deflate           18328   0  (autoclean) [ppp_deflate]
bsd_comp                4344   0  (autoclean)
ppp_async               7392   1  (autoclean)
ppp_generic            19492   3  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc                    4976   1  (autoclean) [ppp_generic]
lt_serial              18708   3  (autoclean)
lt_modem              472571   0  (autoclean) [lt_serial]
fglrx                 179912   6
snd-pcm-oss            37736   0
snd-mixer-oss          12504   0  [snd-pcm-oss]
irda-usb               10448   0  (unused)
irda                   84060   0  [irda-usb]
ir-usb                  6496   0  (unused)
usbserial              18940   0  [ir-usb]
printer                 7744   0  (unused)
usb-ohci               19240   0  (unused)
ehci-hcd               17580   0  (unused)
usbcore                59308   1  [irda-usb ir-usb usbserial printer usb-ohci ehci-hcd]
nvnet                  58432   0  (unused)
snd-emu10k1            62920   0
snd-hwdep               4804   0  [snd-emu10k1]
snd-util-mem            1136   0  [snd-emu10k1]
snd-ac97-codec         49500   0  [snd-emu10k1]
snd-rawmidi            12740   0  [snd-emu10k1]
snd-seq-device          3888   0  [snd-emu10k1 snd-rawmidi]
emu10k1-gp              1352   0  (unused)
gameport                1420   0  [emu10k1-gp]
ohci1394               24112   0  (unused)
ieee1394               42276   0  [ohci1394]
tuner                  10184   1  (autoclean)
bttv                   94656   0  (unused)
i2c-algo-bit            7144   1  [bttv]
i2c-core               12804   0  [tuner bttv i2c-algo-bit]
videodev                5952   3  [bttv]
snd-bt87x               5192   0
snd-pcm                56072   0  [snd-pcm-oss snd-emu10k1 snd-bt87x]
snd-timer              13604   0  [snd-pcm]
snd-page-alloc          6328   0  [snd-emu10k1 snd-bt87x snd-pcm]
snd                    30852   0  [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device snd-bt87x snd-pcm snd-timer]
soundcore               3396  12  [bttv snd]
ntfs                   51424   3  (autoclean)
ide-scsi                9328   0
agpgart                43940   4
Help, some hints, anything...
 
Old 07-05-2004, 10:55 PM   #42
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
I don't really know what I did, but I seem to have sound sort of working now. I can use xmms, etc, but sound within KDE doesn't seem to work (i.e. can't hear sounds in kpoker), although in control center the test sound works while the test midi doesn't.

The only thing I remember doing is adding these to rc.modules (even though some of them were being added anyway):
/sbin/modprobe snd-emu10k1
/sbin/modprobe snd-emu10k1-synth
/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss
 
Old 07-06-2004, 08:21 AM   #43
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
have you checked that midi isn't muted in alsamixer? you can press "m" to mute/unmute each entry, then use "alsactl store" to save the mixer settings.

hope this helps.
 
Old 07-06-2004, 01:25 PM   #44
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
I don't know which of the bars in alsamixer represents midi, but I unmuted and raised all the levels. None of them made midi work. The other weird part is that the control center does list several emu10k1 midi devices (none work). I wish I knew what the "Use MIDI mapper" option is for and what to put in there...maybe that might help.

Last edited by dori; 07-06-2004 at 01:26 PM.
 
Old 07-26-2004, 11:10 AM   #45
dori
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
I finally managed to get this figured out. All I had to do was get rid of my ~/.kde/ and ~/.kderc (actually renamed them in case I needed some settings), and start KDE anew. Sound started magically working (still no MIDI though).
 
  


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
Alsa question BinaryLinux Slackware 6 05-10-2004 07:07 AM
Alsa question Harp00 Slackware 16 04-05-2004 06:18 AM
Alsa question... CryptDragoon Slackware 1 02-20-2004 10:51 AM
Little Alsa question jazzyjazz Slackware 33 12-11-2003 04:46 PM
ALSA question dhrivnak Slackware 5 10-28-2003 08:19 PM


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