* question : crash between kernel i2c and alsa i2c
@ 2005-06-13 9:48 Tomko
2005-06-13 12:06 ` Jaroslav Kysela
2005-06-13 12:11 ` Takashi Iwai
0 siblings, 2 replies; 5+ messages in thread
From: Tomko @ 2005-06-13 9:48 UTC (permalink / raw)
To: alsa-devel
Hi everyone,
I know that there is a tiny i2c subsystem inside alsa , i would like to
know is there any control betwen the kernel i2c subsystem and the alsa
i2c ? Will there any crashes if two i2c access the bus togethre ?
Regards,
TOM
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: question : crash between kernel i2c and alsa i2c
2005-06-13 9:48 question : crash between kernel i2c and alsa i2c Tomko
@ 2005-06-13 12:06 ` Jaroslav Kysela
2005-06-13 12:11 ` Takashi Iwai
1 sibling, 0 replies; 5+ messages in thread
From: Jaroslav Kysela @ 2005-06-13 12:06 UTC (permalink / raw)
To: Tomko; +Cc: alsa-devel
On Mon, 13 Jun 2005, Tomko wrote:
> Hi everyone,
>
> I know that there is a tiny i2c subsystem inside alsa , i would like to
> know is there any control betwen the kernel i2c subsystem and the alsa
> i2c ? Will there any crashes if two i2c access the bus togethre ?
It will not work, because there must be only one arbiter maintaining
locking and exclusive access for the i2c bus.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: question : crash between kernel i2c and alsa i2c
2005-06-13 9:48 question : crash between kernel i2c and alsa i2c Tomko
2005-06-13 12:06 ` Jaroslav Kysela
@ 2005-06-13 12:11 ` Takashi Iwai
2005-06-14 1:34 ` Tomko
1 sibling, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2005-06-13 12:11 UTC (permalink / raw)
To: Tomko; +Cc: alsa-devel
At Mon, 13 Jun 2005 17:48:32 +0800,
Tomko wrote:
>
> Hi everyone,
>
> I know that there is a tiny i2c subsystem inside alsa , i would like to
> know is there any control betwen the kernel i2c subsystem and the alsa
> i2c ? Will there any crashes if two i2c access the bus togethre ?
No, they have no relevence between them at all.
If you try to access the same hardware, of course it would be a
problem. But ALSA's i2c usually accesses only the chip-connection in
the sound card, which is quite unlikely accessed from kernel i2c.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: question : crash between kernel i2c and alsa i2c
2005-06-13 12:11 ` Takashi Iwai
@ 2005-06-14 1:34 ` Tomko
2005-06-14 8:35 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Tomko @ 2005-06-14 1:34 UTC (permalink / raw)
To: Takashi Iwai, alsa-devel
Takashi Iwai wrote:
>At Mon, 13 Jun 2005 17:48:32 +0800,
>Tomko wrote:
>
>
>>Hi everyone,
>>
>>I know that there is a tiny i2c subsystem inside alsa , i would like to
>>know is there any control betwen the kernel i2c subsystem and the alsa
>>i2c ? Will there any crashes if two i2c access the bus togethre ?
>>
>>
>
>No, they have no relevence between them at all.
>If you try to access the same hardware, of course it would be a
>problem. But ALSA's i2c usually accesses only the chip-connection in
>the sound card, which is quite unlikely accessed from kernel i2c.
>
>
>
No, what i mean is what if they are accessing different device ? for
example kernel access it's own i2c device but alsa access it's i2c audio
device , but there is only ONE pair of i2c bus in hardware, just like
when the alsa's i2c just initiate a "START" and throw out the hardware
address but kernel's i2c want to initiate a "START" also and throw out
another hardware address . How's this situation be avoided if there is
no control between two i2c subsystem?
TOM
>Takashi
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: question : crash between kernel i2c and alsa i2c
2005-06-14 1:34 ` Tomko
@ 2005-06-14 8:35 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2005-06-14 8:35 UTC (permalink / raw)
To: Tomko; +Cc: alsa-devel
At Tue, 14 Jun 2005 09:34:09 +0800,
Tomko wrote:
>
> Takashi Iwai wrote:
>
> >At Mon, 13 Jun 2005 17:48:32 +0800,
> >Tomko wrote:
> >
> >
> >>Hi everyone,
> >>
> >>I know that there is a tiny i2c subsystem inside alsa , i would like to
> >>know is there any control betwen the kernel i2c subsystem and the alsa
> >>i2c ? Will there any crashes if two i2c access the bus togethre ?
> >>
> >>
> >
> >No, they have no relevence between them at all.
> >If you try to access the same hardware, of course it would be a
> >problem. But ALSA's i2c usually accesses only the chip-connection in
> >the sound card, which is quite unlikely accessed from kernel i2c.
> >
> >
> >
> No, what i mean is what if they are accessing different device ? for
> example kernel access it's own i2c device but alsa access it's i2c audio
> device , but there is only ONE pair of i2c bus in hardware, just like
> when the alsa's i2c just initiate a "START" and throw out the hardware
> address but kernel's i2c want to initiate a "START" also and throw out
> another hardware address . How's this situation be avoided if there is
> no control between two i2c subsystem?
In such a case, use kernel i2c layer for all controls.
As mentioned above, ALSA i2c was introduced mainly as a very simple
i2c control _on the sound card_, which the kernel i2c drivers don't cover.
If you have a kernel i2c driver, you should use it.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-14 8:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 9:48 question : crash between kernel i2c and alsa i2c Tomko
2005-06-13 12:06 ` Jaroslav Kysela
2005-06-13 12:11 ` Takashi Iwai
2005-06-14 1:34 ` Tomko
2005-06-14 8:35 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.