PDA

View Full Version : [ViX_Misc] Omnikey



lincsat
23-05-15, 15:23
Are Omnikeys supported currently on Hades?

I just get the "PCSC failed establish context (8010001d)" and cannot open device message. Using the OScam with PCSC from the feed

rossi2000
23-05-15, 15:52
yes, it should of installed the required dependencies when u installed it.

pcsc_scan should work to detect your omnikey

lincsat
23-05-15, 20:07
pcsc_scan: not found

There was a package installed with the OScam, don't remember exactly what it was. Is there a setting to activate the PCSC driver like with other images?

lincsat
24-05-15, 00:20
OK, problem appears to be that the PCSC daemon isn't running, it can be started manually by


pcscd -start

Without being able to find a particular setting to autostart within the settings, I decided to setup a cron event to start the daemon every 2 minutes which works. Didn't want to mess with the startup within Enigma

rossi2000
24-05-15, 00:26
thanks, will look at a fix

lincsat
22-06-15, 03:23
A better fix I found is to create a script for the RC startup and set it low down. I created a S60pcscd.sh and put it in /etc/rcS.d/ with the contents



#!/bin/sh
#
/usr/sbin/pcscd -start

The PCSC daemon now starts OK at bootup

rossi2000
22-06-15, 09:24
hmm that was fixed.
https://github.com/oe-alliance/oe-alliance-core/commit/fb136f6fcbd23d87739842b6800706e322f80c63

lincsat
22-06-15, 12:57
May be my eyes but that diff looks like you have put back in exactly what you have removed.

I did an update to the latest build and checked pcscd, it wasn't running. I will try to get time to do a totally fresh download and check that.

rossi2000
22-06-15, 13:18
yep becuase

fix line-endings in init script, that caused init fail to start.

lincsat
22-06-15, 13:52
OK, on my non-autostarting 013 image, I manually installed pcsc-lite_1.8.8-r4_mips32el.ipk it removed some dead links and installed some new start links as part of the installation process and now the daemon starts OK. Looks like just upgrading the image from previous was not enough, it needed the pcsc-lite and associated links doing separately.

rossi2000
22-06-15, 14:01
hmm right so during the upgrade process this isnt happening?

lincsat
22-06-15, 15:20
Just tried it on another box and when re-installing the pcsc-lite, it installs a different (smaller) pcscd in /etc/init.d

So it may not necessarily have been the links, could have been it didn't update the pcscd