* 2.6.2 PPC ALSA snd-powermac
@ 2004-02-11 7:11 Peter Lieverdink
2004-02-11 11:48 ` Takashi Iwai
2004-02-11 13:57 ` Giuliano Pochini
0 siblings, 2 replies; 7+ messages in thread
From: Peter Lieverdink @ 2004-02-11 7:11 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
me an option to enable i2c? It's supposed to be in Character Devices,
no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
snd-powermac' spews forth:
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_smbus_write_block_data
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_add_driver
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_smbus_write_byte_data
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_del_driver
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_detach_client
Feb 10 17:47:25 chocomel kernel: snd_powermac: Unknown symbol
i2c_attach_client
- P.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
2004-02-11 7:11 2.6.2 PPC ALSA snd-powermac Peter Lieverdink
@ 2004-02-11 11:48 ` Takashi Iwai
2004-02-11 22:56 ` Peter Lieverdink
2004-02-11 13:57 ` Giuliano Pochini
1 sibling, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2004-02-11 11:48 UTC (permalink / raw)
To: Peter Lieverdink; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
At Wed, 11 Feb 2004 18:11:48 +1100,
Peter Lieverdink wrote:
>
> [1 <text/plain (quoted-printable)>]
> Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
> me an option to enable i2c? It's supposed to be in Character Devices,
> no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
> snd-powermac' spews forth:
does the attached patch work?
--
Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org
[-- Attachment #2: Type: text/plain, Size: 323 bytes --]
--- linux/sound/ppc/Kconfig 4 Nov 2002 08:43:16 -0000 1.1
+++ linux/sound/ppc/Kconfig 11 Feb 2004 11:43:56 -0000
@@ -5,7 +5,9 @@
config SND_POWERMAC
tristate "PowerMac (AWACS, DACA, Burgundy, Tumbler, Keywest)"
- depends on SND
+ depends on SND && PPC_PMAC
+ select I2C
+ select I2C_KEYWEST
endmenu
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
2004-02-11 7:11 2.6.2 PPC ALSA snd-powermac Peter Lieverdink
2004-02-11 11:48 ` Takashi Iwai
@ 2004-02-11 13:57 ` Giuliano Pochini
1 sibling, 0 replies; 7+ messages in thread
From: Giuliano Pochini @ 2004-02-11 13:57 UTC (permalink / raw)
To: Peter Lieverdink; +Cc: linux-kernel
On Wed, 11 Feb 2004, Peter Lieverdink wrote:
> Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
> me an option to enable i2c? It's supposed to be in Character Devices,
> no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
> snd-powermac' spews forth:
Yes, it is there IIRC (I'm not at home, I can't verify). But I don't know
if the official kernel is up to date with all macintosh stuff. I'm using
2.6.2-benh1 and the option to enable i2c exists and works fine.
http://www.penguinppc.org/dev/kernel.shtml
--
Giuliano.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
2004-02-11 11:48 ` Takashi Iwai
@ 2004-02-11 22:56 ` Peter Lieverdink
2004-02-14 16:47 ` Adrian Bunk
0 siblings, 1 reply; 7+ messages in thread
From: Peter Lieverdink @ 2004-02-11 22:56 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 3341 bytes --]
On Wed, 2004-02-11 at 22:48, Takashi Iwai wrote:
> At Wed, 11 Feb 2004 18:11:48 +1100,
> Peter Lieverdink wrote:
> >
> > [1 <text/plain (quoted-printable)>]
> > Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
> > me an option to enable i2c? It's supposed to be in Character Devices,
> > no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
> > snd-powermac' spews forth:
>
> does the attached patch work?
Unfortunately:
cafuego@chocomel:/usr/src/linux-2.6.2$ make-kpkg clean; make-kpkg
--revision chocomel.1 kernel-image
[...]
LD .tmp_vmlinux1
sound/built-in.o(.text+0x28770): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28788): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x287a4): In function `daca_init_client':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28834): In function `daca_set_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28aac): In function `daca_put_amp':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28ae8): In function `daca_resume':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28b0c): In function `daca_resume':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28bb0): In function `send_init_client':
: undefined reference to `i2c_smbus_write_byte_data'
sound/built-in.o(.text+0x28df0): In function
`tumbler_set_master_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x28fd8): In function `tumbler_set_drc':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x290c0): In function `snapper_set_drc':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29328): In function `tumbler_set_mono_volume':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29500): In function `snapper_set_mix_vol1':
: undefined reference to `i2c_smbus_write_block_data'
sound/built-in.o(.text+0x29e04): In function `keywest_attach_adapter':
: undefined reference to `i2c_attach_client'
sound/built-in.o(.text+0x29e7c): In function `keywest_detach_client':
: undefined reference to `i2c_detach_client'
sound/built-in.o(.text+0x29ef0): In function `snd_pmac_keywest_cleanup':
: undefined reference to `i2c_del_driver'
sound/built-in.o(.init.text+0x2848): In function
`snd_pmac_keywest_init':
: undefined reference to `i2c_add_driver'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.2'
make: *** [stamp-build] Error 2
cafuego@chocomel:/usr/src/linux-2.6.2$
- Peter.
--
> --
> Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org
>
> ______________________________________________________________________
> --- linux/sound/ppc/Kconfig 4 Nov 2002 08:43:16 -0000 1.1
> +++ linux/sound/ppc/Kconfig 11 Feb 2004 11:43:56 -0000
> @@ -5,7 +5,9 @@
>
> config SND_POWERMAC
> tristate "PowerMac (AWACS, DACA, Burgundy, Tumbler, Keywest)"
> - depends on SND
> + depends on SND && PPC_PMAC
> + select I2C
> + select I2C_KEYWEST
>
> endmenu
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
2004-02-11 22:56 ` Peter Lieverdink
@ 2004-02-14 16:47 ` Adrian Bunk
[not found] ` <1076794515.30208.0.camel@kahlua>
0 siblings, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2004-02-14 16:47 UTC (permalink / raw)
To: Peter Lieverdink; +Cc: Takashi Iwai, linux-kernel
On Thu, Feb 12, 2004 at 09:56:42AM +1100, Peter Lieverdink wrote:
> On Wed, 2004-02-11 at 22:48, Takashi Iwai wrote:
> > At Wed, 11 Feb 2004 18:11:48 +1100,
> > Peter Lieverdink wrote:
> > >
> > > [1 <text/plain (quoted-printable)>]
> > > Is it just me or does 'make menuconfig' in kernel 2.6.2 on ppc not give
> > > me an option to enable i2c? It's supposed to be in Character Devices,
> > > no? The ALSA snd-powermac module needs i2c and upon a 'modprobe
> > > snd-powermac' spews forth:
> >
> > does the attached patch work?
>
> Unfortunately:
>
> cafuego@chocomel:/usr/src/linux-2.6.2$ make-kpkg clean; make-kpkg
> --revision chocomel.1 kernel-image
> [...]
> LD .tmp_vmlinux1
> sound/built-in.o(.text+0x28770): In function `daca_init_client':
> : undefined reference to `i2c_smbus_write_byte_data'
>...
Please send your .config .
> - Peter.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
[not found] ` <1076794515.30208.0.camel@kahlua>
@ 2004-02-15 13:39 ` Adrian Bunk
2004-02-20 2:23 ` Peter Lieverdink
0 siblings, 1 reply; 7+ messages in thread
From: Adrian Bunk @ 2004-02-15 13:39 UTC (permalink / raw)
To: Peter Lieverdink; +Cc: Takashi Iwai, linux-kernel
On Sun, Feb 15, 2004 at 08:35:15AM +1100, Peter Lieverdink wrote:
> No prob, here you go...
Thanks.
Now I do understand the problem.
Short version:
It should work if you try 2.6.3-rc3 instead.
Long version:
arch/ppc/Kconfig didn't use drivers/Kconfig in 2.6.2 and didn't inclide
drivers/i2c/Kconfig.
In 2.6.3-rc3, arch/ppc/Kconfig uses drivers/Kconfig.
> - Peter.
>...
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.2 PPC ALSA snd-powermac
2004-02-15 13:39 ` Adrian Bunk
@ 2004-02-20 2:23 ` Peter Lieverdink
0 siblings, 0 replies; 7+ messages in thread
From: Peter Lieverdink @ 2004-02-20 2:23 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Takashi Iwai, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
Problem solved on 2.6.3
- Peter.
On Mon, 2004-02-16 at 00:39, Adrian Bunk wrote:
> On Sun, Feb 15, 2004 at 08:35:15AM +1100, Peter Lieverdink wrote:
>
> > No prob, here you go...
>
> Thanks.
>
> Now I do understand the problem.
>
> Short version:
> It should work if you try 2.6.3-rc3 instead.
>
> Long version:
> arch/ppc/Kconfig didn't use drivers/Kconfig in 2.6.2 and didn't inclide
> drivers/i2c/Kconfig.
> In 2.6.3-rc3, arch/ppc/Kconfig uses drivers/Kconfig.
>
> > - Peter.
> >...
>
> cu
> Adrian
--
Peter Lieverdink <peter@cc.com.au>
Creative Contingencies Pty. Ltd.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-20 2:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 7:11 2.6.2 PPC ALSA snd-powermac Peter Lieverdink
2004-02-11 11:48 ` Takashi Iwai
2004-02-11 22:56 ` Peter Lieverdink
2004-02-14 16:47 ` Adrian Bunk
[not found] ` <1076794515.30208.0.camel@kahlua>
2004-02-15 13:39 ` Adrian Bunk
2004-02-20 2:23 ` Peter Lieverdink
2004-02-11 13:57 ` Giuliano Pochini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox