Skip to contentSkip to conversation

acer aspire 8943g with alc670

DISCUSSION Miroslav Šulc 3 participants 8 messages Jul 29, 2010

lore
Share & tools
lore
#0 lore raw

hello,

i'd like to help with making the above soundcard to fully work, but have no clue what to do exactly. currently the soundcard works pretty weird, though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb

    self.__refresh()
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
    self.load()
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
    self.node_window.add(NodeGui(node=n))
  File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
    self.__build_node(node, doframe)
  File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
    vbox.pack_start(self.__build_amps(node), False, False)
  File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
    node.in_amp and node.amp_vals_in or None)
  File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
    if ctl.hdactl.amp_index_match(idx):
  File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in amp_index_match
    count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)

TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

#1 lore raw

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 33 lines

hello,

i'd like to help with making the above soundcard to fully work, but have no clue what to do exactly. currently the soundcard works pretty weird, though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb
self.__refresh()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
self.load()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
self.node_window.add(NodeGui(node=n))
File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
self.__build_node(node, doframe)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
vbox.pack_start(self.__build_amps(node), False, False)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
node.in_amp and node.amp_vals_in or None)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
if ctl.hdactl.amp_index_match(idx):
File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in amp_index_match
count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Quoted 5 lines

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

By using alc670 alsa-info.txt in the alsa bugtracker , the latest version hda_analyzer don't has any error message when clicking AUD_IN node

Not sure your error is due to using /proc instead of text file since I don't have your codec

There are error messages when click the "graph" button to generate the graph.

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

TypeError: 'int' object is not iterable
Traceback (most recent call last):
File "/hda-analyzer/hda_graph.py", line 579, in expose
route.expose(cr, event)
File "/hda-analyzer/hda_graph.py", line 190, in expose
inactive = self.src.node.is_conn_active(self.dst.node)
File "/hda-analyzer/hda_codec.py", line 809, in is_conn_active
vals = dst_node.amp_vals_in.get_val_db(idx)
File "/hda-analyzer/hda_codec.py", line 377, in get_val_db
for val in vals:
TypeError: 'int' object is not iterable
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Dne 29.7.2010 15:20, Raymond Yau napsal(a):

Quoted 34 lines

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 33 lines

hello,

i'd like to help with making the above soundcard to fully work, but have no clue what to do exactly. currently the soundcard works pretty weird, though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb
self.__refresh()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
self.load()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
self.node_window.add(NodeGui(node=n))
File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
self.__build_node(node, doframe)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
vbox.pack_start(self.__build_amps(node), False, False)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
node.in_amp and node.amp_vals_in or None)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
if ctl.hdactl.amp_index_match(idx):
File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in amp_index_match
count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Quoted 6 lines
Quoted 4 lines

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

By using alc670 alsa-info.txt in the alsa bugtracker ,

ok, i will post one once i restart my pc as i played with the settings of the driver so i guess the output might be affected.

Quoted 2 lines

the latest version
hda_analyzer don't has any error message when clicking AUD_IN node

well, in the night i downloaded the app from
http://www.alsa-project.org/hda-analyzer.py and have the issue. now also tried alsa git repo and the result is the same, so the bug really is there, at least for me. i can try to debug it in netbeans if i find out how (i do not code in python nor do i use it as coder).

Quoted 2 lines

Not sure your error is due to using /proc instead of text file since I don't have your codec

i tried both, using proc and passing alsa-info.txt file to hda-analyzer.py, both with the same result.

Quoted 7 lines

There are error messages when click the "graph" button to generate the graph.

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

so hovering over gray connection makes the connection in the card driver, and hovering over blue connection disables the connection?

Quoted 11 lines

TypeError: 'int' object is not iterable
Traceback (most recent call last):
File "/hda-analyzer/hda_graph.py", line 579, in expose
route.expose(cr, event)
File "/hda-analyzer/hda_graph.py", line 190, in expose
inactive = self.src.node.is_conn_active(self.dst.node)
File "/hda-analyzer/hda_codec.py", line 809, in is_conn_active
vals = dst_node.amp_vals_in.get_val_db(idx)
File "/hda-analyzer/hda_codec.py", line 377, in get_val_db
for val in vals:
TypeError: 'int' object is not iterable

yes, this one i get in the graph too.

Quoted 4 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 9 lines

.

Quoted 5 lines

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

so hovering over gray connection makes the connection in the card driver, and hovering over blue connection disables the connection?

No, I guess you have to clicked the buttons in the nodes

the graph show just the connected audio path, and it allow you to know which widgets will be connected when you put your mouse over the line

how did you get the hda_analyzer ?

using the previous version of run.py did not download all the programs
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#4 lore raw

Dne 29.7.2010 15:54, Raymond Yau napsal(a):

Quoted 6 lines

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 5 lines

.

Quoted 4 lines

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

Quoted 6 lines
Quoted 2 lines

so hovering over gray connection makes the connection in the card driver, and hovering over blue connection disables the connection?

No, I guess you have to clicked the buttons in the nodes

the graph show just the connected audio path, and it allow you to know which widgets will be connected when you put your mouse over the line

hm, seems i have no idea how to use hda analyzer then :-) anyway, will first file bug this evening and then will see.

Quoted 1 line

how did you get the hda_analyzer ?

http://www.alsa-project.org/main/index.php/HDA_Analyzer

and also:
git clone git://git.alsa-project.org/alsa.git alsa cd alsa/hda_analyzer
python hda_analyzer.py

Quoted 5 lines

using the previous version of run.py did not download all the programs
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#5 lore raw
In reply to Miroslav Šulc
Quoted 33 lines · Miroslav Šulc

Dne 29.7.2010 15:20, Raymond Yau napsal(a):

Quoted 32 lines

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 31 lines

hello,

i'd like to help with making the above soundcard to fully work, but have no clue what to do exactly. currently the soundcard works pretty weird, though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb
self.__refresh()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
self.load()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
self.node_window.add(NodeGui(node=n))
File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
self.__build_node(node, doframe)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
vbox.pack_start(self.__build_amps(node), False, False)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
node.in_amp and node.amp_vals_in or None)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
if ctl.hdactl.amp_index_match(idx):
File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in amp_index_match
count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

I fixed this issue in the alsa.git repo now.

Quoted 15 lines
Quoted 6 lines
Quoted 4 lines

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

By using alc670 alsa-info.txt in the alsa bugtracker ,

ok, i will post one once i restart my pc as i played with the settings of the driver so i guess the output might be affected.

Quoted 2 lines

the latest version
hda_analyzer don't has any error message when clicking AUD_IN node

well, in the night i downloaded the app from
http://www.alsa-project.org/hda-analyzer.py and have the issue. now also tried alsa git repo and the result is the same, so the bug really is there, at least for me. i can try to debug it in netbeans if i find out how (i do not code in python nor do i use it as coder).

Quoted 4 lines
Quoted 2 lines

Not sure your error is due to using /proc instead of text file since I don't have your codec

i tried both, using proc and passing alsa-info.txt file to hda-analyzer.py, both with the same result.

Put alsa-info.txt somewhere to download or point me to this file in a bugreport.

Quoted 9 lines
Quoted 7 lines

There are error messages when click the "graph" button to generate the graph.

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

so hovering over gray connection makes the connection in the card driver, and hovering over blue connection disables the connection?

No, you need to edit the node (use open in context menu - right click on node).

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw

Dne 29.7.2010 17:10, Jaroslav Kysela napsal(a):

Quoted 42 lines · Miroslav Šulc
Quoted 40 lines

Dne 29.7.2010 15:20, Raymond Yau napsal(a):

Quoted 38 lines

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 37 lines

hello,

i'd like to help with making the above soundcard to fully work, but have
no clue what to do exactly. currently the soundcard works pretty weird,
though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this
error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but
will be interpreted as an integer; this is likely not what you intended
Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb
self.__refresh()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
self.load()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
self.node_window.add(NodeGui(node=n))
File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
self.__build_node(node, doframe)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
vbox.pack_start(self.__build_amps(node), False, False)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
node.in_amp and node.amp_vals_in or None)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
if ctl.hdactl.amp_index_match(idx):
File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in
amp_index_match
count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Quoted 1 line

I fixed this issue in the alsa.git repo now.

y, i can confirm the bug is gone, thx :-)

Quoted 15 lines
Quoted 15 lines
Quoted 6 lines
Quoted 4 lines

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

By using alc670 alsa-info.txt in the alsa bugtracker ,

ok, i will post one once i restart my pc as i played with the settings of the driver so i guess the output might be affected.

Quoted 2 lines

the latest version
hda_analyzer don't has any error message when clicking AUD_IN node

well, in the night i downloaded the app from
http://www.alsa-project.org/hda-analyzer.py and have the issue. now also tried alsa git repo and the result is the same, so the bug really is there, at least for me. i can try to debug it in netbeans if i find out how (i do not code in python nor do i use it as coder).

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Not sure your error is due to using /proc instead of text file since I don't have your codec

i tried both, using proc and passing alsa-info.txt file to hda-analyzer.py, both with the same result.

Put alsa-info.txt somewhere to download or point me to this file in a bugreport.

http://www.alsa-project.org/db/?f=d1c9aaa11903b6b1e2fd87b6d0466157ffdcb6ad

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

There are error messages when click the "graph" button to generate the graph.

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

Quoted 5 lines
Quoted 2 lines

so hovering over gray connection makes the connection in the card driver, and hovering over blue connection disables the connection?

No, you need to edit the node (use open in context menu - right click on node).

found that, thx :-)

Quoted 7 lines

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#7 lore raw
In reply to Raymond Yau

Dne 29.7.2010 15:20, Raymond Yau napsal(a):

Quoted 34 lines

2010/7/29 Miroslav Šulc <[email protected]>

Quoted 33 lines

hello,

i'd like to help with making the above soundcard to fully work, but have no clue what to do exactly. currently the soundcard works pretty weird, though at least sound goes out :-)

i tried hda analyzer but did not find any documentation for it so have no idea what to do exactly. also, when clicking AUD_IN nodes, i get this error:

** (hda_analyzer.py:10063): WARNING **: column number is a boolean, but will be interpreted as an integer; this is likely not what you intended Traceback (most recent call last):
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 308, in
selection_changed_cb
self.__refresh()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 276, in __refresh
self.load()
File "/dev/shm/hda-analyzer/hda_analyzer.py", line 336, in load
self.node_window.add(NodeGui(node=n))
File "/dev/shm/hda-analyzer/hda_guilib.py", line 86, in __init__
self.__build_node(node, doframe)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 682, in __build_node
vbox.pack_start(self.__build_amps(node), False, False)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 365, in __build_amps
node.in_amp and node.amp_vals_in or None)
File "/dev/shm/hda-analyzer/hda_guilib.py", line 328, in build_caps
if ctl.hdactl.amp_index_match(idx):
File "/dev/shm/hda-analyzer/hda_proc.py", line 170, in amp_index_match
count = (self.amp_chs & 1) + ((self.amp_chs >> 1) & 1)
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Quoted 5 lines
Quoted 4 lines

can anybody pls direct me to some documentation that could help me to master hda analyzer and find the way to make the card work correctly?

miroslav

By using alc670 alsa-info.txt in the alsa bugtracker

here is the bug and alsa-info.txt:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5083

Quoted 15 lines

the latest version
hda_analyzer don't has any error message when clicking AUD_IN node

Not sure your error is due to using /proc instead of text file since I don't have your codec

There are error messages when click the "graph" button to generate the graph.

About the graph
the blue line - connected audio path
the grey line - unconncted audio path
the line turn red when you put the mouse cursor near any line ,

Quoted 15 lines

TypeError: 'int' object is not iterable
Traceback (most recent call last):
File "/hda-analyzer/hda_graph.py", line 579, in expose
route.expose(cr, event)
File "/hda-analyzer/hda_graph.py", line 190, in expose
inactive = self.src.node.is_conn_active(self.dst.node)
File "/hda-analyzer/hda_codec.py", line 809, in is_conn_active
vals = dst_node.amp_vals_in.get_val_db(idx)
File "/hda-analyzer/hda_codec.py", line 377, in get_val_db
for val in vals:
TypeError: 'int' object is not iterable
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel