* A problem about the LCD driver in the kernel 2.6.14-omap.
@ 2006-09-10 6:33 lei lei
2006-09-10 9:21 ` Dirk Behme
0 siblings, 1 reply; 8+ messages in thread
From: lei lei @ 2006-09-10 6:33 UTC (permalink / raw)
To: Linux-omap-open-source
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
hi all,
THE file place is in drivers/video/omap/lcd_osk.c.
In the omap5912 board---osk,there is not LCD,so I want to know
the LCD driver in the 2.6.14-omap is for which LCD.
Thanks!
--
雷波 bolei
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: A problem about the LCD driver in the kernel 2.6.14-omap.
2006-09-10 6:33 A problem about the LCD driver in the kernel 2.6.14-omap lei lei
@ 2006-09-10 9:21 ` Dirk Behme
2006-09-11 3:38 ` Using SPI Arnold
0 siblings, 1 reply; 8+ messages in thread
From: Dirk Behme @ 2006-09-10 9:21 UTC (permalink / raw)
To: lei lei; +Cc: Linux-omap-open-source
lei lei wrote:
> hi all,
> THE file place is in drivers/video/omap/lcd_osk.c.
> In the omap5912 board---osk,there is not LCD,so I want to know
> the LCD driver in the 2.6.14-omap is for which LCD.
http://www.mistralsoftware.com/html/product/omap_products/products-omap5912_starterkit.php
See
http://tree.celinuxforum.org/CelfPubWiki/OSK
as well.
Dirk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Using SPI
2006-09-10 9:21 ` Dirk Behme
@ 2006-09-11 3:38 ` Arnold
2006-09-11 12:20 ` omap5912 audio driver zil iram
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Arnold @ 2006-09-11 3:38 UTC (permalink / raw)
To: Linux-omap-open-source
Hi Guys,
I've been exploring SPI on the kernel. I've started
reading on how SPI works. I've learned that all SPI
drivers are currently kernel drivers. I would to know
if anybody have tried to do a userspace driver API? Or
anybody knows of an opensource userspace driver that
offers low-level access?
Thanks,
OJ
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* omap5912 audio driver
2006-09-11 3:38 ` Using SPI Arnold
@ 2006-09-11 12:20 ` zil iram
2006-09-11 14:39 ` Dirk Behme
2006-09-11 14:34 ` Using SPI Dirk Behme
2006-09-13 6:21 ` David Brownell
2 siblings, 1 reply; 8+ messages in thread
From: zil iram @ 2006-09-11 12:20 UTC (permalink / raw)
To: Linux-omap-open-source
Hi,
I have been trying out the audio driver for the OSK and I followed
the procedures in http://oskfordummies.hp.infoseek.co.jp/howto/audio.html.
When I compiled the kernel (version 2.6.16) with the audio drivers enabled,
an error occured with this message :
sound/oss/omap-audio-aic23.c:246: error: unknown field `sem'
specified in initializer
To move on with my work, I just commented out the line
.sem = __SEMAPHORE_INIT(aic23_state.sem, 1)
inside the structure static audio_state_t aic23_state of the file specified
in the error message. So the kernel compiled. Do you know what is wrong?
With what I've done above, I was able to record and playback the sound
file that I recorded perfectly. However, when I play a different file, a
.au Sun/NeXT audio data: 16-bit linear PCM, stereo, 8000 Hz file, the file
tends to be played really fast even if I have already set the configurations
through the file audioconf.c given in the link above. When I converted this
audio file to have a sampling rate of 22050, the playback was almost perfect
even if the setting was still set to 8khz. I am thinking that the sampling
rate cannot be set through the audioconf app and that the audio driver is
using the same constant value.
Also, when I play mono 16bit .wav files, with sampling rate of 44000 and
above, all the files are played well even if I am using the same 24000hz as
sampling rate.
Does anybody know what the problem here is?
Thank you very much,
Zil
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using SPI
2006-09-11 3:38 ` Using SPI Arnold
2006-09-11 12:20 ` omap5912 audio driver zil iram
@ 2006-09-11 14:34 ` Dirk Behme
2006-09-13 6:21 ` David Brownell
2 siblings, 0 replies; 8+ messages in thread
From: Dirk Behme @ 2006-09-11 14:34 UTC (permalink / raw)
To: Arnold; +Cc: Linux-omap-open-source
Arnold wrote:
> I've learned that all SPI
> drivers are currently kernel drivers. I would to know
> if anybody have tried to do a userspace driver API?
Maybe you are interested in
http://lwn.net/Articles/197523/
Dirk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: omap5912 audio driver
2006-09-11 12:20 ` omap5912 audio driver zil iram
@ 2006-09-11 14:39 ` Dirk Behme
2006-09-13 1:52 ` zil iram
0 siblings, 1 reply; 8+ messages in thread
From: Dirk Behme @ 2006-09-11 14:39 UTC (permalink / raw)
To: zil iram; +Cc: Linux-omap-open-source
zil iram wrote:
> When I compiled
> the kernel (version 2.6.16) with the audio drivers enabled, an error
> occured with this message :
> sound/oss/omap-audio-aic23.c:246: error: unknown field
> `sem' specified in initializer
> To move on with my work, I just commented out the line
> .sem = __SEMAPHORE_INIT(aic23_state.sem, 1)
> inside the structure static audio_state_t aic23_state of the file
> specified in the error message. So the kernel compiled. Do you know
> what is wrong?
Can you try and check the same with recent kernel from git?
Dirk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: omap5912 audio driver
2006-09-11 14:39 ` Dirk Behme
@ 2006-09-13 1:52 ` zil iram
0 siblings, 0 replies; 8+ messages in thread
From: zil iram @ 2006-09-13 1:52 UTC (permalink / raw)
To: dirk.behme; +Cc: Linux-omap-open-source
Hi Dirk,
Thanks, I tried using kernel 2.6.17 and the audio driver is now
compiling and working.
Thank you very much!
Zil
>From: Dirk Behme <dirk.behme@googlemail.com>
>To: zil iram <zil_iram@hotmail.com>
>CC: Linux-omap-open-source@linux.omap.com
>Subject: Re: omap5912 audio driver
>Date: Mon, 11 Sep 2006 16:39:46 +0200
>
>zil iram wrote:
>>When I compiled the kernel (version 2.6.16) with the audio drivers
>>enabled, an error occured with this message :
>> sound/oss/omap-audio-aic23.c:246: error: unknown field
>>`sem' specified in initializer
>>To move on with my work, I just commented out the line
>> .sem = __SEMAPHORE_INIT(aic23_state.sem, 1)
>>inside the structure static audio_state_t aic23_state of the file
>>specified in the error message. So the kernel compiled. Do you know what
>>is wrong?
>
>Can you try and check the same with recent kernel from git?
>
>Dirk
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using SPI
2006-09-11 3:38 ` Using SPI Arnold
2006-09-11 12:20 ` omap5912 audio driver zil iram
2006-09-11 14:34 ` Using SPI Dirk Behme
@ 2006-09-13 6:21 ` David Brownell
2 siblings, 0 replies; 8+ messages in thread
From: David Brownell @ 2006-09-13 6:21 UTC (permalink / raw)
To: Linux-omap-open-source, abo_gwapo
> I've been exploring SPI on the kernel. I've started
> reading on how SPI works. I've learned that all SPI
> drivers are currently kernel drivers.
That's normal for drivers that may use IRQs and/or DMA.
> I would to know
> if anybody have tried to do a userspace driver API? Or
> anybody knows of an opensource userspace driver that
> offers low-level access?
A patch was recently posted on the SPI developers' list
providing a userspace/filesystem API ... I've not had
time to look at this incarnation of the patch.
- Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-09-13 6:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10 6:33 A problem about the LCD driver in the kernel 2.6.14-omap lei lei
2006-09-10 9:21 ` Dirk Behme
2006-09-11 3:38 ` Using SPI Arnold
2006-09-11 12:20 ` omap5912 audio driver zil iram
2006-09-11 14:39 ` Dirk Behme
2006-09-13 1:52 ` zil iram
2006-09-11 14:34 ` Using SPI Dirk Behme
2006-09-13 6:21 ` David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox