sorry, I can't find this file. what is the complete path? And could you point out some guide how I could recompile the driver?
2010/7/28 Clemens Ladisch clemens@ladisch.de
Bernardo Barros wrote:
Bus 001 Device 008: ID 0582:0064 Roland Corp. EDIROL PCR-1 WAVE
For some reason, the driver has a quirk only for the MIDI interface of the PCR-1 but not for the PCM interfaces.
Try adding the following entry to sound/usb/quirks-table.h or usbquirks.h and then recompiling the driver:
{ USB_DEVICE(0x0582, 0x0064), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { .vendor_name = "EDIROL", .product_name = "PCR-1", .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data = (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = -1 } } } },
On Wed, 2010-07-28 at 15:49 -0300, Bernardo Barros wrote:
sorry, I can't find this file. what is the complete path? And could you point out some guide how I could recompile the driver?
Sorry, that is not easy to explain and involves much work (that file is part of the kernel source tree). I'll see if I can add this to my next build of the rt kernel for Planet CCRMA.
-- Fernando
2010/7/28 Clemens Ladisch clemens@ladisch.de
Bernardo Barros wrote:
Bus 001 Device 008: ID 0582:0064 Roland Corp. EDIROL PCR-1 WAVE
For some reason, the driver has a quirk only for the MIDI interface of the PCR-1 but not for the PCM interfaces.
Try adding the following entry to sound/usb/quirks-table.h or usbquirks.h and then recompiling the driver:
{ USB_DEVICE(0x0582, 0x0064), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { .vendor_name = "EDIROL", .product_name = "PCR-1", .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data = (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = -1 } } } },
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 28/07/10 20:49, Bernardo Barros wrote:
sorry, I can't find this file. what is the complete path? And could you point out some guide how I could recompile the driver?
Have a look at the instructions on this page: http://fedoraproject.org/wiki/Docs/CustomKernel
It should be a pretty safe way to do it. But be sure you have at least a bootable kernel alternative installed (ie. an older kernel version), in case rebooting might break.
The chances for breaking are low when following this guide, but after all, you are modifying the kernel so you can never be 100% sure. Just check with 'rpm -q kernel', if you have a couple of versions installed and you only do recompile the latest version you can at least reboot to an older kernel version via the Grub boot menu.
kind regards,
David Sommerseth