Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLC setup for generic devices and pin configuration #117

Open
mjlill opened this issue Apr 4, 2020 · 2 comments
Open

HLC setup for generic devices and pin configuration #117

mjlill opened this issue Apr 4, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mjlill
Copy link
Contributor

mjlill commented Apr 4, 2020

Describe the bug
A clear and concise description of what the bug is.

  1. The install setup improperly configures the /boot/config.txt to be for the AIY hat.
  2. The HLC does not have hardware defined
  3. The /etc/asound.conf has incorrect settings

To Reproduce
Steps to reproduce the behavior:
Install Alice or Alice satellite
/boot/config.txt should have set the
dtparam=audio=on
#dtoverlay=googlevoicehat-soundcard

/etc/asound.conf should have as content
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "hw:0,0"
}
capture.pcm {
type plug
slave.pcm "hw:1,0"
}
}

/etc/systemd/system/hermesledcontrol.service
Suggest using --hardware=googleAIY as a default

Expected behavior
A clear and concise description of what you expected to happen.
Should work out of the box :)
Audio will be from 3.5mm Pi jack unless hdmi monitor is being used
sudo raspi-config item 7, audio, force 3.5mm should be set

Logs
Get your logs at ~/ProjectAlice/var/logs

Paste your logs here

Alice version
Alpha, from .7z image install

Additional context
Add any other context about the problem here.
This has been tested using a PS#Eye web cam as a mic and also a generic usb audio adapter. This should make the most basic install work out of the box :)

@mjlill mjlill added the bug Something isn't working label Apr 4, 2020
@philipp2310
Copy link
Member

Two possibilities:
a) Add a dummy device to HLC without LEDs
b) extend yaml so the user can define what pins should be used

implemented a) but more tests needed.
b) Might be configurable via myHome Sat/AliceCore DeviceType to keep the yaml simple

@philipp2310 philipp2310 self-assigned this Aug 3, 2020
@philipp2310
Copy link
Member

fixed with a)
will move this as enhancement for implementing b) later

@philipp2310 philipp2310 added enhancement New feature or request and removed bug Something isn't working labels Aug 4, 2020
@philipp2310 philipp2310 changed the title Image install fails for usbmic (both Alice & satellite) HLC setup for generic devices and pin configuration Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants