[alsa-devel] acer aspire 8943g with alc670
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
2010/7/29 Miroslav Šulc fordfrog@gmail.com
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
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
Dne 29.7.2010 15:20, Raymond Yau napsal(a):
2010/7/29 Miroslav Šulc fordfrog@gmail.com
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
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.
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).
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.
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?
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.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
2010/7/29 Miroslav Šulc fordfrog@gmail.com
.
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
Dne 29.7.2010 15:54, Raymond Yau napsal(a):
2010/7/29 Miroslav Šulc fordfrog@gmail.com
.
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
hm, seems i have no idea how to use hda analyzer then :-) anyway, will first file bug this evening and then will see.
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
using the previous version of run.py did not download all the programs _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On Thu, 29 Jul 2010, Miroslav Šulc wrote:
Dne 29.7.2010 15:20, Raymond Yau napsal(a):
2010/7/29 Miroslav Šulc fordfrog@gmail.com
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.
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.
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).
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.
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 perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Dne 29.7.2010 17:10, Jaroslav Kysela napsal(a):
On Thu, 29 Jul 2010, Miroslav Šulc wrote:
Dne 29.7.2010 15:20, Raymond Yau napsal(a):
2010/7/29 Miroslav Šulc fordfrog@gmail.com
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.
y, i can confirm the bug is gone, thx :-)
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.
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).
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
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).
found that, thx :-)
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Dne 29.7.2010 15:20, Raymond Yau napsal(a):
2010/7/29 Miroslav Šulc fordfrog@gmail.com
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
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
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 Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
participants (3)
-
Jaroslav Kysela
-
Miroslav Šulc
-
Raymond Yau