Bananian

analog audio

8 8348
gbi  
Hi All,

I'm trying to use the analog audio out and in/microphone.

Doing a
  1. cat /proc/asound/cards
  2. 0 [sunxicodec     ]: sunxi-CODEC - sunxi-CODEC
  3.                       sunxi-CODEC  Audio Codec
Copy the Code
shows the above results. But when trying to do either amixer or alsamixer I get
  1. amixer   
  2. amixer: Mixer attach default error: No such file or directory
  3. 1 root@bapi ~ # alsamixer                                                    :(
  4. cannot open mixer: No such file or directory
Copy the Code
There are some sound related kernel modules:
  1. # lsmod
  2. Module                  Size  Used by
  3. snd_aaci                8476  0
  4. snd_ac97_codec        106279  1 snd_aaci
  5. ac97_bus                1256  1 snd_ac97_codec
  6. sg                     27461  0
  7. cpufreq_stats           3623  0
  8. cpufreq_userspace       3524  0
  9. cpufreq_conservative     5712  0
  10. cpufreq_powersave       1242  0
Copy the Code
But in dmesg I can't see any sound or alsa related info.

Q1: is anybody running 14.09 and using the analog audio in/out ?
Q2: does 14.09 support (analog) sound at all ?
Q3: what am I doing wrong ? (if at all)

Thanks in advance, gbi
Tonband  
Hi gbi,

please provide the following information:
Have you installed pulseaudio?
Test it, by type "pulseaudio" in terminal.
If yes, please provide /etc/pulse/default.pa

Please provide us /etc/asound.conf

Analog audio works 100%, maybe something is misconfigured.

gbi  
Edited by gbi at 2014-10-21 14:06
Tonband replied at 2014-10-20 14:05
Hi gbi,

please provide the following information:


Hi Tonband,

thanks for your reply :-)

1. No pulseaudio, was never installed. I was never a fan of it. Only alsa.
2. /etc/asound.conf is as it was after installation. I'll post it as soon as I can reach my BaPi

Are the kernelmodules in posting 1 the correct ones ?

cheers

gbi  
Edited by gbi at 2014-10-23 13:46

Hi Tonband,

content of my /etc/asound.conf is:
  1. pcm.!default {
  2.         type hw
  3.         card 1 # 1 == HDMI, 0 == analog
  4.         device 0
  5. }
  6. ctl.!default {
  7.         type hw
  8.         card 1 # 1 == HDMI, 0 == analog
  9. }
Copy the Code
In /var/log/syslog and other logfiles I found some entries like:
  1. Jan  1 01:02:19 bapi kernel: [   13.982354] ALSA device list:
  2. Jan  1 01:02:19 bapi kernel: [   13.994229]   #0: sunxi-CODEC  Audio Codec
Copy the Code
Time is not ok, but thats another prob ..

And this is the content of /dev/snd:
  1. drwxr-xr-x 2 root root       60 Jan  1  2010 by-path/
  2. crw-rw---T 1 root audio 116,  4 Jan  1  2010 controlC0
  3. crw-rw---T 1 root audio 116,  3 Jan  1  2010 pcmC0D0c
  4. crw-rw---T 1 root audio 116,  2 Jan  1  2010 pcmC0D0p
  5. crw-rw---T 1 root audio 116, 33 Jan  1  2010 timer
Copy the Code
Can you (or everbody who is willing to) help me solve the prob ?

Thanks in advance


Edit:

I was able to locate the prob. In /etc/asound.conf is the wrong device configured (for my case), it must be 0, not 1. I usually have nothing connected to HDMI, so there seems to be no device for it, and so it can't be used/opened, and so amixer terminates with "No such file or directory". I did an 'strace amixer' and was able to see that amixer tries to open the nonexistent device /dev/snd/controlC1 . I was not aware of this context.

So far so good. For the records

Tonband  
Damm, too late. Yes i wanted to say the same. Turn 1 to 0 in asound.conf

Hi. I also have problem with jack audio.
1 root@bananapi ~ # cat /proc/asound/cards                                                                                                              
0 [sunxicodec     ]: sunxi-CODEC - sunxi-CODEC
                      sunxi-CODEC  Audio Codec
root@bananapi ~ # amixer
amixer: Mixer attach default error: Invalid argument
1 root@bananapi ~ # pulseaudio                                                                                                                          
zsh: command not found: pulseaudio
127 root@bananapi ~ # cat  /etc/asound.conf                                                                                                            
pcm.!default {
    type hw
    card 0    //If you want to set HDMI as output ,turn 0 to 1.
    device 0
  }
  ctl.!default {
    type hw
    card 0   //If you want to set HDMI as output ,turn 0 to 1.
  }

I have no idea how to fix that :/.

MrDarkenRahl, just remove slashes and text after it
  1. pcm.!default {
  2.     type hw
  3.     card 0
  4.     device 0
  5. }
  6. ctl.!default {
  7.     type hw
  8.     card 0
  9. }
Copy the Code
and run
  1. sudo speaker-test -twav -c2
Copy the Code
It's helps for me. May be help you. ))

20186.14chenjinbei
flops
cheap jordan shoes
air max 270
kate spade
mont blanc
fitflops
jordans
mishka clothing
jimmy choo shoes
camisetas de futbol replicas
timberland boots
adidas football boots
coach outlet online
supra shoes
malone souliers mules
fussball trikots
supreme
ralph lauren
ferragamo shoes
burberry canada
christian louboutin
asics running shoes
nfl jerseys wholesale
air max 97
red bottoms
fitflop sandals
ralph lauren
puma slides
manchester united jersey
air max 90
true religion jeans
camisetas de futbol baratas
beats by dre
coach outlet online
nike epic react
y-3 shoes
links of london
ralph lauren
nike air max
kate spade handbags
oakley sunglasses
jordan 3
cheap jerseys
nike flip-flops
air jordan 14
light up shoes
nike dunks
new balance
converse shoes
cheap nfl jerseys
adidas yeezy 350
nike blazer
ray ban sunglasses
nike lunarglide
air max
ferragamo outlet
air jordan 11
nike shox
michael kors handbags
adidas jeremy scott
jordans
coach factory outlet
ralph lauren uk
ray ban outlet
jordan 4
air max 95
balance shoes
coach handbags
ralph lauren
miu miu shoes
air max
coach outlet store
michael kors outlet
breitling watches
nike air force
ralph lauren
carnival shoes
vans shoes
adidas slides
christian louboutin shoes
nike tn
balenciaga shoes
kobe 12
running shoes
burberry outlet
air max 2017
air max 1
harden vol 1
air force 1
roshe run
cheap mlb jerseys
adidas nmd
juicy couture outlet
superdry clothing
ferragamo
nike shoes
wholesale nfl jerseys
huarache
michael kors outlet clearance
jordan
cartier jewelry
christian louboutin outlet
air max plus
mac cosmetics
prada handbags
coach outlet store online
cheap nfl jerseys
under armour outlet
dior handbags
belstaff jackets
marc jacobs
pandora charms
michael kors
michael kors outlet online
nike blazer
polo ralph
jordan 5
hermes outlet
coach factory outlet
celine outlet
coach outlet
hermes birkin bag
converse shoes
mulberry handbags
jordan xx9
nike sb
off-white clothing
cheap soccer jerseys
swarovski
tory burch outlet
longchamp
converse uk
nike revolution
nike uk
maillot de foot pas cher
flip-flops
polo outlet
nike shoes for men
ralph lauren
polo outlet
michael kors taschen
tag heuer watches
michael kors outlet store
soccer shirts
air max 2018
air jordan
adidas outlet store
basketball shoes
montblanc fountain pens
barcelona jersey
jordan 8
coach
michael kors handbags
ray ban sunglasses
pandora jewelry canada
coach factory outlet
true religion jeans
prada bags
timberland boots
supreme outlet
baseball jersey
bvlgari rings
adidas stan smith
kate spade outlet online
suicoke sandals
cheap ray bans
oakley sunglasses
mont blanc pens
kate spade
oakley sunglasses
fitflops outlet
cheap nhl jerseys
adidas shoes
adidas flip flops
off-white clothing
coach handbags
coach factory outlet online
kobe 11
nike cortez
nike outlet store
coach factory outlet online
hermes kelly bag
mbt shoes
jordan 6
cheap soccer jerseys
beats by dre
cheap nfl jerseys
longchamp outlet
pandora outlet
vibram five fingers
hermes
air max
nike kyrie 3
supreme uk
adidas yeezy
jordan
nike free run
louboutin
lebron 15
pandora jewelry
coach outlet online
polo ralph lauren
adidas superstar
maglie calcio
snapbacks wholesale
red bottom shoes
prada handbags
hollister outlet
true religion jeans
soccer jersey
cheap mlb jerseys
longchamp outlet
valentino shoes
manolo blahnik shoes
pandora charms
nike roshe
nike factory outlet
balenciaga shoes
ralph lauren uk
giuseppe zanotti shoes
air max
timberland boots
air jordan
burberry outlet online
michael kors handbags
michael kors handbags
jordan pas cher
nike outlet online
alexander mcqueen shoes
nfl jerseys
tory burch bags
scarpe mbt
oakley vault
van cleef & arpels jewelry
air huarache
coach outlet online
yeezy 500 blush
vans shoes
christian louboutin
longchamp handbags
cheap nba jerseys
harden vol 2
bcbg
mlb jerseys
asics
"nfl jerseys
"
yeezy shoes
stuart weitzman shoes
michael kors uk
timberland outlet
ralph lauren outlet
jordan shoes
longchamp
nike free run
hermes uk
ralph lauren outlet
michael kors canada
new balance sandals
michael kors outlet
givenchy handbags
adidas outlet
ralph lauren
jordan 12
undefeated shoes
nike presto
fingerlings monkey
jordan 1
oakley sunglasses
nhl jerseys
air jordan
flip-flops
breguet watches
pandora uk
wedding shoes
fila sneakers
oakley sunglasses
oakley sunglasses wholesale
true religion jeans
nike mercurial vapor
michael kors outlet store
prada outlet online
[bcheap nfl jerseys
ray ban
coach outlet
burberry outlet store
adidas stan smith
michael kors outlet
jordan shoes
dansko shoes
mcm bags
birkenstock
ray ban sunglasses
maglie calcio a poco prezzo
cheap replica watches
ray ban sunglasses
polo outlet
tory burch outlet
pandora jewelry canada
ray ban
stussy hoodie
oakley canada
baseball bats
adidas wings
true religion jeans
columbia sportswear
michael kors outlet
nfl jerseys
prada
ray ban sunglasses cheap
nike shoes
true religion
coach outlet
kate spade
longchamp handbags
pandora jewelry
nike free
kate spade outlet
fitflop sandals
fitflops sale clearance
nike outlet
nike free
kevin durant shoes
jordans
adidas nmd
louboutin
longchamp
adidas uk
birkenstock sandals
gucci slides
coach factory outlet
mizuno running shoes
michael kors handbags
ralph lauren
ralph lauren uk
adidas ultra boost
ralph lauren polo shirts
louboutin
rolex watches
louboutin outlet
michael kors outlet
puma fenty sandals
louboutin
coach outlet online
audemars piguet
tory burch uk
nike uk
bottega veneta
nike outlet
air jordan
michael kors outlet
tod's shoes
nike outlet store online
dolce and gabbana
herve leger dresses
christian louboutin outlet
cheap oakley sunglasses
Fußballtrikots günstig
birkenstock outlet online
jordan shoes
adidas outlet store
maillot de foot
coach outlet online
cheap ray ban sunglasses
coach outlet online
timberland outlet
coach
coach outlet
coach factory online
kate spade
curry shoes
air jordan
supreme paris
swarovski jewelry
tory burch
jordan retro
nike tennis
nike outlet
ray ban
balenciaga sandals
20186.14chenjinbei

You have to log in before you can reply Login | Sign Up

Points Rules