Anyone have Gadget Labs Wave/4? (patch)
I would like someone with a Gadget Labs Wave/4 to try out my driver and report any problems (and fixes!)
This is a VERY ROUGH version of the driver. Only playback is supported.
RECORDING is not supported... let's get playback solid first. MIDI is not supported... There's just a 16550 on the board. Has the code for this been written already?
In particular there are a couple things I've been trying to pin down:
1 - The driver only works every second time it's loaded. Some bizarre alignment problem? A bug in isapnp code? I don't have the knowledge to say for sure.
2 - It's very easy to make an xrun. Latency is hard-wired at 20 msec right now. It's ok with preempt+lockbreak kernel patches. But still hiccups sometimes on my system. I want somemone else to try it and report. Maybe I have some rogue devices that keep interrupts disabled for a long time?
With those disclaimers, here's the patch (against rc2):
http://rages.net/alsa-driver-0.9.0rc2-wave4.patch.gz
Regards,
Mark
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Hi,
At Tue, 20 Aug 2002 12:51:55 -0500,
Quoted 3 lines · Mark Rages
I would like someone with a Gadget Labs Wave/4 to try out my driver and report any problems (and fixes!)
it's not any bug/working reports (sorry!), but i'd like to ask a bit. the code includes the firmware and declares that
**
** GADGET LABS LLC PROPRIETARY INFORMATION
**
** This software is supplied under the terms of a license agreement or ** nondisclosure agreement with Gadget Labs LLC and may not be copied or ** disclosed except in accordance with the terms of that agreement. **
** Copyright (C) 1997 Gadget Labs LLC. All Rights Reserved.
**
i feel it's somehow odd to be included in the standard kernel. supplied under NDA..?
Quoted 6 lines
This is a VERY ROUGH version of the driver. Only playback is supported.
RECORDING is not supported... let's get playback solid first. MIDI is not supported... There's just a 16550 on the board. Has the code for this been written already?
there is a generic serial-u16550 driver.
perhaps you can load the driver additionally (with proper parameters). is it a pnp device?
Quoted 5 lines
In particular there are a couple things I've been trying to pin down:
1 - The driver only works every second time it's loaded. Some bizarre alignment problem? A bug in isapnp code? I don't have the knowledge to say for sure.
do you mean, the driver is not loaded, or not work even though it's loaded?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Quoted 22 lines · Takashi Iwai
Hi,
At Tue, 20 Aug 2002 12:51:55 -0500,
Quoted 3 lines · Mark Rages
I would like someone with a Gadget Labs Wave/4 to try out my driver and report any problems (and fixes!)
it's not any bug/working reports (sorry!), but i'd like to ask a bit. the code includes the firmware and declares that
**
** GADGET LABS LLC PROPRIETARY INFORMATION
**
** This software is supplied under the terms of a license agreement or ** nondisclosure agreement with Gadget Labs LLC and may not be copied or ** disclosed except in accordance with the terms of that agreement. **
** Copyright (C) 1997 Gadget Labs LLC. All Rights Reserved.
**
Quoted 2 lines
i feel it's somehow odd to be included in the standard kernel. supplied under NDA..?
Well, Gadget Labs is out of business. I talked to one of the former owners to get permission to redistribute. He told me "Gadget Labs is no more" and basically no one would be enforcing copyright. I'm no lawyer, but that seems kinda murky, legally. Would it be better to rip the firmware code from the Windows driver binary (which I've already did to check I had the right version)? They released the Windows drivers into public domain when the company dissolved.
Quoted 7 lines
Quoted 2 lines
MIDI is not supported... There's just a 16550 on the board. Has the code for this been written already?
there is a generic serial-u16550 driver.
perhaps you can load the driver additionally (with proper parameters). is it a pnp device?
It's ISA-PNP. I already have the I/O location of the UART (It's used to program the firmware) and a place in the ISR that tells me the UART is interrupted.
Quoted 10 lines
Quoted 6 lines
In particular there are a couple things I've been trying to pin down:
1 - The driver only works every second time it's loaded. Some bizarre alignment problem? A bug in isapnp code? I don't have the knowledge to say for sure.
do you mean, the driver is not loaded, or not work even though it's loaded?
It works, but the interrupts come back slowly. The pointer isn't updated. No sound comes out. rmmod and insmod again and it works. It always works on the first load from a clean boot. I haven't worried about it much... I was hoping someone else would have one of these and could help me troubleshoot.
Quoted 3 lines
Takashi
Thanks for your help.
Regards,
Mark
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
At Thu, 22 Aug 2002 11:23:52 -0500,
Quoted 27 lines · Mark Rages
Quoted 22 lines · Takashi Iwai
Hi,
At Tue, 20 Aug 2002 12:51:55 -0500,
Quoted 3 lines · Mark Rages
I would like someone with a Gadget Labs Wave/4 to try out my driver and report any problems (and fixes!)
it's not any bug/working reports (sorry!), but i'd like to ask a bit. the code includes the firmware and declares that
**
** GADGET LABS LLC PROPRIETARY INFORMATION
**
** This software is supplied under the terms of a license agreement or ** nondisclosure agreement with Gadget Labs LLC and may not be copied or ** disclosed except in accordance with the terms of that agreement. **
** Copyright (C) 1997 Gadget Labs LLC. All Rights Reserved.
**Quoted 2 lines
i feel it's somehow odd to be included in the standard kernel. supplied under NDA..?
Quoted 7 lines
Well, Gadget Labs is out of business. I talked to one of the former owners to get permission to redistribute. He told me "Gadget Labs is no more" and basically no one would be enforcing copyright. I'm no lawyer, but that seems kinda murky, legally. Would it be better to rip the firmware code from the Windows driver binary (which I've already did to check I had the right version)? They released the Windows drivers into public domain when the company dissolved.
if it's a public domain, then we may remove the sentense about license agreement above.
if the legal issue is not clear, it's better to keep it out of the official tree... i'm no lawyer, too :)
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
MIDI is not supported... There's just a 16550 on the board. Has the code for this been written already?
Quoted 8 lines
Quoted 4 lines
there is a generic serial-u16550 driver.
perhaps you can load the driver additionally (with proper parameters). is it a pnp device?It's ISA-PNP. I already have the I/O location of the UART (It's used to program the firmware) and a place in the ISR that tells me the UART is interrupted.
then the existing driver might run.
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
In particular there are a couple things I've been trying to pin down:
1 - The driver only works every second time it's loaded. Some bizarre alignment problem? A bug in isapnp code? I don't have the knowledge to say for sure.
Quoted 5 lines
Quoted 3 lines
do you mean, the driver is not loaded, or not work even though it's loaded?
It works, but the interrupts come back slowly. The pointer isn't updated.
then perhaps not related with the isa pnp things.
most likely missing initializations.
Quoted 4 lines
No sound comes out. rmmod and insmod again and it works. It always works on the first load from a clean boot. I haven't worried about it much... I was hoping someone else would have one of these and could help me troubleshoot.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390