A NOTE has been added to this issue. ====================================================================== <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2133> ====================================================================== Reported By: dx9s Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 2133 Category: USB - usb-audio Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Slackware 10.2 Kernel Version: 2.6.16.16 ====================================================================== Date Submitted: 05-18-2006 08:12 CEST Last Modified: 05-19-2006 01:53 CEST ====================================================================== Summary: Lacking support for simple USB "wireless" (via bluetooth A2DP) / no mixer Description: was using 2.6.15.6 (packed with alsa-driver 1.0.10rc3), updater to 2.6.16.16 (packed with alsa-driver 1.0.11rc2) and update alsa-driver to 1.0.11 (finial) as well other alsa-*-1.0.11 Hardware: Saitek A-250 http://www.saitekaudio.com/en/a250.asp according to other resources I've seen, it is a wireless USB audio device that uses a generic Bluetooth A2DP (http://en.wikipedia.org/wiki/Bluetooth#Bluetooth_profiles) transport. I have not used on WinHoles XP but it appears that it uses whatever Native usb audio support that comes with XP -- so it appears to be generic. Get error message (enabled advanced alsa debuging, "CONFIG_SND_DEBUG=y") ALSA /root/src/alsa-driver-1.0.11/usb/usbaudio.c:2670: 3:1:0 : no or invalid class specific endpoint descriptor BTW> the Bluetooth transport is not available and only a USB audio device appears to be present to the system I have a pure guess that it might ALSO have problem with the hardware not having a software controllable mixer (mixer is only remote unit). Also purportedly, it also can function as a HID device from the "remote" (it has play/pause, next and previous / which it claims will work with WinHoles Media Player) Summary: tweaking the driver to support this hardware? It has pretty good sound for being so small (using the wired LINE input). I've come across others out there (in the internet) that are interested in using it with Linux and claim they reached somebody at the company -- which is how I know it uses A2DP. --Doug ====================================================================== ---------------------------------------------------------------------- Clemens Ladisch - 05-18-06 09:45 ---------------------------------------------------------------------- This error message has nothing to do with either the lack of mixer controls or the HID interface. In this case, "no or invalid class specific endpoint descriptor" means that this device does not have the class-specific endpoint descriptor that is required by the USB Audio specification. Please try the patch (it makes the driver guess some endpoint attributes that hopefully will work). ---------------------------------------------------------------------- dx9s - 05-19-06 01:53 ---------------------------------------------------------------------- it was a guess... I know very little about USB ... And I am not a driver programmer (hacked a little bit to change defaults, and that is about it). applied the patch (cd alsa-driver-1.0.11; patch -p1 < a250.diff ; make clean ; make) got this: /root/src/alsa-driver-1.0.11/usb/usbaudio.c: In function `parse_audio_endpoints': /root/src/alsa-driver-1.0.11/usb/usbaudio.c:2669: error: `KERN_WARN' undeclared (first use in this function) /root/src/alsa-driver-1.0.11/usb/usbaudio.c:2669: error: (Each undeclared identifier is reported only once /root/src/alsa-driver-1.0.11/usb/usbaudio.c:2669: error: for each function it appears in.) /root/src/alsa-driver-1.0.11/usb/usbaudio.c:2669: error: syntax error before string constant changed back to KERN_ERR and tried again (it compiled) -- make install, (reboot for sanity, I know I could have rmmod/insmod) so the code in question looks like this: if (!csep || csep[0] < 7 || csep[2] != EP_GENERAL) { snd_printk(KERN_ERR "%d:%u:%d : no or invalid" " class specific endpoint descriptor\n", dev->devnum, iface_no, altno); csep = NULL; } So not sure what KERN_WARN is missing / unavailable constant. I am a C/C++ programmer and can usually figure out gcc messages (sometimes, however some messages are really wierd). Now just have to ask is KERN_WARN/KERN_ERR something that I should figure out or what? BTW> ran xmms for about 2 minutes and it works!!! cool cool cool that is perhaps the fastest turn around (technically less than two hours!) I just took to long to review any responses. So now this patch should be concidered into the next RC??? (cd /proc/asound; cat cards devices): 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 Intel 82801DB-ICH4 with STAC9750,51 at 0xf4fff800, irq 17 1 [Headphones ]: USB-Audio - CSR Bluetooth Headphones CSR Bluetooth Headphones at usb-0000:00:1d.0-1, full speed 0: [ 0] : control 1: : sequencer 16: [ 0- 0]: digital audio playback 20: [ 0- 4]: digital audio playback 24: [ 0- 0]: digital audio capture 25: [ 0- 1]: digital audio capture 26: [ 0- 2]: digital audio capture 27: [ 0- 3]: digital audio capture 32: [ 1] : control 33: : timer 48: [ 1- 0]: digital audio playback P.S.> Kudos! Issue History Date Modified Username Field Change ====================================================================== 05-18-06 08:12 dx9s New Issue 05-18-06 08:12 dx9s Distribution => Slackware 10.2 05-18-06 08:12 dx9s Kernel Version => 2.6.16.16 05-18-06 08:14 dx9s Issue Monitored: dx9s 05-18-06 08:42 dx9s Note Added: 0009862 05-18-06 09:45 Clemens LadischNote Added: 0009863 05-18-06 09:45 Clemens LadischFile Added: a250.diff 05-19-06 01:53 dx9s Note Added: 0009870 ====================================================================== ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel