All of lore.kernel.org
 help / color / mirror / Atom feed
* Creative X-Fi USB 5.1 Driver
@ 2009-01-30  5:30 Mandar Joshi
  0 siblings, 0 replies; 5+ messages in thread
From: Mandar Joshi @ 2009-01-30  5:30 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hello,
   I walked through the code for snd-usb-audio and have a fair idea about the structure of the driver. I also
went through the "writing-an-alsa-driver" article on http://www.alsa-project.org
   Here is the stuff I've done so far http://mndar.phpnet.us/usbxfi/ .The link contains the "lsusb -v" output for the Creative USB X-Fi 5.1 . 
The xfi-0.0.0.0.tar.bz2 has the basic structure of an alsa driver (copied from the caiaq usb driver). It presently just loads the module when the card is connected.
Output in /var/log/messages
-------------------------------------------
Jan 30 10:46:29 mandar Found Creative USB X-Fi 5.1!!
Jan 30 10:46:29 mandar 0 041e:3042
Jan 30 10:46:29 mandar Found Creative USB X-Fi 5.1!!
Jan 30 10:46:29 mandar 0 041e:3042
Jan 30 10:46:29 mandar Found Creative USB X-Fi 5.1!!
Jan 30 10:46:29 mandar 0 041e:3042
Jan 30 10:46:29 mandar usbcore: registered new interface driver snd-usb-xfi
--------------------------------------------------------------------------------
As you can see, the probe is being called 3 times. Can someone please go through the source and let me know if I'm headed in the right direction?
I'm a newbie to alsa driver development and would really appreciate any input from you guys.
Also, please have a look the creative.txt file in the link. Its the 'lsusb -v' output for the card. How exactly do I interpret and use this information?

Regards
Mandar Joshi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Creative X-Fi USB 5.1 Driver
@ 2009-02-02 23:12 Mandar Joshi
  0 siblings, 0 replies; 5+ messages in thread
From: Mandar Joshi @ 2009-02-02 23:12 UTC (permalink / raw)
  To: alsa-devel

Hello,

I used SniffUSB to capture the packets sent to the usb X-fi. I've uploaded it here http://mndar.phpnet.us/usbxfi/
I'm not very sure how to interpret the log. By looking at the log, can we tell if it conforms to the USB Audio spec?

Regards
Mandar Joshi
________________________________
Have you been here yet ? http://mndar.phpnet.us

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Creative X-Fi USB 5.1 Driver
@ 2009-02-04  4:36 Mandar Joshi
  0 siblings, 0 replies; 5+ messages in thread
From: Mandar Joshi @ 2009-02-04  4:36 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

Hello,

I was reading the USB Audio Specs from http://www.usb.org/developers/devclass_docs
The document talks about Effect Unit Descriptors and few other descriptors.There is no mention of such descriptors in the 'lsusb -v' output for the USB X-Fi 5.1
Does this mean thet the X-Fi,Crystalizer features of the USB X-Fi are implemented purely in software?
Here is a link to the lsusb output http://mndar.phpnet.us/usbxfi/files/creative.txt

The document "Audio20 final.pdf" also mentions that bDeviceClass, bDeviceSubClass and bDeviceProtocol should have values 0xEF, 0x02, and 0x01 respectively but in the 'lsusb -v' output all three values are 0. Any idea why it is so?

Regards
Mandar Joshi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Creative X-Fi USB 5.1 Driver
       [not found] <mailman.2424.1233760765.1965.alsa-devel@alsa-project.org>
@ 2009-02-04 16:57 ` Mandar Joshi
  2009-02-05  0:13   ` Lee Revell
  0 siblings, 1 reply; 5+ messages in thread
From: Mandar Joshi @ 2009-02-04 16:57 UTC (permalink / raw)
  To: alsa-devel

>>Does this mean thet the X-Fi,Crystalizer features of the USB X-Fi are implemented purely in software?
I think this might be the case. 
I started SniffUSB under WindowsXP and tried changing the settings using 
the audio console software provided by Creative. 

When changing the Speaker selection (2.1/4.1/5.1), data is sent over usb to the device.
However, when I try to change the settings for the X-Fi Crystalizer or EAX or CMSS-3D or Graphic Equalizer
nothing gets sent to the device but the audio output does change and I am able to hear the corresponding effects.

And as mentioned in my previous post, the lsusb output doesn't show any effect descriptors or feature units

If this is in fact true that all the xtreme fidelity(X-Fi) stuff is happening in software alone, my purchase has been 
a total waste!! Does anybody on this list have a USB X-Fi 5.1 that they can use to verify my observations?

BTW, the mailing list seems to be creating separate threads for every post I make even though 
the subject line is the same. What am I missing? I'm using Yahoo Mail.

Regards
Mandar Joshi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Creative X-Fi USB 5.1 Driver
  2009-02-04 16:57 ` Mandar Joshi
@ 2009-02-05  0:13   ` Lee Revell
  0 siblings, 0 replies; 5+ messages in thread
From: Lee Revell @ 2009-02-05  0:13 UTC (permalink / raw)
  To: Mandar Joshi; +Cc: alsa-devel

On Wed, Feb 4, 2009 at 11:57 AM, Mandar Joshi <emailmandar@yahoo.com> wrote:
>>>Does this mean thet the X-Fi,Crystalizer features of the USB X-Fi are implemented purely in software?
> I think this might be the case.
> I started SniffUSB under WindowsXP and tried changing the settings using
> the audio console software provided by Creative.
>
> When changing the Speaker selection (2.1/4.1/5.1), data is sent over usb to the device.
> However, when I try to change the settings for the X-Fi Crystalizer or EAX or CMSS-3D or Graphic Equalizer
> nothing gets sent to the device but the audio output does change and I am able to hear the corresponding effects.
>
> And as mentioned in my previous post, the lsusb output doesn't show any effect descriptors or feature units
>
> If this is in fact true that all the xtreme fidelity(X-Fi) stuff is happening in software alone, my purchase has been
> a total waste!! Does anybody on this list have a USB X-Fi 5.1 that they can use to verify my observations?

Yes, all the effects are done in software.  Even on many PCI cards
Creative implements the effects in the Windows driver.

Lee

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-05  0:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-02 23:12 Creative X-Fi USB 5.1 Driver Mandar Joshi
     [not found] <mailman.2424.1233760765.1965.alsa-devel@alsa-project.org>
2009-02-04 16:57 ` Mandar Joshi
2009-02-05  0:13   ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2009-02-04  4:36 Mandar Joshi
2009-01-30  5:30 Mandar Joshi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.