Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MacBook Pro Intel: sound doesn't work! [PATCH SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
sky.return
n00b
n00b


Joined: 06 Mar 2010
Posts: 17

PostPosted: Sat Mar 06, 2010 1:29 am    Post subject: Reply with quote

----

Last edited by sky.return on Sun Apr 04, 2010 2:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sat Mar 06, 2010 10:04 am    Post subject: Reply with quote

sky.return wrote:
To resolve just use the kernel 2.6.33
Do not forget to load the required modules


As I've said early, nvidia-drivers (also masked one) doesn't work with above version of kernel, as broadcom-sta too!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Sat Mar 06, 2010 10:33 am    Post subject: Reply with quote

DevOne wrote:
sky.return wrote:
To resolve just use the kernel 2.6.33
Do not forget to load the required modules


As I've said early, nvidia-drivers (also masked one) doesn't work with above version of kernel, as broadcom-sta too!

not true.
Code:

dagg@NCC-5001-D ~ $ uname -r
2.6.33-gentoo
dagg@NCC-5001-D ~ $ eix gentoo-sources
[I] sys-kernel/gentoo-sources
     Available versions: 
        (2.6.16-r13)    2.6.16-r13!b!s
        (2.6.25-r9)     (~)2.6.25-r9!b!s
        (2.6.26-r4)     2.6.26-r4!b!s
        (2.6.27-r8)     2.6.27-r8!b!s
        (2.6.27-r10)    (~)2.6.27-r10!b!s
        (2.6.28-r5)     2.6.28-r5!b!s
        (2.6.28-r6)     (~)2.6.28-r6!b!s
        (2.6.29-r5)     2.6.29-r5!b!s
        (2.6.29-r6)     (~)2.6.29-r6!b!s
        (2.6.30-r5)     2.6.30-r5!b!s
        (2.6.30-r8)     2.6.30-r8!b!s
        (2.6.30-r9)     (~)2.6.30-r9!b!s
        (2.6.31-r6)     2.6.31-r6!b!s
        (2.6.31-r7)     (~)2.6.31-r7!b!s
        (2.6.31-r9)     (~)2.6.31-r9!b!s
        (2.6.31-r10)    (~)2.6.31-r10!b!s
        (2.6.32-r2)     (~)2.6.32-r2!b!s
        (2.6.32-r3)     (~)2.6.32-r3!b!s
        (2.6.32-r4)     (~)2.6.32-r4!b!s
        (2.6.32-r5)     (~)2.6.32-r5!b!s
        (2.6.32-r6)     (~)2.6.32-r6!b!s
        (2.6.32-r7)     (~)2.6.32-r7!b!s
        (2.6.33)        (~)2.6.33!b!s
        {build symlink ultra1}
     Installed versions:  2.6.33(2.6.33)!b!s(07:38:02 PM 03/02/2010)(-build -symlink)
     Homepage:            http://dev.gentoo.org/~mpagano/genpatches
     Description:         Full sources including the Gentoo patchset for the 2.6 kernel tree
dagg@NCC-5001-D ~ $ eix broadcom-sta
[I] net-wireless/broadcom-sta
     Available versions:  (~)5.10.27.12[1] (~)5.10.27.14[1] (~)5.10.79.10[1] (~)5.10.79.10-r2[1] (~)5.10.91.9.3-r1+i!m (~)5.10.91.9.3-r2+i!m (~)5.10.91.9.3-r3+i!m (~)5.60.48.36+i!m {kernel_linux}
     Installed versions:  5.60.48.36+i!m(12:35:10 PM 03/06/2010)(kernel_linux)
     Homepage:            http://www.broadcom.com/support/802.11/linux_sta.php
     Description:         Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver.

[1] "Own Portage Overlay" /usr/local/portage
dagg@NCC-5001-D ~ $

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sat Mar 06, 2010 11:03 am    Post subject: Reply with quote

DaggyStyle wrote:
DevOne wrote:
sky.return wrote:
To resolve just use the kernel 2.6.33
Do not forget to load the required modules


As I've said early, nvidia-drivers (also masked one) doesn't work with above version of kernel, as broadcom-sta too!

not true.
Code:

dagg@NCC-5001-D ~ $ uname -r
2.6.33-gentoo
dagg@NCC-5001-D ~ $ eix gentoo-sources
[I] sys-kernel/gentoo-sources
     Available versions: 
        (2.6.16-r13)    2.6.16-r13!b!s
        (2.6.25-r9)     (~)2.6.25-r9!b!s
        (2.6.26-r4)     2.6.26-r4!b!s
        (2.6.27-r8)     2.6.27-r8!b!s
        (2.6.27-r10)    (~)2.6.27-r10!b!s
        (2.6.28-r5)     2.6.28-r5!b!s
        (2.6.28-r6)     (~)2.6.28-r6!b!s
        (2.6.29-r5)     2.6.29-r5!b!s
        (2.6.29-r6)     (~)2.6.29-r6!b!s
        (2.6.30-r5)     2.6.30-r5!b!s
        (2.6.30-r8)     2.6.30-r8!b!s
        (2.6.30-r9)     (~)2.6.30-r9!b!s
        (2.6.31-r6)     2.6.31-r6!b!s
        (2.6.31-r7)     (~)2.6.31-r7!b!s
        (2.6.31-r9)     (~)2.6.31-r9!b!s
        (2.6.31-r10)    (~)2.6.31-r10!b!s
        (2.6.32-r2)     (~)2.6.32-r2!b!s
        (2.6.32-r3)     (~)2.6.32-r3!b!s
        (2.6.32-r4)     (~)2.6.32-r4!b!s
        (2.6.32-r5)     (~)2.6.32-r5!b!s
        (2.6.32-r6)     (~)2.6.32-r6!b!s
        (2.6.32-r7)     (~)2.6.32-r7!b!s
        (2.6.33)        (~)2.6.33!b!s
        {build symlink ultra1}
     Installed versions:  2.6.33(2.6.33)!b!s(07:38:02 PM 03/02/2010)(-build -symlink)
     Homepage:            http://dev.gentoo.org/~mpagano/genpatches
     Description:         Full sources including the Gentoo patchset for the 2.6 kernel tree
dagg@NCC-5001-D ~ $ eix broadcom-sta
[I] net-wireless/broadcom-sta
     Available versions:  (~)5.10.27.12[1] (~)5.10.27.14[1] (~)5.10.79.10[1] (~)5.10.79.10-r2[1] (~)5.10.91.9.3-r1+i!m (~)5.10.91.9.3-r2+i!m (~)5.10.91.9.3-r3+i!m (~)5.60.48.36+i!m {kernel_linux}
     Installed versions:  5.60.48.36+i!m(12:35:10 PM 03/06/2010)(kernel_linux)
     Homepage:            http://www.broadcom.com/support/802.11/linux_sta.php
     Description:         Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver.

[1] "Own Portage Overlay" /usr/local/portage
dagg@NCC-5001-D ~ $


That my snippet:
Code:

 * Found kernel source directory:                                                                                                                         
 *     /usr/src/linux                                                                                                                                     
 * Found kernel object directory:                                                                                                                         
 *     /lib/modules/2.6.33-gentoo/build                                                                                                                   
 * Found sources for kernel version:                                                                                                                       
 *     2.6.33-gentoo                                                                                                                                       
 * Checking for suitable kernel configuration options...                                                                                              [ ok ]
>>> Unpacking source...                                                                                                                                     
>>> Unpacking hybrid-portsrc-x86_64-v5.60.48.36.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work                                       
 * Applying broadcom-sta-5.10.91.9-license.patch ...                                                                                                  [ ok ]
 * Applying broadcom-sta-5.10.91.9.3-linux-2.6.32.patch ...                                                                                           [ ok ]
 * Applying broadcom-sta-5.10.91.9.3-linux-2.6.33.patch ...                                                                                           [ ok ]
>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work                                                                           
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work ...                                                                     
ln: creating symbolic link `Module.symvers': File exists                                                                                                   
 * Preparing wl module                                                                                                                                     
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work wl.ko                                                                                                                                               
make: Entering directory `/usr/src/linux-2.6.33-gentoo'                                                                                                     
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/shared/linux_osl.o                                                                 
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_linux.o                                                                 
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_iw.o                                                                     
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_linux.c:21:                                                 
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory                                                                         
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined                                                                                       
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_linux.c:21:                                                 
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)                                                                       
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/shared/linux_osl.c:19:                                                 
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory                                                                         
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined                                                                                       
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/shared/linux_osl.c:19:                                                 
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)                                                                       
In file included from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:52,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_linux.c:21:                                                 
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined                                                                                           
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined                                                                                           
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_iw.c:18:                                                     
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory                                                                         
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined                                                                                       
In file included from include/linux/gfp.h:4,                                                                                                               
                 from include/linux/kmod.h:22,                                                                                                             
                 from include/linux/module.h:13,                                                                                                           
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:27,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_iw.c:18:                                                     
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)                                                                       
In file included from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:52,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/shared/linux_osl.c:19:                                                 
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined                                                                                           
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined                                                                                           
In file included from /usr/src/linux-2.6.33-gentoo/arch/x86/include/asm/unistd_64.h:695,                                                                   
                 from /usr/src/linux-2.6.33-gentoo/arch/x86/include/asm/unistd.h:5,                                                                         
                 from include/linux/unistd.h:7,                                                                                                             
                 from /usr/src/linux-2.6.33-gentoo/arch/x86/include/asm/seccomp_64.h:4,                                                                     
                 from /usr/src/linux-2.6.33-gentoo/arch/x86/include/asm/seccomp.h:4,                                                                       
                 from include/linux/seccomp.h:8,                                                                                                           
                 from include/linux/sched.h:80,                                                                                                             
                 from include/linux/smp_lock.h:5,                                                                                                           
                 from include/linux/hardirq.h:6,                                                                                                           
                 from include/linux/interrupt.h:12,                                                                                                         
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:55,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_linux.c:21:                                                 
/usr/src/linux-2.6.33-gentoo/arch/x86/include/asm/asm-offsets.h:1:35: error: generated/asm-offsets.h: No such file or directory                             
In file included from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/include/linuxver.h:52,                                                 
                 from /var/tmp/portage/net-wireless/broadcom-sta-5.60.48.36/work/src/wl/sys/wl_iw.c:18:             

Some file missing and some define missing!
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5910

PostPosted: Sat Mar 06, 2010 12:47 pm    Post subject: Reply with quote

look for this file's existence /usr/src/linux-2.6.33-gentoo/include/generated/asm-offsets.h
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DevOne
Guru
Guru


Joined: 13 Jul 2005
Posts: 419

PostPosted: Sat Mar 06, 2010 2:33 pm    Post subject: Reply with quote

DaggyStyle wrote:
look for this file's existence /usr/src/linux-2.6.33-gentoo/include/generated/asm-offsets.h


I've emerge kernel 2.6.33 one more time and now broadcom-sta works very well.

Neddy gives me help with nvidia patch for cirrus and all work!
Only sound level is too low :roll:
_________________
Real-time cooperative softair: http://www.softairrealfight.net
Qt generic-compass contribution: https://codereview.qt-project.org/#/c/92017
Open-source Virtual Keyboard QT widget: https://www.linux-apps.com/p/1132203/
Back to top
View user's profile Send private message
qwetz
n00b
n00b


Joined: 13 Apr 2010
Posts: 1

PostPosted: Tue Apr 13, 2010 2:45 am    Post subject: Reply with quote

I can confirm that the sys-kernel/tuxonice-sources-2.6.33-r1 kernel (currently masked) solves the problem.

But to make the speakers produce anything, i had to unmute "Front Speaker" and "Surrond Speaker" from KMix (they dont appear in alsamixer for some reason =[ )

And I also had to reinstall the NVIDIA driver and emerge again net-wireless/broadcom-sta (no issues too =] )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum