Strange parport detection
Hi,
i'm using a LFS linux with udev version 0.57. All works fine except for the parport device that is not correctly rappresented in /dev. I have just looked in dmesg for the right assignament of the parallel port and all seems fine. In sysfs there is a "parport0" too. Then i have looked udev rules file and found this:
"KERNEL="parport[0-9]*", NAME="%k", GROUP="lp"
This is the standard file of LFS udev rules and searching around with google i have seen that it's widley used. Is it right? Or is a bug? Because i have tried to change the string above with this:
KERNEL="parport0", NAME="%k", GROUP="lp"
matching completly the name of the port.. and it's a mistake but parport0 dev node is now in /dev!
This is my dmesg when parport is loaded:
pnp: the driver 'parport_pc' has been registered
pnp: match found with the PnP device '00:07' and the driver 'parport_pc'
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
Thanks in advance for any support or fix :)
Sandro Latini
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Sandro Latini wrote to linux-hotplug-devel:
Quoted 3 lines
Hi,
i'm using a LFS linux with udev version 0.57.
[email protected] is a wrong list, please use [email protected] for LFS-specific questions. LFS uses its own version of udev rules, see
http://downloads.linuxfromscratch.org/udev-config-3.rules
BTW if you upgrade package versions, it's recommended that you follow the development version of the book. Most of time, that's the only difference between stable and development books. Also, bugs in the stable book, if any, will never be fixed.
Quoted 9 lines
All works fine except for
the parport device that is not correctly rappresented in /dev. I have just looked in dmesg for the right assignament of the parallel port and all seems fine. In sysfs there is a "parport0" too. Then i have looked udev rules file and found this:"KERNEL="parport[0-9]*", NAME="%k", GROUP="lp"
Works perfectly here with:
KERNEL="parport[0-9]*", GROUP="lp"
So the problem is definitely already resolved in the development version of the book. If that does not work for you, please mail to [email protected] .
Signature · 13 lines
Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel