Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-19 Thread James Courtier-Dutton

Kun Niu wrote:


Dear all,


I've got a sound card SB! Live 5.1 Dell OEM.
It worked well on my ubuntu, gentoo,sarge.
But I can't find a driver for my card on FreeBSD 6.0 release.
And I'll have try to write one by myself.
But I can't find any datasheet for my card.
Can anyone give some hints how to get one?

Any help would be appreciated. Thanks in advance.

Sincerely,
Kun
 


A datasheet is available.
Creative have an open source NDA, after which one can get the datasheet 
direct from Creative.
The NDA lets me write whatever source code I like, with comments etc. 
The only restriction made by the NDA is that I am not allowed to 
actually pass on the datasheet itself.


The Linux GPL driver has well commented source code, particularly the 
registers.
If you have any questions regarding how to program it, I will place the 
answers as comments in the Linux ALSA source code.


Alternatively, you can sign an NDA with Creative and get the datasheet 
yourself.
I would say that the easiest solution to your problem is just to replace 
the sound card with one that is supported in BSD.


James


James




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Lee Revell
On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
 Dear all,
  
  
 I've got a sound card SB! Live 5.1 Dell OEM.
 It worked well on my ubuntu, gentoo,sarge.
 But I can't find a driver for my card on FreeBSD 6.0 release.
 And I'll have try to write one by myself.
 But I can't find any datasheet for my card.
 Can anyone give some hints how to get one?
  
 Any help would be appreciated. Thanks in advance.
  

There is no datasheet, the Linux driver was reverse engineered.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Lee Revell
On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
 Dear all,
  
  
 I've got a sound card SB! Live 5.1 Dell OEM.
 It worked well on my ubuntu, gentoo,sarge.
 But I can't find a driver for my card on FreeBSD 6.0 release.
 And I'll have try to write one by myself.
 But I can't find any datasheet for my card.
 Can anyone give some hints how to get one?
  
 Any help would be appreciated. Thanks in advance.
  

Your best bet is to contact the copyright owner of the Linux driver, and
ask their permission to write a BSD licensed driver based on it.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Gene Heskett
On Thursday 19 January 2006 00:16, Lee Revell wrote:
On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
 Dear all,


 I've got a sound card SB! Live 5.1 Dell OEM.
 It worked well on my ubuntu, gentoo,sarge.
 But I can't find a driver for my card on FreeBSD 6.0 release.
 And I'll have try to write one by myself.
 But I can't find any datasheet for my card.
 Can anyone give some hints how to get one?

 Any help would be appreciated. Thanks in advance.

There is no datasheet, the Linux driver was reverse engineered.

Humm, my memory says otherwise, Lee.  There was a time 4 years or so 
back up the log when emu10k1 was not part of the kernel tree.  If you 
had an SBLive (mine is a Value) then you went to a site creative had 
setup, downloaded the srcs and built it on the target machine.  And 
when it was merged, I had assumed that those srcs had been officially 
donated by creative.  From the top of emu10k1_main.c:
/*
 *  Copyright (c) by Jaroslav Kysela [EMAIL PROTECTED]
 *   Creative Labs, Inc.
 *  Routines for control of EMU10K1 chips
 *
 *  Copyright (c) by James Courtier-Dutton [EMAIL PROTECTED]
 *  Added support for Audigy 2 Value.

So I believe that confirms my theory.

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Bill Unruh

On Thu, 19 Jan 2006, Lee Revell wrote:


On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:

Dear all,


I've got a sound card SB! Live 5.1 Dell OEM.
It worked well on my ubuntu, gentoo,sarge.
But I can't find a driver for my card on FreeBSD 6.0 release.
And I'll have try to write one by myself.
But I can't find any datasheet for my card.
Can anyone give some hints how to get one?

Any help would be appreciated. Thanks in advance.



Your best bet is to contact the copyright owner of the Linux driver, and
ask their permission to write a BSD licensed driver based on it.


Isn't it GPL?
He can write one for himself-- he already has permission. He could include
it in a distro as well, but under GPL-- not sure if a module makes the
kernel into a derived work but I would doubt it.

Of course getting permission to make it a BSD license might be cleanest,
but I don't think is needed, is it?





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Lee Revell
On Thu, 2006-01-19 at 00:33 -0500, Gene Heskett wrote:
 On Thursday 19 January 2006 00:16, Lee Revell wrote:
 On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
  Dear all,
 
 
  I've got a sound card SB! Live 5.1 Dell OEM.
  It worked well on my ubuntu, gentoo,sarge.
  But I can't find a driver for my card on FreeBSD 6.0 release.
  And I'll have try to write one by myself.
  But I can't find any datasheet for my card.
  Can anyone give some hints how to get one?
 
  Any help would be appreciated. Thanks in advance.
 
 There is no datasheet, the Linux driver was reverse engineered.
 
 Humm, my memory says otherwise, Lee.  There was a time 4 years or so 
 back up the log when emu10k1 was not part of the kernel tree.  If you 
 had an SBLive (mine is a Value) then you went to a site creative had 
 setup, downloaded the srcs and built it on the target machine.  And 
 when it was merged, I had assumed that those srcs had been officially 
 donated by creative.  From the top of emu10k1_main.c:
 /*
  *  Copyright (c) by Jaroslav Kysela [EMAIL PROTECTED]
  *   Creative Labs, Inc.
  *  Routines for control of EMU10K1 chips
  *
  *  Copyright (c) by James Courtier-Dutton [EMAIL PROTECTED]
  *  Added support for Audigy 2 Value.
 
 So I believe that confirms my theory.
 

The emu10k1x is not the emu10k1.

The former is only in Dell machines and the driver was reverse
engineered.  The latter driver is based on one that Creative
contributed.

Lee

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Lee Revell
On Wed, 2006-01-18 at 21:36 -0800, Bill Unruh wrote:
 On Thu, 19 Jan 2006, Lee Revell wrote:
 
  On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
  Dear all,
 
 
  I've got a sound card SB! Live 5.1 Dell OEM.
  It worked well on my ubuntu, gentoo,sarge.
  But I can't find a driver for my card on FreeBSD 6.0 release.
  And I'll have try to write one by myself.
  But I can't find any datasheet for my card.
  Can anyone give some hints how to get one?
 
  Any help would be appreciated. Thanks in advance.
 
 
  Your best bet is to contact the copyright owner of the Linux driver, and
  ask their permission to write a BSD licensed driver based on it.
 
 Isn't it GPL?
 He can write one for himself-- he already has permission. He could include
 it in a distro as well, but under GPL-- not sure if a module makes the
 kernel into a derived work but I would doubt it.
 
 Of course getting permission to make it a BSD license might be cleanest,
 but I don't think is needed, is it?
 

Yes, the GPL does not allow you to take a GPL driver and write a BSD
licensed driver based on it.

Lee





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Bill Unruh

On Thu, 19 Jan 2006, Lee Revell wrote:


On Wed, 2006-01-18 at 21:36 -0800, Bill Unruh wrote:

On Thu, 19 Jan 2006, Lee Revell wrote:


On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:

Dear all,


I've got a sound card SB! Live 5.1 Dell OEM.
It worked well on my ubuntu, gentoo,sarge.
But I can't find a driver for my card on FreeBSD 6.0 release.
And I'll have try to write one by myself.
But I can't find any datasheet for my card.
Can anyone give some hints how to get one?

Any help would be appreciated. Thanks in advance.



Your best bet is to contact the copyright owner of the Linux driver, and
ask their permission to write a BSD licensed driver based on it.


Isn't it GPL?
He can write one for himself-- he already has permission. He could include
it in a distro as well, but under GPL-- not sure if a module makes the
kernel into a derived work but I would doubt it.

Of course getting permission to make it a BSD license might be cleanest,
but I don't think is needed, is it?



Yes, the GPL does not allow you to take a GPL driver and write a BSD
licensed driver based on it.


Agreed. But it does allow you to take a GPL driver and write a GPL licensed
driver based on it. Then the question is whether that GPL licensed driver
can be used withing FreeBSD-- ie if there is anything in the FreeBSD
license which makes use of a GPL driver contrary to the license. I do not
think that the GPL license would forbid its use in FreeBSD.




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Lee Revell
On Wed, 2006-01-18 at 21:48 -0800, Bill Unruh wrote:
 On Thu, 19 Jan 2006, Lee Revell wrote:
 
  On Wed, 2006-01-18 at 21:36 -0800, Bill Unruh wrote:
  On Thu, 19 Jan 2006, Lee Revell wrote:
 
  On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
  Dear all,
 
 
  I've got a sound card SB! Live 5.1 Dell OEM.
  It worked well on my ubuntu, gentoo,sarge.
  But I can't find a driver for my card on FreeBSD 6.0 release.
  And I'll have try to write one by myself.
  But I can't find any datasheet for my card.
  Can anyone give some hints how to get one?
 
  Any help would be appreciated. Thanks in advance.
 
 
  Your best bet is to contact the copyright owner of the Linux driver, and
  ask their permission to write a BSD licensed driver based on it.
 
  Isn't it GPL?
  He can write one for himself-- he already has permission. He could include
  it in a distro as well, but under GPL-- not sure if a module makes the
  kernel into a derived work but I would doubt it.
 
  Of course getting permission to make it a BSD license might be cleanest,
  but I don't think is needed, is it?
 
 
  Yes, the GPL does not allow you to take a GPL driver and write a BSD
  licensed driver based on it.
 
 Agreed. But it does allow you to take a GPL driver and write a GPL licensed
 driver based on it. Then the question is whether that GPL licensed driver
 can be used withing FreeBSD-- ie if there is anything in the FreeBSD
 license which makes use of a GPL driver contrary to the license. I do not
 think that the GPL license would forbid its use in FreeBSD.
 

Ah, OK.  I just assumed that FreeBSD would only accept BSD licensed
drivers.

You are right, he is probably free to use his own GPL'ed driver with
FreeBSD, I suspect it just could not be accepted into a distribution.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Sergei Steshenko
On Wed, 18 Jan 2006 21:48:23 -0800 (PST)
Bill Unruh [EMAIL PROTECTED] wrote:

 On Thu, 19 Jan 2006, Lee Revell wrote:
 
  On Wed, 2006-01-18 at 21:36 -0800, Bill Unruh wrote:
  On Thu, 19 Jan 2006, Lee Revell wrote:
 
  On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:
  Dear all,
 
 
  I've got a sound card SB! Live 5.1 Dell OEM.
  It worked well on my ubuntu, gentoo,sarge.
  But I can't find a driver for my card on FreeBSD 6.0 release.
  And I'll have try to write one by myself.
  But I can't find any datasheet for my card.
  Can anyone give some hints how to get one?
 
  Any help would be appreciated. Thanks in advance.
 
 
  Your best bet is to contact the copyright owner of the Linux driver, and
  ask their permission to write a BSD licensed driver based on it.
 
  Isn't it GPL?
  He can write one for himself-- he already has permission. He could include
  it in a distro as well, but under GPL-- not sure if a module makes the
  kernel into a derived work but I would doubt it.
 
  Of course getting permission to make it a BSD license might be cleanest,
  but I don't think is needed, is it?
 
 
  Yes, the GPL does not allow you to take a GPL driver and write a BSD
  licensed driver based on it.
 
 Agreed. But it does allow you to take a GPL driver and write a GPL licensed
 driver based on it. Then the question is whether that GPL licensed driver
 can be used withing FreeBSD-- ie if there is anything in the FreeBSD
 license which makes use of a GPL driver contrary to the license. I do not
 think that the GPL license would forbid its use in FreeBSD.
 
 
 
 

The problem is you can't link GPL code with non-GPL one, but you can link
LGPL code.

Think of XEN running Linux for you, and Linux being used as sound server.

 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user
 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Problem about emu10k1x datasheet

2006-01-18 Thread Bill Unruh

On Thu, 19 Jan 2006, Sergei Steshenko wrote:


On Wed, 18 Jan 2006 21:48:23 -0800 (PST)
Bill Unruh [EMAIL PROTECTED] wrote:


On Thu, 19 Jan 2006, Lee Revell wrote:


On Wed, 2006-01-18 at 21:36 -0800, Bill Unruh wrote:

On Thu, 19 Jan 2006, Lee Revell wrote:


On Thu, 2006-01-19 at 13:01 +0800, Kun Niu wrote:

Dear all,


I've got a sound card SB! Live 5.1 Dell OEM.
It worked well on my ubuntu, gentoo,sarge.
But I can't find a driver for my card on FreeBSD 6.0 release.
And I'll have try to write one by myself.
But I can't find any datasheet for my card.
Can anyone give some hints how to get one?

Any help would be appreciated. Thanks in advance.



Your best bet is to contact the copyright owner of the Linux driver, and
ask their permission to write a BSD licensed driver based on it.


Isn't it GPL?
He can write one for himself-- he already has permission. He could include
it in a distro as well, but under GPL-- not sure if a module makes the
kernel into a derived work but I would doubt it.

Of course getting permission to make it a BSD license might be cleanest,
but I don't think is needed, is it?



Yes, the GPL does not allow you to take a GPL driver and write a BSD
licensed driver based on it.


Agreed. But it does allow you to take a GPL driver and write a GPL licensed
driver based on it. Then the question is whether that GPL licensed driver
can be used withing FreeBSD-- ie if there is anything in the FreeBSD
license which makes use of a GPL driver contrary to the license. I do not
think that the GPL license would forbid its use in FreeBSD.






The problem is you can't link GPL code with non-GPL one, but you can link
LGPL code.



Not clear to me. depends on whether it creates a derived work under
copyright law. The driver really is pretty independent. The kernel
communicates with it through a well defined API-- ie the module is as
separate from the kernel as it could be. 
Note that this is irrelevant if it is just for himself. He can do anything

he wants with GPL code for his own use AFAIK. But if he wants to distribute
it, then the GPL comes in.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user