Driver status in "Boot from SD"

Willie willie_chen at openmoko.com
Mon Feb 25 07:55:50 CET 2008


Willie wrote:
> Andy Green wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Somebody in the thread at some point said:
>>
>>  
>>> $ cat /proc/asound/cards
>>>  0 [neo1973gta02   ]: WM8753 - neo1973-gta02
>>>     
>>
>> Ah just a thought came in my addled brain, it is called "neo1973gta02",
>> confirm that the /etc/alsa/* files do not maybe call it a different
>> name.  Some things changed name to neo1973* in 2.6.24
>>
>>   
> Hi Miles,
>
> I use strace to moniter the sound command 'alsactl'. But the directory 
> /dev/snd/* is empty.
>
> open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or 
> directory)
> open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or 
> directory)
> open("/dev/snd/controlC1", O_RDONLY)    = -1 ENOENT (No such file or 
> directory)
> open("/dev/aloadC1", O_RDONLY)          = -1 ENOENT (No such file or 
> directory)
> open("/dev/snd/controlC2", O_RDONLY)    = -1 ENOENT (No such file or 
> directory)
> open("/dev/aloadC2", O_RDONLY)          = -1 ENOENT (No such file or 
> directory)
> open("/dev/snd/controlC3", O_RDONLY)    = -1 ENOENT (No such file or 
> director
> ...
>
> Regards,
> Willie
>
Hi Miles, Andy,

I added some files in /dev/snd/*.

# mknod controlC0 c 116 0
# mknod pcmC0D0c c 116 24
# mknod pcmC0D0p c 116 16
# mknod pcmC0D1c c 116 25
# mknod pcmC0D1p c 116 17
# mknod timer c 116 33

Then we can use sound driver now. Miles you can start to test DM2. Thanks.

Regards,
Willie









More information about the openmoko-kernel mailing list