[Letux-kernel] mcbsp 1

H. Nikolaus Schaller hns at goldelico.com
Fri Apr 28 21:56:56 CEST 2017


>> 
>>>> And then if we can identify the chip and tune,
> 
> got it:
> 
> root at letux:~# /root/si4721 -i /dev/i2c-1 -d -up -dn
> init resp: 80
> get_chiprev resp: 80
> 1532300000323042
> powered off
> root at letux:~#
> 
> The problem is that the /dev/i2c numbers have changed! And the hard-coded i2c-2 is now the wrong default
> and the hw-test script does not overwrite it.
> 
>>>> we can and have to fix
>>>> the McBSP1 (I have changed the subject :).

fm-demo script is also working again (we can tune the chip and get RSSI values :)
and it shows some remaining issues:

* we have no gpio55 (what was it good for?)
* sound card setup/names (CARD=gta04fm not found)
* and probably mcbsp1 (DT setup of clock polarity etc. has never been verified)

root at letux:~# ./fm-demo
make: 'si4721' is up to date.
./fm-demo: line 13: /sys/devices/virtual/gpio/gpio55/value: No such file or directory
Simple mixer control 'Headset',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 3
  Mono:
  Front Left: Playback 2 [67%] [0.00dB]
  Front Right: Playback 2 [67%] [0.00dB]
Simple mixer control 'HeadsetL Mixer AudioL1',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HeadsetL Mixer AudioL2',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'HeadsetL Mixer Voice',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HeadsetR Mixer AudioR1',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'HeadsetR Mixer AudioR2',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'HeadsetR Mixer Voice',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
init resp: 80
get_chiprev resp: 80
1532300000323042
./si4721 -t 9240
tuned to 92400khz RSSI 8dBuV SNR 0dB weak
ALSA lib confmisc.c:768:(parse_card) cannot find card 'gta04fm'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default:CARD=gta04fm
arecord: main:722: audio open error: No such device
aplay: playback:2715: read error
RSSI 10dBuV SNR 0dB offset 6kHz weak
RSSI 10dBuV SNR 0dB offset 7kHz weak
RSSI 10dBuV SNR 0dB offset 7kHz weak
RSSI 10dBuV SNR 0dB offset 7kHz weak
^Cpowered off
arecord: no process found
root at letux:~#

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170428/89286ea6/attachment.asc>


More information about the Letux-kernel mailing list