linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange parport detection
@ 2005-05-14 20:37 Sandro Latini
  2005-05-15  4:31 ` Alexander E. Patrakov
  0 siblings, 1 reply; 2+ messages in thread
From: Sandro Latini @ 2005-05-14 20:37 UTC (permalink / raw)
  To: linux-hotplug

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_id\x16281&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Strange parport detection
  2005-05-14 20:37 Strange parport detection Sandro Latini
@ 2005-05-15  4:31 ` Alexander E. Patrakov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander E. Patrakov @ 2005-05-15  4:31 UTC (permalink / raw)
  To: linux-hotplug

Sandro Latini wrote to linux-hotplug-devel:

>Hi,
>i'm using a LFS linux with udev version 0.57.
>
linux-hotplug-devel@lists.sourceforge.net is a wrong list, please use 
lfs-dev@linuxfromscratch.org 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.

>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 
lfs-dev@linuxfromscratch.org .

-- 
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_id\x16281&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-15  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-14 20:37 Strange parport detection Sandro Latini
2005-05-15  4:31 ` Alexander E. Patrakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).