Communicating with USB Modem

2010-10-09 Thread Hal Vaughan
I have a Debian Lenny system and I've plugged in a USB 56K modem.  (I know 
that's as outdated as a Model T, but I need it for business.)  When I type "cat 
/proc/bus/usb/devices" I get this:

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.26-2-686 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 2.06
S:  Manufacturer=Linux 2.6.26-2-686 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=047e ProdID=2892 Rev= 2.00
S:  Manufacturer=Agere Systems
S:  Product=Agere USB2.0 V.92 SoftModem
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
E:  Ad=02(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=01(Isoc) MxPS=  32 Ivl=1ms
E:  Ad=02(O) Atr=01(Isoc) MxPS=  32 Ivl=1ms
I:  If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=16ms

From what I can find, that means the actual device file for this modem should 
be at /dev/bus/usb/001/002, but I know I could be wrong on that.

I'm trying to communicate with this modem.  I've used Minicom, with the device 
I mentioned above.  There are no /dev/ttyACM0 devices, as sometimes happens 
with a modem.  I've tried all /dev/ttySx, where x is from 0 to 4, with no 
results.  The problem with Minicom is that it can take time and a lot of 
frustrating keypresses to try one device after another.  Also, I'm not sure the 
serial port speed settings are at all appropriate in Minicom for USB modems.

I was also trying a Perl program that would simply fork, have the parent open 
the device for reading and listen, then the child would open the same device 
for writing and send "ATZ" through to the device, then I could watch for a 
response -- but then when I tried it on a system with a serial port where I 
knew the device was /dev/ttyS0, it didn't work, so maybe there's a problem with 
the program.  (I don't want to post a full Perl program here, since this isn't 
a Perl board that focuses on debugging Perl.)

This is a test situation, so I can't be sure the modem works with Linux, but I 
would think if it's external and USB, it would have to accept serial commands 
sent over the USB port.  I could be wrong on this, of course.

So here's the questions:

1) What device should I be able to write to and read from to connect to this 
modem?

2) Any suggestions on how to write to and read from the device?  (Write to it 
in Perl or use echo in bash -- but then how do I read to see results?)

3) Any other ideas or suggestions on how to control and use this modem in Linux 
(without going into C or C++)?


Thanks for any help on this!



Hal

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/8f2308b6-5559-40d6-a963-dd1582010...@halblog.com



Re: Communicating with USB Modem

2010-10-09 Thread Ron Johnson

On 10/09/2010 02:21 AM, Hal Vaughan wrote:

I have a Debian Lenny system and I've plugged in a USB 56K modem.  (I know that's as 
outdated as a Model T, but I need it for business.)  When I type "cat 
/proc/bus/usb/devices" I get this:

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 8
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0

[snip]

E:  Ad=82(I) Atr=03(Int.) MxPS=  16 Ivl=16ms

 From what I can find, that means the actual device file for this modem should 
be at /dev/bus/usb/001/002, but I know I could be wrong on that.

I'm trying to communicate with this modem.  I've used Minicom, with the device 
I mentioned above.  There are no /dev/ttyACM0 devices, as sometimes happens 
with a modem.  I've tried all /dev/ttySx, where x is from 0 to 4, with no 
results.  The problem with Minicom is that it can take time and a lot of 
frustrating keypresses to try one device after another.  Also, I'm not sure the 
serial port speed settings are at all appropriate in Minicom for USB modems.



Anything in dmesg or syslog when you plug it in?

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb0252a.3040...@cox.net



Re: Communicating with USB Modem

2010-10-09 Thread Brad Rogers
On Sat, 9 Oct 2010 03:21:36 -0400
Hal Vaughan  wrote:

Hello Hal,

> I have a Debian Lenny system and I've plugged in a USB 56K modem. 

From  (the Linux Documentation
Project) comes this;


2.9 USB Modems

USB = Universal Serial Bus. Most USB modems are winmodems, so many will
not work...

Unless, of course, you know that this particular device should work with
Linux.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Two sides to every story
Public Image - Public Image Ltd


signature.asc
Description: PGP signature


Re: Debian-installer crashes

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 00:54:59 -0300, Marcelo Laia wrote:

>> Try with weakly (not daily) debian.iso Daily have bugs sometimes.
>> And off course check MD5sum and burn iso on lowest speed.
> 
> I have the weakly version and MD5sum is OK.
> 
> I burn a new DVD in a lowest speed and the problem persists.
> 
> When the installer is on Configuring APT, the red bar shows 25% and
> crashes on "executing cdset..."
> 
> This is a bug!

Then you can follow the recommended steps to getting additional 
information about the crash:

5.4. Troubleshooting the Installation Process
http://d-i.alioth.debian.org/manual/en.i386/ch05s04.html#submit-bug

Or you can try with another medium. Network images or CD, for example.

Greeting,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.09.43...@gmail.com



Re: Issue with fast-user-switcher-applet

2010-10-09 Thread Paul Cartwright
On Wed September 29 2010, Peter Tenenbaum wrote:
> Second:  is there a command I can use at the command line to switch between
> multiple users who are logged in and running gnome, without the need of
> passwords?  In other words, I'd like to replicate the FUSA functionality
> with a linux command if possible.  We really only have 2 accounts here
> (mine and my wife's), so I could put a shortcut on her menus or desktop
> which switches to me, and one on mine which switches to her.

you need to be aware that it may NOT always be F7-F8.. right now mine is F8 & 
F11.. I was F7, but I logged out, logged in guest as F9, logged me in/out & 
ended up me being F11..
I was trying to recall there was supposed to be a command that allowed it to 
always use F7
deallocvt 7

but either it didn't work, or I did it wrong..
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201010090613.34382.deb...@pcartwright.com



Howto add autostartup applications

2010-10-09 Thread Johan

Good day,

On the internet I was informed to use update-rc.d.

According the man page..:
EXAMPLES
  Insert links using the defaults:
 update-rc.d foobar defaults

This is what I get..:

unknown001e33032a68:/home/johan# whereis gkrellm
gkrellm: /usr/bin/gkrellm /usr/share/man/man1/gkrellm.1.gz

unknown001e33032a68:/home/johan# update-rc.d /usr/bin/gkrellm defaults
update-rc.d: /etc/init.d//usr/bin/gkrellm: file does not exist

unknown001e33032a68:/home/johan#  update-rc.d gkrellm defaults
update-rc.d: /etc/init.d/gkrellm: file does not exist

unknown001e33032a68:/home/johan#

Please what is wrong.
Thanks
Johan






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb0494d.4030...@telkomsa.net



Re: Howto add autostartup applications

2010-10-09 Thread Timo Juhani Lindfors
Johan  writes:
> On the internet I was informed to use update-rc.d.

That is not suitable for programs that run as normal user. It is meant
only for programs that are specifically meant to be run in the background.

Are you using GNOME?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84pqvjfx4a@sauna.l.org



Re: Howto add autostartup applications

2010-10-09 Thread Johan

Timo Juhani Lindfors wrote:

Johan  writes:
  

On the internet I was informed to use update-rc.d.



That is not suitable for programs that run as normal user. It is meant
only for programs that are specifically meant to be run in the background.

Are you using GNOME?


  

Yes I use Gnome


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb04cc8.9050...@telkomsa.net



Re: Howto add autostartup applications

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 12:51:57 +0200, Johan wrote:

> On the internet I was informed to use update-rc.d.

(...)

For starting "gkrellm" when booting? :-?

Applications are not services. 

You can launch "gkrellm" by going to "system → prefs → sessions → 
startup" and adding a new entry that points to the binary "/usr/bin/
gkrellm".

If you are using another desktop different than GNOME your mileage may 
vary.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.11.07...@gmail.com



Re: Howto add autostartup applications

2010-10-09 Thread Johan

Camaleón wrote:

On Sat, 09 Oct 2010 12:51:57 +0200, Johan wrote:

  

On the internet I was informed to use update-rc.d.



(...)

For starting "gkrellm" when booting? :-?

Applications are not services. 

You can launch "gkrellm" by going to "system → prefs → sessions → 
startup" and adding a new entry that points to the binary "/usr/bin/

gkrellm".

If you are using another desktop different than GNOME your mileage may 
vary.


Greetings,

  

Thanks. Johan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb04fff.4070...@telkomsa.net



Re: Communicating with USB Modem

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 03:21:36 -0400, Hal Vaughan wrote:

> I have a Debian Lenny system and I've plugged in a USB 56K modem.  (I
> know that's as outdated as a Model T, but I need it for business.)  When
> I type "cat /proc/bus/usb/devices" I get this:

(...)

As Ron suggested, better look at dmesg messages.

- If the device is not detected, it will (not) be there.

- If the device is detected but has problems for being setup, it will be 
there.

- If the device is properly detected and configured, it will also be 
there.

> From what I can find, that means the actual device file for this modem
> should be at /dev/bus/usb/001/002, but I know I could be wrong on that.

USB modems should fall under "/dev/ttyUSB0"

> I'm trying to communicate with this modem.  I've used Minicom, with the
> device I mentioned above.  There are no /dev/ttyACM0 devices, as
> sometimes happens with a modem.  I've tried all /dev/ttySx, where x is
> from 0 to 4, with no results.  The problem with Minicom is that it can
> take time and a lot of frustrating keypresses to try one device after
> another.  Also, I'm not sure the serial port speed settings are at all
> appropriate in Minicom for USB modems.

Don't go nuts with this. Just plug the modem, open a console, type "dmesg 
| grep -i usb" and put the result here (for very long logs, upload the 
result to "www.pastebin.com" or any service like that) :-)
 
Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.11.24...@gmail.com



a data rate threshold tool?

2010-10-09 Thread Zhang Weiwu
Hello. I found my application, which was supposed to run 10 hours,
either run and starve every other service on it, or doesn't run at all.
Even with nice and ionice, I cannot avoid other web services starved by
this application. And it has to run on the production server.

One trick that comes to my mind is to use a data rate threshold tool to
limit the data rate input is fed to the application.

$ threshold --rate 20KB/s < data_source | my_greedy_application

Is there such a tool in Debian?

Thanks. Running Debian 5.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb05732.1000...@realss.com



Re: Re: Debian-installer crashes

2010-10-09 Thread Marcelo Laia
> Then you can follow the recommended steps to getting additional
> information about the crash:
>
> 5.4. Troubleshooting the Installation Process
> http://d-i.alioth.debian.org/manual/en.i386/ch05s04.html#submit-bug
>
> Or you can try with another medium. Network images or CD, for example.

I will not filled a bug report because this is a weekly version. So, I
hope that in the next week it is covered.

I bypass this problem starting the installation with a old version
(2009) and add the newest dvd when prompted me.

I have a little problem with GRUB2, because old version use GRUB 0.9.
I bypass it in part (UUII problem).

I install the minimal system and now I am searching a workaround to
put my Atheros wireless up. I need wpasupplicant and all deps (I am
looking for a way to download all deps together). I will try to modify
/etc/network/interfaces. My AP use wpa2 passphrase. This issues is
welcome because it is an opportunity to upgrade my knowledge. :)

Thank you very much!

A good weekend!

-- 
Marcelo Luiz de Laia
www.ufvjm.edu.br/floresta
Diamantina - MG - Brasil (Brazil)
Linux user number 487797


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimqgwqi0zndnza9pr+tdwooxqn0ucph6xqc-...@mail.gmail.com



Re: a data rate threshold tool?

2010-10-09 Thread John Hasler
Please tell us exactly what your application does, what you mean by
"data rate", and what your "data_source" is.  It sounds like the problem
is a bug in your application.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87lj67368a@thumper.dhh.gt.org



Re: a data rate threshold tool?

2010-10-09 Thread Chris Jackson

Zhang Weiwu wrote:

> > Hello. I found my application, which was supposed to run 10 hours,
> > either run and starve every other service on it, or doesn't run at all.
> > Even with nice and ionice, I cannot avoid other web services starved by
> > this application. And it has to run on the production server.
> >
> > One trick that comes to my mind is to use a data rate threshold tool to
> > limit the data rate input is fed to the application.
> >
> > $ threshold --rate 20KB/s < data_source | my_greedy_application
> >
> > Is there such a tool in Debian?


I don't know about a tool, but assuming it's not important that the rate
is precise as long as it's somewhere about right, a simple perl script
will do it. You can probably do similar things with python etc.

The following takes a rate in bytes a second and optionally a block size
in bytes, and writes a block of data at the appropriate interval (no
--rate - so if you save it as "threshold" invoke it as threshold 20480
  - for 20kB/s). Default block size is 1k. Note that I only just wrote
it, so YMMV and take it as an example for experimentation ;) Should be
fairly obvious how it works; note it'll do silly things if you give it
silly arguments, in particular very large block sizes.

-- start of script

#!/usr/bin/perl

use strict;
use warnings;

use Time::HiRes qw(sleep);

my $rate=$ARGV[0];
if(!$rate) {
   print STDERR "No rate given\n";
   exit 1;
}

my $block_sz=$ARGV[1];
$block_sz=1024 unless $block_sz;

my $delay=$block_sz/$rate;

my $bytes;
my $nbytes;
while($nbytes=sysread STDIN, $bytes, $block_sz) {
   while($nbytes) {
 my $wbytes=syswrite STDOUT, $bytes, $nbytes;
 if(!defined($wbytes)) {
   print STDERR "error writing: $!\n";
   exit 1;
 }
 $nbytes-=$wbytes;
   }
   sleep($delay);
}

if(!defined($nbytes)) {
   print STDERR "error reading: $!\n";
   exit 1;
}

exit 0;

-- end of script

--
Chris Jackson
Shadowcat Systems Ltd.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb066fc.30...@shadowcat.co.uk



Re: a data rate threshold tool?

2010-10-09 Thread Timo Juhani Lindfors
Zhang Weiwu  writes:
> $ threshold --rate 20KB/s < data_source | my_greedy_application

pv --rate-limit 20k < data_source | my_greedy_application


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84iq1bfped@sauna.l.org



Re: Installing BSD on DomU Debian Dom0 XEN server

2010-10-09 Thread Yuriy Kuznetsov
Hi All,

I wonder whether it's possible to install FreeBSD on DomU on Dom0
Debian XEN server.
If some one has completed successful installation of above I would
like to know in what way it can be done.

Thanks a lot,
Yuriy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktino16vdciuvp_czkfj6tnvlzzlafryh32a6o...@mail.gmail.com



how to enable sound

2010-10-09 Thread abdelkader belahcene
Hi,
I am using squeeze
I tried to enable the login sound,
cnaberra is installed,
It is done (on the same machine !!)  in ubuntu without problem, but not on
debian, I ot this  error :


canberra-gtk-play -f  t/usr/share/sounds/sabily/desktop-login.ogg
Failed to play sound: Sound disabled

I can hear the sound, and play different codecs ( avi, mp3 )


I tried   to activate ( I suppose it disable, although I can paly sound
) the sound  from theme in gnome-preferences-sound,
but it is grayed no possiblity to do it!!!

thanks for help


Re: Disable IPv6

2010-10-09 Thread Adam Hardy

James Brown on 08/10/10 08:11, wrote:

Just a quick question - can I disable IPv6 for my whole machine?

"
You can disable IPv6 system-wide by editing your module configuration
file. This is usually one of /etc/modprobe.conf or
/etc/modprobe.d/aliases, depending on your distro. Remove any references
to IPv6 and add these two lines.

alias net-pf-10 off
alias ipv6 off
"

Is that going to do the job fine for lenny?

>>>

What is your distro, your kernel?
For lenny's kernel 2.6.26 you can include the file ipv6.conf into the
directory /etc/modprobe.d with the next content:
blacklist ipv6
For the next versions of kernel (i.e. 2.6.32) you can include the words
"ipv6.disable=1" into /boot/grub/menu.lst such as the next:
kernel  /boot/vmlinuz-2.6.32-bpo.5-amd64
root=UUID=x ipv6.disable=1 ro
Or compile your own kernel without ipv6 from sources.



OK so do I have a choice here? I can change /etc/modprobe.d/aliases and I can 
change /etc/modprobe.d/ipv6.conf


In /etc/modprobe.d/aliases there is a header with the warning

"
# Please file a bug against module-init-tools if a package needs a entry
# in this file.
"

I'm just about to reboot now so if I'm lucky this will be my only question - 
hopefully it won't break anything. I can't think of anything I'm running that I 
know needs IPv6.


Thanks
Adam


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb08645.6020...@cyberspaceroad.com



Re: Communicating with USB Modem

2010-10-09 Thread Hal Vaughan

On Oct 9, 2010, at 7:24 AM, Camaleón wrote:

> On Sat, 09 Oct 2010 03:21:36 -0400, Hal Vaughan wrote:
> 
>> I have a Debian Lenny system and I've plugged in a USB 56K modem.  (I
>> know that's as outdated as a Model T, but I need it for business.)  When
>> I type "cat /proc/bus/usb/devices" I get this:
> 
> (...)
> 
> As Ron suggested, better look at dmesg messages.
> 
> - If the device is not detected, it will (not) be there.
> 
> - If the device is detected but has problems for being setup, it will be 
> there.
> 
> - If the device is properly detected and configured, it will also be 
> there.
> 
>> From what I can find, that means the actual device file for this modem
>> should be at /dev/bus/usb/001/002, but I know I could be wrong on that.
> 
> USB modems should fall under "/dev/ttyUSB0"

There's no /dev/ttyUSB0.  Just the usual /dev/tty and the same with 0-63 on the 
end and /dev/ttyS0 through S3.  I tried all of them and all the possible USB 
devices in that directory.

>> I'm trying to communicate with this modem.  I've used Minicom, with the
>> device I mentioned above.  There are no /dev/ttyACM0 devices, as
>> sometimes happens with a modem.  I've tried all /dev/ttySx, where x is
>> from 0 to 4, with no results.  The problem with Minicom is that it can
>> take time and a lot of frustrating keypresses to try one device after
>> another.  Also, I'm not sure the serial port speed settings are at all
>> appropriate in Minicom for USB modems.
> 
> Don't go nuts with this. Just plug the modem, open a console, type "dmesg 
> | grep -i usb" and put the result here (for very long logs, upload the 
> result to "www.pastebin.com" or any service like that) :-)

As you and Ron suggested.  It's the last device.  No errors, and remember it 
showed up in /proc/bus/usb/devices and looked okay (I numbered the lines in the 
output from grep):

235:[1.849802] usbcore: registered new interface driver usbfs
236:[1.849824] usbcore: registered new interface driver hub
237:[1.849848] usbcore: registered new device driver usb
238:[1.853655] USB Universal Host Controller Interface driver v3.0
243:[1.854354] uhci_hcd :00:1d.0: new USB bus registered, assigned bus 
number 1
245:[1.854438] usb usb1: configuration #1 chosen from 1 choice
246:[1.854455] hub 1-0:1.0: USB hub found
251:[1.956563] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
252:[1.956566] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
253:[1.956567] usb usb1: Product: UHCI Host Controller
254:[1.956569] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
255:[1.956570] usb usb1: SerialNumber: :00:1d.0
260:[1.956976] ehci_hcd :00:1d.7: new USB bus registered, assigned bus 
number 2
263:[1.968481] ehci_hcd :00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 
Dec 2004
264:[1.968538] usb usb2: configuration #1 chosen from 1 choice
265:[1.968555] hub 2-0:1.0: USB hub found
269:[2.072362] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
270:[2.072364] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
271:[2.072366] usb usb2: Product: EHCI Host Controller
272:[2.072367] usb usb2: Manufacturer: Linux 2.6.26-2-686 ehci_hcd
273:[2.072369] usb usb2: SerialNumber: :00:1d.7
281:[2.196626] usb 1-1: new full speed USB device using uhci_hcd and 
address 2
282:[2.347904] usb 1-1: not running at top speed; connect to a high speed 
hub
283:[2.352211] usb 1-1: configuration #1 chosen from 1 choice
285:[2.485485] usb 1-1: New USB device found, idVendor=047e, idProduct=2892
286:[2.485488] usb 1-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
287:[2.485490] usb 1-1: Product: Agere USB2.0 V.92 SoftModem
288:[2.485491] usb 1-1: Manufacturer: Agere Systems


Thanks!



Hal

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/39759fa6-1dfb-46ea-93cc-a2572dddc...@halblog.com



Re: a data rate threshold tool?

2010-10-09 Thread green
Zhang Weiwu wrote at 2010-10-09 05:51 -0600:
> One trick that comes to my mind is to use a data rate threshold tool to
> limit the data rate input is fed to the application.
> 
> $ threshold --rate 20KB/s < data_source | my_greedy_application
> 
> Is there such a tool in Debian?

If you want to control network usage, you could try trickle.


signature.asc
Description: Digital signature


Re: 2 identical GSM-modem discern.

2010-10-09 Thread Sthu Deus
Thank You for Your time and answer, Jasper:

> In your example you miss a space before the ">",
> and your /tmp/qq should look like
> 
> "" atd*#06#
> OK ""

That's what I have now:

/usr/sbin/chat -E -s -V -f /tmp/q /dev/ttyUSB0
atd*#06#


NO CARRIER

Failed

In /tmp/q I have:
"" atd*#06#
OK ""

Seems that my modem wants a carrier for something - that gives me a
pint that the command may be wrong for mine. So, I have to look to find
mine. But thank You for the point of using chat. I did read that
briefly and got a little from it. So, thank You for extended
explanation, Jasper!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb09a2d.cf7d0e0a.11a7.2...@mx.google.com



Re: Communicating with USB Modem

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 11:39:49 -0400, Hal Vaughan wrote:

> On Oct 9, 2010, at 7:24 AM, Camaleón wrote:

>> Don't go nuts with this. Just plug the modem, open a console, type
>> "dmesg | grep -i usb" and put the result here (for very long logs,
>> upload the result to "www.pastebin.com" or any service like that) :-)
> 
> As you and Ron suggested.  It's the last device.  No errors, and
> remember it showed up in /proc/bus/usb/devices and looked okay (I
> numbered the lines in the output from grep):
> 

(...)

> 285:[2.485485] usb 1-1: New USB device found,idVendor=047e, 
> idProduct=2892 
> 286:[2.485488] usb 1-1: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=0 
> 287:[2.485490] usb 1-1: Product: Agere USB2.0 V.92 SoftModem 
> 288:[2.485491] usb 1-1:> Manufacturer: Agere Systems

There you got it. It's an Agere soft modem.

Bufff... as per this doc¹ you could try "sl-modem" package from non-free 
repo (it seems that your device -SV92U2- uses the "Scorpio" chipset) but 
prepare for the worst ;-(

OTOH, LSI (the owner company of Agere) states that the modem supports Linux, 
so you can ask them for a driver :-?

¹ http://www.modemsite.com/56k/lucentamr.asp

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.16.44...@gmail.com



How to change jpg time stamp using exiv2

2010-10-09 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to the exiv2 man page the command to change a jpg time stamp
is as follows:

exiv2 -a  adjust 

 is the difference between the time to be adjusted and the new
time in the format [-]HH[:MM[:SS]]. For example: 1 adds one hour, 1:01
adds one hour and one minute, -0:00:30 subtracts 30 seconds.

So, I have a time stamp of 2010-04-16 Fri 07:11, where I want to change
the time to 19:11.  So I run

exiv2 -a 12 adjust img_1234.jpg

and get the following in return:

Warning: Makernote IFD has a next pointer != 0 (128). Ignored.

So the man page is obviously wrong.  I would appreciate it if someone
could tell me the proper format for this command.

Regards, Ken Heard


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkywoBoACgkQlNlJzOkJmTdyGwCeNqlP5RzEgSFVuyA3ZvFDHnW3
W4kAn1TNs5r6cry2Gh110wbXvkbyy76P
=gDts
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb0a01c.8000...@heard.name



Re: How to change jpg time stamp using exiv2

2010-10-09 Thread godo

On 10/09/2010 07:02 PM, Ken Heard wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to the exiv2 man page the command to change a jpg time stamp
is as follows:

exiv2 -a  adjust

  is the difference between the time to be adjusted and the new
time in the format [-]HH[:MM[:SS]]. For example: 1 adds one hour, 1:01
adds one hour and one minute, -0:00:30 subtracts 30 seconds.

So, I have a time stamp of 2010-04-16 Fri 07:11, where I want to change
the time to 19:11.  So I run

exiv2 -a 12 adjust img_1234.jpg

and get the following in return:

Warning: Makernote IFD has a next pointer != 0 (128). Ignored.

So the man page is obviously wrong.  I would appreciate it if someone
could tell me the proper format for this command.

Regards, Ken Heard


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkywoBoACgkQlNlJzOkJmTdyGwCeNqlP5RzEgSFVuyA3ZvFDHnW3
W4kAn1TNs5r6cry2Gh110wbXvkbyy76P
=gDts
-END PGP SIGNATURE-



Hi,
I newer used exiv2, tried for first time with your command "exiv2 -a 12 
adjust" on my_photo.TIF and everything was ok.
"exiv2 -u my_photo.TIF" give a difference before and after "exiv2 -a 12 
adjust" in image timestamp.


--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb0b25a.20...@dobosevic.com



Re: Debian-installer crashes

2010-10-09 Thread godo



I install the minimal system and now I am searching a workaround to
put my Atheros wireless up. I need wpasupplicant and all deps (I am
looking for a way to download all deps together). I will try to modify
/etc/network/interfaces. My AP use wpa2 passphrase. This issues is
welcome because it is an opportunity to upgrade my knowledge. :)

Thank you very much!

A good weekend!


Hi,
don't worry about dependencies. "apt-get install" will download and 
install all dependencies your app need.


--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb0b469.1080...@dobosevic.com



Moving Debian installation to another partition.

2010-10-09 Thread Roman Khomasuridze
Hello kind people.

The story is, that I want to install FreeBSD on my computer, but
unfortunately i don't have spare primary partition (only logical one), and
as freBSD documentation says, I can only install it on primary partition, so
I'm thinking to move my current Debian installatin from primary partiion to
logical one.

here is my fdisk -l


/dev/sda1   *   1261020964793+   7  HPFS/NTFS
/dev/sda226113656 8401995   83  Linux
/dev/sda336573899 1951897+  82  Linux swap / Solaris
/dev/sda43900   38913   281249924+   5  Extended
/dev/sda539004872 7815591   83  Linux
/dev/sda64873   38913   273434301   83  Linux

Debian is on dev/sda2, i'm moving it to /dev/sda5

After some research and thinking(!), my plan is to do following steps:

1. mount /dev/sda5 /mnt
2. cp -ax /* /mnt
3. modify /mnt/boot/grub/menu.lst
4. modify /mnt/etc/fstab

So, am I missing something? Will these four steps be enough?
My current Debian install is approx 2 years old, and I don't want to screw
it up.

Any suggestions are greatly appreciated, and thanks in advance!!



Regards
-
Roman


Re: Howto add autostartup applications

2010-10-09 Thread Brian Ryans
Quoting Camaleón on 2010-10-09 06:07:19:
> You can launch "gkrellm" by going to "system → prefs → sessions → 
> startup" and adding a new entry that points to the binary "/usr/bin/
> gkrellm".

Wouldn't putting a .desktop file in ~/.config/autostart serve to make
the program autostart on _any_ XDG-compliant system? That's what I'm
getting from reading the spec (though it's marked Draft currently)

http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: brianlry...@gmail.com  ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr


signature.asc
Description: Digital signature


Security policy

2010-10-09 Thread Paweł Ch .
Hi,
I must create security policy for my company.
Can someone send me example security policy? Especially with division to
user, administrator and boss.

Thanks


Re: Communicating with USB Modem

2010-10-09 Thread Hal Vaughan
On Oct 9, 2010, at 12:44 PM, Camaleón wrote:

> On Sat, 09 Oct 2010 11:39:49 -0400, Hal Vaughan wrote:
> 
>> On Oct 9, 2010, at 7:24 AM, Camaleón wrote:
> 
>>> Don't go nuts with this. Just plug the modem, open a console, type
>>> "dmesg | grep -i usb" and put the result here (for very long logs,
>>> upload the result to "www.pastebin.com" or any service like that) :-)
>> 
>> As you and Ron suggested.  It's the last device.  No errors, and
>> remember it showed up in /proc/bus/usb/devices and looked okay (I
>> numbered the lines in the output from grep):
>> 
> 
> (...)
> 
>> 285:[2.485485] usb 1-1: New USB device found,idVendor=047e, 
>> idProduct=2892 
>> 286:[2.485488] usb 1-1: New USB device strings: Mfr=1, Product=2, 
>> SerialNumber=0 
>> 287:[2.485490] usb 1-1: Product: Agere USB2.0 V.92 SoftModem 
>> 288:[2.485491] usb 1-1:> Manufacturer: Agere Systems
> 
> There you got it. It's an Agere soft modem.
> 
> Bufff... as per this doc¹ you could try "sl-modem" package from non-free 
> repo (it seems that your device -SV92U2- uses the "Scorpio" chipset) but 
> prepare for the worst ;-(
> 
> OTOH, LSI (the owner company of Agere) states that the modem supports Linux, 
> so you can ask them for a driver :-?
> 
> ¹ http://www.modemsite.com/56k/lucentamr.asp

I had a reference, and now I can't find the darned link, to it working on 
Linux, otherwise I wouldn't have bought it -- unless I had a bunch of tabs open 
when I was researching modems at Newegg and hit "add to cart" on the wrong one 
-- which could happen.

I can't remember where (so it could have been the manufacturer's site), but 
there was one place I read that if it's USB, it had to use the Hayes command 
set and would work on anything, but Brad's link to TLDP shows that wrong.  Next 
time when I see positives on something like that, I'll look for the flip side, 
just in case.

I've already ordered one from NewEgg that has several reviewers saying they're 
using it on Linux.


Thanks!


Hal

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/bb12d9f1-60d7-4f9b-8758-47043ea7a...@halblog.com



Re: Howto add autostartup applications

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 14:28:01 -0500, Brian Ryans wrote:

> Quoting Camaleón on 2010-10-09 06:07:19:
>> You can launch "gkrellm" by going to "system → prefs → sessions →
>> startup" and adding a new entry that points to the binary "/usr/bin/
>> gkrellm".
> 
> Wouldn't putting a .desktop file in ~/.config/autostart serve to make
> the program autostart on _any_ XDG-compliant system? That's what I'm
> getting from reading the spec (though it's marked Draft currently)
> 
> http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html

And that is _exactly_ what you get by following the instructions I 
provided (which is one of the benefits of using a Freedesktop compliant 
DE like GNOME).

In brief: "All roads lead to Rome" ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.20.07...@gmail.com



Re: Communicating with USB Modem

2010-10-09 Thread Brad Rogers
On Sat, 9 Oct 2010 15:29:40 -0400
Hal Vaughan  wrote:

Hello Hal,

> I can't remember where (so it could have been the manufacturer's
> site), but there was one place I read that if it's USB, it had to use
> the Hayes command set and would work on anything, but Brad's link to
> TLDP shows that wrong.  

To be fair, that link mentions the usual state of things, and I did
qualify it by saying something along the lines of "unless you know this
one does work with Linux".

A quick Google found this;
, which states the the
modem does indeed run under Linux.  However, in the (brief) time I
searched, I couldn't find any links to the driver itself.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
You're only 29 got a lot to learn
Seventeen - Sex Pistols


signature.asc
Description: PGP signature


Re: Communicating with USB Modem

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 15:29:40 -0400, Hal Vaughan wrote:

> On Oct 9, 2010, at 12:44 PM, Camaleón wrote:

(...)

>> Bufff... as per this doc¹ you could try "sl-modem" package from
>> non-free repo (it seems that your device -SV92U2- uses the "Scorpio"
>> chipset) but prepare for the worst ;-(
>> 
>> OTOH, LSI (the owner company of Agere) states that the modem supports
>> Linux, so you can ask them for a driver :-?
>> 
>> ¹ http://www.modemsite.com/56k/lucentamr.asp
> 
> I had a reference, and now I can't find the darned link, to it working
> on Linux, otherwise I wouldn't have bought it -- unless I had a bunch of
> tabs open when I was researching modems at Newegg and hit "add to cart"
> on the wrong one -- which could happen.

I can give you at least one reference (the manufacture's tech. specs):

***
http://www.agere.com/docs/PCS_Catalog_052606.pdf

(page 5)

– SV92U2: USB 2.0 device controller, 48-pin TQFP Stack Bus

(...)

OS support: Win98SE/2000/ME, WinXP, WinXP 64-bit, Vista (Native Support), 
and Linux
***

If that is indeed your device, don't give up so easily :-) Just try with 
"sl-modem" drivers or ask LSI/Agere for advice, it could work.

> I can't remember where (so it could have been the manufacturer's site),
> but there was one place I read that if it's USB, it had to use the Hayes
> command set and would work on anything, but Brad's link to TLDP shows
> that wrong.  Next time when I see positives on something like that, I'll
> look for the flip side, just in case.
> 
> I've already ordered one from NewEgg that has several reviewers saying
> they're using it on Linux.

When it comes to modems and linux, the only way to hit the right device 
is by using a RS-232 modem. No drivers needed and straight-forward setup 
for all kind of services (dial-up connection, fax facility...).

Yes, yes... I know. Serial port is a scarce resource in modern 
motherboards and n[eo]tbook computers ;-(

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.20.22...@gmail.com



Re: Security policy

2010-10-09 Thread Andrew Reid
On Saturday 09 October 2010 15:34:58 Paweł Ch. wrote:
> Hi,
> I must create security policy for my company.
> Can someone send me example security policy? Especially with division to
> user, administrator and boss.

  There are a number of free public resources available from the 
US National Institute of Standards and Technology.  A former
employer of mine used Special Publication 800-53 as a baseline 
for a security policy.

  Besides providing a list of recommendations, it also has a 
pretty good discussions of the "whys" behind them, and the
cost-benefit trade-offs that must be made.
 
  A list of NIST security division's publications is here:


  SP 800-53 itself is here, in PDF format:



-- A.
-- 
Andrew Reid / rei...@bellatlantic.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201010091642.51833.rei...@bellatlantic.net



Re: how to enable sound

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 15:46:16 +0100, abdelkader belahcene wrote:

(please, don't cross-post)

> I am using squeeze
> I tried to enable the login sound,
> cnaberra is installed,
> It is done (on the same machine !!)  in ubuntu without problem, but not
> on debian, I ot this  error :
> 
> 
> canberra-gtk-play -f  t/usr/share/sounds/sabily/desktop-login.ogg Failed
> to play sound: Sound disabled
> 
> I can hear the sound, and play different codecs ( avi, mp3 )
> 
> 
> I tried   to activate ( I suppose it disable, although I can paly sound
> ) the sound  from theme in gnome-preferences-sound, but it is grayed
> no possiblity to do it!!!

Squeeze here, and sounds can be enabled (see linked snapshot):

http://picpaste.com/sounds-rHbtyPAw.png

Hint: try to force-load using gconf editor:

/desktop/gnome/sound/[x] event_sounds

Anyway, I hear no system sounds even I've enabled that setting (and relogin).

Moreover, I can only get sound when running this command as root user:

r...@debian:~# canberra-gtk-play -f  /usr/share/sounds/ekiga/ring.wav

And it plays the "ring", but running the same as plain user, I get:

t...@debian:~$ canberra-gtk-play -f  /usr/share/sounds/ekiga/ring.wav
Failed to play sound: File or data not found

:-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.10.09.21.10...@gmail.com



Re: Communicating with USB Modem

2010-10-09 Thread Hal Vaughan

On Oct 9, 2010, at 4:22 PM, Camaleón wrote:

> On Sat, 09 Oct 2010 15:29:40 -0400, Hal Vaughan wrote:
> 
>> On Oct 9, 2010, at 12:44 PM, Camaleón wrote:
> 
> (...)
> 
>>> Bufff... as per this doc¹ you could try "sl-modem" package from
>>> non-free repo (it seems that your device -SV92U2- uses the "Scorpio"
>>> chipset) but prepare for the worst ;-(
>>> 
>>> OTOH, LSI (the owner company of Agere) states that the modem supports
>>> Linux, so you can ask them for a driver :-?
>>> 
>>> ¹ http://www.modemsite.com/56k/lucentamr.asp
>> 
>> I had a reference, and now I can't find the darned link, to it working
>> on Linux, otherwise I wouldn't have bought it -- unless I had a bunch of
>> tabs open when I was researching modems at Newegg and hit "add to cart"
>> on the wrong one -- which could happen.
> 
> I can give you at least one reference (the manufacture's tech. specs):
> 
> ***
> http://www.agere.com/docs/PCS_Catalog_052606.pdf
> 
> (page 5)
> 
> – SV92U2: USB 2.0 device controller, 48-pin TQFP Stack Bus
> 
> (...)
> 
> OS support: Win98SE/2000/ME, WinXP, WinXP 64-bit, Vista (Native Support), 
> and Linux
> ***

I see that, the one thing that is discouraging me is that, while I know they 
are talking about the chip, the pictures are of PCI modems, not the USB ones, 
and I think mine is later.  (They show a USB modem on page 5, but different 
form factor than mine.)  Still, mine may work.

> If that is indeed your device, don't give up so easily :-) Just try with 
> "sl-modem" drivers or ask LSI/Agere for advice, it could work.

I tried the page you linked to, which had a link to the site with drivers, but 
that 2nd site is all blank web pages -- still looking for the sl-modem drivers. 
 Did I miss a link?  That's possible.  (The dead link is: 
http://www.smlink.com/.  It's from the last paragraph of that page, the only 
section that covers Linux there.)

>> I can't remember where (so it could have been the manufacturer's site),
>> but there was one place I read that if it's USB, it had to use the Hayes
>> command set and would work on anything, but Brad's link to TLDP shows
>> that wrong.  Next time when I see positives on something like that, I'll
>> look for the flip side, just in case.
>> 
>> I've already ordered one from NewEgg that has several reviewers saying
>> they're using it on Linux.
> 
> When it comes to modems and linux, the only way to hit the right device 
> is by using a RS-232 modem. No drivers needed and straight-forward setup 
> for all kind of services (dial-up connection, fax facility...).
> 
> Yes, yes... I know. Serial port is a scarce resource in modern 
> motherboards and n[eo]tbook computers ;-(

A little backstory here.  My small business mines data, and a lot comes from 
some dial-up systems where you can get passwords, but most people ignore them 
now since they're harder to deal with (therefore, if you're bigger, less 
lucrative, if you're smaller, good money).  I have a US Robotics RS-232 running 
on the main system now and I have another that was brand new, that I pulled out 
and tested, then put back in the box.  I guard those modems carefully.  They 
work and I know they work.

But an idea hit me this summer.  I haven't been programming in about 3 years 
(I'm a screenwriter by passion, so I've been doing that).  This idea that hit 
me would take several months of programming and it'd be a game-changer for me 
in terms of income from the data mining.  But to do it, I have to decentralize, 
which means instead of having one computer here doing dial-up, I'd have to put 
a computer in each client's office and have it do dial-up there.  I won't get 
into all the reasons and thinking behind what I'm doing, but, in short, I want 
what's in their offices to be as simple as possible and to be a black box.  I 
do not want them hooking up a keyboard or monitor to it ever.  I don't even 
want them to think of it as a computer, EVER!  So I'm looking not at low end as 
in cheap, but as in saving money and still getting a good embedded system.  
Each system will need a modem and I'll keep backups (of the computer and modem) 
on hand, ready to ship when needed.

I have used a USB-to-RS-232 converter with success for a FOSS project to 
control an HD radio (http://halblog.com/hdradiocontroller.html), but an RS-232 
modem is more expensive and the converters are expensive, too, putting the 
price per modem well over $50 each.

I've ordered a Rosewill that looks good.  It costs more than the one I have 
now.  I'm going to try any drivers I can find for this one, but considering the 
price of the other one, with shipping, is $30, if the drivers don't work and 
the manufacturer doesn't help, I'm not going to knock myself out over this one. 
 I can always use it on a Windows machine and use that system for testing (to 
have my other ones dial in).

As it is, though, considering how cheap these are (this one and the replacement 
people have tried on Ubuntu), I think spending more than a few hours 

Re: tools to improve harddisk performance by short-stroking?

2010-10-09 Thread Andrei Popescu
On Jo, 07 oct 10, 23:06:52, Zhang Weiwu wrote:
 
> Finish reading the article it makes obvious to me that, if this
> "technology" is really so powerful, it should have already been
> implemented in OSes, like Linux, without necessarily abandoning the slow
> part of hard-disk space but instead put rarely used data there.

IMVHO, I think at least part of the speed increase is based on the fact 
that the head(s) *never* travel to the "back" of the harddisk.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Moving Debian installation to another partition.

2010-10-09 Thread Greg Madden


On Saturday 09 October 2010 11:26:53 Roman Khomasuridze wrote:
> Hello kind people.
>
> The story is, that I want to install FreeBSD on my computer, but
> unfortunately i don't have spare primary partition (only logical one), and
> as freBSD documentation says, I can only install it on primary partition,
> so I'm thinking to move my current Debian installatin from primary partiion
> to logical one.
>
> here is my fdisk -l
>
>
> /dev/sda1   *   1261020964793+   7  HPFS/NTFS
> /dev/sda226113656 8401995   83  Linux
> /dev/sda336573899 1951897+  82  Linux swap /
> Solaris /dev/sda43900   38913   281249924+   5  Extended
> /dev/sda539004872 7815591   83  Linux
> /dev/sda64873   38913   273434301   83  Linux
>
> Debian is on dev/sda2, i'm moving it to /dev/sda5
>
> After some research and thinking(!), my plan is to do following steps:
>
> 1. mount /dev/sda5 /mnt
> 2. cp -ax /* /mnt
> 3. modify /mnt/boot/grub/menu.lst
> 4. modify /mnt/etc/fstab
>
> So, am I missing something? Will these four steps be enough?
> My current Debian install is approx 2 years old, and I don't want to screw
> it up.
>
> Any suggestions are greatly appreciated, and thanks in advance!!

I have managed grub and mbr for dual boots of Debian, have not used the -ax' 
method for moving an install.

Have a plan for managing grub, changing grub.menu.lst  you will still need 
to 'update-grub' to have the changes propagated to the mbr or wherever you plan 
to have it.

Decide which OS manages the boot loader, this will determine whether to install 
grub to mbr or partition.

 I don't know what BSD uses for a boot manager but being able to 
run  'update-grub' from Debian after the BSD install will add BSD to  Debians 
grub menu.

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201010091346.44126.gomadtr...@gci.net



Re: Moving Debian installation to another partition.

2010-10-09 Thread Roman Khomasuridze
Thanks for reply..

well, I'm not planning to touch MBR, GRUB, or whatever, my main goal at this
stage is to move Debian system from one partition to another safely,
 without issues.
Also, second question raised, after moving Debian to another partition (thus
moving menu.lst), won't GRUB fail to load? Will 'update-grub' be enough, or
will I need to reinstall it?


Regards
-
Roman

On Sun, Oct 10, 2010 at 1:46 AM, Greg Madden  wrote:

>
>
> On Saturday 09 October 2010 11:26:53 Roman Khomasuridze wrote:
> > Hello kind people.
> >
> > The story is, that I want to install FreeBSD on my computer, but
> > unfortunately i don't have spare primary partition (only logical one),
> and
> > as freBSD documentation says, I can only install it on primary partition,
> > so I'm thinking to move my current Debian installatin from primary
> partiion
> > to logical one.
> >
> > here is my fdisk -l
> >
> >
> > /dev/sda1   *   1261020964793+   7  HPFS/NTFS
> > /dev/sda226113656 8401995   83  Linux
> > /dev/sda336573899 1951897+  82  Linux swap /
> > Solaris /dev/sda43900   38913   281249924+   5  Extended
> > /dev/sda539004872 7815591   83  Linux
> > /dev/sda64873   38913   273434301   83  Linux
> >
> > Debian is on dev/sda2, i'm moving it to /dev/sda5
> >
> > After some research and thinking(!), my plan is to do following steps:
> >
> > 1. mount /dev/sda5 /mnt
> > 2. cp -ax /* /mnt
> > 3. modify /mnt/boot/grub/menu.lst
> > 4. modify /mnt/etc/fstab
> >
> > So, am I missing something? Will these four steps be enough?
> > My current Debian install is approx 2 years old, and I don't want to
> screw
> > it up.
> >
> > Any suggestions are greatly appreciated, and thanks in advance!!
>
> I have managed grub and mbr for dual boots of Debian, have not used the
> -ax'
> method for moving an install.
>
> Have a plan for managing grub, changing grub.menu.lst  you will still need
> to 'update-grub' to have the changes propagated to the mbr or wherever you
> plan
> to have it.
>
> Decide which OS manages the boot loader, this will determine whether to
> install
> grub to mbr or partition.
>
>  I don't know what BSD uses for a boot manager but being able to
> run  'update-grub' from Debian after the BSD install will add BSD to
>  Debians
> grub menu.
>
> --
> Peace,
>
> Greg
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/201010091346.44126.gomadtr...@gci.net
>
>


Re: Communicating with USB Modem

2010-10-09 Thread Camaleón
On Sat, 09 Oct 2010 17:28:31 -0400, Hal Vaughan wrote:

> On Oct 9, 2010, at 4:22 PM, Camaleón wrote:

>> I can give you at least one reference (the manufacture's tech. specs):
>> 
>> ***
>> http://www.agere.com/docs/PCS_Catalog_052606.pdf
>> 
>> (page 5)
>> 
>> – SV92U2: USB 2.0 device controller, 48-pin TQFP Stack Bus
>> 
>> (...)
>> 
>> OS support: Win98SE/2000/ME, WinXP, WinXP 64-bit, Vista (Native
>> Support), and Linux
>> ***
> 
> I see that, the one thing that is discouraging me is that, while I know
> they are talking about the chip, the pictures are of PCI modems, not the
> USB ones, and I think mine is later.  (They show a USB modem on page 5,
> but different form factor than mine.)  Still, mine may work.

Yep, if you carefully read that doc, it seems the shape of the device may 
vary:

***
- Reference design will include board, connectors, USB cable,
and plastics
- Three different form factors
***

>> If that is indeed your device, don't give up so easily :-) Just try
>> with "sl-modem" drivers or ask LSI/Agere for advice, it could work.
> 
> I tried the page you linked to, which had a link to the site with
> drivers, but that 2nd site is all blank web pages -- still looking for
> the sl-modem drivers.  Did I miss a link?  That's possible.  (The dead
> link is: http://www.smlink.com/.  It's from the last paragraph of that
> page, the only section that covers Linux there.)

Oops, sorry. I thought I already told you "sl-modem" drivers are 
available under debian "non-free" repo (lenny, squeeze, sid):

http://packages.debian.org/lenny/sl-modem-daemon

:-)

>>> I've already ordered one from NewEgg that has several reviewers saying
>>> they're using it on Linux.
>> 
>> When it comes to modems and linux, the only way to hit the right device
>> is by using a RS-232 modem. No drivers needed and straight-forward
>> setup for all kind of services (dial-up connection, fax facility...).
>> 
>> Yes, yes... I know. Serial port is a scarce resource in modern
>> motherboards and n[eo]tbook computers ;-(
> 
> A little backstory here.  My small business mines data, and a lot comes
> from some dial-up systems where you can get passwords, but most people
> ignore them now since they're harder to deal with (therefore, if you're
> bigger, less lucrative, if you're smaller, good money).  I have a US
> Robotics RS-232 running on the main system now and I have another that
> was brand new, that I pulled out and tested, then put back in the box. 
> I guard those modems carefully.  They work and I know they work.
> 
> But an idea hit me this summer.  I haven't been programming in about 3
> years (I'm a screenwriter by passion, so I've been doing that).  This
> idea that hit me would take several months of programming and it'd be a
> game-changer for me in terms of income from the data mining.  But to do
> it, I have to decentralize, which means instead of having one computer
> here doing dial-up, I'd have to put a computer in each client's office
> and have it do dial-up there.  I won't get into all the reasons and
> thinking behind what I'm doing, but, in short, I want what's in their
> offices to be as simple as possible and to be a black box.  I do not
> want them hooking up a keyboard or monitor to it ever.  I don't even
> want them to think of it as a computer, EVER!  So I'm looking not at low
> end as in cheap, but as in saving money and still getting a good
> embedded system.  Each system will need a modem and I'll keep backups
> (of the computer and modem) on hand, ready to ship when needed.

I see... It's quite difficult to keep the track of manufacturers making 
cheap and linux friendly devices. One has to perform a big search in the 
web (reading forums, mailing lists, asking users to get accurate 
feedback...) to find out what USB modems (chipsets) play fine with linux 
distributions.
 
> I have used a USB-to-RS-232 converter with success for a FOSS project to
> control an HD radio (http://halblog.com/hdradiocontroller.html), but an
> RS-232 modem is more expensive and the converters are expensive, too,
> putting the price per modem well over $50 each.
> 
> I've ordered a Rosewill that looks good.  It costs more than the one I
> have now.  I'm going to try any drivers I can find for this one, but
> considering the price of the other one, with shipping, is $30, if the
> drivers don't work and the manufacturer doesn't help, I'm not going to
> knock myself out over this one.  I can always use it on a Windows
> machine and use that system for testing (to have my other ones dial in).
> 
> As it is, though, considering how cheap these are (this one and the
> replacement people have tried on Ubuntu), I think spending more than a
> few hours on this one might be a diminishing return.  Still, if all it
> needs are drivers, then I'll be happy with it!

O.k. I also think geting an USB modem to work should just be plug and 
play and no needing to mess with drivers at all. But it could worst: 
there are some embedded modem

Re: Communicating with USB Modem

2010-10-09 Thread Hal Vaughan

On Oct 9, 2010, at 6:49 PM, Camaleón wrote:

> On Sat, 09 Oct 2010 17:28:31 -0400, Hal Vaughan wrote:
> 
>> On Oct 9, 2010, at 4:22 PM, Camaleón wrote:
> 
>>> ...
>> 
>> I see that, the one thing that is discouraging me is that, while I know
>> they are talking about the chip, the pictures are of PCI modems, not the
>> USB ones, and I think mine is later.  (They show a USB modem on page 5,
>> but different form factor than mine.)  Still, mine may work.
> 
> Yep, if you carefully read that doc, it seems the shape of the device may 
> vary:
> 
> ***
> - Reference design will include board, connectors, USB cable,
> and plastics
> - Three different form factors
> ***

Yeah, I missed it.  When I start researching, I look at everything, then as I 
focus on some parts, I am not as good about making sure I read all of it.  Oops!

>>> ...
> Oops, sorry. I thought I already told you "sl-modem" drivers are 
> available under debian "non-free" repo (lenny, squeeze, sid):
> 
> http://packages.debian.org/lenny/sl-modem-daemon
> 
> :-)

I found that just after writing my last email on this thread, but just before I 
had to leave to take my Mother to "night out" meal - didn't have time to add in 
that I had found it.  Thanks.  The issue, though, is that needs another 
package, one that's not a dependency, it's "sl-modem-modules-2.6.26-2-686".  
I'm looking, can even find it in a package pole, but can't find the package 
itself.

>> ...
>> But an idea hit me this summer.  I haven't been programming in about 3
>> years (I'm a screenwriter by passion, so I've been doing that).  This
>> idea that hit me would take several months of programming and it'd be a
>> game-changer for me in terms of income from the data mining.  But to do
>> it, I have to decentralize, which means instead of having one computer
>> here doing dial-up, I'd have to put a computer in each client's office
>> and have it do dial-up there.  I won't get into all the reasons and
>> thinking behind what I'm doing, but, in short, I want what's in their
>> offices to be as simple as possible and to be a black box.  I do not
>> want them hooking up a keyboard or monitor to it ever.  I don't even
>> want them to think of it as a computer, EVER!  So I'm looking not at low
>> end as in cheap, but as in saving money and still getting a good
>> embedded system.  Each system will need a modem and I'll keep backups
>> (of the computer and modem) on hand, ready to ship when needed.
> 
> I see... It's quite difficult to keep the track of manufacturers making 
> cheap and linux friendly devices. One has to perform a big search in the 
> web (reading forums, mailing lists, asking users to get accurate 
> feedback...) to find out what USB modems (chipsets) play fine with linux 
> distributions.

Yes, it is.  I am seriously considering, when I get the right modem and know 
things are lined up and am starting production of the new system, to just order 
20-30 of whatever I find.  I'll just eat the cost then and make it up as I 
deploy them.  I don't want to find the right modem, order 3-4, then find it not 
in production anymore.  Again, I'd go with RS-232, but the expense is greater 
and, honestly, when they're going in someone else's office, so I have to be 
sure I can ssh in (which is a project in itself, considering different offices 
and different sysadmins), I have to be aware I will NOT have hands-on access.  
It sounds picky, but using an adaptor on a plug in such a case is just another 
thing that can go wrong and that I could spend hours trouble shooting to find 
some oaf jarred it and there's a loose connection.  The fewer the connections 
and the simpler the system, the more time I get to spend ballroom dancing 
instead of patching software.  (I'm a believer in setting up a system, then 
letting it do the work while I don't!)

>> I have used a USB-to-RS-232 converter with success for a FOSS project to
>> control an HD radio (http://halblog.com/hdradiocontroller.html), but an
>> RS-232 modem is more expensive and the converters are expensive, too,
>> putting the price per modem well over $50 each.
>> 
>> I've ordered a Rosewill that looks good.  It costs more than the one I
>> have now.  I'm going to try any drivers I can find for this one, but
>> considering the price of the other one, with shipping, is $30, if the
>> drivers don't work and the manufacturer doesn't help, I'm not going to
>> knock myself out over this one.  I can always use it on a Windows
>> machine and use that system for testing (to have my other ones dial in).
>> 
>> As it is, though, considering how cheap these are (this one and the
>> replacement people have tried on Ubuntu), I think spending more than a
>> few hours on this one might be a diminishing return.  Still, if all it
>> needs are drivers, then I'll be happy with it!
> 
> O.k. I also think geting an USB modem to work should just be plug and 
> play and no needing to mess with drivers at all. But it could worst: 
> there are some embe

Pdf Font hardly legible

2010-10-09 Thread Memnon Anon
Hi,

I've been using xpdf for a looong time, and I never had a problem,
except that it can be a bit slow on my old machine.

So today, I tested evince and epdfview, but some pdfs (all from the same
source) which are perfectly fine in xpdf are hardly legible. 

,
| mem...@mymachine:~/pdf$ pdffonts -f 3 xyz.pdf 
| name type  emb sub uni object ID
|  - --- --- --- -
| Times-Bold   Type 1no  no  no   8  0
`

I suspect that this font is not available to evince and epdfview and so
it chooses a "bad" alternative instead. Installing the msttcorefonts
(br) did not help, either.

However, I know that lots of you people do not use xpdf, and I think
there should be a remedy.

Any advice is very much appreciated.

Memnon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y6a66ge0@mean.albasani.net



Re: Pdf Font hardly legible

2010-10-09 Thread John Jason Jordan
On Sun, 10 Oct 2010 02:32:57 +0200
Memnon Anon  dijo:

>However, I know that lots of you people do not use xpdf, and I think
>there should be a remedy.

Of the open source PDF viewers, Okular (formerly Kpdf) is the best
overall . But Evince has a better export to PostScript and is more
lightweight. I don't mind using closed source apps as long as they're
free, so I use Adobe Reader a lot as well. There was a recent upgrade
of Adobe Reader to 9.4. Among other closed source tools I also have
Cabaret and Foxit Reader, all running natively on Linux x86_64.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101009175422.72ab7...@mailhost.pdx.edu



[solved] (was: Pdf Font hardly legible)

2010-10-09 Thread Memnon Anon
Memnon Anon  writes:

> Any advice is very much appreciated.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533138

Memnon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sk0e6ehf@mean.albasani.net



Re: Pdf Font hardly legible

2010-10-09 Thread Memnon Anon
John Jason Jordan  writes:

> Of the open source PDF viewers, Okular (formerly Kpdf) is the best
> overall . But Evince has a better export to PostScript and is more
> lightweight. I don't mind using closed source apps as long as they're
> free, so I use Adobe Reader a lot as well. There was a recent upgrade
> of Adobe Reader to 9.4. Among other closed source tools I also have
> Cabaret and Foxit Reader, all running natively on Linux x86_64.

Lightweight is what I need. My machine is an "old" P3 1.2 Ghz with
"only" 512 MB Ram. I tried Adobe Reader once, but it was *really* heavy;
it was ridiculous: this machine suffices for everything I do, but
reading a text 100 pages long with Adobe Reader made it feel sluggish.

Pdf has its benefits, but I really don't understand why displaying text
has to freak out my notebook more than basically anything else I am
doing, even with xpdf :(

Memnon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hbgu6d1q@mean.albasani.net



Re: Communicating with USB Modem

2010-10-09 Thread Phil Requirements
On 2010-10-09 20:22:41 +, Camaleón wrote:
> On Sat, 09 Oct 2010 15:29:40 -0400, Hal Vaughan wrote:
> > On Oct 9, 2010, at 12:44 PM, Camaleón wrote:
> 
[big snip]
> 
> When it comes to modems and linux, the only way to hit the right device 
> is by using a RS-232 modem. No drivers needed and straight-forward setup 
> for all kind of services (dial-up connection, fax facility...).
> 
> Yes, yes... I know. Serial port is a scarce resource in modern 
> motherboards and n[eo]tbook computers ;-(
> 

I was connecting by dialup only for about three years until recently.
I agree that RS-232 hardware modems are good.

But there is also a new breed of external USB modems that works just
as easily. The one I bought was US Robotics. It was plug and play, no
additional driver needed.

I bought that modem because the computer that used it did not have
a serial port.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101010020508.ga2...@kasploosh.net



Re: udev auto mount usb disk

2010-10-09 Thread Dave Thayer
On Thu, Oct 07, 2010 at 11:06:12PM +0300, Volkan YAZICI wrote:
> Hi,
> 
> Below are the configurations related with my USB disk.
> 
>   # grep tosun /etc/fstab
>   UUID=0C98AFAF98AF95AC /media/tosun ntfs-3g noauto,fmask=133,dmask=022 0 0
> 
>   # cat /etc/udev/rules.d/89-tosun.rules
>   ACTION=="add", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="mount 
> /media/tosun"
>   ACTION=="remove", ENV{ID_FS_UUID}=="0C98AFAF98AF95AC", RUN+="umount -l 
> /media/tosun"
[...]
> Despite I tried restarting the system and udev many times, plugging -in
> and -out the USB disk doesn't make udev to trigger any events. dmesg
> just informs me about the disk as usual:
[...]
> OTOH, manually issuing "mount /media/tosun" works without a problem. Any
> ideas about what might be missing?
> 
I'm not sure why your udev rules aren't firing, but, shouldn't you be
umounting the filesystem *Before* removing the drive? Your udev "remove"
rule is not going to fire until after the drive is pulled. This seems
like you would be risking a corrupted filesystem by umounting an
already removed drive.

I prefer to use a combination of udev rules and automount to handle
removable media, since I generally avoid using desktop managers.

dt

-- 
Dave Thayer   | Whenever you read a good book, it's like the 
Denver, Colorado USA  | author is right there, in the room talking to 
d...@thayer-boyle.com | you, which is why I don't like to read 
  | good books. - Jack Handey "Deep Thoughts"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101010015535.ga11...@thayer-boyle.com



Re: Communicating with USB Modem

2010-10-09 Thread Phil Requirements
On 2010-10-09 19:26:42 -0400, Hal Vaughan wrote:
> On Oct 9, 2010, at 6:49 PM, Camaleón wrote:
[big snip]
> > O.k. I also think geting an USB modem to work should just be plug and 
> > play and no needing to mess with drivers at all. But it could worst: 
> > there are some embedded modems (those you can find in notebooks) that 
> > lack of any driver and they render completely useless.
> 
> Yes, that's true.  And, unfortunately, I had information indicating
> that any USB modem would be similar to RS-232 in that it'd be
> plug-n-play.  That's not so.  And, while I'm looking at embedded
> computers (right now I'm waiting to see if the new Soekris Net-6501
> will do well for me), at least the modems aren't embedded!  And if I
> do use Soekris, they have a serial port -- you HAVE to use as a
> terminal during setup, so once I get the original image created and
> working, I can copy it to an image file and easily install it on
> flash cards and just insert it, without using the serial port on
> each one.  And when they're deployed, I may be able to use it for an
> RS-232 modem, but I'm not committing to that yet.
> 

I had an external USB modem that was initially very gratifying, to
use with a computer that had no serial port. I plugged it in, the
system found it, and I was online in minutes. No external drivers.
It was a very nice experience after having spent many hours trying
to get drivers to work for WinModem cards.

The one I used was US Robotics, but I can't lay my hand on it right
this minute to say the product number.

I did have some problems with this modem over time. The main thing
I remember is it would get moved from /dev/ttyUSB0 to /dev/ttyUSB1
occasionally. Or sometimes when the machine was booted the device
wouldn't get established. I don't know if these were problems with
the modem or my system.

I wanted to point out that the modem I had initially seemed very good
because of how easy installation was. But that's not the whole story.
And that there are some plug and play USB modems out there.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101010021707.gb2...@kasploosh.net



Re: Pdf Font hardly legible

2010-10-09 Thread Ron Johnson

On 10/09/2010 09:00 PM, Memnon Anon wrote:

John Jason Jordan  writes:


Of the open source PDF viewers, Okular (formerly Kpdf) is the best
overall . But Evince has a better export to PostScript and is more
lightweight. I don't mind using closed source apps as long as they're
free, so I use Adobe Reader a lot as well. There was a recent upgrade
of Adobe Reader to 9.4. Among other closed source tools I also have
Cabaret and Foxit Reader, all running natively on Linux x86_64.


Lightweight is what I need. My machine is an "old" P3 1.2 Ghz with
"only" 512 MB Ram. I tried Adobe Reader once, but it was *really* heavy;
it was ridiculous: this machine suffices for everything I do, but
reading a text 100 pages long with Adobe Reader made it feel sluggish.

Pdf has its benefits, but I really don't understand why displaying text
has to freak out my notebook more than basically anything else I am
doing, even with xpdf :(



What WM/DE do you use?

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb122b1.6080...@cox.net



Re: Pdf Font hardly legible

2010-10-09 Thread Memnon Anon
Ron Johnson  writes:

> On 10/09/2010 09:00 PM, Memnon Anon wrote:
>> Pdf has its benefits, but I really don't understand why displaying text
>> has to freak out my notebook more than basically anything else I am
>> doing, even with xpdf :(
>>
>
> What WM/DE do you use?

I do basically everything with
Emacs/Ratpoison/Conkeror/mplayer.

Irc/Jabber with bitlbee+erc, surfing with Conkeror, Mail+News with gnus,
latex with auctex ...

Nothing brings this machine down like a large or complex pdf.

pdftotext is not really a solution.

I guess I will add some more ram soon. 

Funny, I used to say: "Hey, I need to update my machine: Doom 2 is too
slow!" and it made sense. Now, its: "Uh, I need to upgrade, viewing 3
papers at the same time for my theses is too slow?!". 

I wish jstor.org offered download as plain text or html, but at least
its not doc :).

Memnon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87tyku4vq3@mean.albasani.net



Re: Communicating with USB Modem

2010-10-09 Thread Hal Vaughan

On Oct 9, 2010, at 10:17 PM, Phil Requirements wrote:

> On 2010-10-09 19:26:42 -0400, Hal Vaughan wrote:
>> On Oct 9, 2010, at 6:49 PM, Camaleón wrote:
> [big snip]
>>> O.k. I also think geting an USB modem to work should just be plug and 
>>> play and no needing to mess with drivers at all. But it could worst: 
>>> there are some embedded modems (those you can find in notebooks) that 
>>> lack of any driver and they render completely useless.
>> 
>> Yes, that's true.  And, unfortunately, I had information indicating
>> that any USB modem would be similar to RS-232 in that it'd be
>> plug-n-play.  That's not so.  And, while I'm looking at embedded
>> computers (right now I'm waiting to see if the new Soekris Net-6501
>> will do well for me), at least the modems aren't embedded!  And if I
>> do use Soekris, they have a serial port -- you HAVE to use as a
>> terminal during setup, so once I get the original image created and
>> working, I can copy it to an image file and easily install it on
>> flash cards and just insert it, without using the serial port on
>> each one.  And when they're deployed, I may be able to use it for an
>> RS-232 modem, but I'm not committing to that yet.
>> 
> 
> I had an external USB modem that was initially very gratifying, to
> use with a computer that had no serial port. I plugged it in, the
> system found it, and I was online in minutes. No external drivers.
> It was a very nice experience after having spent many hours trying
> to get drivers to work for WinModem cards.

I would think, ideally, a good modem would be like that -- as long as it 
responds to AT commands properly, then it wouldn't need a driver.

> The one I used was US Robotics, but I can't lay my hand on it right
> this minute to say the product number.

I saw some USR USB modems, but considering how I'll be buying a number of 
these, and footing the price myself (for various reasons, I can't really pass 
along this cost to my clients), if the $25 modem I ordered works, I'll be using 
it over the $45-$50 USR modems.  It's pricing.  Now if they're flaky, then, 
yes, I'll spend more, but if they work, I won't.

> I did have some problems with this modem over time. The main thing
> I remember is it would get moved from /dev/ttyUSB0 to /dev/ttyUSB1
> occasionally. Or sometimes when the machine was booted the device
> wouldn't get established. I don't know if these were problems with
> the modem or my system.

That's a USB issue.  I ran into that when I was writing my code for controlling 
the Visteon HD radio (I have a copy of the project on my blog, but the main 
reason I did it was to turn it over so LinuxICE would have a radio controller). 
 I had to write a routine that would first check the config file and look for 
the radio in its last place, then, if needed, send the same signal to every USB 
device and look for the response.  The only issue is that I was worried the 
wake-up signal for the radio might crash some devices.  I can't remember why I 
didn't just scan /proc/bus/usb/devices to get the info.  I think I had to scan 
the /dev/ttySx devices.  While the radio would USUALLY be at the same place it 
was last time, sometimes it would move.

> I wanted to point out that the modem I had initially seemed very good
> because of how easy installation was. But that's not the whole story.
> And that there are some plug and play USB modems out there.

I think, for modems, plug and play means that it simply responds to the Hayes 
command set through a device in /dev.  I'm not sure what you'd set the serial 
bus speed for in a program like minicom, though.



Hal

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/9db1b81f-0b95-4f4b-8aaf-c5939b913...@halblog.com



If you want it to be an appliance... (was Re: Communicating with USB Modem)

2010-10-09 Thread Ron Johnson

On 10/09/2010 04:28 PM, Hal Vaughan wrote:
[snip]


 but, in short, I want what's in their offices to be as simple as
possible and to be a black box. I do not want them hooking up a
keyboard or monitor to it ever. I don't even want them to think of
it as a computer, EVER! So I'm looking not at low end as in cheap,


Why aren't you using an internal modem?  (Unless you already 
answered that question.)


--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4cb1406b.4050...@cox.net



Re: Pdf Font hardly legible

2010-10-09 Thread Celejar
On Sun, 10 Oct 2010 02:00:10 + (UTC)
Memnon Anon  wrote:

> John Jason Jordan  writes:
> 
> > Of the open source PDF viewers, Okular (formerly Kpdf) is the best
> > overall . But Evince has a better export to PostScript and is more
> > lightweight. I don't mind using closed source apps as long as they're
> > free, so I use Adobe Reader a lot as well. There was a recent upgrade
> > of Adobe Reader to 9.4. Among other closed source tools I also have
> > Cabaret and Foxit Reader, all running natively on Linux x86_64.
> 
> Lightweight is what I need. My machine is an "old" P3 1.2 Ghz with
> "only" 512 MB Ram. I tried Adobe Reader once, but it was *really* heavy;
> it was ridiculous: this machine suffices for everything I do, but
> reading a text 100 pages long with Adobe Reader made it feel sluggish.
> 
> Pdf has its benefits, but I really don't understand why displaying text
> has to freak out my notebook more than basically anything else I am
> doing, even with xpdf :(

Look into mupdf - a really lightweight PDF reader.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101010011500.5f2f0ec6.cele...@gmail.com



Re: Pdf Font hardly legible

2010-10-09 Thread John Jason Jordan
On Sun, 10 Oct 2010 01:15:00 -0400
Celejar  dijo:

>Look into mupdf - a really lightweight PDF reader.

I downloaded the tar.gz file and untarred it, but could not figure out
how to install it. There is no .deb or .rpm file in the archive.

Note: I want to install it on a computer that I use for DTP which runs
Fedora 11, not Debian like my other computer. It is not in the Fedora
11 repositories. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101009225121.38091...@mailhost.pdx.edu



Re: Pdf Font hardly legible

2010-10-09 Thread wolf python london
On 10 October 2010 13:51, John Jason Jordan  wrote:

> On Sun, 10 Oct 2010 01:15:00 -0400
> Celejar  dijo:
>
> >Look into mupdf - a really lightweight PDF reader.
>
> I downloaded the tar.gz file and untarred it, but could not figure out
> how to install it. There is no .deb or .rpm file in the archive.
>
> does it have a README file ?
basically , the you can  uncompress the tar.gz file and
cd to the directory  ./configure &&make &&make install .
of course maybe the dependency is not solved automatically .

you should read the README file first .

> Note: I want to install it on a computer that I use for DTP which runs
> Fedora 11, not Debian like my other computer. It is not in the Fedora
> 11 repositories.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20101009225121.38091...@mailhost.pdx.edu
>
>


-- 

wolf python london(WPL)
Do as you soul should do !



Re: Communicating with USB Modem

2010-10-09 Thread Phil Requirements
On 2010-10-09 23:17:40 -0400, Hal Vaughan wrote:
> On Oct 9, 2010, at 10:17 PM, Phil Requirements wrote:
> 
> > The one I used was US Robotics, but I can't lay my hand on it right
> > this minute to say the product number.
> 
> I saw some USR USB modems, but considering how I'll be buying a
> number of these, and footing the price myself (for various reasons,
> I can't really pass along this cost to my clients), if the $25 modem
> I ordered works, I'll be using it over the $45-$50 USR modems.  It's
> pricing.  Now if they're flaky, then, yes, I'll spend more, but if
> they work, I won't.
> 

I agree that you should go with the cheapest one that works as expected.
I don't mean to imply that US Robotics USB modems are better than any
other one, just mentioning that it worked for me. US Robotics had a good
reputation around hardware modems, but then they made WinModems, and
now these USB modems are a breed apart from either of those two. Now
their reputation is ?

I bet part of what you get for $47 from USR is their name brand, and
maybe a RMA policy or warrantee. But if a Rosewill behaves the same, I
doubt the hardware will be much different or more flaky. I'm out on a
limb here, though, because I haven't actually tested different brands
or looked at the hardware.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101010065109.ga11...@kasploosh.net