Hi all,
Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs.
Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel?
https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ
i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM).
If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries.
feedback is welcomed.
--
Hi Luca,
Interesting! I am away from my M1 for quite a while, might be able to do some testing in a few weeks. Will [hidraw] also support writing to the device? There are some devices that need 2 way communication to enable/disable functions and states.
On Wed, 5 Oct 2022, 13:00 Lucas Cordiviola, lucarda27@hotmail.com wrote:
Hi all,
Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs.
Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel?
https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ
i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM).
If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries.
feedback is welcomed.
--
-- Mensaje telepatico asistido por maquinas.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Simon,
Interesting! I am away from my M1 for quite a while, might be able to do some testing in a few weeks.
Thanks, i need this confirmation.
Will [hidraw] also support writing to the device? There are some devices that need 2 way communication to enable/disable functions and states.
Well from the wrapped hidapi (https://github.com/libusb/hidapi) that the object uses is totally easy to write to the device but i'm scared about it. They warm that writing (incorrect values i suppose) can brick the device.
I only have an cheap USB ps2 compatible joystick to test. I don't know yet how to start. In theory I can have a "write" method alla:
[write 1 0 255 255 127 0( | [hidraw]
but i'm unsure what to write.
Also I read in https://github.com/libusb/hidapi/issues/167 that certain things like making the joystick rumble is not possible directly via hidapi.
I'll have to dig more may be for version 0.2.0.
Any feature request, discussion or knowledge can continue on https://github.com/Lucarda/pd-hidraw
PS: as of v0.1.0 i'm totally happy that is so easy an cheap to hack an usb joystick an make an 12 foot-switch pedal. Or use the joystick as a modulation wheel, etc. :)
Mensaje telepatico asistido por maquinas.
On 06/10/2022 04:31, Simon Iten wrote:
Hi Luca,
Interesting! I am away from my M1 for quite a while, might be able to do some testing in a few weeks. Will [hidraw] also support writing to the device? There are some devices that need 2 way communication to enable/disable functions and states.
On Wed, 5 Oct 2022, 13:00 Lucas Cordiviola, lucarda27@hotmail.com wrote:
Hi all, Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs. Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel? https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM). If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries. feedback is welcomed. -- -- Mensaje telepatico asistido por maquinas. _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Lucas - thanks for this! I just tested it on an M1 MacBook Pro under macOS Monterey. I got the "malicious software" warning and had to go to system prefs/security & privacy to allow the external to be run anyway, but then it worked just fine to access my Logitech game controller.
On Wed, Oct 5, 2022 at 7:00 AM Lucas Cordiviola lucarda27@hotmail.com wrote:
Hi all,
Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs.
Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel?
https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ
i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM).
If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries.
feedback is welcomed.
--
-- Mensaje telepatico asistido por maquinas.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Amazing, I could only test running it on the M1 itself without any additional equipment, but all seems to work as expected.
After going through the 'malicious software stuff' I'm getting data results for devices 4-7. Ech of these report xy coordinate changes on the touchpad. Roughly >250 for right or up movements and <5 for left and down.
Would hidraw enable to get access multitouch data? Like fingerpincher on Max?
All best, Sebastian
William Brent wrote on 06/10/2022 14:28:
Hi Lucas - thanks for this! I just tested it on an M1 MacBook Pro under macOS Monterey. I got the "malicious software" warning and had to go to system prefs/security & privacy to allow the external to be run anyway, but then it worked just fine to access my Logitech game controller.
On Wed, Oct 5, 2022 at 7:00 AM Lucas Cordiviola <lucarda27@hotmail.com mailto:lucarda27@hotmail.com> wrote:
Hi all, Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs. Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel? https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM). If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries. feedback is welcomed. -- -- Mensaje telepatico asistido por maquinas. _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi Sebastian,
Thanks for the test.
Would hidraw enable to get access multitouch data? Like fingerpincher on Max?
I doubt it but not sure. Looking at the sources of fingerincher from https://www.anyma.ch/2009/research/multitouch-external-for-maxmsp/ this looks to me as an apple exclusive device and software. I guess that someone with a an apple machine can port fingerpincher to Pd exclusively for macOS.
But what happens if you move two or more fingers in the touchpad? (you can get all the list of bytes in the listbox)
and afraid of saying something stupid: what happens if you create 4 [hidraw] objects and open devices 4, 5, 6 and 7 (one per object). Do you get at least 4 different readings?
--
Mensaje telepatico asistido por maquinas.
On 06/10/2022 11:05, Sebastian Lexer wrote:
Amazing, I could only test running it on the M1 itself without any additional equipment, but all seems to work as expected.
After going through the 'malicious software stuff' I'm getting data results for devices 4-7. Ech of these report xy coordinate changes on the touchpad. Roughly >250 for right or up movements and <5 for left and down.
Would hidraw enable to get access multitouch data? Like fingerpincher on Max?
All best, Sebastian
Hi William,
Thanks for the test. I did an ad-hoc codesign but seems it is not enough. Now I signed with a self certificate:
https://nc.nubegris.com.ar/index.php/s/KL3dF777TPwTkM9
I'm not sure if your mac can test this one as you already got the file in your white list.
If you know a way to not get false positives tests are welcomed.
(also for anyone else reading with an arm64 macOS).
--
Mensaje telepatico asistido por maquinas.
On 06/10/2022 10:28, William Brent wrote:
Hi Lucas - thanks for this! I just tested it on an M1 MacBook Pro under macOS Monterey. I got the "malicious software" warning and had to go to system prefs/security & privacy to allow the external to be run anyway, but then it worked just fine to access my Logitech game controller.
On Wed, Oct 5, 2022 at 7:00 AM Lucas Cordiviola lucarda27@hotmail.com wrote:
Hi all, Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs. Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel? https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM). If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries. feedback is welcomed. -- -- Mensaje telepatico asistido por maquinas. _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com
hi lucas,
i just tested on mac os monterey / M1 and i still had to allow the same way as william. then it worked fine (only had an external mouse to test - not very thrilling…)
thanks for the effort!
hans
Am 06.10.2022 um 16:41 schrieb Lucas Cordiviola lucarda27@hotmail.com:
Hi William,
Thanks for the test. I did an ad-hoc codesign but seems it is not enough. Now I signed with a self certificate:
https://nc.nubegris.com.ar/index.php/s/KL3dF777TPwTkM9 <https://nc.nubegris.com.ar/index.php/s/KL3dF777TPwTkM9>
I'm not sure if your mac can test this one as you already got the file in your white list.
If you know a way to not get false positives tests are welcomed.
(also for anyone else reading with an arm64 macOS).
--
Mensaje telepatico asistido por maquinas.
On 06/10/2022 10:28, William Brent wrote:
Hi Lucas - thanks for this! I just tested it on an M1 MacBook Pro under macOS Monterey. I got the "malicious software" warning and had to go to system prefs/security & privacy to allow the external to be run anyway, but then it worked just fine to access my Logitech game controller.
On Wed, Oct 5, 2022 at 7:00 AM Lucas Cordiviola lucarda27@hotmail.com wrote:
Hi all,
Next week or so i'll hopefully release hidraw. An object that reads raw bytes from HIDs.
Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel?
https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ
i'm not sure if i did correctly the code sign. (the object seems to work on my monterey VM).
If anyone (not on macOS) is willing to test the above link also has Linux and Windows binaries.
feedback is welcomed.
--
-- Mensaje telepatico asistido por maquinas.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-- William Brent
“Great minds flock together” Conflations: conversational idiom for the 21st century
www.conflations.com http://www.conflations.com/ <http://www.conflations.com http://www.conflations.com/>
Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list https://lists.puredata.info/listinfo/pd-list
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.
M1 users please note that is not that simple (for me or you) to (build and) share arm64 binaries.
The worst case scenario I see from the tests is that you'll have to go ahead with "malicious software" warning or I simply build with an older VM and for intel x86_64.
Thanks again for all the testers.
--
Mensaje telepatico asistido por maquinas.
On 06/10/2022 16:06, hans w. koch wrote:
hi lucas,
i just tested on mac os monterey / M1 and i still had to allow the same way as william. then it worked fine (only had an external mouse to test - not very thrilling…)
thanks for the effort!
hans