LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-11-2013, 05:47 AM   #1
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
Tascam us122 mkII not recording


I have a Tascam us122 mkII usb sound card. The card was working fine last year, but after some update something broke. Now I can't hear anything and can't record anything. I'm mostly interested in capturing audio for a video project I'm working on, not playback. The processing/editing will be done on another PC.
I am running Gentoo kernel 3.11.3
I have jack installed and the jack use flag enabled. I don't have a /etc/asound.conf or a ~/.asoundrc since I read it's not needed anymore. I have alsa-firmware installed too.
I have /etc/udev/rules.d/55-tascam.rules :
Code:
ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8006", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx'"
ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8007", RUN+="/bin/sh -c '/usr/bin/usx2yloader'"
ATTRS{idVendor}=="0644", ATTRS{idProduct}=="8021", RUN+="/bin/sh -c '/sbin/fxload -D %N -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx'"
ATTRS{idVendor}=="0644", ATTRS{idProduct}=="8021", RUN+="/bin/sh -c '/usr/bin/usx2yloader'"
Code:
$ lsusb
Bus 001 Device 002: ID 0644:8021 TEAC Corp. TASCAM US-122mkII
Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MKII [US122 MKII], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
If I run usx2yloader manually, I get
Code:
usx2yloader: no US-X2Y-compatible cards found
One thing I found different is that I should have an entry for my sound card at /proc/bus/usb/... however
Code:
 # ls -l /proc/bus
total 0
dr-xr-xr-x 2 root root 0 Oct 11 13:42 input
dr-xr-xr-x 5 root root 0 Oct 11 13:42 pci
I'm not shure why I don't have an entry for usb there. I am attaching my kernel .config too.

Any help/ideas?
I'll be happy to add any info I forgot to include.
Attached Files
File Type: txt config.txt (85.1 KB, 23 views)
 
Old 10-13-2013, 06:54 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
Hi

Until you get a better reply as I don't have your hardware

1) Can you link to the guide you followed pls

b) I believe your guide is wrong with at least 2 errors, let me show another device guide and explain

############
http://www.astro.caltech.edu/~mcs/tascam_us122/

####################

first you need the fxload package either from your repo or from source and you did not mention it

Secondly your udev rule is claiming that your vendor has 2 ids....and I allege No

According to my link.....fxload will allow vendor 0644 product 8021 to show a new entry in lsusb but your udev rule assumes it stays the same
----its possible based on the link, that the new product id will become 8022

So what I am suggesting is just run lsusb the second time and see what your new product is called.
---this is similar to creating manually udev rules for flip flop usb dongle modems.

good luck

Leaping ahead, when you know what the next product is called you can manually run
Code:
sudo /usr/bin/usx2yloader
to see if it lights sound action work and then when you post the new ids we can modify and give you a proper udev ruleset

EDIT

I forgot to mention, please check the pathways to each executable in your current udev rule please
ie when you have installed fxload

/sbin/fxload
/usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx
/usr/bin/usx2yloader

and you may need a sym link for the alsa firmware to
/lib/firmware/usx2yloader as per google
https://help.ubuntu.com/community/TASCAM_US-122

Last edited by aus9; 10-13-2013 at 07:09 PM.
 
Old 10-14-2013, 08:07 PM   #3
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Thanks for the reply. The fxload is installed i just forgot to mention it. The reason for 2 rules is that for some reason the ids have changed since the last time I used the card, so I copied the old rule and modified it. I already tried 8022 but no luck. I will try some more and post back in a couple of days, I'm out pf town currently.
 
Old 10-15-2013, 06:41 AM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
no worries but just to be blunter after running the first firmware, I am suggesting run lsusb to find the model change

no rush either as I am infrequent poster so happy others to take over if I am slower to reply
 
Old 10-20-2013, 09:06 AM   #5
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Ok, looks like the issue is narrowed down a bit. If I manually run fxload:
Code:
# fxload -D /dev/bus/usb/001/002 -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx 
can't modify CPUCS: Broken pipe
Just to be shure it's the right device:
Code:
# lsusb
Bus 001 Device 002: ID 0644:8021 TEAC Corp. TASCAM US-122mkII
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
PS : The paths are checked and I added the /lib/firmware/usx2yloader symlink

Last edited by segmentation_fault; 10-20-2013 at 09:31 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Tascam US-122 MKII Driver on Ubuntu/Fedora? saeedit Linux - Hardware 0 06-03-2012 04:32 AM
Panasoinc Toughbook CF-27 MKII Touchscreen morghanphoenix Linux - Laptop and Netbook 1 06-25-2008 02:40 PM
Tascam USB US122 not powering on spaceagedevice Linux - Laptop and Netbook 2 04-23-2005 08:43 PM
does MOTU 2408 MkII work with Linux? MadMusician_uk Linux - Hardware 2 10-05-2004 02:45 PM
Audiotrak Maya 44 MKII linuxpyro Linux - Hardware 6 04-21-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration