CM-QS600: Linux: Known Issues

From Compulab Mediawiki
Jump to: navigation, search
Audio Output
  • Once some audio output (either the analog or digital) is enabled it cannot be disabled:
root@cm-debian:~# alsaucm -c apq8064-tabla-snd-card set _verb HiFi set _disdev Headphones
Segmentation fault
root@cm-debian:~# alsaucm -c apq8064-tabla-snd-card set _verb HDMI set _disdev HDMI-stereo
Segmentation fault
Workaround : Reboot the device and enable only required output.
Package Manager
  • Public key problem is reported while retrieving new lists of packages:
root@cm-debian:~# apt-get update
Get:1 http://ftp.debian.org wheezy Release.gpg [2390 B]
Get:2 http://ftp.debian.org wheezy Release [168 kB]
...
Fetched 16.0 MB in 24s (662 kB/s)                                                                                                                                          
Reading package lists... Done
W: There is no public key available for the following key IDs:
7638D0442B90D010
Solution : Install debian-keyring and debian-archive-keyring packages.
Note : This operation requires ~50MB of additional disk space.
root@cm-debian:~# apt-get install debian-keyring debian-archive-keyring
USB Device Information
  • Running lsusb command returns entries with device information missing
...
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 004: ID 1bc7:0021  
Bus 001 Device 005: ID 22b8:0830 Motorola PCS 2386C-HT820
...
Solution : Update USB ID list.
root@cm-debian:~# update-usbids
--2015-06-18 10:49:48--  http://www.linux-usb.org/usb.ids
Resolving www.linux-usb.org (www.linux-usb.org)... 216.34.181.97
Connecting to www.linux-usb.org (www.linux-usb.org)|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 549314 (536K) [text/plain]
Saving to: `/var/lib/usbutils/usb.ids.new'

100%[======================================>] 549,314     7.80K/s   in 61s     

2015-06-18 10:50:54 (8.78 KB/s) - `/var/lib/usbutils/usb.ids.new' saved [549314/549314]

Done.
root@cm-debian:~# lsusb
...
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 004: ID 1bc7:0021 Telit Wireless Solutions HE910
Bus 001 Device 005: ID 22b8:0830 Motorola PCS 2386C-HT820
...
EEPROM issue
  • The I2C-0 bus does not work as designed. As a result the main CM-QS600 board EEPROM is not accessible and no data can be read from it.
Fix : Both h/w and s/w fixes have to be applied:
Hardware fix : move the main EEPROM to the I2C-2 bus. Available on devices produced after October 2015.
Software fix : add support for I2C-2 bus, add support for EEPROM on I2C-2 bus. Available from December 2015.
WLAN MAC address
  • CM-QS600 boards might have the same WLAN MAC address 00:03:7f:20:a2:74 that is hard-coded into the ATH6KL firmware.
Additionally, the ATH6KL MAC address cannot be changed via standard Linux utilities like ifconfig because this option is not supported by the driver.
Fix : Use the WLAN MAC address stored in the board EEPROM instead. Available from December 2015.
Note : The above fix only applies to devices produced after October 2015, because of EEPROM issue above.
Workaround : Change the WLAN MAC address by the means of softmac overriding mechanism. Put the desired WLAN MAC address into the /lib/firmware/ath6k/AR6004/hw3.0/softmac.bin file, then reboot the CM-QS600.
root@cm-debian:~# echo -n -e \\x00\\x01\\x02\\x03\\x04\\x05 > /lib/firmware/ath6k/AR6004/hw3.0/softmac.bin
root@cm-debian:~# hexdump -C /lib/firmware/ath6k/AR6004/hw3.0/softmac.bin
00000000  00 01 02 03 04 05                                 |......|
00000006
Ethernet MAC address
  • CM-QS600 board may have random MAC address on the eth0 network interface.
Fix : Use the MAC address stored in the board EEPROM. Available from December 2015.
Note : The above fix only applies to devices produced after October 2015, because of EEPROM issue above.
Workaround : Change the eth0 MAC address by the means of standard Linux utilities like ifconfig:
root@cm-debian:~# ifconfig eth0 down
root@cm-debian:~# ifconfig eth0 hw ether 00:01:03:05:07:09
root@cm-debian:~# ifconfig eth0 up