linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* serial_cs, setserial and UDEV
@ 2006-04-21 22:02 Jens Glaser
  2006-04-21 22:24 ` Marco d'Itri
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jens Glaser @ 2006-04-21 22:02 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I have a Merlin U630 UMTS modem, which is a PCMCIA card providing a serial
port. It is handled by the serial_cs driver, which is attached to
the serial device /dev/ttyS1. I want to set a
specific option when the serial_cs module is loaded, so I have this file
called setserial in /etc/modprobe.d:

install serial_cs /sbin/modprobe --ignore-install serial_cs; setserial
/dev/ttyS1 low_latency 2>&1 | logger -p user.info

However, the log entry gives:
Apr 22 00:00:19 debian logger: /dev/ttyS1: No such file or directory

The problem seems to be that UDEV creates the device /dev/ttyS1 only AFTER
the whole modprobe command has finished. How can I execute the
setserial command after after device creation?

Thanks for tips,
Kind regards,
Jens.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2006-04-22 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 22:02 serial_cs, setserial and UDEV Jens Glaser
2006-04-21 22:24 ` Marco d'Itri
2006-04-21 22:59 ` Jens Glaser
2006-04-22  6:36 ` Andrey Borzenkov
2006-04-22 11:48 ` Jens Glaser

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