Re: Configuring ALSA and SCHIIT BIfrost for "bit perfect"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel and list -

Thanks for your patience with respect to my list etiquette.  I have
two questions in-line below related to the patching process...

On Mon, Sep 10, 2012 at 3:26 AM, Daniel Mack <zonque@xxxxxxxxx> wrote:
> On 10.09.2012 08:16, Daniel Mack wrote:
>> Hi Chris,
>>
>> please follow two important rules on mailing lists:
>>
>> 1. Always reply to all. If you're worried about the size of a text
>> attachment, use a pastebin.

Got that.
>>
>> 2. Do not top-post.

Got that too.  My apologies.
>>
>> On 10.09.2012 01:01, chris hermansen wrote:
>>> Thank you very much for your kind help and offer of assistance.
>>>
>>> I have zero experience around the kernel, so if you are prepared to
>>> send me a patch, that would be superb.
>>
>> Sure. I attached one.
>>
>>> A question (from my level 0 perspective): can I not patch the kernel I
>>> have, as opposed to getting one "unknown" to my current ubuntu
>>> distribution?  (or maybe I am so clueless I just don't understand what
>>> you are suggesting below).
>>
>> This can be confusing when you do it the first time, but no worries. It
>> has been the first time for everyone once :)
>>
>> Run
>>
>>   git clone git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
>>
>> Use "git patch" to apply the patch attached to this email.
>
> That should be "git apply"
>
>

With respect to the patch you provided, I found I needed to to use

git apply --ignore-whitespace

Is that to be expected, or is it indicative of some problem too subtle
for me?  It seems to have worked...

../snd-usb-schiit.patch:9: trailing whitespace.

../snd-usb-schiit.patch:10: trailing whitespace.
	switch (ep->chip->usb_id) {
../snd-usb-schiit.patch:11: trailing whitespace.
	case USB_ID(0x0d8c, 0x0304): /* CMEDIA - Schiit USB Interface */
../snd-usb-schiit.patch:12: trailing whitespace.
		if (ep->type == SND_USB_ENDPOINT_TYPE_SYNC)
../snd-usb-schiit.patch:13: trailing whitespace.
			ep->skip_packets = 4;
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.


>> Then follow these rules to get a kernel package that you can install on your Ubuntu:
>>
>>   https://help.ubuntu.com/community/Kernel/Compile

I reviewed the material at that link, which led me to another that
seemed more up to date, and also dealt with compiling a main-line
kernel "in the Ubuntu way", which seems more like what I am trying to
do here.

http://blog.avirtualhome.com/compile-mainline-kernel-ubuntu/

With respect to merging your instructions with these directions, I
have one general question and one specific question.

General: does this seem like a reasonable process to follow?
Specific: in this process, the author creates a branch to carry out
the modifications.  Should I be applying the patch in that branch and
not in the "main line?

I imagine this is getting well beyond the question at hand and into
teaching the village idiot how to properly compile a kernel for
Ubuntu, so please let me know if I am abusing your hospitality!

Thanks very much for your assistance!
-- 
Chris Hermansen · clhermansen@xxxxxxxxx

C'est ma façon de parler.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux