Re: Finding older ISOs

2018-02-13 Thread Rick Thomas

On Feb 12, 2018, at 12:47 PM, Thomas Schmitt  wrote:

> Hi,
> 
> David Christensen quoted that
> richey goldberg wrote:
>>> That's what I've been using to find the files to plug into jigdo-lite
>>> and I get the file not found errors.
> 
> "File not found" messages from the user chosen mirror server during
> the first pass of jigdo-lite are normal, if the ISO is old. But the
> fallback mirror which is given by the .jigdo file should have the
> missing ones. In case of debian-8.8.0-amd64-DVD-1.jigdo there are two:
>  Debian=http://snapshot.debian.org/archive/debian/20170506T141043Z/
>  Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/
> 
> What do you get as final message of the jigdo-lite run ?
> 
> Does the resulting .iso file have the checksum as listed in the
> SHA512SUMS form the directory where you found the .jidgo file ?
> 
> 
> Have a nice day :)
> 
> Thomas
> 

Out of curiosity, I tried this myself.

The commands I used were:

wget 
https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.jigdo
wget 
https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.template
jigdo-lite debian-8.8.0-amd64-netinst.jigdo

Here’s the last screenful of messages from jigdo-lite:

> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:16 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/http.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:16 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:16--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot2.mod
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:17 ERROR 404: Not Found.
> 
> --2018-02-13 00:23:17--  
> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/cdrom/initrd.gz
> Reusing existing connection to us.cdimage.debian.org:80.
> HTTP request sent, awaiting response... 404 Not Found
> 2018-02-13 00:23:17 ERROR 404: Not Found.
> 
> Skipping object `debian-8.8.0-amd64-netinst.iso.tmpdir' (No such file or 
> directory)
> Found 0 of the 8 files required by the template
> Copied input files to temporary file `debian-8.8.0-amd64-netinst.iso.tmp' - 
> repeat command and supply more files to continue
> 
> -
> Aaargh - 8 files could not be downloaded. This should not
> happen! Depending on the problem, it may help to retry downloading
> the missing files.
> Also, you could try changing to another Debian or Non-US server,
> in case the one you used is out of sync.
> 
> However, if all the files downloaded without errors and you
> still get this message, it means that the files changed on the
> server, so the image cannot be generated.
> As a last resort, you could try to complete the CD image download
> by fetching the remaining data with rsync.
> 
> Press Return to retry downloading the missing files.
> Press Ctrl-C to abort. (If you re-run jigdo-lite later, it will
> resume from here, the downloaded data is not lost if you press
> Ctrl-C now.)
> : ^C
> 

So where did the missing files go?

Rick


Re: 4 printer limit to cups printers is a debian limit, why?

2018-02-13 Thread Curt
On 2018-02-12, Gene Heskett  wrote:
>
> Do adequately describe the various jobs it can do, by selecting 
> the "printer" to send this job to, would need at least 8, individual 
> profiles setup in the cups menu's at localhost:631/printers.
>

Your problem description is inadequate (exactly what you do and what
happens or doesn't happen when you do it--error messages, etc).

Have you flushed your cache and cookies in whatever browser you use to
perform cups administration? Have you tried creating a printer instance
from the command line? Have you stopped and restarted the cups daemon
while simultaneously throwing a prayer up (or down to the devil is in
the details)?

Do you have 500+ print jobs pending (I have read there is or was a
default max jobs limit set at 500)?


-- 
I think it’s more like we both had this rich neighbor named Xerox and I broke
into his house to steal the TV set and found out that you had already stolen
it.”  Gates telling Jobs why Apple didn't really get ripped off by Microsoft.





Create Debian package from multiple Git repos

2018-02-13 Thread Denny Fuchs

Hello,

we have a Debian Jenkins job, which clones four Git repos into:

project/main
project/main/module1
project/module2
project/debian


The debian/rules is a bit old and contains a lot things, which could 
cleaned a bit Also out of this projects, we create two Debian 
packages. Both packages have more or less the same files (all 
bash/Perl), but with different options/names ... so after the first 
packages was created, the source has to be "reset" before the second 
package can created.


Instead of let Jenkins do all the git clone the jobs, I want to create a 
debian/rule file, which is a bit cleaner and make use of all new Debian 
package create stuff.


Can anybody show me, what is the good way, to clone all this repos, 
(g...@host.example.com:/ and later we switch to Gitlab) and how to 
reset, after the first package was created ?


Nearly every howto shows only one GitRepo  (debian/watch) / gbp ..


cu denny



end of security support for wheezy LTS

2018-02-13 Thread Adam Weremczuk

Hi all,

Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.

The Wikipedia page: https://en.wikipedia.org/wiki/Debian_version_history 
just says "May 2018".


Debian website:

https://www.debian.org/releases/wheezy/
https://wiki.debian.org/LTS

clearly states "end of May 2018".

I'm treating the latter as the more reliable source.

My related question:

Is it likely for this date to still be moved forward or back?
Can it happen on a short notice (say less than a month)?

Regards
Adam



openssh-server change log

2018-02-13 Thread Adam Weremczuk

Hello,

Just to let you know - the link on Debian website gives 404:

https://packages.debian.org/wheezy/openssh-server

http://metadata.ftp-master.debian.org/changelogs/main/o/openssh/openssh_6.0p1-4+deb7u7_changelog

I got it from the tarball so it's not critical.

Thanks
Adam



Re: 4 printer limit to cups printers is a debian limit, why?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 03:47:50 Curt wrote:

> On 2018-02-12, Gene Heskett  wrote:
> > Do adequately describe the various jobs it can do, by selecting
> > the "printer" to send this job to, would need at least 8, individual
> > profiles setup in the cups menu's at localhost:631/printers.
>
> Your problem description is inadequate (exactly what you do and what
> happens or doesn't happen when you do it--error messages, etc).
>
> Have you flushed your cache and cookies in whatever browser you use to
> perform cups administration? Have you tried creating a printer
> instance from the command line? Have you stopped and restarted the
> cups daemon while simultaneously throwing a prayer up (or down to the
> devil is in the details)?
>
> Do you have 500+ print jobs pending (I have read there is or was a
> default max jobs limit set at 500)?

No jobs pending. Error_logs don't seem to be where the browser can find 
them. I know where they are so thats NBD.

I followed the plan I outlined in a previous message just now, 
successfully adding a 5th printer to do single sided glossy photo's and 
a test page had perfect color. I found that spaces are not allowed in 
the name, so used _ as hard spaces. The description suffers no such 
limitations.

There are 2 or 3 more variations that would be handy to have available, 
and I am still trying to decode the actual effect of turning a color up 
and down, on plain duplex copy paper the color is I guess, doomed to 
be "pastel" and if you ask it to add a right edge header "pg 2 of 7" the 
7, while not off the edge of the paper, is quite washed out. Copy paper, 
the 6 to 9 dollar a ream variety soaks up ink like a blotter. You do get 
color, but not what you put in. OTOH, I've had it nearly 3 years, and 
I'm still on the original color tanks.

Due to the location internally of the usb input, putting it out of legal 
5 foot reach for a usb cable, I am using the network port, but thats 
either running at 10 megabit on a gigabit network, or it takes lots and 
lots of data to print a page. I claims lots faster than I've ever 
observed in pages a minute, more like minutes per page.

The scanner driver apparently try's several times to wake that up, the 
first 6 attempts have a bad tcp crc, which the scanner then ignores, as 
wireshark willingly tells me, then it changes tactics and sends good 
messages, so sane always has a 6 second startup lag. Go figure, maybe 
brothers attempt to cover all the bases.

This is somewhat of an unconventional bird of a printer as the paper is 
fed sideways. So it does, I assume in the brother supplied drivers, a 90 
degree page rotation when you tell it "portrait" in order to actually 
give a portrait format. The printhead actually sweeps up and down the 
length of the paper in every mode but tabloid, but you have to feed the 
tabloid into a slot in the rear, and keeping that free-hand feed 
straight is a trick. I've made a feed tray, but need a way to make it 
self supporting when its in position to feed a sheet, one at a time. 
I'll get something cobbled up eventually as the only time I use that 
mode is when printing the 8 to 12 up tabloid sized output from 
ps2poster, or whatever its called, generates from the rockhopper outout 
file.

Thanks Curt.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Finding older ISOs

2018-02-13 Thread Thomas Schmitt
Hi,

Rick Thomas wrote:
> Out of curiosity, I tried this myself.
> ...
> HTTP request sent, awaiting response... 404 Not Found
> ...
> Aaargh - 8 files could not be downloaded. 

This is not what is supposed to happen.

I forwarded your report to debian-cd:
  https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas



Re: lftp breakage upcoming

2018-02-13 Thread Jude DaShiell
I wish I could, as things stand I forgot to save the message and this 
mail setup doesn't save sent messages so far as I can discover.  Also 
lynx isn't set up here to bring up the last visited link or I'd have 
that for you now.


On Mon, 12 Feb 2018, Brian wrote:


Date: Mon, 12 Feb 2018 15:34:14
From: Brian 
To: debian-user@lists.debian.org
Subject: Re: lftp breakage upcoming
Resent-Date: Mon, 12 Feb 2018 20:34:31 + (UTC)
Resent-From: debian-user@lists.debian.org

On Mon 12 Feb 2018 at 14:56:35 -0500, Jude DaShiell wrote:


If debian users can download torrents with lftp now, expect as systemd gets
upgraded systemd will break lftp and make it no longer useable.  The
archlinux distribution is on the bleeding edge of a rolling release and
that's what's happened over here.  I just figured to send out a heads up so
you'll know why lftp breaks when that day happens.


That day might never come. Fancy giving a link for the source of your
information?




--



Re: Dell Open Manage

2018-02-13 Thread Dave Sherohman
On Mon, Feb 12, 2018 at 08:41:32AM -0600, David Wright wrote:
> On Mon 12 Feb 2018 at 10:34:45 (+), Adam Weremczuk wrote:
> > I'm referring to:
> > 
> > http://linux.dell.com/repo/community/debian/
> > 
> > Does anybody know if jessie version works well on stretch?
> > 
> > Or if an official release for stretch is going to be available soon?
> 
> On stretch, if *they* don't know, I doubt you'll get much joy here.

Coincidentally, earlier today I installed srvadmin-idracadm8 on stretch
from

deb http://linux.dell.com/repo/community/ubuntu jessie openmanage

and racadm was able to read the network config from my drac with no
problems.  I haven't tried changing the network config yet, or any other
operations, so I can't say whether it works completely, but it's at
least partially functional.

-- 
Dave Sherohman



Re: Finding older ISOs

2018-02-13 Thread Jude DaShiell
What is the meaning of repeated tracker not found messages with a 
bittorrent download?  I've been having this happen repeatedly with one 
of the firmware-buster x86_64 iso files I've been trying to get.


On Tue, 13 Feb 2018, Thomas Schmitt wrote:


Date: Tue, 13 Feb 2018 07:42:32
From: Thomas Schmitt 
To: debian-user@lists.debian.org
Subject: Re: Finding older ISOs
Resent-Date: Tue, 13 Feb 2018 12:43:17 + (UTC)
Resent-From: debian-user@lists.debian.org

Hi,

Rick Thomas wrote:

Out of curiosity, I tried this myself.
...
HTTP request sent, awaiting response... 404 Not Found
...
Aaargh - 8 files could not be downloaded.


This is not what is supposed to happen.

I forwarded your report to debian-cd:
 https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas




--



Re: Packages for debian-8.8.0-amd64-netinst.jigdo are missing on fallback mirrors

2018-02-13 Thread Steve McIntyre
On Tue, Feb 13, 2018 at 01:38:47PM +0100, Thomas Schmitt wrote:
>Hi,
>
>a thread on debian-user reveils problems with package mirrors for 8.8.0
>jigdo images. It begins at
>  https://lists.debian.org/debian-user/2018/02/msg00531.html
>
>I wrote on debian-user:
>> > "File not found" messages from the user chosen mirror server during
>> > the first pass of jigdo-lite are normal, if the ISO is old. But the
>> > fallback mirror which is given by the .jigdo file should have the
>> > missing ones.
>
>Rick Thomas wrote on debian-user:
>> Out of curiosity, I tried this myself.
>> The commands I used were:
>>
>>wget 
>> https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.jigdo
>>wget 
>> https://cdimage.debian.org/cdimage/archive/8.8.0/amd64/jigdo-cd/debian-8.8.0-amd64-netinst.template
>>jigdo-lite debian-8.8.0-amd64-netinst.jigdo
>>
>> Here’s the last screenful of messages from jigdo-lite:
>> ...
>> http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/cdrom/initrd.gz
>> Reusing existing connection to us.cdimage.debian.org:80.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2018-02-13 00:23:17 ERROR 404: Not Found.
>> ...
>> Aaargh - 8 files could not be downloaded. [...]
>
>Rick did not show all 8 file URLs. To see are 3 more than the above one:
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot.mod
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/http.mod
>
>http://us.cdimage.debian.org/cdimage/snapshot/Debian/dists/jessie/main/installer-amd64/20150422+deb8u4+b3/images/netboot/debian-installer/amd64/grub/x86_64-efi/multiboot2.mod
>
>This time it does not look like no-matching MD5s but rather like flatly
>missing URLs.
>
>The .jigdo file has as flabback servers:
>  [Servers]
>  Debian=http://snapshot.debian.org/archive/debian/20170506T140911Z/
>  Debian=http://us.cdimage.debian.org/cdimage/snapshot/Debian/ --try-last

It looks like there's been two failures causing files not to be
archived on *both* snapshot.d.o and us.cdimage.d.o. I've just copied
across the missing files onto us.cdimage.d.o now and tested again
successfully with jigdo. I'll file a bug on snapshot.d.o too, to get
things fixed up there.

Thanks for the report!

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
Who needs computer imagery when you've got Brian Blessed?



Re: Dell Open Manage

2018-02-13 Thread Adam Weremczuk

Please keep me updated Dave.
Especially if you discover something big :)
I'm not desperate , happy to wait for another few weeks or so.

Thanks
Adam


On 13/02/18 13:37, Dave Sherohman wrote:

Coincidentally, earlier today I installed srvadmin-idracadm8 on stretch
from

debhttp://linux.dell.com/repo/community/ubuntu  jessie openmanage

and racadm was able to read the network config from my drac with no
problems.  I haven't tried changing the network config yet, or any other
operations, so I can't say whether it works completely, but it's at
least partially functional.

-- Dave Sherohman




Re: Finding older ISOs

2018-02-13 Thread Thomas Schmitt
Hi,

Jude DaShiell wrote:
> What is the meaning of repeated tracker not found messages with a bittorrent
> download?

You surely know more about BitTorrent than me.
If there are problems with getting a Debian ISO via BitTorrent, then
debian-cd would be the place to ask.

But possibly we have people on debian-user who can help to distinguish
whether it's a local problem on your side or a problem how the ISOs are
offered by the peers.
In the latter case the next question would be: Is the .torrent file from
Debian to blame ?


> I've been having this happen repeatedly with one of the
> firmware-buster x86_64 iso files I've been trying to get.

Do you mean this ?
  
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/buster_di_alpha2/amd64/bt-cd/


Have a nice day :)

Thomas



Re: end of security support for wheezy LTS

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> Hi all,

Hello again,

> Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> The Wikipedia page:
> https://en.wikipedia.org/wiki/Debian_version_history just says "May
> 2018".
> 
> Debian website:
> 
> https://www.debian.org/releases/wheezy/
> https://wiki.debian.org/LTS
> 
> clearly states "end of May 2018".
> 
> I'm treating the latter as the more reliable source.
> 
> My related question:
> 
> Is it likely for this date to still be moved forward or back?
> Can it happen on a short notice (say less than a month)?

No idea, but the people here may by closer to the action:
https://wiki.debian.org/LTS/Contact
They're all open lists.

Cheers,
David.



Re: exim4 wont configure resolved

2018-02-13 Thread Jonathan Dowland

On Mon, Feb 12, 2018 at 09:46:42AM -0500, Marc Auslander wrote:

Problem was a complicated smarthost specification which exim4 is happy
to honor bug exim-config postinst could not grok.
error was:

+ RET=20 Unsupported command "${if" (full line was "${if
match{${lc:$header_subject:}}{MarcAtAuslanderDotNameWorkingCheck}{mail.optonline.net}\")
received from confmodule.

Issue may be use of continuation but I'm not sure about that.


Ouch.

I believe a lot of people who use Debian exim for more-complicated-than-
average-use-cases opt to avoid the Debian/debconf-generated exim
configuration machinery, at least once it has generated something to
begin working from.

To achieve this, one copies /var/lib/exim4/config.autogenerated to
/etc/exim4/exim4.conf and restarts the daemon.


From that point forward, you will not get the benefit of any

improvements made to the debconf-exim-config-generation machinery in
newer package versions, but it is quite static anyway. You would also
side-step bugs like the above.


--
Jonathan Dowland



Re: end of security support for wheezy LTS

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 09:28:06 AM David Wright wrote:
> On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:

...

> > Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.

...

> No idea, but the people here may by closer to the action:
> https://wiki.debian.org/LTS/Contact
> They're all open lists.

If you get an answer, would you please post it here (or cc me).



Re: end of security support for wheezy LTS

2018-02-13 Thread Roberto C . Sánchez
On Tue, Feb 13, 2018 at 09:50:20AM -0500, rhkra...@gmail.com wrote:
> On Tuesday, February 13, 2018 09:28:06 AM David Wright wrote:
> > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> 
> ...
> 
> > > Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> ...
> 
> > No idea, but the people here may by closer to the action:
> > https://wiki.debian.org/LTS/Contact
> > They're all open lists.
> 
> If you get an answer, would you please post it here (or cc me).
> 

Support is official through the end of May:

https://lists.debian.org/debian-announce/2016/msg5.html

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: end of security support for wheezy LTS

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 11:03:29AM +, Adam Weremczuk wrote:
> Hi all,
> 
> Our PCI compliance scanner (probably falsely) claims it's 2018-05-01.
> 
> The Wikipedia page: https://en.wikipedia.org/wiki/Debian_version_history
> just says "May 2018".
> 
> Debian website:
> 
> https://www.debian.org/releases/wheezy/
> https://wiki.debian.org/LTS
> 
> clearly states "end of May 2018".
> 
> I'm treating the latter as the more reliable source.
> 
> My related question:
> 
> Is it likely for this date to still be moved forward or back?
> Can it happen on a short notice (say less than a month)?

If you offered them enough money -- yes, really -- it could
probably be moved later.

LTS runs on a sponsorship model. Your company can become 
a sponsor. For about 17K euros, you can pay for a whole month
of LTS support for the whole world.

https://wiki.debian.org/LTS/Funding

-dsr-



Re: Finding older ISOs

2018-02-13 Thread john doe

On 2/13/2018 2:51 PM, Jude DaShiell wrote:
What is the meaning of repeated tracker not found messages with a 
bittorrent download?  I've been having this happen repeatedly with one 
of the firmware-buster x86_64 iso files I've been trying to get.




Jude you should ask a new question to get more exposure and also answer 
older question when people are trying to help you and go step by step.


I'm glad you know the debian-user list though.

Your question is about Buster and irrelevant to this threads while here 
it is about older version of Debian.


From older conversations you clearly have some issues on your systems 
(poor connection, unstable installation of Debian, to many broken 
packages ...).


I have tried to help you two times in the passed on debian-accessibility 
and from now on I will simply point out the errors but won't waste my 
time trying to  help you.



On Tue, 13 Feb 2018, Thomas Schmitt wrote:


Date: Tue, 13 Feb 2018 07:42:32
From: Thomas Schmitt 
To: debian-user@lists.debian.org
Subject: Re: Finding older ISOs
Resent-Date: Tue, 13 Feb 2018 12:43:17 + (UTC)
Resent-From: debian-user@lists.debian.org

Hi,

Rick Thomas wrote:

Out of curiosity, I tried this myself.
...
HTTP request sent, awaiting response... 404 Not Found
...
Aaargh - 8 files could not be downloaded.


This is not what is supposed to happen.

I forwarded your report to debian-cd:
 https://lists.debian.org/debian-cd/2018/02/msg00030.html


Have a nice day :)

Thomas







--
John Doe



Re: at based alarm.

2018-02-13 Thread peter
From: davidson 
Date: Sun, 11 Feb 2018 10:31:25 + (UTC)
> In the "wake" script, you could start xterm with the -e option (and
> put the remainder of your "wake" script in a separate "wake-aux"
> script, I guess):

OK, thanks.  wake is now simplified to this.

peter@computer:~$ cat wake
#!/bin/bash
  input=""
  until [[ $input != "" ]] ; do
echo Beginning until loop.
/usr/bin/play /home/peter/ring.wav
read -n 1 -t 4 input
  done

Test the script.
peter@computer:~$ xterm -e ./wake
Yes, it works for bash.  Appears [[ or read is not available in dash.

Also tried defining a function in .bashrc.
peter@computer:~$ declare -f wake
wake ()
{
  input=""
  until [[ $input != "" ]] ; do
echo Beginning until loop.;
/usr/bin/play /home/peter/ring.wav;
read -n 1 -t 4 input;
  done
}

Test the function.
peter@computer:~$ wake
Yes, it works .

Test the function with xterm.
peter@computer:~$ xterm -e wake
The xterm window opens and immediately closes.  A function 
is not an acceptable option?

Try the alarm using the working script.
peter@computer:~$ echo "xterm -display :0 -e ./wake" | at 6:30

The xterm window doesn't open but there is no error message 
to the originating terminal or to syslog.

I need to understand why "xterm -display :0 -e ./wake" fails for at 
but works interactively.

> I ask about your intent above because this next line...
> 
> until [[ $input != "" ]] ; do
> 
> ...employs the new-fangled Korn shell/Bash conditional test '[[',
> instead of the old-fangled test builtin '['.

bash is now specified.  I'd prefer "test" rather than "[[" but haven't 
found how to make it work.  In common use, "[" and "[[" are delimiters. 
"test" is a better keyword.

Thanks,  ... P.



-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202  Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html  Bcc: peter at easthope. ca



Re: How to safely hold kernel packages ?

2018-02-13 Thread Stéphane Rivière
Sounds like a nice computer, but without the model number, cores, bus 
speed it's hard to tell just how fast it can work or move a Tb or two of 
data.


You're right.

Supermicro X9SR
Intel Xeon E5 1620v2
4 cores / 8 threads
3.7 GHz / 3,9 GHz
10 Mo cache
64Go DDR3 ECC 1600 MHz

Debian 8 stable.

I've no internal router in a dedicated  VM. I only use pure Linux 
network tools (network layer + netfilter/iptables) with geoiptables, 
fail2ban and other classic tools.


Between hypervisor and a VM : 8500 Mbps
Between two VM using a virtual intranet : 4500 Mbps.
Internet connectivity : 1000 Mbps (with very good peering).

8 cores should be better. But no money for :)
It's a second hand server. But worth the price...

--
Stéphane Rivière
Ile d'Oléron - France



Re: at based alarm.

2018-02-13 Thread Greg Wooledge
On Tue, Feb 13, 2018 at 08:47:56AM -0800, pe...@easthope.ca wrote:
> peter@computer:~$ cat wake
> #!/bin/bash
>   input=""
>   until [[ $input != "" ]] ; do
> echo Beginning until loop.
> /usr/bin/play /home/peter/ring.wav
> read -n 1 -t 4 input
>   done
> 
> Test the script.
> peter@computer:~$ xterm -e ./wake
> Yes, it works for bash.  Appears [[ or read is not available in dash.

The [[ command is a bashism, yes.

The read command is not a bashism, but read -t and read -n *are*.
The only portable option for read is -r.

Since you're relying heavily on the read-with-timeout, just stick
with bash and do not even ATTEMPT it in sh.



Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 09:28:06 David Wright wrote:

> On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > Hi all,
>
> Hello again,
>
> > Our PCI compliance scanner (probably falsely) claims it's
> > 2018-05-01.
> >
> > The Wikipedia page:
> > https://en.wikipedia.org/wiki/Debian_version_history just says "May
> > 2018".
> >
> > Debian website:
> >
> > https://www.debian.org/releases/wheezy/
> > https://wiki.debian.org/LTS
> >
> > clearly states "end of May 2018".
> >
> > I'm treating the latter as the more reliable source.
> >
> > My related question:
> >
> > Is it likely for this date to still be moved forward or back?
> > Can it happen on a short notice (say less than a month)?
>
> No idea, but the people here may by closer to the action:
> https://wiki.debian.org/LTS/Contact
> They're all open lists.
>
> Cheers,
> David.

I noted one thing on the frexian pages, the prices for funding are in 
euro's.  And since I run on dollars, would need an exchange rate.

Those prices would appear to be aimed at a corporate setting, as opposed 
to something that a retiree on SS might be able to afford, nor is the 
plea taken as being aimed at me. IMO this is a mistake. I am well aware 
of the TANSTAAFL principle, and if the paperwork didn't drown them, 
would be able to make an annual donation of perhaps $100 toward the 
expenses of the LTS. Tain't much, but how many other old farts like me 
would be willing to do likewise?

On a secondary note, I see armel and armhf? listed there, but what about 
arm64 since there are now, shipping versions of arm64 out in the wild 
for at least a year. I have 2 of the rock64's myself. Runs at about 3/4 
the speed of this machine, which is a quad core phenom about 10 years 
old, and once the drivers (dual mali gfx engines, high speed spi) have 
been written, will easily take over from thousands of power slurping 
wintel boxes controlling industrial machines.

Thats a $44 card, with 4GiB of installed dram. You are going to get more 
and more requests as folks take note of the rock64.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: end of security support for wheezy LTS

2018-02-13 Thread deloptes
Gene Heskett wrote:

> I am well aware
> of the TANSTAAFL principle, and if the paperwork didn't drown them,
> would be able to make an annual donation of perhaps $100 toward the
> expenses of the LTS. Tain't much, but how many other old farts like me
> would be willing to do likewise?

So you can prolong the LTS support for wheezy with 5h.




Re: at based alarm.

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 08:47:56 (-0800), pe...@easthope.ca wrote:
> Test the function.
> peter@computer:~$ wake
> Yes, it works .
> 
> Test the function with xterm.
> peter@computer:~$ xterm -e wake
> The xterm window opens and immediately closes.  A function 
> is not an acceptable option?
> 
> Try the alarm using the working script.
> peter@computer:~$ echo "xterm -display :0 -e ./wake" | at 6:30
> 
> The xterm window doesn't open but there is no error message 
> to the originating terminal or to syslog.
> 
> I need to understand why "xterm -display :0 -e ./wake" fails for at 
> but works interactively.

Because .bashrc wasn't called. This might work for a bash function:

xterm -display :0 -e bash -c  . .bashrc ; wake

Cheers,
David.



Re: at based alarm.

2018-02-13 Thread Greg Wooledge
On Tue, Feb 13, 2018 at 01:58:50PM -0600, David Wright wrote:
> Because .bashrc wasn't called. This might work for a bash function:
> 
> xterm -display :0 -e bash -c  . .bashrc ; wake

You probably meant:

xterm -display :0 -e bash -c '. ~/.bashrc; wake'

It would be a lot simpler to put the script in ~/bin/wake though.



Re: end of security support for wheezy LTS

2018-02-13 Thread David Wright
On Tue 13 Feb 2018 at 14:28:51 (-0500), Gene Heskett wrote:
> On Tuesday 13 February 2018 09:28:06 David Wright wrote:
> 
> > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > > Hi all,
> >
> > Hello again,
> >
> > > Our PCI compliance scanner (probably falsely) claims it's
> > > 2018-05-01.
> > >
> > > The Wikipedia page:
> > > https://en.wikipedia.org/wiki/Debian_version_history just says "May
> > > 2018".
> > >
> > > Debian website:
> > >
> > > https://www.debian.org/releases/wheezy/
> > > https://wiki.debian.org/LTS
> > >
> > > clearly states "end of May 2018".
> > >
> > > I'm treating the latter as the more reliable source.
> > >
> > > My related question:
> > >
> > > Is it likely for this date to still be moved forward or back?
> > > Can it happen on a short notice (say less than a month)?
> >
> > No idea, but the people here may by closer to the action:
> > https://wiki.debian.org/LTS/Contact
> > They're all open lists.
> 
> I noted one thing on the frexian pages, the prices for funding are in 
> euro's.  And since I run on dollars, would need an exchange rate.

  USD US Dollars   0.7235642449 1.3820472847
  EUR Euros0.8866900420 1.1277898168
  GBP British Pounds   1.00 1.00

> Those prices would appear to be aimed at a corporate setting, as opposed 
> to something that a retiree on SS might be able to afford, nor is the 
> plea taken as being aimed at me. IMO this is a mistake.

I think that the LTS is aimed at people who might have invested
heavily in the OS and need a longer timescale to migrate their
systems. We hear about banks still running programs from the 1960s.

> I am well aware 
> of the TANSTAAFL principle, and if the paperwork didn't drown them, 
> would be able to make an annual donation of perhaps $100 toward the 
> expenses of the LTS. Tain't much, but how many other old farts like me 
> would be willing to do likewise?

To what end? If you're still running your lathes on wheezy, why not
just isolate them from the Internet to avoid any security dangers.

> On a secondary note, I see armel and armhf? listed there, but what about 
> arm64 since there are now, shipping versions of arm64 out in the wild 
> for at least a year.

If that's how new they are to the world, why would people install
wheezy on them?

Cheers,
David.



Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 15:10:22 David Wright wrote:

> On Tue 13 Feb 2018 at 14:28:51 (-0500), Gene Heskett wrote:
> > On Tuesday 13 February 2018 09:28:06 David Wright wrote:
> > > On Tue 13 Feb 2018 at 11:03:29 (+), Adam Weremczuk wrote:
> > > > Hi all,
> > >
> > > Hello again,
> > >
> > > > Our PCI compliance scanner (probably falsely) claims it's
> > > > 2018-05-01.
> > > >
> > > > The Wikipedia page:
> > > > https://en.wikipedia.org/wiki/Debian_version_history just says
> > > > "May 2018".
> > > >
> > > > Debian website:
> > > >
> > > > https://www.debian.org/releases/wheezy/
> > > > https://wiki.debian.org/LTS
> > > >
> > > > clearly states "end of May 2018".
> > > >
> > > > I'm treating the latter as the more reliable source.
> > > >
> > > > My related question:
> > > >
> > > > Is it likely for this date to still be moved forward or back?
> > > > Can it happen on a short notice (say less than a month)?
> > >
> > > No idea, but the people here may by closer to the action:
> > > https://wiki.debian.org/LTS/Contact
> > > They're all open lists.
> >
> > I noted one thing on the frexian pages, the prices for funding are
> > in euro's.  And since I run on dollars, would need an exchange rate.
>
>   USD US Dollars   0.7235642449 1.3820472847
>   EUR Euros0.8866900420 1.1277898168
>   GBP British Pounds   1.00 1.00
>
> > Those prices would appear to be aimed at a corporate setting, as
> > opposed to something that a retiree on SS might be able to afford,
> > nor is the plea taken as being aimed at me. IMO this is a mistake.
>
> I think that the LTS is aimed at people who might have invested
> heavily in the OS and need a longer timescale to migrate their
> systems. We hear about banks still running programs from the 1960s.
>
> > I am well aware
> > of the TANSTAAFL principle, and if the paperwork didn't drown them,
> > would be able to make an annual donation of perhaps $100 toward the
> > expenses of the LTS. Tain't much, but how many other old farts like
> > me would be willing to do likewise?
>
> To what end? If you're still running your lathes on wheezy, why not
> just isolate them from the Internet to avoid any security dangers.

I have dd-wrt between the net and anything of mine, been there, kept 
reasonably uptodate for over a decade. Only one person has come thru it, 
and I needed some help, so I gave him the usernames and pw.
 
> > On a secondary note, I see armel and armhf? listed there, but what
> > about arm64 since there are now, shipping versions of arm64 out in
> > the wild for at least a year.
>
> If that's how new they are to the world, why would people install
> wheezy on them?
>
I wouldn't but they are running stretch just fine once I'd killed 
light-locker.

> Cheers,
> David.



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



MIDI-to-USB on Debian?

2018-02-13 Thread Nicholas Geovanis
Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick



What is available for setting services to run levels

2018-02-13 Thread Harry Putnam
What tools do we have for setting services to run levels



Re: end of security support for wheezy LTS

2018-02-13 Thread deloptes
Gene Heskett wrote:

> I wouldn't but they are running stretch just fine once I'd killed
> light-locker.

I upgraded last year my 10y old Geode with 256MB RAM from wheezy to jessie
to stretch. As this Geode machine is 586 with a strange hd controller, I
had to compiled and build the kernel package on stretch in chroot on a fat
x86_64 machine - installed the package on the Geode one without an issue. I
upgraded the kernel twice since then following same procedure - it takes
just 15min to compile install and reboot.
It took me however a whole eternity to find the right combination for the
HDD controller and this was the blocker for a long time, so after I had the
new kernel the upgrade was painless - except I left old grub as it can
somehow not handle grub2.

However I am not sure whats the status of your machines, Gene - you post
very often bizarre issues.

I think you are simply missing how good debian become since wheezy.

regards





Re: What is available for setting services to run levels

2018-02-13 Thread Forest Dean Feighner
Perhaps, from man systemctl


   isolate NAME
   Start the unit specified on the command line and its
dependencies and stop all others. If a unit name
   with no extension is given, an extension of ".target" will be
assumed.

   This is similar to changing the runlevel in a traditional init
system. The isolate command will
   immediately stop processes that are not enabled in the new unit,
possibly including the graphical
   environment or terminal you are currently using.

   Note that this is allowed only on units where AllowIsolate= is
enabled. See systemd.unit(5) for details.

I haven't tinkered with it yet

HTH

On Tue, Feb 13, 2018 at 4:08 PM, Harry Putnam  wrote:

> What tools do we have for setting services to run levels
>
>


Re: MIDI-to-USB on Debian?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 16:00:20 Nicholas Geovanis wrote:

> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

There may be such a critter, but expect to pay thru the nose for it, and 
that the midi timing may suffer critically.

The usb chips are all optimized for std serial port speeds, but midi is 
not a std serial port speed, its 31,250 baud falling smack in the middle 
between 19,200, baud and 38,400 baud. I do not know of a usb chip that 
would recognize a 31,250 baud signal as anything but noise to be 
ignored.

You would, for performance reasons, be far better off to search for a 
card that was designed from the gitgo, to run at midi speeds. And expect 
that its going to need a desktop to house it, primarily because the full 
sized din connector is going to use the full width of a cards back 
panel.

Frankly, as an operating electronics technician involved in television 
broadcasting since back the '60's, I am amazed at the longevity 
exhibited by midi. It should have been replaced with better, faster ways 
of doing it several times over the last nearly 60 years. Modern RS-485 
hardware can be bidirectional, is a low voltage differential signal on 
two wires that do not within reason, need a ground reference, and can 
run at several megabuad for signal rates.  And I can buy them on fleabay 
for less than 10 bucks for 10 of them. Sure, midi still manages to get 
the job done, but when you have the equ of a 40 piece orchestra being 
played, you cannot get away from the impression that Floyd Cramer is 
playing every instrument. And that is not how the original paper copy of 
the music was written.

So find a real midi card, and forget about the effects of usb's latency 
(which can be tens of milliseconds) as it translates the speed 
differences.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: end of security support for wheezy LTS

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 02:28:51PM -0500, Gene Heskett wrote:
> 
> Those prices would appear to be aimed at a corporate setting, as opposed 
> to something that a retiree on SS might be able to afford, nor is the 
> plea taken as being aimed at me. IMO this is a mistake. I am well aware 

No, they'll happily take your $5 pledge, too.

What they are doing is telling you what it costs to hire,
approximately, 1.5 Debian developers. If you would like to
contribute towards that, great. If you can't afford to give
them any money, OK, they're still doing the work as long as
they can, and the LTS repo will continue to be updated until
they stop.


> would be able to make an annual donation of perhaps $100 toward the 
> expenses of the LTS. Tain't much, but how many other old farts like me 
> would be willing to do likewise?

They would be happy to get that, too.


> arm64 since there are now, shipping versions of arm64 out in the wild 
> for at least a year. I have 2 of the rock64's myself. Runs at about 3/4 
> the speed of this machine, which is a quad core phenom about 10 years 
> old, and once the drivers (dual mali gfx engines, high speed spi) have 
> been written, will easily take over from thousands of power slurping 
> wintel boxes controlling industrial machines.
> 
> Thats a $44 card, with 4GiB of installed dram. You are going to get more 
> and more requests as folks take note of the rock64.

I'm pretty sure that there is no existing wheezy support for it,
so they are unlikely to port it. However, when LTS stops
supporting wheezy and moves on to jessie, they will probably
support jessie on arm64.

That said, why are you not running stretch (current stable) on
your arm64 machines?

-dsr-



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

I haven't used it, but I have heard the
http://www.m-audio.com/products/view/uno
M-Audio Uno recommended in the past.

In general, there shouldn't be a problem, because MIDI-over-USB
is a well-recognized protocol with kernel support, like USB mass
storage.

-dsr-



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Dan Ritter
On Tue, Feb 13, 2018 at 05:59:19PM -0500, Gene Heskett wrote:
> On Tuesday 13 February 2018 16:00:20 Nicholas Geovanis wrote:
> 
> > Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> > and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard to
> > a laptop. Software on the laptop remains undetermined, probably some
> > combination of Rhythmbox, CSound, Supercollider and god knows what
> > else. Thanks..Nick
> 
> There may be such a critter, but expect to pay thru the nose for it, and 
> that the midi timing may suffer critically.

Prices start at about $30, and get very fancy by the time you
hit a hundred.

> The usb chips are all optimized for std serial port speeds, but midi is 
> not a std serial port speed, its 31,250 baud falling smack in the middle 
> between 19,200, baud and 38,400 baud. I do not know of a usb chip that 
> would recognize a 31,250 baud signal as anything but noise to be 
> ignored.

That's why they have dedicated midi hardware on one end, and
dedicated USB hardware on the other hand. Getting 31.25Kbaud
across a 12Mb/s USB1 connection is not difficult. USB2 is 480
Mb/s, and so most of the time is going to be spent waiting for 
MIDI events to come in.

-dsr-



Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 17:02:10 deloptes wrote:

> Gene Heskett wrote:
> > I wouldn't but they are running stretch just fine once I'd killed
> > light-locker.
>
> I upgraded last year my 10y old Geode with 256MB RAM from wheezy to
> jessie to stretch. As this Geode machine is 586 with a strange hd
> controller, I had to compiled and build the kernel package on stretch
> in chroot on a fat x86_64 machine - installed the package on the Geode
> one without an issue. I upgraded the kernel twice since then following
> same procedure - it takes just 15min to compile install and reboot.
> It took me however a whole eternity to find the right combination for
> the HDD controller and this was the blocker for a long time, so after
> I had the new kernel the upgrade was painless - except I left old grub
> as it can somehow not handle grub2.
>
> However I am not sure whats the status of your machines, Gene - you
> post very often bizarre issues.

The demands of linuxcnc on the kernel can lead one down some unexplored 
garden paths, running into all sorts of "bizarre" issues. The simulator, 
which is not complete, will run on a stock kernel. You can download that 
and run it on darned near anything except when you need motion control 
locked to spindle rpms. That generally rules out thread cutting as that 
takes feedback from a running spindle the simulation doesn't have.

> I think you are simply missing how good debian become since wheezy.
>
> regards

I agree Deloptes, debian's newer releases are generally better, if the 
ever increasing paranoia can be worked around. The major problems are 
with the difficulties in building and installing, a newer, realtime 
kernel for machine control usage, when the boot protocol is not grub 
like, and none of these modern whiz bang credit card sized offerings use 
grub to boot. I have sourced some docs on the u-boot process, intending 
to write a script that will install a realtime kernel such as 
v4.14.15-rt13 I've built on that rock64 in well under an hour, but I'm 
still walking thru the ayufan stretch image trying to discern which of 
the 4 paths to a good boot he took thru what at first looks like 4! (16) 
ways to do it that Mark Harris actually used. Its getting clearer, and I 
am starting to make notes, but I'm at  least a weeks worth of days from 
starting a script. There's stuff there thats probably GPT/MBR related 
but what is it? Gibberish to the untrained eye looking at a hexdump.


That, and fighting with my printer because theres no pdf of this doco,



only html, so I must strip and print the html to get a hard copy that I 
then have to read with a magnifying glass by the time I've reduced it to 
about 75% to keep the gfx diagrams from being cut off by the right edge 
of the paper. By then the text fonts are about 4 points high.  Thats a 
bit small for 83 yo eyes beginning to have cataracts.
But that is my problem, not this lists.


Thank you Deloptes.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: end of security support for wheezy LTS

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 18:06:31 Dan Ritter wrote:

> On Tue, Feb 13, 2018 at 02:28:51PM -0500, Gene Heskett wrote:
> > Those prices would appear to be aimed at a corporate setting, as
> > opposed to something that a retiree on SS might be able to afford,
> > nor is the plea taken as being aimed at me. IMO this is a mistake. I
> > am well aware
>
> No, they'll happily take your $5 pledge, too.
>
> What they are doing is telling you what it costs to hire,
> approximately, 1.5 Debian developers. If you would like to
> contribute towards that, great. If you can't afford to give
> them any money, OK, they're still doing the work as long as
> they can, and the LTS repo will continue to be updated until
> they stop.
>
> > would be able to make an annual donation of perhaps $100 toward the
> > expenses of the LTS. Tain't much, but how many other old farts like
> > me would be willing to do likewise?
>
> They would be happy to get that, too.
>
> > arm64 since there are now, shipping versions of arm64 out in the
> > wild for at least a year. I have 2 of the rock64's myself. Runs at
> > about 3/4 the speed of this machine, which is a quad core phenom
> > about 10 years old, and once the drivers (dual mali gfx engines,
> > high speed spi) have been written, will easily take over from
> > thousands of power slurping wintel boxes controlling industrial
> > machines.
> >
> > Thats a $44 card, with 4GiB of installed dram. You are going to get
> > more and more requests as folks take note of the rock64.
>
> I'm pretty sure that there is no existing wheezy support for it,
> so they are unlikely to port it. However, when LTS stops
> supporting wheezy and moves on to jessie, they will probably
> support jessie on arm64.
>
> That said, why are you not running stretch (current stable) on
> your arm64 machines?
>
Yes

And by May, I expect to see an install iso from the linuxcnc guys that is 
based on stretch. But its not happened yet... One of the basic tenets of 
linuxcnc is that it MUST run on older hardware, whatever was originally 
installed on that machine when it was first converted in the late 90's. 
If debian drops support for 486/586 machines, a lot of them will have to 
be replaced, so a leap frog to the latest, low cost hardware must be a 
viable path. Thats gonna make some of the oldtimers without a background 
like mine, retire before its time, so we've got to make it as easy and 
cheap as we can to make the hdwe upgrade needed. Thats one of the things 
I am trying to do. I have around $250 in the cards etc to run a big 
lathe from a raspberry pi. But the pi's all have a huge internal 
architecture, problem, the data from the keyboard and mouse dongles all 
has to get into the system via the invisible internal usb-2 hub, which 
results in thrown away events. Once the code is committed to a file on 
the sdcard, it runs the machine perfectly, but editing that code can be 
quite a trip.

This particular $44 card promises to fix all that.

> -dsr-



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Gene Heskett
On Tuesday 13 February 2018 18:11:55 Dan Ritter wrote:

> On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> > Does anyone have a MIDI-to-USB adapter they could recommend for
> > Debian and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard
> > to a laptop. Software on the laptop remains undetermined, probably
> > some combination of Rhythmbox, CSound, Supercollider and god knows
> > what else. Thanks..Nick
>
> I haven't used it, but I have heard the
> http://www.m-audio.com/products/view/uno
> M-Audio Uno recommended in the past.
>
Unfortunately, the price is top secret.

> In general, there shouldn't be a problem, because MIDI-over-USB
> is a well-recognized protocol with kernel support, like USB mass
> storage.
>
> -dsr-



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Doug


On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:

Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick


Look for a PS2 to USB adapter. I have one that allows me to plug an IBM 
model M keyboard into a Dell laptop, and it works perfectly. (No 
manufacturer's name on it--it just says

"Made in China" like so much else these days.

--doug



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 08:06:52 PM Doug wrote:
> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
> > Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> > and/or linux?
> > This is just for a point-to-point connection from a Yamaha keyboard to
> > a laptop. Software on the laptop remains undetermined, probably some
> > combination of Rhythmbox, CSound, Supercollider and god knows what
> > else. Thanks..Nick
> 
> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> model M keyboard into a Dell laptop, and it works perfectly. (No
> manufacturer's name on it--it just says
> "Made in China" like so much else these days.

I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the 
description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to Music 
Keyboard Adapter Cord 2017".

It was about $6, with free shipping, and it probably came from the far east 
(most of the stuff I buy on ebay comes from the far east)--it may take 30 days 
or so to arrive.  (There may be a US supplier of the same thing, at a higher 
price.)

(I thought I bought two, one as a spare, but my notes don't say that, and I 
don't immediately see the other one--if I bought 2, I got the 2 for $6 (i.e., 
$3 each).)

I'm using it to interface from Rosegarden on my PC to a Yamaha TG-100.   At 
some point I might also hook up a MIDI keyboard.  I use the TG-100 to output 
songs for me to practice my "singing" ;-)

For my purposes, if there is any latency, I don't notice it.  (OTOH, I have a 
problem with Rosegarden displaying "long" lyrics--I joined a Rosegarden 
maillist to ask for help on that.)




Re: MIDI-to-USB on Debian?

2018-02-13 Thread Doug


On 02/13/2018 08:27 PM, rhkra...@gmail.com wrote:

On Tuesday, February 13, 2018 08:06:52 PM Doug wrote:

On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:

Does anyone have a MIDI-to-USB adapter they could recommend for Debian
and/or linux?
This is just for a point-to-point connection from a Yamaha keyboard to
a laptop. Software on the laptop remains undetermined, probably some
combination of Rhythmbox, CSound, Supercollider and god knows what
else. Thanks..Nick

Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
model M keyboard into a Dell laptop, and it works perfectly. (No
manufacturer's name on it--it just says
"Made in China" like so much else these days.

I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the
description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to Music
Keyboard Adapter Cord 2017".

It was about $6, with free shipping, and it probably came from the far east
(most of the stuff I buy on ebay comes from the far east)--it may take 30 days
or so to arrive.  (There may be a US supplier of the same thing, at a higher
price.)

(I thought I bought two, one as a spare, but my notes don't say that, and I
don't immediately see the other one--if I bought 2, I got the 2 for $6 (i.e.,
$3 each).)

I'm using it to interface from Rosegarden on my PC to a Yamaha TG-100.   At
some point I might also hook up a MIDI keyboard.  I use the TG-100 to output
songs for me to practice my "singing" ;-)

For my purposes, if there is any latency, I don't notice it.  (OTOH, I have a
problem with Rosegarden displaying "long" lyrics--I joined a Rosegarden
maillist to ask for help on that.)



Sorry for brain-fog! I didn't realize you were talking about a MUSIC 
keyboard!


--doug



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 08:27:50 PM rhkra...@gmail.com wrote:
> I bought a USB to MIDI adapter on ebay.  I didn't save the URL, but the
> description is / was: "USB IN-OUT MIDI Interface Cable Converter PC to
> Music Keyboard Adapter Cord 2017".
> 
> It was about $6, with free shipping, and it probably came from the far east
> (most of the stuff I buy on ebay comes from the far east)--it may take 30
> days or so to arrive.  (There may be a US supplier of the same thing, at a
> higher price.)
> 
> (I thought I bought two, one as a spare, but my notes don't say that, and I
> don't immediately see the other one--if I bought 2, I got the 2 for $6
> (i.e., $3 each).)

Ok, I looked up a link:

https://www.ebay.com/itm/USB-IN-OUT-MIDI-Interface-Cable-Converter-PC-to-
Music-Keyboard-Adapter-
Cord-2017/152759422217?epid=918698895&hash=item23912bcd09:g:ZuMAAOSwZC1Z8VKU&rmvSB=true

They are $2.95 each, but they now charge $0.40 shipping.  (I did buy 2, and I 
now remember where the spare is ;-)



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Jon Leonard
On Tue, Feb 13, 2018 at 03:00:20PM -0600, Nicholas Geovanis wrote:
> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> and/or linux?
> This is just for a point-to-point connection from a Yamaha keyboard to
> a laptop. Software on the laptop remains undetermined, probably some
> combination of Rhythmbox, CSound, Supercollider and god knows what
> else. Thanks..Nick

I have what lsusb reports as:
Bus 003 Device 004: ID 0763:1002 Midiman MidiSport 2x2

It does need to download some firmware to the device, but aside from that
it has been working with no issues for me.  I don't remember what it cost
new, and it looks a little different from the "Anniversary edition" that's
for sale now.  But such things do exist.

Jon Leonard



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Cindy-Sue Causey
On 2/13/18, Doug  wrote:
>
> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
>> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
>> and/or linux?
>> This is just for a point-to-point connection from a Yamaha keyboard to
>> a laptop. Software on the laptop remains undetermined, probably some
>> combination of Rhythmbox, CSound, Supercollider and god knows what
>> else. Thanks..Nick
>>
>>
> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> model M keyboard into a Dell laptop, and it works perfectly. (No
> manufacturer's name on it--it just says
> "Made in China" like so much else these days.


Newegg has them, too, in varying prices. Both male and female
directions on their various separate offerings. Am even looking at a
pic for a dual PS/2 funneled into one USB connection.

How good they are, I don't know, but I've been using a 99 cent VGA to
DVI-I adapter for almost a year with no obvious ill effects...

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: MIDI-to-USB on Debian?

2018-02-13 Thread Cindy-Sue Causey
On 2/13/18, Cindy-Sue Causey  wrote:
> On 2/13/18, Doug  wrote:
>>
>> On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
>>> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
>>> and/or linux?
>>> This is just for a point-to-point connection from a Yamaha keyboard to
>>> a laptop. Software on the laptop remains undetermined, probably some
>>> combination of Rhythmbox, CSound, Supercollider and god knows what
>>> else. Thanks..Nick
>>>
>>>
>> Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
>> model M keyboard into a Dell laptop, and it works perfectly. (No
>> manufacturer's name on it--it just says
>> "Made in China" like so much else these days.
>
>
> Newegg has them, too, in varying prices. Both male and female
> directions on their various separate offerings. Am even looking at a
> pic for a dual PS/2 funneled into one USB connection.
>
> How good they are, I don't know, but I've been using a 99 cent VGA to
> DVI-I adapter for almost a year with no obvious ill effects...


Sorry about that. Apparently, just don't buy your... mouse there.

Or super cheap caged USB fans, either, long as I have to do this. Two
arrived crushed because of lousy wrapping.

Cindy *oops*
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *



Re: MIDI-to-USB on Debian?

2018-02-13 Thread rhkramer
On Tuesday, February 13, 2018 09:09:12 PM Cindy-Sue Causey wrote:
> On 2/13/18, Doug  wrote:
> > On 02/13/2018 04:00 PM, Nicholas Geovanis wrote:
> >> Does anyone have a MIDI-to-USB adapter they could recommend for Debian
> >> and/or linux?
> >> This is just for a point-to-point connection from a Yamaha keyboard to
> >> a laptop. Software on the laptop remains undetermined, probably some
> >> combination of Rhythmbox, CSound, Supercollider and god knows what
> >> else. Thanks..Nick
> > 
> > Look for a PS2 to USB adapter. I have one that allows me to plug an IBM
> > model M keyboard into a Dell laptop, and it works perfectly. (No
> > manufacturer's name on it--it just says
> > "Made in China" like so much else these days.
> 
> Newegg has them, too, in varying prices. Both male and female
> directions on their various separate offerings. Am even looking at a
> pic for a dual PS/2 funneled into one USB connection.
> 
> How good they are, I don't know, but I've been using a 99 cent VGA to
> DVI-I adapter for almost a year with no obvious ill effects...

I guess until somebody knows that what I described in a recent reply on this 
thread, with the addition of a PS2 to old computer keyboard connector, we 
should caution everybody not to try this.