Symlink to Modem Vanishes
Symlink to Modem Vanishes
am 30.05.2006 03:00:51 von heisspf
Hi,
Slackware 10.2 kernel 2.6.16
Why is it that the symlink /dev/modem to /dev/ttyS0 is gone when machine is
halted and has to be made again after rebooting?
I do not know when this started, definitely it did not happen before I got my
broadband connection a little over a year ago.
Thanks & regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Symlink to Modem Vanishes
am 31.05.2006 20:17:17 von chuck gelm net
Peter wrote:
>Hi,
>
>Slackware 10.2 kernel 2.6.16
>
>Why is it that the symlink /dev/modem to /dev/ttyS0 is gone when machine is
>halted and has to be made again after rebooting?
>
>I do not know when this started, definitely it did not happen before I got my
>broadband connection a little over a year ago.
>
>Thanks & regards
>
>
Hi, Peter:
....because it is removed during a boot?
Edit /etc/rc.d/rc.6 and put
ls -l /dev/modem [> /home/modem.txt]
ls -l /dev/ttyS0 [> /home/ttyS0.txt]
immediately in front of
'reboot' and 'halt' to see if it is still there immediately before.
It is a few lines from the bottom on my Slackware 10.2 - 2.4.31
Boot from a 'live CD' and see of the link is there to see if it is being
removed during a boot.
-or-
put "ln -s /dev/modem /dev/ttyS0" at the bottom of your /etc/rc.d/rc.local.
(did ^ ^ I get that right?)
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Symlink to Modem Vanishes
am 01.06.2006 09:25:19 von heisspf
Thanks!
chuck@gelm.net said:
> Edit /etc/rc.d/rc.6 and put
> ls -l /dev/modem [> /home/modem.txt]
> ls -l /dev/ttyS0 [> /home/ttyS0.txt] immediately in front of
> 'reboot' and 'halt' to see if it is still there immediately before.
It does not work. When rebooting or halting it says 'read file system only'
when it reaches those lines.
Anyhow symlink /dev/modem is removed when booting or halting.
chuck@gelm.net said:
> put "ln -s /dev/modem /dev/ttyS0" at the bottom of your /etc/rc.d/rc.local.
> (did ^ ^ I get that right?)
no, it's the other way around ln -s /dev/ttyS0 /dev/modem. Me too, I get it
always wrong the first time around.
I had put it there alrady.
Now
david@fierbaugh.org said: w/o copying the list
> This sounds like it may be a udev problem. Udev dynamically generates device
> nodes (/dev/###), and may be missing something. When you manually create a
> node, the next time you boot, it overwrites what you created. You have to
> setup udev to create the correct link.
> If this computer is more than a year old, it's likely that you updated from
> devfs to udev, perhaps without even knowing it (if your system does automatic
> updates.) Most of the problems I've seen with udev are on systems that have
> been updated from devfs to udev.
> I'm not a Slack user , but there's good reading on udev at the link below,
> just ignore the Gentoo specific stuff, and perhaps look for something similar
> for Slack. http://www.gentoo.org/doc/en/udev-guide.xml
> And on writing udev rules here: http://www.reactivated.net/writing_udev_rules.
> html
Guess he is right and the stuff he recommends is a little heavy for me. When
booting I see that udev is started.
Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Symlink to Modem Vanishes
am 01.06.2006 11:02:03 von heisspf
After further reading in the links David suggested I did a googel 'udev
/dev/modem'
and alas there are a lot of vanishing modems. And there was how to solve the
problem:
Short of putting ln /dev/ttyS0 /dev/modem into rc.local.
Quote
I finally found the recipe I needed in a ubuntu forum, using google. What I
needed was a file named 10-local.rules placed in the /sda3/etc/udev/rules.d
subdirectory. All the file needed was the line following:
KERNEL="ttyS1", SYMLINK="modem"
Now the modem node in the /dev directory doesn't vanish anymore.
Unquote
Will try it on next reboot
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Symlink to Modem Vanishes
am 02.06.2006 08:08:22 von heisspf
slackware 10.2 kernel 2.6.16
heisspf@skyinet.net indirectly said:
> What I needed was a file named 10-local.rules placed in the /sda3/etc/udev/
> rules.d subdirectory. All the file needed was the line following:
> KERNEL="ttyS0", SYMLINK="modem"
> Now the modem node in the /dev directory doesn't vanish anymore.
> Will try it on next reboot
It does not work, NAME="/dev/ttyS0" has to be added. However doing this then
there are no /dev/ttyS*. Symlink /dev/modem points to a non existing file.
Now I found that /dev/ttyS0 is a symlink to /dev/tts/0. So I changed
NAME="/dev/tts/0" with the effect that then there is no /dev/tts/0 but only 1,
2 and 3.
Now I am totally confused and back to rc.local command, ln -s /dev/ttyS0
/dev/modem.
Is there somebody to whom this males sense?
Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
images -> DVD-slideshow ?
am 02.06.2006 16:07:36 von chuck gelm net
Howdy:
What is your suggestion for an application that will convert
many (still) images into a DVD slideshow, perhaps with
background music? I've been trying to obtain image2mpeg
with varying sucess. I was able to get a version downloaded
and compiled. I created an image (stream.ppm), but there
seems to be no mention of how to get the output file onto a DVD.
If the output DVD is small, can it be placed on
a (650-700MB) CDROM and played on a standard DVD player?
If yes, how? 'growisofs' balks at writing to my CDROM media.
I am using Slackware v10.2 and understand *.tar.gz.
I am poorer at installing *.rpm, but will try if that is the only
offering of another application. *.deb, I don't know.
Regards, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 02.06.2006 17:44:19 von Hal MacArgle
On 06-02, chuck gelm wrote:
> Howdy:
>
> What is your suggestion for an application that will convert
> many (still) images into a DVD slideshow, perhaps with
> background music? I've been trying to obtain image2mpeg
> with varying sucess. I was able to get a version downloaded
> and compiled. I created an image (stream.ppm), but there
> seems to be no mention of how to get the output file onto a DVD.
>
> If the output DVD is small, can it be placed on
> a (650-700MB) CDROM and played on a standard DVD player?
> If yes, how? 'growisofs' balks at writing to my CDROM media.
>
> I am using Slackware v10.2 and understand *.tar.gz.
> I am poorer at installing *.rpm, but will try if that is the only
> offering of another application. *.deb, I don't know.
>
> Regards, Chuck
I really wish I could make a magic suggestion, as you have
done for me in the past, but my brain is in meltdown mode with this
stuff..
I haven't tried slide shows yet still stuck on editing
streaming video with two, partially successful, routes: Linux Video
Editor; http://lvempeg.sourceforge.net that compiles and installs
under Slack10.2, but I've not, yet, been able to figure out how to
actually edit videos, only preview.. It wont work with .avi files,
just .vob's that I've converted with videotrans' -M flag.. (You
discovered most that led up to this.) It, of course, requires a
bazillion libs that, in turn, require more libs.. LVE has a
DVDAuthoring-HOWTO that's interesting referring to many buzz words
we're now immersed in.. Of course videotrans can convert to non muxed
files; .mp2 and m2v..
Another much more powerful scheme I've installed is cinelerra:
www.cinelerra.org
the heroinewarrior.com version that only installs into FedoraCore 4,
but includes all the deps in the 30mB rpm package.. I tried cinelerra
tarball but never got it working under Slack10.2.. It's world class
and you can do everything with it including washing dishes I think..
It requires a .vob file too and I've been able to do some simple
editing but there are still many problems.. Work in progress with
both of them of course.. Warp hours per usual.. The blurb says that
cinelerra is "professional."
Cinelerra recommends Kino for blokes like me but I got nowhere with
it, especially since it's sort of designed for digital camera to
editor and back... The various codecs can drive one to drink too..
There are some tutorials about the diff between tarballs and rpm
files and how to convert one scheme to the other.. I can't find it
now--so what's new, eh??
Not much help, I know, but, just perhaps it might ring a bell
somewhere.. Best..
--
Hal - in Terra Alta, WV/US - Slackware GNU/Linux 10.1 (2.4.29)
..
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: Symlink to Modem Vanishes
am 03.06.2006 02:40:09 von heisspf
On Fri, 02 Jun 2006 14:08:22 +0800
Peter wrote:
> slackware 10.2 kernel 2.6.16
>
> heisspf@skyinet.net indirectly said:
> > What I needed was a file named 10-local.rules placed in the /sda3/etc/udev/
> > rules.d subdirectory. All the file needed was the line following:
>
> > KERNEL="ttyS0", SYMLINK="modem"
>
> > Now the modem node in the /dev directory doesn't vanish anymore.
>
> > Will try it on next reboot
>
> It does not work, NAME="/dev/ttyS0" has to be added. However doing this then
> there are no /dev/ttyS*. Symlink /dev/modem points to a non existing file.
>
> Now I found that /dev/ttyS0 is a symlink to /dev/tts/0. So I changed
> NAME="/dev/tts/0" with the effect that then there is no /dev/tts/0 but only 1,
> 2 and 3.
>
I finally solved it, the file /etc/udev/rules.d/10-local.rules reads now:
KERNEL="ttyS0",NAME="tts/0",SYMLINK="modem"
and after reboot this morning:
ls -l /dev/modem
lrwxrwxrwx 1 root root 5 2006-06-03 15:26 /dev/modem -> tts/0
and efax, vbox for which I need the modem mostly work.
Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 04.06.2006 03:56:21 von Bhikkhu Mettavihari
* Hal MacArgle [2006-06-04 07:40]:
> On 06-02, chuck gelm wrote:
> > Howdy:
> >
> > What is your suggestion for an application that will convert
> > many (still) images into a DVD slideshow, perhaps with
> > background music? I've been trying to obtain image2mpeg
> > with varying sucess. I was able to get a version downloaded
> > and compiled. I created an image (stream.ppm), but there
> > seems to be no mention of how to get the output file onto a DVD.
> >
> > If the output DVD is small, can it be placed on
> > a (650-700MB) CDROM and played on a standard DVD player?
> > If yes, how? 'growisofs' balks at writing to my CDROM media.
> >
> > I am using Slackware v10.2 and understand *.tar.gz.
> > I am poorer at installing *.rpm, but will try if that is the only
> > offering of another application. *.deb, I don't know.
> >
> > Regards, Chuck
>
> I really wish I could make a magic suggestion, as you have
> done for me in the past, but my brain is in meltdown mode with this
> stuff..
>
> I haven't tried slide shows yet still stuck on editing
> streaming video with two, partially successful, routes: Linux Video
> Editor; http://lvempeg.sourceforge.net that compiles and installs
> under Slack10.2, but I've not, yet, been able to figure out how to
> actually edit videos, only preview.. It wont work with .avi files,
> just .vob's that I've converted with videotrans' -M flag.. (You
> discovered most that led up to this.) It, of course, requires a
> bazillion libs that, in turn, require more libs.. LVE has a
> DVDAuthoring-HOWTO that's interesting referring to many buzz words
> we're now immersed in.. Of course videotrans can convert to non muxed
> files; .mp2 and m2v..
>
> Another much more powerful scheme I've installed is cinelerra:
> www.cinelerra.org
> the heroinewarrior.com version that only installs into FedoraCore 4,
> but includes all the deps in the 30mB rpm package.. I tried cinelerra
> tarball but never got it working under Slack10.2.. It's world class
> and you can do everything with it including washing dishes I think..
>
> It requires a .vob file too and I've been able to do some simple
> editing but there are still many problems.. Work in progress with
> both of them of course.. Warp hours per usual.. The blurb says that
> cinelerra is "professional."
>
> Cinelerra recommends Kino for blokes like me but I got nowhere with
> it, especially since it's sort of designed for digital camera to
> editor and back... The various codecs can drive one to drink too..
>
Lovely, lively,
It was indeed hard to get started.
There is a list on cinelerra where you could get much info.
There is a link to a slackware site on www.cinelerra.org
if you do "wget -r -np to that site" you should get most of the
dependencies. If you have any problems please email me privately on
mettavihari@gmail.com or ask on the cinelerra mailing list.
I have manged to get cinelerra up working (without the bottle);-)
And once you get on it then it is like opium.
You cannot get off it again.;-)
It really is pro.
I will have a look at lvempeg.sf.net
It sounds interesting and challenging
There is also a interface for making dvd's but i have not mastered yet.
May be in about 1-2 weeks I should be able to help.
Mettavihari
--
A saying of the Buddha from: http://metta.lk/
Streaming Dhamma Video from: http://dharmavahini.tv/
The craving of the heedless man grows like a Maluva (all entangling) creeper. He runs hither and thither (from one life to another) like a monkey in the forest looking for fruit.
Random Dhammapada Verse 334
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 04.06.2006 11:41:30 von chuck gelm net
Howdy, Fellows:
Thanks for the hints, but 'cinelerra' is much, much more
complex than what I want or need. Those suggestions
are video editors, movie editors, ...
All I want to do is make a slide show of my still images
and put them on a DVD, perhaps with background music,
to play on a television DVD player.
Again, thanks,
Chuck
Bhikkhu Mettavihari wrote:
>* Hal MacArgle [2006-06-04 07:40]:
>
>
>>On 06-02, chuck gelm wrote:
>>
>>
>>>Howdy:
>>>
>>>What is your suggestion for an application that will convert
>>>many (still) images into a DVD slideshow, perhaps with
>>>background music? I've been trying to obtain image2mpeg
>>>with varying sucess. I was able to get a version downloaded
>>>and compiled. I created an image (stream.ppm), but there
>>>seems to be no mention of how to get the output file onto a DVD.
>>>
>>>If the output DVD is small, can it be placed on
>>>a (650-700MB) CDROM and played on a standard DVD player?
>>>If yes, how? 'growisofs' balks at writing to my CDROM media.
>>>
>>>I am using Slackware v10.2 and understand *.tar.gz.
>>>I am poorer at installing *.rpm, but will try if that is the only
>>>offering of another application. *.deb, I don't know.
>>>
>>>Regards, Chuck
>>>
>>>
>> I haven't tried slide shows yet still stuck on editing
>>streaming video with two, partially successful, routes: Linux Video
>>Editor; http://lvempeg.sourceforge.net that compiles and installs
>>under Slack10.2, but I've not, yet, been able to figure out how to
>>actually edit videos, only preview.. It wont work with .avi files,
>>just .vob's that I've converted with videotrans' -M flag.. (You
>>discovered most that led up to this.) It, of course, requires a
>>bazillion libs that, in turn, require more libs.. LVE has a
>>DVDAuthoring-HOWTO that's interesting referring to many buzz words
>>we're now immersed in.. Of course videotrans can convert to non muxed
>>files; .mp2 and m2v..
>>
>>Another much more powerful scheme I've installed is cinelerra:
>>www.cinelerra.org
>>the heroinewarrior.com version that only installs into FedoraCore 4,
>>but includes all the deps in the 30mB rpm package.. I tried cinelerra
>>tarball but never got it working under Slack10.2.. It's world class
>>and you can do everything with it including washing dishes I think..The blurb says that
>>cinelerra is "professional."
>>
>>Cinelerra recommends Kino for blokes like me but I got nowhere with
>>it, especially since it's sort of designed for digital camera to
>>editor and back... The various codecs can drive one to drink too..
>>
>There is a list on cinelerra where you could get much info.
>
>There is a link to a slackware site on www.cinelerra.org
>It really is pro.
>
>I will have a look at lvempeg.sf.net
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 04.06.2006 11:49:12 von Christian Pedaschus
chuck gelm wrote:
> Howdy:
>
> What is your suggestion for an application that will convert
> many (still) images into a DVD slideshow, perhaps with
> background music? I've been trying to obtain image2mpeg
> with varying sucess. I was able to get a version downloaded
> and compiled. I created an image (stream.ppm), but there
> seems to be no mention of how to get the output file onto a DVD.
>
> If the output DVD is small, can it be placed on
> a (650-700MB) CDROM and played on a standard DVD player?
> If yes, how? 'growisofs' balks at writing to my CDROM media.
>
> I am using Slackware v10.2 and understand *.tar.gz.
> I am poorer at installing *.rpm, but will try if that is the only
> offering of another application. *.deb, I don't know.
>
> Regards, Chuck
I once had to create the same and decided to use mplayer/mencoder, as i
like to automate things if possible.
As a start:
#Create an uncompressed avi-file from all the PNG files in the current
directory (fps defines the time)
mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy
-o output.avi
#Now add sound using:
mencoder output.avi -audiofile audio.wav -oac copy -ovc copy -o
output_waudio.avi
#and now encode it into a dvd/svcd compliant format using:
13.6.5.1. PAL DVD
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf
scale=720:576,\
harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:\
vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:a codec=ac3:\
abitrate=192:aspect=16/9 -ofps 25 \
-o movie.mpg movie.avi
13.6.5.5. PAL SVCD
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minra te=600:\
vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \
-o movie.mpg movie.avi
You need to adjust the filenames as i just copied the stuff from the
mencoder manual, which you really should read, it's very interesting
and tells a lot of stuff about various video-formats.
Greets, Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 04.06.2006 19:10:23 von Hal MacArgle
> * Hal MacArgle [2006-06-04 07:40]:
> > Another much more powerful scheme I've installed is cinelerra:
> > www.cinelerra.org
> > the heroinewarrior.com version that only installs into FedoraCore 4,
> > but includes all the deps in the 30mB rpm package.. I tried cinelerra
> > tarball but never got it working under Slack10.2..
Update: Compiled, not without some warnings, to Slackware10.2
with the "test26.s" kernel, rather than the default 2.4.31, that
failed, previously..
So far it works very well for what I've tried and there have
been no surprises that I experienced with FC4.. My favourite
Slackware, to the rescue..
--
Hal - in Terra Alta, WV/US - Slackware GNU/Linux 10.1 (2.4.29)
..
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: images -> DVD-slideshow ?
am 04.06.2006 19:23:36 von Hal MacArgle
On 06-04, Bhikkhu Mettavihari wrote:
> Lovely, lively,
> It was indeed hard to get started.
> There is a list on cinelerra where you could get much info.
>
> There is a link to a slackware site on www.cinelerra.org
> if you do "wget -r -np to that site" you should get most of the
> dependencies. If you have any problems please email me privately on
> mettavihari@gmail.com or ask on the cinelerra mailing list.
Greetings and -- Appreciate!! Will try the above. Thanks..
Let me get some more time with the successfully compiled tarball on
Slackware10.2, test26.s kernel.. I'm sure I'll have some queries..
Didn't know there was a list. Missed that.. I was able to
fetch the 300, or so, pages of HTML docs.. Plenty of studying..
> I will have a look at lvempeg.sf.net
> It sounds interesting and challenging
Be __very__ interested in hearing if you are able to load a
file into it.. I sure missed something.. Trouble is; cinelerra spoils
one though..
> There is also a interface for making dvd's but i have not mastered yet.
> May be in about 1-2 weeks I should be able to help.
Burning DVD's that play on a stand alone consumer player not
a problem as Chuck and Ray figured out a few weeks ago.. At least
from captured .avi files, non edited..
Best,
--
Hal - in Terra Alta, WV/US - Slackware GNU/Linux 10.1 (2.4.29)
..
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs