Hello,
First of all, I'm using FreeBSD 8.0
I read the manual and think that serial port belongs to sioX. I have scanned all my computers and can't see any sio in dmesg. Then I realized that, serial port may belong to uartX. Because the irq values seem to be same.
On machines acpi disables, I can't even see uart.
Can you please tell me this is correct or not? Is uart0, serial port?
I also can't find any /dev/ttyd*
In my C codes I think I must use 0x3f8 address to communicate my devices.
So what about /dev devices? There is no /dev/uart0. Can you tell me how can I find the serial port in /dev ?
Second question about usb. when I do dmesg | grep usb, I can't see machine address of usb ports. As 0x378 (paralel port). Can I communicate over usb with standard inb, outb functions? Or is there any other method (system calls, other functions, etc.) Can you give me a resource about programming usb in C.
Thank you.
First of all, I'm using FreeBSD 8.0
I read the manual and think that serial port belongs to sioX. I have scanned all my computers and can't see any sio in dmesg. Then I realized that, serial port may belong to uartX. Because the irq values seem to be same.
On machines acpi disables, I can't even see uart.
Code:
# dmesg | grep uart
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
Can you please tell me this is correct or not? Is uart0, serial port?
I also can't find any /dev/ttyd*
In my C codes I think I must use 0x3f8 address to communicate my devices.
So what about /dev devices? There is no /dev/uart0. Can you tell me how can I find the serial port in /dev ?
Second question about usb. when I do dmesg | grep usb, I can't see machine address of usb ports. As 0x378 (paralel port). Can I communicate over usb with standard inb, outb functions? Or is there any other method (system calls, other functions, etc.) Can you give me a resource about programming usb in C.
Thank you.