Re: AW: accessing bios from kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Weber Matthias wrote:
> Hi Arjan,
> 
> thanks for the fast reply. We use an industrial mainboard which offers
> access to general purpose IO (4xIn / 4xOut) via int 0x15. The
> Documentation describes that bios call as the only way to read and set
> those IOs.
> I tried lrmi but it crashes when i set eax exactly to the value needed.
> All other calls seem to work :(

I hope you've used the latest lrmi (0.10)... Have you compiled your
program/lrmi with LRMI_DEBUG set? This gives a bit more information in
case something's not right.

My experience is that it sometimes helps (cannot explain why...) to link
lrmi directly into your program instead of going via a .so file.
ie: gcc myprogram.c lrmi.c

Regards,
Philippe Seewer



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux