Fix for USB analog modems

There is a problem that has been discussed here:
http://murga-linux.com/puppy/viewtopic.php?t=29291

What I have done is followed the advice in the forum thread and created symlinks of /dev/ttyUSB0 to /dev/usb/ttyUSB0. Also for /dev/ttyUSB1.

Then I went through the relevant "firmware tarballs" packages (well, that's only the pl2303 pkg, isn't it?) and changed the symlink /dev/modem to /dev/ttyUSB0.

Then I noticed that the 'cdcacm' firmware package has the same problem, with /dev/modem a link to /dev/input/ttyACM0, so I have employed the same solution.

In fact, we probably don't need symlinks, could just move those devnodes out of /dev/usb and /dev/input.

Posted on 29 Jul 2008, 19:48


Comments:

Posted on 30 Jul 2008, 2:22 by Prit1
Pritlog
Barry,
I rewrote a blog using the same architecture, idea, functionality and even the layout of PPLOG in PHP. You can see this at:
http://hardkap.com/pritlog/

I showed this to the creator of PPLOG and he liked this idea and mentioned that he wanted to write this in PHP also.


Posted on 30 Jul 2008, 7:37 by BarryK
Re: Pritlog
Fascinating.
It's interesting that the author of PPLOG was previously a PHP programmer, but he decided to write PPLOG in Perl.
Did you find it easy to translate Perl -> PHP?


Posted on 30 Jul 2008, 7:53 by Prit1
Re: Pritlog again
Barry,

Actually, I wrote most of it using my logic and coding as I felt best. I used PPLOG as the reference to get the basic idea for each functionality.
But in some places where I had difficulty getting it to work, I took the perl code and converted it into PHP. Yeah, It was easy to convert perl to php.


Posted on 30 Jul 2008, 9:32 by lobster
PSIP http://tmxxine.com/sip/psip-0.11.tar.gz
Well done Prithish.
Good to see a great idea as inspiration for
your PHP code