Re: [Linuxptp-users] ptp4l doesn't recognize /dev/ptp0
> Just making the device node in the system does not instantiate the > actual device in the kernel. Only the device driver can do that. ptp driver is built into the kernel, if you are talking about it. I can see ptp in /proc/devices as well. But /dev/ptp0 device isn't present after startup. On Tue, Apr 24, 2018 at 5:30 PM, Richard Cochranwrote: > On Tue, Apr 24, 2018 at 01:35:29PM +0300, Yan Yankovskyi via > Linuxptp-users wrote: > > I use the following command: > > > > mknod /dev/ptp0 c 252 0 > > > > On ptp4l launch I'm getting the following error: > > > > Failed to open /dev/ptp0: No such device or address > > > > But it is actually present. Do you have any thoughts regarding this > > situation? > > Just making the device node in the system does not instantiate the > actual device in the kernel. Only the device driver can do that. > > HTH, > Richard > -- Best regards, Yan Yankovskyi | Junior Software Engineer, Ukraine GlobalLogic M +380.95.049.64.73 <+380950496473> Skype huandesale www.globallogic.com http://www.globallogic.com/email_disclaimer.txt -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users
Re: [Linuxptp-users] ptp4l doesn't recognize /dev/ptp0
On Tue, Apr 24, 2018 at 05:47:10PM +0300, Yan Yankovskyi wrote: > ptp driver is built into the kernel, if you are talking about it. > I can see ptp in /proc/devices as well. But /dev/ptp0 device isn't present > after startup. Just let systemd/udev/mdev/whatever create the device node for you. HTH, Richard -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users
Re: [Linuxptp-users] ptp4l doesn't recognize /dev/ptp0
On Tue, Apr 24, 2018 at 01:35:29PM +0300, Yan Yankovskyi via Linuxptp-users wrote: > I use the following command: > > mknod /dev/ptp0 c 252 0 > > On ptp4l launch I'm getting the following error: > > Failed to open /dev/ptp0: No such device or address > > But it is actually present. Do you have any thoughts regarding this > situation? Just making the device node in the system does not instantiate the actual device in the kernel. Only the device driver can do that. HTH, Richard -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users