Re: detect I/O port

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

 



Jesper Juhl wrote:
On 08/11/06, Constantine Kousoulos <wuwei@xxxxxxxxxxx> wrote:
Hello,

Can somebody give me a hand? I want to find out at what I/O port a
specific linux driver works. How can i do that?


cat /proc/ioports



I'm trying to find out which port my sound driver uses. It is loaded as a module with the name 'snd_hda_intel'. I can't recognise it using the above command.

# cat /proc/ioports

0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0778-077a : parport0
0800-0803 : PM1a_EVT_BLK
0804-0805 : PM1a_CNT_BLK
0808-080b : PM_TMR
0810-0815 : ACPI CPU throttle
0820-0823 : GPE0_BLK
c800-c8ff : 0000:00:09.0
d000-d0ff : 0000:00:0f.0
d400-d407 : 0000:00:09.0
d480-d48f : 0000:00:0f.0
d800-d803 : 0000:00:0f.0
d880-d887 : 0000:00:0f.0
dc00-dc03 : 0000:00:0f.0
e000-e007 : 0000:00:0f.0
e080-e09f : 0000:00:10.3
  e080-e09f : uhci_hcd
e400-e41f : 0000:00:10.2
  e400-e41f : uhci_hcd
e480-e49f : 0000:00:10.1
  e480-e49f : uhci_hcd
e800-e8ff : 0000:00:12.0
  e800-e8ff : via-rhine
ec00-ec1f : 0000:00:10.0
  ec00-ec1f : uhci_hcd
fc00-fc0f : 0000:00:0f.1
  fc00-fc07 : ide0
  fc08-fc0f : ide1

How can i find the desired port?

Thanks,
Constantine



--
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