Some tests of pyalsa fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, everybody.

     I run the tests of pyalsa 1.0.24 on my Fedora 14 x86_64 machine,
but some of them, namely, ctltest1.py, hctltest2.py, mixertest1.py and
mixertest2.py fail.
     I have kernel-2.6.35.11-83.fc14.x86_64 and alsa-lib-1.0.24-1.fc14.x86_64.
     My soundcard info from lspci -v:

01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
        Subsystem: ASUSTeK Computer Inc. Device 843e
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at feae8000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel



      Output of failed tests:

$ python ctltest1.py
Card info:
Traceback (most recent call last):
  File "ctltest1.py", line 10, in <module>
    print 'Card info:', ctl.cardInfo()
AttributeError: 'alsacontrol.Control' object has no attribute 'cardInfo'

$ python hctltest2.py
Traceback (most recent call last):
  File "hctltest2.py", line 49, in <module>
    nelementid, 2, 0, 100, 1)
IOError: new element of type 2 create error: No such device or address

$ python mixertest1.py
GC DEBUG: init.
channel_id:
{'REAR_CENTER': 8, 'LAST': 31, 'UNKNOWN': -1, 'REAR_RIGHT': 3, 'MONO':
0, 'FRONT_RIGHT': 1, 'SIDE_LEFT': 6, 'REAR_LEFT': 2, 'SIDE_RIGHT': 7,
'FRONT_LEFT': 0, 'WOOFER': 5, 'FRONT_CENTER': 4}
channel_name:
['Front Left', 'Front Right', 'Rear Left', 'Rear Right', 'Front
Center', 'Woofer', 'Side Left', 'Side Right', 'Rear Center', '?', '?',
'?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?',
'?', '?', '?', '?', '?', '?', '?']
regopt_abstracts:
{'NONE': 0, 'BASIC': 1}
event_mask:
{'INFO': 2, 'ADD': 4, 'TLV': 8, 'VALUE': 1}
event_mask_remove: 4294967295
Element Count: 2
Elements:
(('Master', 0), ('Capture', 0))
Traceback (most recent call last):
  File "mixertest1.py", line 66, in <module>
    element = alsamixer.Element(mixer, "PCM")
IOError: cannot find mixer element 'PCM',0
gc: collecting generation 2...
gc: objects in each generation: 121 3468 0
gc: done, 0.0029s elapsed.

$ python mixertest2.py
Traceback (most recent call last):
  File "mixertest2.py", line 38, in <module>
    element1 = alsamixer.Element(mixer, "Front")
IOError: cannot find mixer element 'Front',0




Cheers.
Robin

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux