how to create device files in FreeBSD 6

Bob Johnson fbsdlists at gmail.com
Tue Dec 20 07:05:40 PST 2005


On 12/20/05, Erik Norgaard <norgaard at locolomo.org> wrote:
> c.s.prakash wrote:
>
> > i have an external modem connected to serial port, i cant find any
> > deivce /dev/cuaa0 for serial port to connect,
> > and i cant able to create using mknod in /dev/ directory but i it is
> > possible in other directory, i did this as root.
> >
> > how can i create the device uing devfs,
>
> You shouldn't need to, devfs automatically updates /dev when new
> hardware is attached. It is likely that the correct driver isn't loaded.
>
> If the device driver is not compiled into the kernel then you can load a
> kernel module with kldload - assuming the device is supported.

I believe the serial driver is still enabled in the generic kernel. 
Perhaps, if you haven't built a custom kernel, you have the serial
port disabled in the BIOS settings?

If your serial port is actually a USB to serial converter, you will
need to load its driver.

- Bob


More information about the freebsd-questions mailing list