[Alsa-user] Some tests of pyalsa fail

2011-03-15 Thread Robin Lee
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] test-ignore

2011-03-15 Thread Pawel Furtak
Pawel

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] MobilePre USB support

2011-03-15 Thread James Shatto
I have the mobile pre (old one, but not the oldest one).  It just
works.  USB compliant, at least for USB 1.x standards.  i.e. 2
channels input, 16 bit, 48kHz max.  The gray one with buttons on
front, and pretty much any analog connection type known to man.
Although the line input (3.5mm) does not provide the plug in power for
cheap-ish / camcorder type mics.  And the phantom power is known to be
a bit under volt, but good enough for most mics IMO.

Worked out of the box for me.  But there is some wonkyness in Debian
Lenny(5.0) with freezes (wasn't an issue in sarge).  But then again
mine is old enough that the blue LED light comes and goes.  And I'm
running the distro supplied kernel 2.6.26.  As some of the changes in
the current version of things makes it a lot more difficult to run a
custom kernel.  At least with old school ways and a working config
from a previous install.  I may upgrade to 6.0 as soon as some of my
current projects are wrapped up.  But for $80 off of craigslist, I'm
not complaining.

- James


On 3/15/11, Jonathan Wilkes jancs...@yahoo.com wrote:
 Hi,
  I'm looking for a relatively inexpensive USB audio interface that will
 work (painlessly) on a laptop running Gnewsense, which would basically
 mean either Hardy or Squeeze.  After some looking and reading I'm thinking
 about something like

 Maudio Fast Track (one with the knobs on the top)

 Fast Track Pro

 or MobilePre (one with the knobs on the top).

 Can anyone tell me which of these works the most reliably with ALSA?  Or
 if there's some other interface in this price range that has an XLR input
 and works as well as the USB Transit seems to do?

 I basically want to record into Ardour or Pure Data, and monitor with
 headphones.

 Thank you,
 Jonathan




 --
 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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] MobilePre USB support

2011-03-15 Thread Jonathan Wilkes
Thanks, James.  From a quick google search it looks like one can still get 
these.  But just to make sure I'm talking about the same one-- what's 
the difference between the oldest one you referred to and the one 
you've got?

And has anyone had success with the new shiny little one with top knobs?

Thanks,
Jonathan

--- On Tue, 3/15/11, James Shatto wwwshad...@gmail.com wrote:

 From: James Shatto wwwshad...@gmail.com
 Subject: Re: [Alsa-user] MobilePre USB support
 To: alsa-user@lists.sourceforge.net
 Date: Tuesday, March 15, 2011, 2:04 PM
 I have the mobile pre (old one, but
 not the oldest one).  It just
 works.  USB compliant, at least for USB 1.x
 standards.  i.e. 2
 channels input, 16 bit, 48kHz max.  The gray one with
 buttons on
 front, and pretty much any analog connection type known to
 man.
 Although the line input (3.5mm) does not provide the plug
 in power for
 cheap-ish / camcorder type mics.  And the phantom
 power is known to be
 a bit under volt, but good enough for most mics IMO.
 
 Worked out of the box for me.  But there is some
 wonkyness in Debian
 Lenny(5.0) with freezes (wasn't an issue in sarge). 
 But then again
 mine is old enough that the blue LED light comes and
 goes.  And I'm
 running the distro supplied kernel 2.6.26.  As some of
 the changes in
 the current version of things makes it a lot more difficult
 to run a
 custom kernel.  At least with old school ways and a
 working config
 from a previous install.  I may upgrade to 6.0 as soon
 as some of my
 current projects are wrapped up.  But for $80 off of
 craigslist, I'm
 not complaining.
 
 - James
 
 
 On 3/15/11, Jonathan Wilkes jancs...@yahoo.com
 wrote:
  Hi,
       I'm looking for a relatively
 inexpensive USB audio interface that will
  work (painlessly) on a laptop running Gnewsense, which
 would basically
  mean either Hardy or Squeeze.  After some looking
 and reading I'm thinking
  about something like
 
  Maudio Fast Track (one with the knobs on the top)
 
  Fast Track Pro
 
  or MobilePre (one with the knobs on the top).
 
  Can anyone tell me which of these works the most
 reliably with ALSA?  Or
  if there's some other interface in this price range
 that has an XLR input
  and works as well as the USB Transit seems to do?
 
  I basically want to record into Ardour or Pure Data,
 and monitor with
  headphones.
 
  Thank you,
  Jonathan
 
 
 
 
 
 --
  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@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/alsa-user
 
 
 --
 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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user
 


  

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] MobilePre USB support

2011-03-15 Thread James Shatto
AFAIK, the old old one is white-ish and looks like a fallback to the
1950's.  And AFAIK, that is the only difference.  The Fast Track Pro
is probably the more liked modern one (USB 2.x?).  Although I don't
know of it's linux status.  Should be fine IMO, if it's class
compliant.  It took a good long while, but there is a 2.0 audio
standard now.

When recording you want 24 bit IMO.  16 bit is more of a delivery
format.  24 bit gives you more dynamic range, which better suits
recording IMO.  About all I use my Mobile Pre for is laptop sound.  Or
if I need to archive an odd format like reel to reel tapes or
cassettes (judges tapes).

I have a Delta 44 (24/96) on the desktop and a Korg MR-1000 (24/192 or
DSD) for anything more serious.  Except for the DSD part, all linux
compatible as well.  Although the Korg only functions as a usb storage
device as far as a computer is concerned.

M-Audio tends to use the same ADC/DAC chips in most of their gear, so
it's a fairly safe bet IMO.  Safe-er than some other options anyway.
Although not that configured by default in things like pulse audio and
such.  But the driver(s) work, always have IMO.  Some of the mixer
stuff can be a little off.  But I'm not exactly running the latest and
greatest of everything.  Most of my hardware is sufficiently old that
I don't need to in most cases.

- James


On 3/15/11, Jonathan Wilkes jancs...@yahoo.com wrote:
 Thanks, James.  From a quick google search it looks like one can still get
 these.  But just to make sure I'm talking about the same one-- what's
 the difference between the oldest one you referred to and the one
 you've got?

 And has anyone had success with the new shiny little one with top knobs?

 Thanks,
 Jonathan

 --- On Tue, 3/15/11, James Shatto wwwshad...@gmail.com wrote:

 From: James Shatto wwwshad...@gmail.com
 Subject: Re: [Alsa-user] MobilePre USB support
 To: alsa-user@lists.sourceforge.net
 Date: Tuesday, March 15, 2011, 2:04 PM
 I have the mobile pre (old one, but
 not the oldest one).  It just
 works.  USB compliant, at least for USB 1.x
 standards.  i.e. 2
 channels input, 16 bit, 48kHz max.  The gray one with
 buttons on
 front, and pretty much any analog connection type known to
 man.
 Although the line input (3.5mm) does not provide the plug
 in power for
 cheap-ish / camcorder type mics.  And the phantom
 power is known to be
 a bit under volt, but good enough for most mics IMO.

 Worked out of the box for me.  But there is some
 wonkyness in Debian
 Lenny(5.0) with freezes (wasn't an issue in sarge).
 But then again
 mine is old enough that the blue LED light comes and
 goes.  And I'm
 running the distro supplied kernel 2.6.26.  As some of
 the changes in
 the current version of things makes it a lot more difficult
 to run a
 custom kernel.  At least with old school ways and a
 working config
 from a previous install.  I may upgrade to 6.0 as soon
 as some of my
 current projects are wrapped up.  But for $80 off of
 craigslist, I'm
 not complaining.

 - James


 On 3/15/11, Jonathan Wilkes jancs...@yahoo.com
 wrote:
  Hi,
   I'm looking for a relatively
 inexpensive USB audio interface that will
  work (painlessly) on a laptop running Gnewsense, which
 would basically
  mean either Hardy or Squeeze.  After some looking
 and reading I'm thinking
  about something like
 
  Maudio Fast Track (one with the knobs on the top)
 
  Fast Track Pro
 
  or MobilePre (one with the knobs on the top).
 
  Can anyone tell me which of these works the most
 reliably with ALSA?  Or
  if there's some other interface in this price range
 that has an XLR input
  and works as well as the USB Transit seems to do?
 
  I basically want to record into Ardour or Pure Data,
 and monitor with
  headphones.
 
  Thank you,
  Jonathan
 
 
 
 
 
 --
  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@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/alsa-user
 

 --
 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@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user






--
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@lists.sourceforge.net