still interested in us224 support?
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am Freitag, 30. Januar 2004 21:12 schrieb Martin Langer:
Quoted 30 lines · David
Quoted 10 lines
Le Jeudi 29 Janvier 2004 23:54, vous avez écrit :
Quoted 5 lines
Jump to alsa-firmware/usx2yloader and place the attached us224.prepad file there. Part two of the job is patching two files there with the attached patchfile:
patch -p0 < loader.patch
Done, but even a ./configure && make && make install would copy us224.prepad to
/usr/local/share/alsa/firmware/usx2yloader/so i copied the file by myself.ok.
Quoted 5 lines
Quoted 1 line
and then run the typical install stuff...
Now the control led is burning. I couldn't force aplay to use us224 instead of my maestro 2E, so i tried to cat a wav file to
/dev/dspx. I also tried to use xmms : it seems the file is played but with no sound.if the us224 is device number X:
aplay -Dplughw:X,0 test.wavI guess it's in your case:
aplay -Dplughw:1,0 test.wavFor direct hardware access if the file is 44.1 or 48kHz and no alsa-lib conversion is necessary, it should be possible with:
aplay -Dhw:1,0 test.wav
Quoted 8 lines
Quoted 2 lines
running alsamixer -c1 returns a "No mixer elems found" (i think it's normal as under Windows there is also no mixing possibility).
Well, that's the big difference to my 122 which is only an I/O interface and not a controller. My mixer is a 100% hardware solution but I guess the 224 is like the 428 and need a similar (the same ?) control interface. Perhaps the us428control (in alsa-tools) works out of the box for the 224 too, but I've never looked inside that code. Karsten?
could work. but maybe some numbers identifying sliders or output mixers don't fit us224. we would need info from tasam or usb snooping windoze or braveheartedly testing on linux to know more.....
...also i'm not completely shure if the snd-usb-usx2y's mmap interface is initialized for us224 also. us428control talks to the driver with it. Just give it a try.
Quoted 3 lines
Karsten, how reacts the 428 without starting us428control? Simply no sound on playback? Or is there another point I've missed?
No sound on playback.
Quoted 3 lines
I guess it's time to create some official 224 driver/loader patches for Alsa CVS now. Any objections?
You uncommented any section containing USB_ID_US224 in snd-usb-usx2y? Also for trying on us224 please changeusbusx2yaudio.c line 1244
(usX2Y(card)->chip.dev->descriptor.idProduct == USB_ID_US428 && to (usX2Y(card)->chip.dev->descriptor.idProduct == USB_ID_US224 &&
have fun,
Karsten
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Quoted 6 lines · Karsten Wiese
Am Freitag, 30. Januar 2004 21:12 schrieb Martin Langer:
Quoted 3 lines
I guess it's time to create some official 224 driver/loader patches for Alsa CVS now. Any objections?
You uncommented any section containing
USB_ID_US224in snd-usb-usx2y?
Yes, ATM there's nothing done except uncommenting two things in the driver (see attached patch). And it's based on the usx2yloader patch from yesterday.
martin
Signature · 1 line
The only nice thing about spam is that it doesn't ring.
usbusx2y.c renamed from usbusx2y.c.ORIGINAL +6 -6
@@ -247,11 +247,11 @@ .idVendor = 0x1604, .idProduct = USB_ID_US122 }, -/* { FIXME: uncomment to test us224 support*/ -/* .match_flags = USB_DEVICE_ID_MATCH_DEVICE, */ -/* .idVendor = 0x1604, */ -/* .idProduct = USB_ID_US224 */ -/* }, */ + { + .match_flags = USB_DEVICE_ID_MATCH_DEVICE, + .idVendor = 0x1604, + .idProduct = USB_ID_US224 + }, {/* terminator */ } };
@@ -292,7 +292,7 @@int err;snd_card_t * card;if (device->descriptor.idVendor !=0x1604 || - (device->descriptor.idProduct !=USB_ID_US122 &&/* device->descriptor.idProduct != USB_ID_US224 && */ device->descriptor.idProduct !=USB_ID_US428 ) || + (device->descriptor.idProduct !=USB_ID_US122 && device->descriptor.idProduct !=USB_ID_US224 && device->descriptor.idProduct !=USB_ID_US428 ) || !(card =snd_usX2Y_create_card (device)))return 0 ; if ((err = snd_usX2Y_hwdep_new(card, device)) < 0 ||
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am Dienstag, 10. Februar 2004 19:58 schrieben Sie:
Quoted 3 lines
I had some time to try us428control. I tried to run it without arguments, but it complained about no-existent
/dev/seq(don't have built-in sequencer in my internal sound card). I tried to use options
/dev/seq refers here to a software-alsa-part.
see my computers answer to
$cat /proc/asound/devices
0: [0- 0]: ctl
8: [0- 0]: raw midi
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer <<<<this is alsas sequencer
33: : timer
32: [1- 0]: ctl
36: [1- 0]: hardware dependent
48: [1- 0]: digital audio playback
56: [1- 0]: digital audio capture
40: [1- 0]: raw midi
the alsa's sequencer is definitly needed to let us428control work. the corresponding module is "snd-seq-device".
lsmod should show it.
if not, try modprobe "snd-seq-device".
if "snd-seq-device" is missing, build it.
configure alsa-driver by creating the file /etc/asound/driver_args. mine looks like:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
--with-cards=via82xx,msnd-pinnacle,usb-audio,usb-usx2y,es1968 --with-kernel=/usr/src/linux-2.4 --with-debug=full --with-sequencer=yes <<<<
then rebuild with ./cvscompile etc.
Quoted 12 lines
to override this, but i must admit i'm not sure i understand all alsa principles. I tried options like :
# ./us428control -Dhw1,0,0 ALSA lib hwdep.c:151:(snd_hwdep_open_noupdate) Unknown HwDep hw1,0,0 # ./us428control -D1,0 ALSA lib hwdep.c:151:(snd_hwdep_open_noupdate) Unknown HwDep 1,0 # ./us428control -chw1,0,0 us428control: cannot open hwdep hw:0 # ./us428control -chw1,0 us428control: cannot open hwdep hw:0
start it like
$us428control -v2 -Dhw:X
or
$us428control -v2 -cX
with X=index of the card.
Quoted 2 lines
But I thought there were a control midi port on us224, which to seems noexistent with alsa ?
us428 controls work. provided us428control runs.
Quoted 3 lines
I cand send more "usb snooping" if needed.
try to get us428control running first. if us224 is very similar to 428, you'll get a printout of lots of control numbers if you use the controls and have started us428control with option -v2.
Quoted 8 lines
Quoted 7 lines
You uncommented any section containing
USB_ID_US224in snd-usb-usx2y? Also for trying on us224 please changeusbusx2yaudio.cline 1244(usX2Y(card)->chip.dev->descriptor.idProduct == USB_ID_US428 && to (usX2Y(card)->chip.dev->descriptor.idProduct == USB_ID_US224 &&
Quoted 8 lines
Also tried this change (just to test) :
Feb 7 11:57:31 ouragan /etc/hotplug/usb.agent: Module setup tascam_fpga for USB product 1604/8005/1 Feb 7 11:57:31 ouragan /etc/hotplug/usb/tascam_fpga: calling /usr/local/bin/usx2yloader for /proc/bus/usb/001/010 Feb 7 11:57:35 ouragan kernel: ALSA usX2Yhwdep.c:315:
snd_usX2Y_create_alsa_deviceserror -19
this only happens with the change aplied?
so this change doesn't help.
Karsten
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click