Page 1 of 7 123 ... LastLast
Results 1 to 10 of 66

Thread: Compiling new kernel for Tascam US-122l

  1. #1
    Join Date
    Nov 2007
    Beans
    124
    Distro
    Ubuntu 12.04 Precise Pangolin

    Compiling new kernel for Tascam US-122l

    I recently bought the Tascam US-122l (USB sound card, not yet supported in ALSA), thinking that it was the same as the US-122 (which is supported by ALSA). I have found a walkthrough that has been claimed to work for this and it involves compiling and installing a patched kernel. The thing is, the walkthrough is for Debian, and while I know that Ubuntu is based on Debian I'm not sure quite how compatible the walkthrough is. I assume it would be pretty fatal for my current install if I broke the kernel. There is one particular line which mentions *amd64.deb, but I use an x86. If someone could take a look at this and let me know if this is safe and if there is anything that needs to be changed for my purposes I'd be very grateful.

    The walkthrough is at:
    http://wiki.briata.org/doku.php?id=t...2l_under_linux
    Last edited by Earl_Maroon; July 19th, 2008 at 12:35 AM. Reason: typo

  2. #2
    Join Date
    Jul 2005
    Beans
    72

    Re: Compiling new kernel for Tascam US-122l

    i also bought a us-144(us-122l) and have been following this tutorial

    http://wiki.briata.org/doku.php?id=t...2l_under_linux

    which does involve compiling a new kernel, since its a new kernel im fine with it, but after its compiled i will have to patch it for RealTime

    my issue is there are errors in my quest

    after compiling the kernel i get errors
    Code:
     MODPOST 1911 modules
    ERROR: "snd_hwdep_new" [sound/usb/usx2y/snd-usb-us122l.ko] undefined!
    WARNING: modpost: Found 15 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'
    make[2]: *** [__modpost] Error 1
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
    make: *** [debian/stamp-build-kernel] Error 2
    and then the next command after that are

    Code:
     dpkg -i ../linux-image-2.6.25.4-us122l_1_amd64.deb
     dpkg -i ../*-modules-2.6.25-us122l_*1_amd64.deb
    naturally there are no amd64.deb's but i did find the linux-image of the kernel, but the modules*.deb is not there, was it not built due to the module error from the kernel compiling?

    when i continue on i get errors here with this command
    Code:
    CFLAGS="-Wall -g -O2" ./configure --prefix=/usr \
    	    --mandir=\$${prefix}/share/man \
    	    --infodir=\$${prefix}/share/info \
    	    --host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) \
    	    --build=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) \
    	    --enable-static
    i am told 3 times about bash commands being bad, unfortunately i cant copy and paste it here but its generic bash command errors

    the next step was packaging and i get this error
    Code:
    chmod: changing permissions of `/usr/lib/alsa-lib/libasound_module_pcm_jack.a': No such file or directory
    make[2]: *** [install-asound_module_pcm_jackLTLIBRARIES] Error 1
    make[2]: Leaving directory `/usr/src/alsa-plugins-1.0.16/jack'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/usr/src/alsa-plugins-1.0.16/jack'
    make: *** [install-recursive] Error 1
    
    ****  Installation failed. Aborting package creation.
    Last edited by keithacole; July 28th, 2008 at 05:30 PM.
    modded xbox, overclocked cassiopeia, Ubuntu Box, Xubuntu Tablet, Ubuntu Studio in 4u server case, XP on Dell XPS 1210 that needs new battery, Vista Box, vonage, 108MBs wifi, podcast connoisseur, CBR F3(daily ride)...Dad

  3. #3
    Join Date
    Aug 2008
    Beans
    14

    Re: Compiling new kernel for Tascam US-122l

    Ciao!

    Lets leave for the moment RealTime patch...
    You must follow the guide step by step. You can't skip some part.
    The modules* will be only when 'make-kpkg kernel_image modules_image' will not give error.

    As superusers type:
    # cd /usr/src/linux
    than paste all output of:
    # cat .config | grep SND
    If you don't get:
    CONFIG_SND_HWDEP=m
    that's maybe the problem, you can add it when you are in 'menuconfig'

    Anyway some more detail will be useful to help you...
    Which kernel are you using? which ubuntu version?
    I'm installing now ubuntu 8.04 hardy heron, I'll try to add us122l support as soon as I can..

    Federico

  4. #4
    Join Date
    Jan 2008
    Beans
    3

    Re: Compiling new kernel for Tascam US-122l

    Here's the output of cat .config | grep SND

    CONFIG_SND=m
    CONFIG_SND_TIMER=m
    CONFIG_SND_PCM=m
    CONFIG_SND_HWDEP=m
    CONFIG_SND_RAWMIDI=m
    CONFIG_SND_SEQUENCER=m
    CONFIG_SND_SEQ_DUMMY=m
    # CONFIG_SND_MIXER_OSS is not set
    # CONFIG_SND_PCM_OSS is not set
    # CONFIG_SND_SEQUENCER_OSS is not set
    # CONFIG_SND_RTCTIMER is not set
    # CONFIG_SND_DYNAMIC_MINORS is not set
    CONFIG_SND_SUPPORT_OLD_API=y
    CONFIG_SND_VERBOSE_PROCFS=y
    # CONFIG_SND_VERBOSE_PRINTK is not set
    # CONFIG_SND_DEBUG is not set
    # CONFIG_SND_DUMMY is not set
    # CONFIG_SND_VIRMIDI is not set
    # CONFIG_SND_MTPAV is not set
    # CONFIG_SND_MTS64 is not set
    # CONFIG_SND_SERIAL_U16550 is not set
    # CONFIG_SND_MPU401 is not set
    # CONFIG_SND_PORTMAN2X4 is not set
    # CONFIG_SND_ADLIB is not set
    # CONFIG_SND_AD1816A is not set
    # CONFIG_SND_AD1848 is not set
    # CONFIG_SND_ALS100 is not set
    # CONFIG_SND_AZT2320 is not set
    # CONFIG_SND_CMI8330 is not set
    # CONFIG_SND_CS4231 is not set
    # CONFIG_SND_CS4232 is not set
    # CONFIG_SND_CS4236 is not set
    # CONFIG_SND_DT019X is not set
    # CONFIG_SND_ES968 is not set
    # CONFIG_SND_ES1688 is not set
    # CONFIG_SND_ES18XX is not set
    # CONFIG_SND_SC6000 is not set
    # CONFIG_SND_GUSCLASSIC is not set
    # CONFIG_SND_GUSEXTREME is not set
    # CONFIG_SND_GUSMAX is not set
    # CONFIG_SND_INTERWAVE is not set
    # CONFIG_SND_INTERWAVE_STB is not set
    # CONFIG_SND_OPL3SA2 is not set
    # CONFIG_SND_OPTI92X_AD1848 is not set
    # CONFIG_SND_OPTI92X_CS4231 is not set
    # CONFIG_SND_OPTI93X is not set
    # CONFIG_SND_MIRO is not set
    # CONFIG_SND_SB8 is not set
    # CONFIG_SND_SB16 is not set
    # CONFIG_SND_SBAWE is not set
    # CONFIG_SND_SGALAXY is not set
    # CONFIG_SND_SSCAPE is not set
    # CONFIG_SND_WAVEFRONT is not set
    # CONFIG_SND_AD1889 is not set
    # CONFIG_SND_ALS300 is not set
    # CONFIG_SND_ALS4000 is not set
    # CONFIG_SND_ALI5451 is not set
    # CONFIG_SND_ATIIXP is not set
    # CONFIG_SND_ATIIXP_MODEM is not set
    # CONFIG_SND_AU8810 is not set
    # CONFIG_SND_AU8820 is not set
    # CONFIG_SND_AU8830 is not set
    # CONFIG_SND_AZT3328 is not set
    # CONFIG_SND_BT87X is not set
    # CONFIG_SND_CA0106 is not set
    # CONFIG_SND_CMIPCI is not set
    # CONFIG_SND_OXYGEN is not set
    # CONFIG_SND_CS4281 is not set
    # CONFIG_SND_CS46XX is not set
    # CONFIG_SND_CS5530 is not set
    # CONFIG_SND_CS5535AUDIO is not set
    # CONFIG_SND_DARLA20 is not set
    # CONFIG_SND_GINA20 is not set
    # CONFIG_SND_LAYLA20 is not set
    # CONFIG_SND_DARLA24 is not set
    # CONFIG_SND_GINA24 is not set
    # CONFIG_SND_LAYLA24 is not set
    # CONFIG_SND_MONA is not set
    # CONFIG_SND_MIA is not set
    # CONFIG_SND_ECHO3G is not set
    # CONFIG_SND_INDIGO is not set
    # CONFIG_SND_INDIGOIO is not set
    # CONFIG_SND_INDIGODJ is not set
    # CONFIG_SND_EMU10K1 is not set
    # CONFIG_SND_EMU10K1X is not set
    # CONFIG_SND_ENS1370 is not set
    # CONFIG_SND_ENS1371 is not set
    # CONFIG_SND_ES1938 is not set
    # CONFIG_SND_ES1968 is not set
    # CONFIG_SND_FM801 is not set
    # CONFIG_SND_HDA_INTEL is not set
    # CONFIG_SND_HDSP is not set
    # CONFIG_SND_HDSPM is not set
    # CONFIG_SND_HIFIER is not set
    # CONFIG_SND_ICE1712 is not set
    # CONFIG_SND_ICE1724 is not set
    # CONFIG_SND_INTEL8X0 is not set
    # CONFIG_SND_INTEL8X0M is not set
    # CONFIG_SND_KORG1212 is not set
    # CONFIG_SND_MAESTRO3 is not set
    # CONFIG_SND_MIXART is not set
    # CONFIG_SND_NM256 is not set
    # CONFIG_SND_PCXHR is not set
    # CONFIG_SND_RIPTIDE is not set
    # CONFIG_SND_RME32 is not set
    # CONFIG_SND_RME96 is not set
    # CONFIG_SND_RME9652 is not set
    # CONFIG_SND_SIS7019 is not set
    # CONFIG_SND_SONICVIBES is not set
    # CONFIG_SND_TRIDENT is not set
    # CONFIG_SND_VIA82XX is not set
    # CONFIG_SND_VIA82XX_MODEM is not set
    # CONFIG_SND_VIRTUOSO is not set
    # CONFIG_SND_VX222 is not set
    # CONFIG_SND_YMFPCI is not set
    # CONFIG_SND_USB_AUDIO is not set
    CONFIG_SND_USB_USX2Y=m
    CONFIG_SND_USB_CAIAQ=m
    CONFIG_SND_USB_CAIAQ_INPUT=y
    CONFIG_SND_USB_US122L=m
    # CONFIG_SND_VXPOCKET is not set
    # CONFIG_SND_PDAUDIOCF is not set
    # CONFIG_SND_SOC is not set

    As you can see CONFIG_SND_HWDEP=m is ok, but nothing's workin'...

  5. #5
    Join Date
    Jul 2005
    Beans
    72

    Re: Compiling new kernel for Tascam US-122l

    i have redone my system and dont show any sign of the patch as yet. i will wait for you to complete then i will try again.
    modded xbox, overclocked cassiopeia, Ubuntu Box, Xubuntu Tablet, Ubuntu Studio in 4u server case, XP on Dell XPS 1210 that needs new battery, Vista Box, vonage, 108MBs wifi, podcast connoisseur, CBR F3(daily ride)...Dad

  6. #6
    Join Date
    Aug 2008
    Beans
    14

    Re: Compiling new kernel for Tascam US-122l

    Hello,
    I add preliminary howto for Ubuntu 8.04 Hardy Heron.

    For Ubuntu intrepid should be the same step except for libasound2-plugins sections, where with 'apt-get source alsa-plugins' you'll get alsa-utils 1.0.16 instead of 1.0.15.

    Please let me know if is working.

    http://wiki.briata.org/doku.php?id=t...2l_under_linux

    Best regards,

    Federico
    Last edited by federicobriata; August 16th, 2008 at 11:18 PM.

  7. #7
    Join Date
    Jul 2005
    Beans
    72

    Re: Compiling new kernel for Tascam US-122l

    im trying your new method out now. so far no errors, except for having a hard time grabbing the patch, (kept timing out on the download)

    but kernel is compiling now.

    i read in about he issues between usb 1 and 2, should the device be on usb 1 instead of 2? with this patch?
    modded xbox, overclocked cassiopeia, Ubuntu Box, Xubuntu Tablet, Ubuntu Studio in 4u server case, XP on Dell XPS 1210 that needs new battery, Vista Box, vonage, 108MBs wifi, podcast connoisseur, CBR F3(daily ride)...Dad

  8. #8
    Join Date
    Jul 2005
    Beans
    72

    Re: Compiling new kernel for Tascam US-122l

    OK, everything got compiled and i ran into no errors, except that the device is still not listed in /proc/asound/cards

    i see the module snd-usb-us122l i modprobe it and pull the cable on the interface, i check dmesg and there are no errors, but still the device doesnt list under /proc/asound/cards

    is it because of alsa 1.0.15 ?
    modded xbox, overclocked cassiopeia, Ubuntu Box, Xubuntu Tablet, Ubuntu Studio in 4u server case, XP on Dell XPS 1210 that needs new battery, Vista Box, vonage, 108MBs wifi, podcast connoisseur, CBR F3(daily ride)...Dad

  9. #9
    Join Date
    Aug 2008
    Beans
    14

    Re: Compiling new kernel for Tascam US-122l

    Hi!
    after kernel patches you should get it with cat /proc/asound/cards.

    First test I didn't get working too in usb2,
    I check kernel messages (sudo dmesg) and something wasn't good with ehci patch, I removed ehci_hcd (sudo rmmod ehci_hcd) plug it again and was working but in usb1 mode.
    Than I've seen that us122l-patches.tar.bz2 witch I download from gmane.org was an empty file, so I rebuild kernel with ehc patch and now is ok.
    Maybe have you got the same inconvenience?

    I also realize that I miss few step for Alsa-plugins STEP for Ubuntu, now usb_stream is included correctly in libasound2-plugins.

    Regards,
    Federico

  10. #10
    Join Date
    Jul 2005
    Beans
    72

    Re: Compiling new kernel for Tascam US-122l

    sudo rmmod ehci_hcd) did not work for me. i still dont have the device show up in /proc/asound/cards. but it does show up in lsusb.

    could you create a .deb package from your system that would work?
    modded xbox, overclocked cassiopeia, Ubuntu Box, Xubuntu Tablet, Ubuntu Studio in 4u server case, XP on Dell XPS 1210 that needs new battery, Vista Box, vonage, 108MBs wifi, podcast connoisseur, CBR F3(daily ride)...Dad

Page 1 of 7 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •