[PD] Question re comport on Raspberry Pi

2022-10-07 Thread kerry l. hagan
Hi all,

This is going to be a stupid question for all of you, but please know that I 
have scoured Google for this answer, and I still can’t figure it out.

I’m running a patch on a Raspberry Pi Model B+ V1.2 from 2014.

My collaborator needs the patch to use a comport object to speak to an Arduino.

I cannot get the comport source code to compile on the Pi. I don’t know enough 
to understand the error (that’s coming from ld) no matter how much I read.

I cannot get Deken to install (as I’ve been told I could get the comport object 
that way). I use apt-get install - and it returns no errors. But when I try to 
run Deken, I get ’Self-installation of Deken failed’

Here’s os-release:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/";
SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs”

I’m running Vanilla Pd 0.51.4 

So my burning question is: how can an eejit like me get a functioning comport 
object into Pd?

Thanks in advance,

Kerry


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Question re comport on Raspberry Pi

2022-10-07 Thread Lucas Cordiviola

Hi Kerry,

Not sure this helps:

### get the comport sources

from https://git.iem.at/pd/comport

extract the pkg.


### compile

cd the terminal to the extracted folder an do

    make

if the compiler can't find "m_pd.h" do

    make PDDIR=

if you want the output striped and on an specific location do:

    make PDDIR= 
install.




### post back your compiler errors (if all the above fails)


### Deken

most likely you don't have to install Deken.

You access it from Pd's menu: `help/find externals` or also from the web

    https://deken.puredata.info/results.html?name=comport

###

I have no experience at all with any Raspberry Pi but it looks that 
yours is an arm6 architecture. Without really knowing what I'm saying it 
looks that you won't find binaries for that arch on Deken.








--

Mensaje telepatico asistido por maquinas.

On 07/10/2022 09:09, kerry l. hagan wrote:

Hi all,

This is going to be a stupid question for all of you, but please know that I 
have scoured Google for this answer, and I still can’t figure it out.

I’m running a patch on a Raspberry Pi Model B+ V1.2 from 2014.

My collaborator needs the patch to use a comport object to speak to an Arduino.

I cannot get the comport source code to compile on the Pi. I don’t know enough 
to understand the error (that’s coming from ld) no matter how much I read.

I cannot get Deken to install (as I’ve been told I could get the comport object 
that way). I use apt-get install - and it returns no errors. But when I try to 
run Deken, I get ’Self-installation of Deken failed’

Here’s os-release:
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/";
SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs”

I’m running Vanilla Pd 0.51.4

So my burning question is: how can an eejit like me get a functioning comport 
object into Pd?

Thanks in advance,

Kerry


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Question re comport on Raspberry Pi

2022-10-07 Thread Alexandros Drymonitis
How about `apt-get install pd-comport`?

On Fri, 7 Oct 2022, 16:28 Lucas Cordiviola,  wrote:

> Hi Kerry,
>
> Not sure this helps:
>
> ### get the comport sources
>
> from https://git.iem.at/pd/comport
>
> extract the pkg.
>
>
> ### compile
>
> cd the terminal to the extracted folder an do
>
>  make
>
> if the compiler can't find "m_pd.h" do
>
>  make PDDIR=
>
> if you want the output striped and on an specific location do:
>
>  make PDDIR=
> install.
>
>
>
> ### post back your compiler errors (if all the above fails)
>
>
> ### Deken
>
> most likely you don't have to install Deken.
>
> You access it from Pd's menu: `help/find externals` or also from the web
>
>  https://deken.puredata.info/results.html?name=comport
>
> ###
>
> I have no experience at all with any Raspberry Pi but it looks that
> yours is an arm6 architecture. Without really knowing what I'm saying it
> looks that you won't find binaries for that arch on Deken.
>
>
>
>
>
>
>
> --
>
> Mensaje telepatico asistido por maquinas.
>
> On 07/10/2022 09:09, kerry l. hagan wrote:
> > Hi all,
> >
> > This is going to be a stupid question for all of you, but please know
> that I have scoured Google for this answer, and I still can’t figure it out.
> >
> > I’m running a patch on a Raspberry Pi Model B+ V1.2 from 2014.
> >
> > My collaborator needs the patch to use a comport object to speak to an
> Arduino.
> >
> > I cannot get the comport source code to compile on the Pi. I don’t know
> enough to understand the error (that’s coming from ld) no matter how much I
> read.
> >
> > I cannot get Deken to install (as I’ve been told I could get the comport
> object that way). I use apt-get install - and it returns no errors. But
> when I try to run Deken, I get ’Self-installation of Deken failed’
> >
> > Here’s os-release:
> > PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
> > NAME="Raspbian GNU/Linux"
> > VERSION_ID="11"
> > VERSION="11 (bullseye)"
> > VERSION_CODENAME=bullseye
> > ID=raspbian
> > ID_LIKE=debian
> > HOME_URL="http://www.raspbian.org/";
> > SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
> > BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs”
> >
> > I’m running Vanilla Pd 0.51.4
> >
> > So my burning question is: how can an eejit like me get a functioning
> comport object into Pd?
> >
> > Thanks in advance,
> >
> > Kerry
> >
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Question re comport on Raspberry Pi

2022-10-07 Thread Kerry Hagan
Hi all,

Thanks for the advice! It turns out I was abusing the make command line in my 
ignorance. 

Imagine my sheepishness when I saw I only had to type ‘make’ without all the 
arguments. 

Comport compiled and working. And thanks for the kindness. 

Kerry

Sent from a mobile device. Please forgive terse rudeness, typos, awkward 
autocorrects. 

> On 7 Oct 2022, at 14:37, Alexandros Drymonitis  wrote:
> 
> 
> How about `apt-get install pd-comport`? 
> 
>> On Fri, 7 Oct 2022, 16:28 Lucas Cordiviola,  wrote:
>> Hi Kerry,
>> 
>> Not sure this helps:
>> 
>> ### get the comport sources
>> 
>> from https://git.iem.at/pd/comport
>> 
>> extract the pkg.
>> 
>> 
>> ### compile
>> 
>> cd the terminal to the extracted folder an do
>> 
>>  make
>> 
>> if the compiler can't find "m_pd.h" do
>> 
>>  make PDDIR=
>> 
>> if you want the output striped and on an specific location do:
>> 
>>  make PDDIR= 
>> install.
>> 
>> 
>> 
>> ### post back your compiler errors (if all the above fails)
>> 
>> 
>> ### Deken
>> 
>> most likely you don't have to install Deken.
>> 
>> You access it from Pd's menu: `help/find externals` or also from the web
>> 
>>  https://deken.puredata.info/results.html?name=comport
>> 
>> ###
>> 
>> I have no experience at all with any Raspberry Pi but it looks that 
>> yours is an arm6 architecture. Without really knowing what I'm saying it 
>> looks that you won't find binaries for that arch on Deken.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> 
>> Mensaje telepatico asistido por maquinas.
>> 
>> On 07/10/2022 09:09, kerry l. hagan wrote:
>> > Hi all,
>> >
>> > This is going to be a stupid question for all of you, but please know that 
>> > I have scoured Google for this answer, and I still can’t figure it out.
>> >
>> > I’m running a patch on a Raspberry Pi Model B+ V1.2 from 2014.
>> >
>> > My collaborator needs the patch to use a comport object to speak to an 
>> > Arduino.
>> >
>> > I cannot get the comport source code to compile on the Pi. I don’t know 
>> > enough to understand the error (that’s coming from ld) no matter how much 
>> > I read.
>> >
>> > I cannot get Deken to install (as I’ve been told I could get the comport 
>> > object that way). I use apt-get install - and it returns no errors. But 
>> > when I try to run Deken, I get ’Self-installation of Deken failed’
>> >
>> > Here’s os-release:
>> > PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
>> > NAME="Raspbian GNU/Linux"
>> > VERSION_ID="11"
>> > VERSION="11 (bullseye)"
>> > VERSION_CODENAME=bullseye
>> > ID=raspbian
>> > ID_LIKE=debian
>> > HOME_URL="http://www.raspbian.org/";
>> > SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
>> > BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs”
>> >
>> > I’m running Vanilla Pd 0.51.4
>> >
>> > So my burning question is: how can an eejit like me get a functioning 
>> > comport object into Pd?
>> >
>> > Thanks in advance,
>> >
>> > Kerry
>> >
>> >
>> > ___
>> > Pd-list@lists.iem.at mailing list
>> > UNSUBSCRIBE and account-management -> 
>> > https://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> 
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [hidraw] pre Deken release. was:(Reading/writing a HID device current best practice?)

2022-10-07 Thread Dan Wilcox


> On Oct 7, 2022, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 1
> Date: Thu, 6 Oct 2022 17:32:50 -0300
> From: Lucas Cordiviola mailto:lucard...@hotmail.com>>
> To: "hans w. koch" mailto:hansw.k...@gmail.com>>
> Cc: William Brent mailto:william.br...@gmail.com>>, 
> Pd-List
>   mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] [hidraw] pre Deken release. was:(Reading/writing a
>   HID device current best practice?)
> Message-ID:
>   
>   
> >
>   
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Thanks Hans!
> 
> I thank all the M1 testers.
> 
> Seems I'll wait for Dan's makefile for the notarizing stuff. Or later 
> try to update if possible my Xcode VM (as in iem-ci.yml) to be able to : 
> "try to switch to the latest and greatest XCode, so we get 'altool'" and 
> stuff.

Actually using altool is deprecated and you get a warning that the uploads will 
fail after a certain date. Xcode 13+ uses notarytool and will be the only way 
to submit for notarization in the (near) future. You will need a VM running 
macOS 11.3 at a minimum to install Xcode 13.

So far I have both methods implemented but just need to clean everything up 
before I am confident with sharing. This weekend, hopefully.\, as I have other 
stuff waiting.

> M1 users please note that is not that simple (for me or you) to (build 
> and) share arm64 binaries.

OTOH it's still fine for users to build simpler binaries themselves. No 
warnings when used on the same build system.


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list