Hi,
nach einem Dist-Uprade von Rasbian auf buster kämpfe ich mich aktuell mühevoll durch die Wiederherstellung des Radios.
MPC läuft, Newtron-Script startet, Sound läuft... es könnte so wunderbar sein.
Der Touchscreen funktioniert allerdings nur solange bis ich die USB-Soundkarte anstecke
Dann reagiert er einfach nicht mehr. Wenn die Soundkarte entferne lässt er sich wieder bedienen.
Vielleicht hat jemand einen Tipp was ich vergessen / falsch konfiguriert habe.
Ich probier so viel Infos mitzugeben wie möglich...
lsusb:
Bus 001 Device 007: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 041e:30d3 Creative Technology, Ltd Sound Blaster Play!
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Auszug mpd.conf:
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:1" # optional
format "44100:16:2" # optional
mixer_device "hw:1" # optional
mixer_control "Speaker" # optional
mixer_index "0" # optional
}
Auszug newtron_radio.py
if not os.getenv('SDL_FBDEV'):
os.environ["SDL_FBDEV"] = "/dev/fb1"
if not os.getenv('SDL_MOUSEDEV'):
os.environ["SDL_MOUSEDEV"] = "/dev/input/event0"
if not os.getenv('SDL_MOUSEDRV'):
os.environ["SDL_MOUSEDRV"] = "TSLIB"
if not os.getenv("TSLIB_FBDEVICE"):
os.environ["TSLIB_FBDEVICE"] = os.getenv('SDL_FBDEV')
if not os.getenv("TSLIB_TSDEVICE"):
os.environ["TSLIB_TSDEVICE"] = os.getenv('SDL_MOUSEDEV')
Display More
ls -ltr /dev/input/
crw-rw---- 1 root input 13, 63 Apr 14 21:40 mice
crw-rw---- 1 root input 13, 64 Apr 14 21:40 event0
drwxr-xr-x 2 root root 60 Apr 14 21:40 by-id
crw-rw---- 1 root input 13, 32 Apr 14 21:40 mouse0
lrwxrwxrwx 1 root root 6 Apr 14 21:40 touchscreen -> event1
crw-rw---- 1 root input 13, 65 Apr 14 21:40 event1
drwxr-xr-x 2 root root 80 Apr 14 21:40 by-path
Wäre echt toll wenn mir jemand helfen könnte, danke 