LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mandriva: how to disable pulseaudio and enable Alsa (http://www.linuxquestions.org/questions/linux-hardware-18/mandriva-how-to-disable-pulseaudio-and-enable-alsa-755444/)

veezee 09-15-2009 03:37 PM

Mandriva: how to disable pulseaudio and enable Alsa
 
I have another thread about getting my Tascam USB to work in Ubuntu, but I have since scrapped that distro in hopes of getting it to work in Mandriva 2009. I don't think I am fully configured for Alsa. I am using the default install with 2.6.29-rc6.

lsusb , cat /proc/asound/cards and modules both show my card available, lsmod shows everything as OK as far as I can see (will post it when i get home) , and of course dmesg shows a full detection (make/model/brand etc). Keep in mind , this is a USB sound. So i think it is safe to say my card is detecting.. this is good (i didn't get this far in Ubuntu :()

When I go into Control center/hardware/sound it shows no devices also aplay - L just says "List of playback devices" with nothing else. amixer shows a master output only (i am able to raise/lower volume) but no other controls.

So with all the info given, how can I be sure Alsa is fully loaded and what can I check as far as configuration? alsa start shows "alsa drivers already loaded" as well. How can I disable this pulse and get alsa to work with my detected card?

Thanks.

camorri 09-15-2009 04:07 PM

You can disable PulseAudio in MCC. Open it, you need the root password. Click 'Hardware' and then 'Sound Configuration'.

There is check box to enable Pulse so just uncheck it. That disables Pulse. You may find later you need a aRts, if you expect to hear sound from more than one source at the same time.

Why are you running a release candidate? RC6? 2009.1 is stable. Any release candidate may be buggy....

As for Alsa, you need the correct module for your card modprobed. Then the correct adjustments will show up. I have never configured a USB sound card. Post the exact make, model etc. Possibly we can help determining what module to probe.

veezee 09-15-2009 04:26 PM

Quote:

Originally Posted by camorri (Post 3684127)
You can disable PulseAudio in MCC. Open it, you need the root password. Click 'Hardware' and then 'Sound Configuration'.

There is check box to enable Pulse so just uncheck it. That disables Pulse. You may find later you need a aRts, if you expect to hear sound from more than one source at the same time.

Why are you running a release candidate? RC6? 2009.1 is stable. Any release candidate may be buggy....

As for Alsa, you need the correct module for your card modprobed. Then the correct adjustments will show up. I have never configured a USB sound card. Post the exact make, model etc. Possibly we can help determining what module to probe.


Thank you for your help.. I have a Tascam US-122L which uses the snd_usb_us122l module. Supposidly this device did not work in anything pre 2.6.29.rc3 because of a bug with ehci-hcd (usb 2.0). To be honest, I had a hard time figuring out the kernel upgrade with Mandriva and was suprised of how there is almost no guides on the net for it (Mandriva).

When I goto MCC . Hard / Sound it says I have no devices .. so there are no options to check / uncheck.

Thanks again

veezee 09-15-2009 07:32 PM

So looking at lsmod , I see usbcore is missing snd_usb_audio (or so i think it is supposed to be there). So is this included with any of the alsa packages, or is it a module that i need to modify my kernel for?

Am I on the right track?

lsmod
Code:

Module                  Size  Used by
ipt_IFWLOG              2624  2
ipt_psd                43624  1
xt_time                2524  0
xt_connlimit            3684  0
xt_realm                1276  0
iptable_raw            1820  0
xt_comment              1276  18
xt_policy              2748  0
ipt_ULOG                9220  0
ipt_TTL                1724  0
ipt_ttl                1372  0
ipt_REJECT              2812  2
ipt_REDIRECT            2332  0
ipt_NETMAP              2268  0
ipt_MASQUERADE          3324  0
ipt_LOG                5888  6
ipt_ECN                2204  0
ipt_ecn                1756  0
ipt_CLUSTERIP          7520  0
ipt_ah                  1436  0
ipt_addrtype            2204  4
nf_nat_tftp            1308  0
nf_nat_snmp_basic      8452  0
nf_nat_sip              6428  0
nf_nat_pptp            5340  0
nf_nat_proto_gre        3424  1 nf_nat_pptp
nf_nat_irc              2332  0
nf_nat_h323            8668  0
nf_nat_ftp              3388  0
nf_nat_amanda          1628  0
ts_kmp                  2044  5
nf_conntrack_amanda    3612  1 nf_nat_amanda
nf_conntrack_sane      5592  0
nf_conntrack_tftp      5104  1 nf_nat_tftp
nf_conntrack_sip      18576  1 nf_nat_sip
nf_conntrack_proto_sctp    13220  0
nf_conntrack_pptp      12544  1 nf_nat_pptp
nf_conntrack_proto_gre    7584  1 nf_conntrack_pptp
nf_conntrack_netlink    16892  0
nf_conntrack_netbios_ns    2204  0
nf_conntrack_irc        6112  1 nf_nat_irc
nf_conntrack_h323      60584  1 nf_nat_h323
nf_conntrack_ftp      12704  1 nf_nat_ftp
ipt_set                1788  2
ipt_SET                1980  0
ip_set_nethash          8132  0
ip_set_iptreemap        9524  0
ip_set_iptree          5956  2
ip_set_ipporthash      7236  0
ip_set_portmap          3716  0
ip_set_macipmap        3588  0
ip_set_ipmap            3492  0
ip_set_iphash          6628  0
ip_set                19608  18 ipt_set,ipt_SET,ip_set_nethash,ip_set_iptreemap,ip_set_iptree,ip_set_ipporthash,ip_set_portmap,ip_set_macipmap,ip_set_ipmap,ip_set_iphash
xt_tcpmss              1788  0
xt_recent              9824  0
xt_pkttype              1404  0
xt_physdev              2156  0
xt_owner                2332  0
xt_NFQUEUE              1532  0
xt_NFLOG                1468  0
nfnetlink_log          8548  1 xt_NFLOG
xt_multiport            2940  4
xt_MARK                1884  0
xt_mark                1500  0
xt_mac                  1372  0
xt_limit                1888  0
xt_length              1500  0
xt_iprange              3388  0
xt_helper              1788  0
xt_hashlimit            9484  0
xt_DSCP                2908  0
xt_dscp                2140  0
xt_dccp                2692  0
xt_conntrack            3388  0
xt_CONNMARK            2620  0
xt_connmark            1980  0
xt_CLASSIFY            1308  0
xt_tcpudp              2684  11
xt_state                1820  9
iptable_nat            6172  0
nf_nat                20848  12 ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat
nf_conntrack_ipv4      15432  12 iptable_nat,nf_nat
nf_defrag_ipv4          1692  1 nf_conntrack_ipv4
nf_conntrack          74564  31 xt_connlimit,ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_sane,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle          2396  1
nfnetlink              4276  2 nf_conntrack_netlink,nfnetlink_log
iptable_filter          2364  1
ip_tables              11500  4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables              15424  49 ipt_IFWLOG,ipt_psd,xt_time,xt_connlimit,xt_realm,xt_comment,xt_policy,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,ipt_set,ipt_SET,xt_tcpmss,xt_recent,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
af_packet              17468  2
i915                  150920  2
drm                  151040  3 i915
i2c_algo_bit            5696  1 i915
ipv6                  269264  14
binfmt_misc            8036  1
loop                  14440  0
dm_mirror              13728  0
dm_region_hash        11420  1 dm_mirror
dm_log                  9504  2 dm_mirror,dm_region_hash
dm_mod                54952  2 dm_mirror,dm_log
cpufreq_ondemand        6728  0
cpufreq_conservative    6052  0
cpufreq_powersave      1308  0
acpi_cpufreq            7788  0
freq_table              4380  2 cpufreq_ondemand,acpi_cpufreq
arc4                    1628  2
ecb                    2524  2
rt2500pci              14844  0
rt2x00pci              7900  1 rt2500pci
rt2x00lib              28668  2 rt2500pci,rt2x00pci
rfkill                10480  1 rt2x00lib
led_class              3872  1 rt2x00lib
mac80211              161540  2 rt2x00pci,rt2x00lib
cfg80211              36404  2 rt2x00lib,mac80211
i2c_i801              10800  0
rng_core                4064  0
intel_agp              25788  1
eeprom_93cx6            1884  1 rt2500pci
i2c_core              30992  4 i915,drm,i2c_algo_bit,i2c_i801
iTCO_wdt              10812  0
ppdev                  7232  0
serio_raw              5088  0
pcspkr                  2268  0
evdev                  9376  9
agpgart                33992  3 drm,intel_agp
iTCO_vendor_support    3360  1 iTCO_wdt
parport_pc            35940  0
atl2                  25524  0
thermal                15192  0
sr_mod                14788  0
parport                33900  2 ppdev,parport_pc
sg                    28240  0
rtc_cmos              12044  0
processor              39944  2 acpi_cpufreq,thermal
button                  5836  0
ata_generic            4576  0
ide_pci_generic        3744  0
ide_gd_mod            23328  0
ide_core              106988  2 ide_pci_generic,ide_gd_mod
pata_acpi              3868  0
ahci                  30284  0
ata_piix              22176  3
libata                172780  4 ata_generic,pata_acpi,ahci,ata_piix
sd_mod                33944  4
scsi_mod              150964  4 sr_mod,sg,libata,sd_mod
crc_t10dif              1628  1 sd_mod
ext3                  125732  2
jbd                    46736  1 ext3
uhci_hcd              25036  0
ohci_hcd              32396  0
ehci_hcd              48488  0
usbhid                43744  0
hid                    64288  1 usbhid
usbcore              179408  5 uhci_hcd,ohci_hcd,ehci_hcd,usbhid

cat /proc/asound/modules /cards
Code:

[root@localhost jay]# cat /proc/asound/cards
 0 [US122L        ]: USB US-122L - TASCAM US-122L
                      TASCAM US-122L (644:800e if 0 at 001/005)
[root@localhost jay]# cat /proc/asound/modules
 0 snd_usb_us122l

dmesg
Code:

usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: config 1 interface 1 altsetting 1 bulk endpoint 0x83 has invalid maxpacket 9
usb 1-4: New USB device found, idVendor=0644, idProduct=800e
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: US-122L
usb 1-4: Manufacturer: TASCAM
usb 1-4: SerialNumber: no serial number
usb 1-4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver snd-usb-us122l

lsusb
Code:

Bus 001 Device 005: ID 0644:800e TEAC Corp.
So i am thinking the missing piece is snd_usb_audio.. please help :)

veezee 09-15-2009 08:21 PM

update:

downloaded alsa drivers, compiled and installed. snd_usb_audio now loaded.

aplay -l
[root@localhost jay]# aplay -l
**** List of PLAYBACK Hardware Devices ****
[root@localhost jay]#

no devices listed .. ugh..

also...MCC / HARDWARE /SOUND CONFIGURATION
Code:

No Sound Card has been detected on your machine. Please verify that a Linux-supported Sound Card is correctly plugged in.

You can visit our hardware database at:

http://www.mandrivalinux.com/en/hardware.php3

Note: if you've an ISA PnP sound card, you'll have to use the alsaconf or the sndconfig program.  Just type "alsaconf" or "sndconfig" in a console.

Any ideas? i feel like i am so close.. thanks.

camorri 09-16-2009 08:21 AM

What do you see if you run the command '/sbin/lsmod | grep snd' ( command without the quotes ).


All times are GMT -5. The time now is 07:14 PM.