1 2 [3] MLD-5.x / Systems / x86 Systeme (PC) / pass through sound setting with xineliboutput and softhddevice
 

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
pass through sound setting with xineliboutput and softhddevice
« Reply #30 on: January 17, 2018, 00:25:16 »
You musst add an aditional rule to the /lib/udev/rules.d/98-eventlircd-names.rules so that this events will be redirected to the VDR.
This lines should do that.
Code: [Select]
ATTRS{name}=="HOLTEK  AudioHub Speaker", \
  ENV{eventlircd_enable}="true"
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
pass through sound setting with xineliboutput and softhddevice
« Reply #31 on: January 17, 2018, 15:38:58 »
Hi Claus,
Unfortunately it didn't work, I even installed lirc ... still nothing.
Is lircd something else?
I think it won't work as i was expecting because that Audiohub works out of the box on Ubuntu because the hardware volume controls the system sound not VDR sound.
Since there is no system sound on MLD then it won't work ... am i right?

Offline MarMic

  • Administrator
  • Expert Member
  • ********
  • Posts: 4823
    • View Profile
pass through sound setting with xineliboutput and softhddevice
« Reply #32 on: January 17, 2018, 15:44:50 »
Hi Claus,
Unfortunately it didn't work, I even installed lirc ... still nothing.
Is lircd something else?
I think it won't work as i was expecting because that Audiohub works out of the box on Ubuntu because the hardware volume controls the system sound not VDR sound.
Since there is no system sound on MLD then it won't work ... am i right?

sure - I think you are right - audiohub controls the system volume in ubuntu.

But you should be able to map the evtest keys to volumeup/down events in vdr! but I have no idea how (evmap maybe?!)
-> I havent done something like this until yet.
SZVDR HD: Intel e5300@1,2ghz - Gigabyte GA-EP41-UD3L - 2GB ddr2 800 - Gainward G210 512mb - Silverstone LC16MR - DVBSky S952 - Astra 19,2 - MLD 5.4

WZVDR HD: Intel g1610@1,6ghz - Intel DH61BE - Scythe Big Shuriken 2 - 4GB ddr3 1333 - Asus GT610 1024mb - Chieftec Hi-Fi HM-02 - Tevii s480 - Astra 19,2 - MLD 5.4


Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
pass through sound setting with xineliboutput and softhddevice
« Reply #33 on: January 17, 2018, 15:57:28 »
I think i had the same issue with Kodi.
That Logitech USB Headset volume controls used to work fine with an older Kodi version while it doesn't respond using a newer version.

I don't know how to map the evtest keys too, i will try to google it later.

Thanks a lot for your help.

Best regards

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
pass through sound setting with xineliboutput and softhddevice
« Reply #34 on: January 18, 2018, 18:34:32 »
Hi,
I installed kodi today, the USB headset volume controls are working.
I noticed that the used kodi keymaps are in .xml format
The following keymaps are used
KEY_minus VolumeDown
KEY_plus VolumeUp
I don't see any minus or plus keys in VDR remote.conf
Is that why it doesn't work?

Online clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
pass through sound setting with xineliboutput and softhddevice
« Reply #35 on: January 19, 2018, 10:34:41 »
Yes, maybe. You can try the simple way, and add also the KEY_minus and KEY_plus to the /etc/vdr/remote.conf

The clean way would be to create a evmap file at /etc/eventlircd.d/ and activate it in the /lib/udev/rules.d/98-eventlircd-names.rules, that map this both events to the KEY_volumeup and KEY_volumedown event.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
pass through sound setting with xineliboutput and softhddevice
« Reply #36 on: January 20, 2018, 23:49:31 »
Hello,

I'm sorry for the trouble i caused, it was my fault as i was using custom remote.conf which i was using on my Ubuntu O.S  :(
Here is the needed keys for the USB volume controls

KBD.Volume+    000000000000002B
KBD.Volume-     000000000000002D
KBD.Mute          0000001B5B32307E

XKeySym.Volume+    KP_Add
XKeySym.Volume+    plus
XKeySym.Volume+    XF86AudioRaiseVolume
XKeySym.Volume-     KP_Subtract
XKeySym.Volume-     minus
XKeySym.Volume-     XF86AudioLowerVolume
XKeySym.Mute          XF86AudioMute

I figured it out while testing MLD v5.4.
lirc is not required and i don't have it installed.

Sorry again.

Edit: I unpacked vdr_2.2.0.213.8-214_amd64 today and it doesn't contain the XKeySym!
Which means that MLD 5.3 lacks the USB volume controls, If so then it wasn't my fault  :)
« Last Edit: January 21, 2018, 22:36:18 by gr4vity »

1 2 [3] MLD-5.x / Systems / x86 Systeme (PC) / pass through sound setting with xineliboutput and softhddevice
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.