Re: udev problems with cdev_add()

2008-02-15 Thread Greg KH
On Thu, Feb 14, 2008 at 01:18:59PM -0500, tommy wrote: > Hi, > I'm having trouble getting udev to create a device node in /dev/, the > init_module() code is below, the kernel loads the module fine, any > help/ideas would be much appreciated.. cdev_add does not create anything in /sys which is wha

Re: udev problems with cdev_add()

2008-02-14 Thread tommy
Thomas Petazzoni wrote: > Le Thu, 14 Feb 2008 13:18:59 -0500, > tommy <[EMAIL PROTECTED]> a écrit : > >> I'm having trouble getting udev to create a device node in /dev/, the >> init_module() code is below, the kernel loads the module fine, any >> help/ideas would be much appreciated.. > > Quick

Re: udev problems with cdev_add()

2008-02-14 Thread Thomas Petazzoni
Le Thu, 14 Feb 2008 13:18:59 -0500, tommy <[EMAIL PROTECTED]> a écrit : > I'm having trouble getting udev to create a device node in /dev/, the > init_module() code is below, the kernel loads the module fine, any > help/ideas would be much appreciated.. Quick suggestion: run "udevmonitor --env"

udev problems with cdev_add()

2008-02-14 Thread tommy
Hi, I'm having trouble getting udev to create a device node in /dev/, the init_module() code is below, the kernel loads the module fine, any help/ideas would be much appreciated.. TIA. Cheers. mars char # insmod char.ko ; dmesg char: char_init_module() char: registered char 253,0 mars char #