linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UDEV and new hardware?
@ 2005-10-19 21:36 raid517
  2005-10-20 17:35 ` Kay Sievers
  2005-10-20 17:50 ` raid517
  0 siblings, 2 replies; 3+ messages in thread
From: raid517 @ 2005-10-19 21:36 UTC (permalink / raw)
  To: linux-hotplug

Hi I installed a modem driver for the Intel Corporation 536EP Data Fax 
Modem. But in order to use it I need to create a link from it (it is 
called 536ep0 in /dev) to /dev/modem. I need to do this specifically so 
that KPPP can see it.

The only thing is that everything in /dev/ gets deleted and rebuilt each 
time I reboot.

I have been led to believe (rightly or wrongly) that it is udev that is 
responsible for this. So the question is how can I make a symlink from 
/dev/536ep0 to /dev/modem that will remain in place and will persist 
even after a reboot?

GJ


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread

* Re: UDEV and new hardware?
  2005-10-19 21:36 UDEV and new hardware? raid517
@ 2005-10-20 17:35 ` Kay Sievers
  2005-10-20 17:50 ` raid517
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2005-10-20 17:35 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Oct 19, 2005 at 09:36:51PM +0000, raid517 wrote:
> Hi I installed a modem driver for the Intel Corporation 536EP Data Fax 
> Modem. But in order to use it I need to create a link from it (it is 
> called 536ep0 in /dev) to /dev/modem. I need to do this specifically so 
> that KPPP can see it.
> 
> The only thing is that everything in /dev/ gets deleted and rebuilt each 
> time I reboot.
> 
> I have been led to believe (rightly or wrongly) that it is udev that is 
> responsible for this. So the question is how can I make a symlink from 
> /dev/536ep0 to /dev/modem that will remain in place and will persist 
> even after a reboot?

Try adding:
  KERNEL="536ep0", SYMLINK+="modem"

to a rules file in:
  /etc/udev/rules.d/

Kay


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread

* Re: UDEV and new hardware?
  2005-10-19 21:36 UDEV and new hardware? raid517
  2005-10-20 17:35 ` Kay Sievers
@ 2005-10-20 17:50 ` raid517
  1 sibling, 0 replies; 3+ messages in thread
From: raid517 @ 2005-10-20 17:50 UTC (permalink / raw)
  To: linux-hotplug

Thanks I will certainly give that a go - although in the end I just 
wrote a small bash script and had it create the symlink and then added 
this to my system startup scripts. This should hopefully survive and 
upgrades to Udev in the future too. (Although having the capacity to 
create persiant 'on the fly' symlinks in /dev (just as I used to be able 
to do) would still be neat too.

GJ

Kay Sievers wrote:

>On Wed, Oct 19, 2005 at 09:36:51PM +0000, raid517 wrote:
>  
>
>>Hi I installed a modem driver for the Intel Corporation 536EP Data Fax 
>>Modem. But in order to use it I need to create a link from it (it is 
>>called 536ep0 in /dev) to /dev/modem. I need to do this specifically so 
>>that KPPP can see it.
>>
>>The only thing is that everything in /dev/ gets deleted and rebuilt each 
>>time I reboot.
>>
>>I have been led to believe (rightly or wrongly) that it is udev that is 
>>responsible for this. So the question is how can I make a symlink from 
>>/dev/536ep0 to /dev/modem that will remain in place and will persist 
>>even after a reboot?
>>    
>>
>
>Try adding:
>  KERNEL="536ep0", SYMLINK+="modem"
>
>to a rules file in:
>  /etc/udev/rules.d/
>
>Kay
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>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
>
>
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2005-10-20 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 21:36 UDEV and new hardware? raid517
2005-10-20 17:35 ` Kay Sievers
2005-10-20 17:50 ` raid517

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).