Re: [alsa-devel] Status of the Tascam US-122mkII???
jordan johnston wrote:
sorry about that....no more re-posting...
Again, reply to all addressees of the mails, now you only replied to me.
don't revert yet!!!
The card IS half working, i can use midi no problem with jack...
i think the driver DOES work..... i think the problem may be in .asoundrc or some other alsa settings.
right now i am using .asoundrc that i had picked up from here:
# got from http://www.nabble.com/tascam-us122l-and-ccrma-td24036395.html # thanks to Karsten
# The usb_stream plugin configuration
pcm.!usb_stream { @args [ CARD ] @args.CARD { type string default "0" }
type usb_stream card $CARD
}
ctl.!usb_stream { @args [ CARD ] @args.CARD { type string default "0" }
type hw card $CARD
}
i think the problem is that alsa/jack don't know where to look for both the inputs and outputs (as midi works great). unfortunately, i have little to no experience with this, and am not sure how to proceed.
it turns out that this card DOES use echi_hcd (i didn't unbind uchi_hcd this time).
(dmesg) usb 1-5: new high speed USB device using ehci_hcd and address 3 usb 1-5: config 1 interface 1 altsetting 1 bulk endpoint 0x83 has invalid maxpacket 9 usb 1-5: New USB device found, idVendor=0644, idProduct=8021 usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-5: Product: US-122 MKII usb 1-5: Manufacturer: TASCAM usb 1-5: SerialNumber: no serial number
as you can see echi_hcd is being used and.....
[ninez@ninez ~]$ ls /sys/bus/pci/drivers/ehci_hcd 0000:00:1d.7 bind module new_id remove_id uevent unbind
the card is found when you look for it!
[ninez@ninez ~]$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xefffc000 irq 27 1 [US122L ]: USB US-122L - TASCAM US-122L TASCAM US-122L (644:8021 if 0 at 001/003)
when i start Qjackctl up:
jackdmp 1.9.5 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2009 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 89 audio_reservation_init Acquire audio card Audio0 creating alsa driver ... hw:0|-|128|3|44100|0|0|nomon|swmeter|-|32bit Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xefffc000 irq 27 *** using internal sound (bah!) configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 3 periods ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 3 periods for playback Using port names patch v0.1 (07.04.2010) port created: Midi-Through:midi/playback_1 port created: Midi-Through:midi/capture_1 port created: TASCAM-US-122L:midi/playback_1 *** it uses the midi just fine (i tested it with Native intruments, massive) port created: TASCAM-US-122L:midi/capture_1 15:46:49.327 ALSA connection change. 15:46:50.351 Server configuration saved to "/home/ninez/.jackdrc". 15:46:50.352 Statistics reset. 15:46:50.367 Client activated. 15:46:50.369 JACK connection change. 15:46:50.374 JACK connection graph change.
if i set it to hw:1 jack can't start, nor does it matter if i am duplex, playback(only) or capture(only).. so i am convinced this driver can work, otherwise midi wouldn't work at all. the problem is my configuration. but i am not sure how to remedy this, any clues would help! (let's not give up quite yet!)
it's finding out how to tell it to use outputs and inputs properly.
jordan
MIDI works because it is done by another driver.
Follow these instructions to see if you can get the US122 MKII working like a US122L: http://www.premiumorange.com/la-page-web-of-phil/index.php?page=P030101#cons...
The interface is not hw:0 but usb_stream:1.
Also the US122L works with both ehci-hcd and uhci-hcd, the US144 only works with uhci-hcd.
Good luck, others tried it before and it didn't work.
Greetings, Tobias
Oops, sorry Tobias, i forgot to check it off. I did this time so anyone can see. :)
So basically, many people have tried to get this working and failed???? no one was able to get it working?
alright, i might setup a spare partition to give this another shot, as i don't want to ruin my current setup that is needed every time i got out and play music, or jam(like tonight!). My "Linux VST/live input looper" must stay fully operational ! but i will probably take another shot at it. even though! - in the end, i bet i am just going to purchase for FFADO "full-support". i would buy HDSP, but it's a little pricey for my laptop. I just thought that i would try to take advantage of the situation, maybe help debug the driver, but if the implementation of the us-122mkII is vastly different than what can you do??? It's too bad that companies don't put more effort into supporting linux, not that i need to tell you that!
On Sat, Jun 19, 2010 at 4:19 PM, Tobias Hansen Tobias.Hansen@physik.uni-hamburg.de wrote:
jordan johnston wrote:
sorry about that....no more re-posting...
Again, reply to all addressees of the mails, now you only replied to me.
don't revert yet!!!
The card IS half working, i can use midi no problem with jack...
i think the driver DOES work..... i think the problem may be in .asoundrc or some other alsa settings.
right now i am using .asoundrc that i had picked up from here:
# got from http://www.nabble.com/tascam-us122l-and-ccrma-td24036395.html # thanks to Karsten
# The usb_stream plugin configuration
pcm.!usb_stream { @args [ CARD ] @args.CARD { type string default "0" }
type usb_stream
card $CARD }
ctl.!usb_stream { @args [ CARD ] @args.CARD { type string default "0" }
type hw
card $CARD }
i think the problem is that alsa/jack don't know where to look for both the inputs and outputs (as midi works great). unfortunately, i have little to no experience with this, and am not sure how to proceed.
it turns out that this card DOES use echi_hcd (i didn't unbind uchi_hcd this time).
(dmesg) usb 1-5: new high speed USB device using ehci_hcd and address 3 usb 1-5: config 1 interface 1 altsetting 1 bulk endpoint 0x83 has invalid maxpacket 9 usb 1-5: New USB device found, idVendor=0644, idProduct=8021 usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-5: Product: US-122 MKII usb 1-5: Manufacturer: TASCAM usb 1-5: SerialNumber: no serial number
as you can see echi_hcd is being used and.....
[ninez@ninez ~]$ ls /sys/bus/pci/drivers/ehci_hcd 0000:00:1d.7 bind module new_id remove_id uevent unbind
the card is found when you look for it!
[ninez@ninez ~]$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xefffc000 irq 27 1 [US122L ]: USB US-122L - TASCAM US-122L TASCAM US-122L (644:8021 if 0 at 001/003)
when i start Qjackctl up:
jackdmp 1.9.5 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2009 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 89 audio_reservation_init Acquire audio card Audio0 creating alsa driver ... hw:0|-|128|3|44100|0|0|nomon|swmeter|-|32bit Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xefffc000 irq 27 *** using internal sound (bah!) configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 3 periods ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 3 periods for playback Using port names patch v0.1 (07.04.2010) port created: Midi-Through:midi/playback_1 port created: Midi-Through:midi/capture_1 port created: TASCAM-US-122L:midi/playback_1 *** it uses the midi just fine (i tested it with Native intruments, massive) port created: TASCAM-US-122L:midi/capture_1 15:46:49.327 ALSA connection change. 15:46:50.351 Server configuration saved to "/home/ninez/.jackdrc". 15:46:50.352 Statistics reset. 15:46:50.367 Client activated. 15:46:50.369 JACK connection change. 15:46:50.374 JACK connection graph change.
if i set it to hw:1 jack can't start, nor does it matter if i am duplex, playback(only) or capture(only).. so i am convinced this driver can work, otherwise midi wouldn't work at all. the problem is my configuration. but i am not sure how to remedy this, any clues would help! (let's not give up quite yet!)
it's finding out how to tell it to use outputs and inputs properly.
jordan
MIDI works because it is done by another driver.
Follow these instructions to see if you can get the US122 MKII working like a US122L: http://www.premiumorange.com/la-page-web-of-phil/index.php?page=P030101#cons...
The interface is not hw:0 but usb_stream:1.
Also the US122L works with both ehci-hcd and uhci-hcd, the US144 only works with uhci-hcd.
Good luck, others tried it before and it didn't work.
Greetings, Tobias
thanks :)
jordan
hey,
should i report past messages for everyone to see? (all my others were only to you, right?)
i don't know if anyone will find it useful or not...
jordan
jordan johnston wrote:
Oops, sorry Tobias, i forgot to check it off. I did this time so anyone can see. :)
So basically, many people have tried to get this working and failed???? no one was able to get it working?
I know of two people who tried the US122MKII and two who tried the US144MKII and they didn't get it to work. Maybe the changes are not that big, but it needs someone who figures out what to change. (And maybe the protocol is completely different. - Like the US144 when it's on ehci-hcd.)
Greetings, Tobias
On Sat, Jun 19, 2010 at 4:58 PM, Tobias Hansen Tobias.Hansen@physik.uni-hamburg.de wrote:
jordan johnston wrote:
Oops, sorry Tobias, i forgot to check it off. I did this time so anyone can see. :)
So basically, many people have tried to get this working and failed???? no one was able to get it working?
I know of two people who tried the US122MKII and two who tried the US144MKII and they didn't get it to work. Maybe the changes are not that big, but it needs someone who figures out what to change. (And maybe the protocol is completely different. - Like the US144 when it's on ehci-hcd.)
Greetings, Tobias
hmm.... well, i will be taking it back next week, propably. however, i may get in contact with Tascam and atleast let them know that people were able to use some of their products under linux properly, until semi-recent changes to the product line. that they should be putting some effort into having their devices work in linux or at the very least, maybe provide the right linux developers with some of the specifications.
I personally, won't be buying another Tascam product.
thanks for all of your help and clarifications.
I am going to have another stab at getting it to work, obviously i will let you know what happens. one thought i had was to patch echi_hcd on a more current kernel ( those RPMs on the link you sent me, are super old ) . as i use fedora 12 + 2.6.33 and i use alsa 1.0.23.
so obviously the Fedora guie is no good to me, reallly...
jordan
On Sat, Jun 19, 2010 at 04:45:08PM -0400, jordan johnston wrote:
So basically, many people have tried to get this working and failed???? no one was able to get it working?
alright, i might setup a spare partition to give this another shot, as i don't want to ruin my current setup that is needed every time i got out and play music, or jam(like tonight!). My "Linux VST/live input looper" must stay fully operational ! but i will probably take another shot at it. even though! - in the end, i bet i am just going to purchase for FFADO "full-support". i would buy HDSP, but it's a little pricey for my laptop. I just thought that i would try to take advantage of the situation, maybe help debug the driver, but if the implementation of the us-122mkII is vastly different than what can you do???
Well, you can assume that audio is transported over dedicated isochronous endpoints. The question is how audio parameters are set up. And you can find out by tracing the traffic and see what happens when you start or stop the stream, when you change the sample rate etc.
It's too bad that companies don't put more effort into supporting linux, not that i need to tell you that!
The only thing you can do as a customer and end-user is to pay attention to the state of Linux support of a new piece of hardware before you buy.
Or waste some weekends and help yourself and maybe lots of others ;)
Daniel
participants (3)
-
Daniel Mack
-
jordan johnston
-
Tobias Hansen