All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
[parent not found: <mailman.2424.1233760765.1965.alsa-devel@alsa-project.org>]
* 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 &#39;lsusb -v&#39; 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 &quot;Audio20 final.pdf&quot; also mentions that bDeviceClass, bDeviceSubClass and bDeviceProtocol should have values 0xEF, 0x02, and 0x01 respectively but in the &#39;lsusb -v&#39; 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
@ 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 &quot;writing-an-alsa-driver&quot; article on http://www.alsa-project.org
   Here is the stuff I&#39;ve done so far http://mndar.phpnet.us/usbxfi/ .The link contains the &quot;lsusb -v&quot; 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&#39;m headed in the right direction?
I&#39;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 &#39;lsusb -v&#39; 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

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.