<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><span style="font-family: times new roman,new york,times,serif;">Salut,</span><br style="font-family: times new roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">Am urmatoarea problema si nu reusesc sa ii dau de capat:</span><br style="font-family: times new roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><span style="font-family: times new roman,new york,times,serif;">In handler-ul pentru ioctl activez bitul ERDAI (</span><font style="font-family: times new roman,new york,times,serif;" face="ARIAL">Enable Received Data Available Interrupt) din registrul IER dar totusi nu primesc nici o intrerupere.<br></font><font style="font-family: times new roman,new york,times,serif;"
face="ARIAL">Pasi pe care i-am urmat pentru configurarea uart-ului sunt cei din link-ul din tema [1]</font><span style="font-family: times new roman,new york,times,serif;">.</span><br style="font-family: times new roman,new york,times,serif;"><br style="font-family: times new roman,new york,times,serif;"><font style="font-family: times new roman,new york,times,serif;" face="ARIAL">In handler-ul de interupere am pus un printk dar aceasta nu afiseaza nimic nici daca rulez tester-ul nici daca incarc manual modulul creez device-urile /dev/uart* si fac un echo in ele.<br>Deasemenea am verificat si interuperile apar in /proc/iterrupts iar porturile in /proc/ioports.<br>Am incerca sa mut secventa de configurare cu uart din handler-ul ioct in init sau in open dat tot fara success.<br><br>Testarea o fac pe masina viruala de pe site.<br><br>Any Ideas ?<br><br>Vlad<br><br>[1]
http://retired.beyondlogic.org/serial/serial1.htm#33<br><br><br></font></div></body></html>