Re: DEVFS, howto test creation of devices in /dev?
Hello For Device File System, Debian devfsd package, how might I test that devfsd properly creates files in /dev? Try hotplug and use usbview to see usb devices. I had same problem, after several tryes it worked (never understand why :-) David Dumortier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: DEVFS, howto test creation of devices in /dev?
Jameson C. Burt [EMAIL PROTECTED] writes: For Device File System, Debian devfsd package, how might I test that devfsd properly creates files in /dev? Does your kernel actually have devfs support? I believe the standard Debian kernel's don't, or at least don't have it enabled by default. Probably the easiest way to check is to cat /proc/mounts, and look for a line like 'none /dev devfs rw 0 0'. If you don't have devfs support, devfsd is pretty useless. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ Theoretical politics is interesting. Politicking should be illegal. -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
DEVFS, howto test creation of devices in /dev?
For Device File System, Debian devfsd package, how might I test that devfsd properly creates files in /dev? As a particular example, I work with the Debian camserv package, so I added to devfsd's configuration file, /etc/devfs/devfsd.conf the line, REGISTER ^v4l/video0$ CFUNCTION GLOBAL symlink v4l/video0 video0 When starting camserv, I get the not so specific error message, (V4L) video_open: No such file or directory Unfortunately, this message does not specify the problematic file, but I get neither the device /dev/v4l/video0 nor /dev/video0. So, with several possible sources for this error (camserv, devfsd, devfsd.conf), I would like to test that devfsd properly creates devices in /dev. For example, I would like some testing-tool that my command line *** some-testing-tool /dev/video0 would induce devfsd to consider devfsd.conf, then create the following device and link, /dev/v4l/video0 /dev/video0 -- v4l/video0 Such a testing-tool would hopefully induce devfsd to create any specified device, whether concerning video, audio, or mass-storage. *** Does anyone know of such a devfsd testing-tool? PS: I would address this question to a devfs email-list, but the author's email-list site, http://oss.sgi.com/projects/devfs/archive no longer exists, and I find no replacement. -- Jameson C. Burt, NJ9L Fairfax, Virginia, USA [EMAIL PROTECTED] http://www.coost.com (202) 690-0380 (work) msg26076/pgp0.pgp Description: PGP signature
Re: DEVFS, howto test creation of devices in /dev?
On Fri, Jan 24, 2003 at 09:02:40PM -0500, Jameson C. Burt wrote: For Device File System, Debian devfsd package, how might I test that devfsd properly creates files in /dev? As a particular example, I work with the Debian camserv package, so I added to devfsd's configuration file, /etc/devfs/devfsd.conf the line, REGISTER ^v4l/video0$ CFUNCTION GLOBAL symlink v4l/video0 video0 When starting camserv, I get the not so specific error message, (V4L) video_open: No such file or directory Unfortunately, this message does not specify the problematic file, but I get neither the device /dev/v4l/video0 nor /dev/video0. So, with several possible sources for this error (camserv, devfsd, devfsd.conf), I would like to test that devfsd properly creates devices in /dev. For example, I would like some testing-tool that my command line *** some-testing-tool /dev/video0 would induce devfsd to consider devfsd.conf, then create the following device and link, /dev/v4l/video0 /dev/video0 -- v4l/video0 On my computer devfs is mounted on /dev. To test creation of devices for my webcam, all I did was modprobe pwc and pwcx and then plug webcam into usb port. I did not modify any configuration file in /etc/devfsd. A simple ls -l /dev/v[4i]* verifies that /dev/video0 symlink and /dev/v4l/video0 were created when camera was plugged in. There should also be entries in /var/log/messages when the devices register and unregister. Such a testing-tool would hopefully induce devfsd to create any specified device, whether concerning video, audio, or mass-storage. *** Does anyone know of such a devfsd testing-tool? PS: I would address this question to a devfs email-list, but the author's email-list site, http://oss.sgi.com/projects/devfs/archive no longer exists, and I find no replacement. -- Jerome msg26086/pgp0.pgp Description: PGP signature