Autor Thema: Devices not created in /dev  (Gelesen 37621 mal)

lajuette

  • Newbie
  • *
  • Beiträge: 39
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #15 am: August 22, 2009, 08:24:25 Nachmittag »
Hm i think i missed something before. lirc works now.

Thanks a LOT!

lajuette

  • Newbie
  • *
  • Beiträge: 39
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #16 am: August 23, 2009, 11:31:44 Vormittag »
Good morning everyone!

I did some testing:

  • REBOOT
  • mediaclient -e -> no output
  • MythTV can't find my tuner
  • /opt/bin/udevsrv ATTACH
  • mediaclient -e -> no output
  • REBOOT
  • mediaclient -e -> no output
  • /opt/bin/udevsrv DETACH
  • /opt/bin/udevsrv ATTACH
  • mediaclient -e -> Card DETECTED!
  • MythTV-backend restart: it still won't find the tuner
  • Unplug & plug it back in
  • mediaclient -e -> Card DETECTED
  • MythTV-backend restart: it DETECTS my tuners
  • lirc event-device wasn't created until now
  • Unplug the tuner again and wait 5 secs before plugging it back in
  • lirc works (after restarting the lirc daemon and listening clients)

Any ideas?
« Letzte Änderung: August 23, 2009, 11:53:38 Vormittag von lajuette »

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #17 am: August 23, 2009, 12:11:10 Nachmittag »
please note the difference between ATTACH and detach:

ATTACH pushes the update request into the background and sleeps several seconds before really triggering an update.

DETACH actually does the same, but without sleeping. So after both of them you should wait 5-10 seconds before checking if the devices are available.

We are about to update the installer in order to automatically recognize the device without having to replug the device, this is mainly a configuration issue.
Failure is a good thing! I'll fix it

lajuette

  • Newbie
  • *
  • Beiträge: 39
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #18 am: August 23, 2009, 12:44:23 Nachmittag »
Ah!

Where can i find documentation about your tools and about your driver? /opt/doc contains not much information and the forum does not contain a lot if info, too. Some information is a bit cluttered over multiple threads (luckily there are not so many of them!) There's no info on the website and no CD or any manuals in the package you send out.

It there a wiki?

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #19 am: August 23, 2009, 01:10:58 Nachmittag »
You shouldn't need to use those tools manually, we'll update the installer next week in order to automatically recognize the device after booting up.

Installation:
http://support.sundtek.de/index.php/topic,4.0.html

Installation for several applications:
http://support.sundtek.de/index.php/board,10.0.html

Since there are many different distributions available we did not print a manual yet but prefer to have it online and modify it whenever it's needed. If something does not work out, we'll give support for it and improve the driver installation.
Failure is a good thing! I'll fix it

lajuette

  • Newbie
  • *
  • Beiträge: 39
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #20 am: August 23, 2009, 01:54:29 Nachmittag »
Thank you.

I already read these topics. IF one has to troubleshoot the device it's always nice to have some documentation that's a little bit more detailed: which script does what, where does which application log to, and so on.

I believe it could help some users to deal with some problems themselves without bothering the Sundtec support.  ;)

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Devices not created in /dev
« Antwort #21 am: August 28, 2009, 12:37:44 Vormittag »
The 27th August Update fixed the lirc issue.

The installer places a udev script which tells lirc to restart when the device gets plugged in or the system boots up. So now only VDR needs to be restarted in order to detect the device after plugging in the device
Failure is a good thing! I'll fix it