All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mandar Joshi <emailmandar@yahoo.com>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Creative X-Fi USB 5.1 Driver
Date: Thu, 29 Jan 2009 21:30:28 -0800 (PST)	[thread overview]
Message-ID: <673583.88732.qm@web35608.mail.mud.yahoo.com> (raw)

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

             reply	other threads:[~2009-01-30  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30  5:30 Mandar Joshi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-02 23:12 Creative X-Fi USB 5.1 Driver Mandar Joshi
2009-02-04  4:36 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=673583.88732.qm@web35608.mail.mud.yahoo.com \
    --to=emailmandar@yahoo.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.