Re: [Alsa-user] US-122 distortion

2007-09-28 Thread Mark Constable
  If that does not help try ruling out an interrupt sharing issue by
  testing with network, firewire  onboard audio disabled and nvidia
  module not loaded.
 
 Thanks for the suggestions Lee. No luck though, same amount
 of crackly distortion as before... not just a little bit,
 way too much be usable.

FWIW, if anyone is interested, this is what it sounds like...

 http://markc.renta.net/lib/ogg/us122_distortion_20070928.ogg

--markc



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] US-122 distortion

2007-09-27 Thread Mark Constable
On 2007-09-27 16:36, Lee Revell wrote:
  I pulled in the latest sources but unfortuntely my US-122 is
  still distorted and unusable.
 
 Try a different USB port.
 
 If that does not help try ruling out an interrupt sharing issue by
 testing with network, firewire  onboard audio disabled and nvidia
 module not loaded.

Thanks for the suggestions Lee. No luck though, same amount
of crackly distortion as before... not just a little bit,
way too much be usable.

I did as you suggested and disabled onboard eth and sound in
the BIOS, used vesa instead of the nVidia xorg driver, and
plugged the USB cable into the rear sockets instead of front.

I've got 4 x 64bit distros and 2 x 32 bit distros on this
machine, all with 2.6.22 kernels, and it's the same distortion
only when using the Tascam US-122. Put the US-122 on an older
VIA/AMD2800+ machine or a Dell/Intel laptop and there is no
distortion.

So it's something to do with this Abit AN-M2 mainboard, most
likely, or perhaps the AMD SMP kernel (6000+ AM2 socket)... 

That Creative Labs device is actually my mouse.

# lsusb
Bus 004 Device 001: ID :
Bus 003 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 003 Device 001: ID :
Bus 002 Device 003: ID 062a: Creative Labs
Bus 002 Device 002: ID 1604:8007 Tascam US-122 Audio/Midi Interface
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :

No difference when changing USB sockets...

Bus 004 Device 001: ID :
Bus 003 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 003 Device 001: ID :
Bus 002 Device 006: ID 062a: Creative Labs
Bus 002 Device 001: ID :
Bus 001 Device 004: ID 1604:8007 Tascam US-122 Audio/Midi Interface
Bus 001 Device 001: ID :

Interrupts before...

   CPU0   CPU1
  0:  16471   15257040   IO-APIC-edge  timer
  1: 21  18441   IO-APIC-edge  i8042
  8:  0  0   IO-APIC-edge  rtc
  9:  0  6   IO-APIC-fasteoi   acpi
 12:  0  4   IO-APIC-edge  i8042
 14:  1399   IO-APIC-edge  ide0
 20:   54286527047   IO-APIC-fasteoi   ohci_hcd:usb2, HDA Intel
 21:   54246080690   IO-APIC-fasteoi   ohci_hcd:usb1, eth0
 22:   16691336407   IO-APIC-fasteoi   ehci_hcd:usb4, nvidia
 23:708 448501   IO-APIC-fasteoi   ahci, ehci_hcd:usb3
NMI:  0  0
LOC:   15273622   15273593
ERR:  0

Interrupts after disabling onboard eth and audio...

   CPU0   CPU1
  0:101  22796   IO-APIC-edge  timer
  1:  0139   IO-APIC-edge  i8042
  8:  0  0   IO-APIC-edge  rtc
  9:  0  0   IO-APIC-fasteoi   acpi
 12:  0  4   IO-APIC-edge  i8042
 14:  0280   IO-APIC-edge  ide0
 20:  3   7687   IO-APIC-fasteoi   ohci_hcd:usb2
 21:  0  2   IO-APIC-fasteoi   ohci_hcd:usb1
 22:  2  4   IO-APIC-fasteoi   ehci_hcd:usb4
 23:  3   7310   IO-APIC-fasteoi   ahci, ehci_hcd:usb3
NMI:  0  0
LOC:  22849  22820
ERR:  0


# lspci -

00:00.0 RAM memory: nVidia Corporation Unknown device 0547 (rev a2)
Subsystem: ABIT Computer Corp. Unknown device 1c2f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Command: BaseUnitID=0 UnitCnt=15 MastHost- DefDir- DUL-
Link Control 0: CFlE- CST- CFE- LkFail- Init+ EOC- TXO- 
CRCErr=0 IsocEn- LSEn+ ExtCTL- 64b-
Link Config 0: MLWI=16bit DwFcIn- MLWO=16bit DwFcOut- LWI=16bit 
DwFcInEn- LWO=16bit DwFcOutEn-
Link Control 1: CFlE- CST- CFE- LkFail+ Init- EOC+ TXO+ 
CRCErr=0 IsocEn- LSEn- ExtCTL- 64b-
Link Config 1: MLWI=8bit DwFcIn- MLWO=8bit DwFcOut- LWI=8bit 
DwFcInEn- LWO=8bit DwFcOutEn-
Revision ID: 1.03
Link Frequency 0: 1.0GHz
Link Error 0: Prot- Ovfl- EOC- CTLTm-
Link Frequency Capability 0: 200MHz+ 300MHz+ 400MHz+ 500MHz+ 
600MHz+ 800MHz+ 1.0GHz+ 1.2GHz- 1.4GHz- 1.6GHz- Vend-
Feature Capability: IsocFC+ LDTSTOP+ CRCTM- ECTLT- 64bA- UIDRD-
Link Frequency 1: 200MHz
Link Error 1: Prot- Ovfl- EOC- CTLTm-
Link Frequency Capability 1: 200MHz- 300MHz- 400MHz- 500MHz- 
600MHz- 800MHz- 1.0GHz- 1.2GHz- 1.4GHz- 1.6GHz- Vend-
Error Handling: PFlE+ OFlE+ PFE- OFE- EOCFE- RFE- CRCFE- 
SERRFE- CF- RE- PNFE- ONFE- EOCNFE- RNFE- CRCNFE- SERRNFE-
Prefetchable memory behind bridge Upper: 00-00
Bus Number: 00
Capabilities: [dc] HyperTransport: MSI Mapping

00:01.0 ISA 

Re: [Alsa-user] US-122 distortion

2007-09-26 Thread Mark Constable
On 2007-09-25 16:42, Bill Unruh wrote:
 Just recompile Alsa 1.0.15rcx and install the drivers ( make install)
 Ie,
 ./configure
 make
 make install
 in the alsa-driver directory.

I pulled in the latest sources but unfortuntely my US-122 is
still distorted and unusable.

 Advanced Linux Sound Architecture Driver Version 1.0.15rc3.
 Compiled on Sep 26 2007 for kernel 2.6.22-ARCH (SMP).

 filename:   
/lib/modules/2.6.22-ARCH/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
 license:GPL
 description:TASCAM US-X2Y Version 0.8.7.2
 author: Karsten Wiese [EMAIL PROTECTED]
 alias:  usb:v1604p8005d*dc*dsc*dp*ic*isc*ip*
 alias:  usb:v1604p8007d*dc*dsc*dp*ic*isc*ip*
 alias:  usb:v1604p8001d*dc*dsc*dp*ic*isc*ip*
 depends:snd-usb-lib,snd-page-alloc,snd-pcm,snd,usbcore,snd,snd-hwdep
 vermagic:   2.6.22-ARCH SMP preempt mod_unload 686
 parm:   nrpacks:Number of packets per URB. (int)
 parm:   index:Index value for US-X2Y. (array of int)
 parm:   id:ID string for US-X2Y. (array of charp)
 parm:   enable:Enable US-X2Y. (array of bool)

And for the mailing-list record, to save others some time...

#!/bin/bash
# aabuild v0.1.0 20070926 [EMAIL PROTECTED] GPL
# http://alsa.opensrc.org/aabuild

SRCDIR=$(pwd)

function fetch_all
{
  rsync -avz --delete --exclude=.hg* rsync://alsa.alsa-project.org/hg alsa
}

function build_all
{
  for i in driver lib plugins utils tools firmware oss; do
cd $SRCDIR/alsa/alsa-$i  ./hgcompile
  done
}

function install_all
{
  for i in driver lib plugins utils tools firmware oss; do
cd $SRCDIR/alsa/alsa-$i  make install
  done
  # cd $SRCDIR/alsa/alsa-python  ./setup.py
}

#fetch_all
#build_all
#install_all


--markc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] US-122 distortion

2007-09-26 Thread Lee Revell
On 9/26/07, Mark Constable [EMAIL PROTECTED] wrote:
 I pulled in the latest sources but unfortuntely my US-122 is
 still distorted and unusable.

Try a different USB port.

If that does not help try ruling out an interrupt sharing issue by
testing with network, firewire  onboard audio disabled and nvidia
module not loaded.

Lee

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] US-122 distortion

2007-09-25 Thread Mark Constable
On 2007-09-25 16:09, Mark Constable wrote:
 I have a Tascam US-122 USB soundcard on a newish Abit AN-M2
 (nForce4) using both ArchLinux 64bit and Kubuntu 32bit distros
 with a 2.6.22 kernel. Onboard MCP67 (snd_hda_intel) audio seems
 fine but audio in and out the snd_usb_usx2y driver is distorted.
 I've tried nrpacks=1 which is the only tweak I could find by
 Googling. A 32bit ArchLinux install on an older machine with
 the same kernel is (always has been) just fine with this US-122
 external soundcard. I thought it may have been a 64bit problem
 but the 32bit Kubuntu install is the same so the main
 difference is the mainboard and SMP CPU.

FWIW I took the hard drive out of my old 32bit/2.6.22 kernel
system (VIA K8 / AMD2800+ uniprocessor) and put into my new
nForce4 / AMD6000+ SMP processor system and, sure enough, the
sound is now distorted. So exactly the same driver + kernel +
apps (that worked fine in my older VIA system) in a different
mainboard + CPU environment now has unusable distorted sound
out the USB soundcard.

I guess my next step is to roll a new kernel with ALSA from
CVS, and if that doesn't work, I'll try the Opensound drivers.

--markc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] US-122 distortion

2007-09-25 Thread Bill Unruh
On Tue, 25 Sep 2007, Mark Constable wrote:

 On 2007-09-25 16:09, Mark Constable wrote:
 I have a Tascam US-122 USB soundcard on a newish Abit AN-M2
 (nForce4) using both ArchLinux 64bit and Kubuntu 32bit distros
 with a 2.6.22 kernel. Onboard MCP67 (snd_hda_intel) audio seems
 fine but audio in and out the snd_usb_usx2y driver is distorted.

Sorry, exactly what usb card is it?

 I've tried nrpacks=1 which is the only tweak I could find by
 Googling. A 32bit ArchLinux install on an older machine with
 the same kernel is (always has been) just fine with this US-122
 external soundcard. I thought it may have been a 64bit problem
 but the 32bit Kubuntu install is the same so the main
 difference is the mainboard and SMP CPU.

 FWIW I took the hard drive out of my old 32bit/2.6.22 kernel
 system (VIA K8 / AMD2800+ uniprocessor) and put into my new
 nForce4 / AMD6000+ SMP processor system and, sure enough, the
 sound is now distorted. So exactly the same driver + kernel +
 apps (that worked fine in my older VIA system) in a different
 mainboard + CPU environment now has unusable distorted sound
 out the USB soundcard.

 I guess my next step is to roll a new kernel with ALSA from
 CVS, and if that doesn't work, I'll try the Opensound drivers.

Why would you want to recompile your kernel? Just recompile Alsa 1.0.15rcx 
and install the drivers ( make install)
Ie, 
./configure
make
make install
in the alsa-driver directory.




 --markc

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-- 
William G. Unruh   |  Canadian Institute for| Tel: +1(604)822-3273
PhysicsAstronomy  | Advanced Research  | Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology | [EMAIL PROTECTED]
Canada V6T 1Z1 |  and Gravity   |  www.theory.physics.ubc.ca/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] US-122 distortion

2007-09-25 Thread Mark Constable
On 2007-09-25 16:42, Bill Unruh wrote:
 Sorry, exactly what usb card is it?

Tascam US-122 USB soundcard

 http://www.tascam.com/details;39,15,68.html

  FWIW I took the hard drive out of my old 32bit/2.6.22 kernel
  system (VIA K8 / AMD2800+ uniprocessor) and put into my new
  nForce4 / AMD6000+ SMP processor system and, sure enough, the
  sound is now distorted. So exactly the same driver + kernel +
  apps (that worked fine in my older VIA system) in a different
  mainboard + CPU environment now has unusable distorted sound
  out the USB soundcard.
 
  I guess my next step is to roll a new kernel with ALSA from
  CVS, and if that doesn't work, I'll try the Opensound drivers.
 
 Why would you want to recompile your kernel?

If I have to pull in the kernel source (I guess) then I may as
well roll the latest kernel because it seems this mainboard I
have is only just recently supported, the nVidia driver only
started working for my video on the last update.

 Just recompile Alsa 1.0.15rcx and install the drivers ( make install)
 Ie,
 ./configure
 make
 make install
 in the alsa-driver directory.

I'll try that first. Thanks for the reminder, been a few years
since I've had to compile any kernel or drivers.

--markc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] US-122 distortion

2007-09-22 Thread Mark Constable
I have a Tascam US-122 USB soundcard on a newish Abit AN-M2
(nForce4) using both ArchLinux 64bit and Kubuntu 32bit distros
with a 2.6.22 kernel. Onboard MCP67 (snd_hda_intel) audio seems
fine but audio in and out the snd_usb_usx2y driver is distorted.
I've tried nrpacks=1 which is the only tweak I could find by
Googling. A 32bit ArchLinux install on an older machine with
the same kernel is (always has been) just fine with this US-122
external soundcard. I thought it may have been a 64bit problem
but the 32bit Kubuntu install is the same so the main
difference is the mainboard and SMP CPU.

I think all systems have ALSA 1.0.14. Would anyone have any
suggestions how to solve, or diagnose this problem further ?


00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:02.0 USB Controller: nVidia Corporation Unknown device 055e (rev a2)
00:02.1 USB Controller: nVidia Corporation Unknown device 055f (rev a2)

Bus 003 Device 002: ID 1604:8007 Tascam US-122 Audio/Midi Interface

 0 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0xfe02 irq 21
 1 [USX2Y  ]: USB US-X2Y - TASCAM US-X2Y
  TASCAM US-X2Y (1604:8007 if 0 at 003/002)

usbcore   132144  6 snd_usb_usx2y,snd_usb_lib,usbhid,ohci_hcd,ehci_hcd

 20:317 261929   IO-APIC-fasteoi   ohci_hcd:usb4, eth0
 21:241 269964   IO-APIC-fasteoi   ohci_hcd:usb3, HDA Intel
 22:195 131804   IO-APIC-fasteoi   ehci_hcd:usb2, nvidia
 23: 52  25045   IO-APIC-fasteoi   ehci_hcd:usb1, ahci

--markc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user