-
Older Activity
-
Yesterday, 06:19 PM
There are probably 100 ways to do this:
It also depends for example on if you wish for example for the string generated to be fixed length like 16 bytes or do you want leading 0's to be removed.
Here is simple brute...
9 replies | 215 view(s)
-
Yesterday, 04:56 PM
This morning I am starting to play with seeing if I can enumerate the Report descriptors and later maybe try to query some/all of them.
I put up a new branch: https://github.com/KurtE/WacomController/tree/HIDReports...
82 replies | 1065 view(s)
-
Yesterday, 12:45 PM
@Rezo - looks good.
My guess is that if you were not trying to write it to two places, you would not need the Stream stuff, but simply print the CrashReport to the SD file.
Also wondering in your case, if you fail...
12 replies | 421 view(s)
-
Yesterday, 01:10 AM
Quick update to all (mainly mjs513 and lokki),
I have merged in the changes, but I think we probably should maybe look at how we should handle differences in the different tablets.
That is: there are now defined 3...
82 replies | 1065 view(s)
-
08-13-2022, 06:50 PM
I merged in your PR.
Have not looked at the LEDs yet. But I would probably look in wacom_sys.c for references to the word INTUOS5.
Like in wacom_initialize_leds()
And then look at functions like...
82 replies | 1065 view(s)
-
08-13-2022, 01:46 PM
Yes! Sorry about that
82 replies | 1065 view(s)
-
08-13-2022, 12:58 PM
Not sure what you are expecting?
The 2nd parameter for integer types, is the base to use to print, where we have defined:
#define DEC 10
#define HEX 16
#define OCT 8
#define BIN 2
// BYTE was defined in very...
6 replies | 89 view(s)
-
08-13-2022, 12:35 PM
I just pushed up a few changes, that will hopefully help.
The Pen messages were not marked as events to report, so, they did not show up.
I also changed where the report ID was checked from the top-level area to...
82 replies | 1065 view(s)
-
08-12-2022, 07:45 PM
Looks like a fun project.
Right now my 3d printer is dead and my two KickStarter dontations aappear like they may never ship.
Probably should just try to fix my Printerbot... Just the USB connector broke off it.
4 replies | 99 view(s)
-
08-12-2022, 07:37 PM
I went ahead and ordered one. As Amazon today had them for 23% off. Should have it early to mid next week
34 replies | 1232 view(s)
-
08-12-2022, 03:31 PM
If you are interested in fine tuning some of the code.
The processing of the messages are in the library .cpp file in the function: bool WacomController::decodeIntuos5(const uint8_t *data, uint16_t len)
Most of...
82 replies | 1065 view(s)
-
08-12-2022, 02:24 PM
@lokki - I just pushed up some changes for the processing of the stylus messages.
You might try it out and see if it gives some better restults.
Assuming it is processing without going through all of the HID...
82 replies | 1065 view(s)
-
08-11-2022, 09:48 PM
bump bump...
Right now, playing with other things... Having fun with tablets right now.
Probably can try to answer questions. don't have hardware to debug, so you may need to instrument the mouse code and see...
34 replies | 1232 view(s)
-
08-11-2022, 09:33 PM
Sounds good. What right now I am most interested in seeing are the messages that start off: HPID...
So hopefully with debug on: you should see several of them, which will show me the length, the report ID...
So...
82 replies | 1065 view(s)
-
08-11-2022, 07:50 PM
Thanks, there is a little information for me to go query.
I pushed up some changes for processing the 64 byte message
Would be good if you synced up and see if you get anything.
Do you have a stylus? What do...
82 replies | 1065 view(s)
-
08-11-2022, 05:16 PM
@lokki - would be interesting to see the startup of the sketch. For example with my Bamboo one it starts with:
USB Host Testing
960
*** Device HID1 56a:d8 - connected ***
manufacturer: Wacom Co.,Ltd.
...
82 replies | 1065 view(s)
-
08-11-2022, 05:12 PM
That is a strange one!
5 replies | 96 view(s)
-
08-11-2022, 03:56 PM
More information from Ubuntu iusing journalctl
Aug 11 08:48:38 kurte-750-435st kernel: input: Wacom Intuos S Pen as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:056A:0374.0007/input/input32
Aug 11 08:48:38...
82 replies | 1065 view(s)
-
08-11-2022, 03:08 PM
I picked up a replacement small one I mentioned earlier as I think I lost stylus for the old one:
So far the HID information for it:
USB HID Device Info Program
This Sketch shows information about plugged in...
82 replies | 1065 view(s)
-
08-11-2022, 02:21 PM
The Big Buffer version was setup mainly for a few USB To Serial devices whose USB Interface Descriptors are setup to transfer 512 byte records instead of 64, like most of the others do.
My guess it would not have...
2 replies | 57 view(s)
-
08-11-2022, 02:08 PM
@lokki and all, I thought I would mention that we have been hacking away on the Wacom Tablet stuff and making some progress with a few of the tablets.
Instead of continuing to post zip files and the like, I have put...
82 replies | 1065 view(s)
-
08-10-2022, 08:20 PM
Quick note: Today I have received a couple of odd compiler errors one using B9RC1 and now B9RC2
Using board 'teensyMM' from platform in folder:...
300 replies | 35617 view(s)
-
08-10-2022, 07:03 PM
Sorry I am not Paul...
But as for USB Controllers? I am not an expert, but I know on my older machine (now being replaced by my not as older machine), it had a USB 3 controller in it, that was not
100% complete to...
58 replies | 854 view(s)
-
08-10-2022, 04:11 PM
Quick FYI: Arduino just released: IDE RC9.2
Get the feeling maybe they are trying to soon, release the first non-BETA/RC version
300 replies | 35617 view(s)
-
08-10-2022, 04:09 PM
Sorry, have no idea what did not work means...
Also the one warning, I left in as it was there before and the owner should look at it and decide if just adding a default: break;
is OK or was he supposed to something...
10 replies | 197 view(s)
-
08-09-2022, 05:24 PM
My guess is somewhere between 30-45 seconds. I did not time it
3 replies | 70 view(s)
-
08-09-2022, 04:59 PM
Hold the button until you see the one led just blink and then release it, It should then show that LED lit up for awhile as it reprograms it, and then you should get the blink (the other LED) program on it running.
3 replies | 70 view(s)
-
08-09-2022, 03:51 PM
I pushed up a quick and dirty version: https://github.com/KurtE/lsm6-arduino-Teensy-I2C/tree/Wire12
That is for example with the example sketch:
LSM6 imu; // Will use the wire object
LSM6 imu(Wire1); // will use...
10 replies | 197 view(s)
-
08-09-2022, 03:23 PM
I have done a little more hacking since then,
Including change @mjs513 mentioned.
But also then doing some hacking for the longer version, which is still not right, but gives some more tools to help.
That is...
82 replies | 1065 view(s)
-
08-08-2022, 03:41 PM
Quick note on the above: The inputs are coming from two different interfaces.
I am pretty sure the long ones are coming from Interface 1: Here is my dumping of that Descriptor,
HID Report Descriptor (0x20009c90)...
82 replies | 1065 view(s)
-
08-08-2022, 02:17 PM
Hard to say: Note the data I am showing is how do I put it encoded... That is Wacom tablet, plus I am getting some interesting HID parsing stuff, that I don't understand yet...
Note It is not significantly changed...
82 replies | 1065 view(s)
-
08-08-2022, 02:39 AM
I am making some progress... But still more to go:
I am doing some hacking to try to support different output page:
Note I have removed some comments out of here...
Also, would be nice to do this elsewhere. But...
82 replies | 1065 view(s)
-
08-07-2022, 03:58 PM
I am playing some more with the older Intuos tablet and looking at some of the Linux stuff more there lower-level Input project...
I included the current version, that at least is showing some data...
82 replies | 1065 view(s)
-
08-07-2022, 01:58 PM
Note: With T3.6 you do run into issues of having to hit the program button at times. I tried it with IDE2...
But did not lose output.
The interesting thing is, that if you start from a fresh Teensy, when I...
7 replies | 105 view(s)
-
08-07-2022, 01:30 PM
Sorry, I have no idea.
But if you have some examples of a functions that when run from FLASH that causes it to hang/crash, that you can post, maybe something might
give us hints on what is happening.
9 replies | 317 view(s)
-
08-07-2022, 01:20 PM
@defragster,
I am not sure I understand. Probably I have not had enough coffee yet :D
With this are you doing this with TyCommander? and/or are you doing it with the Serial Monitor stuff of Teensyduino?
If...
7 replies | 105 view(s)
-
08-07-2022, 12:58 PM
I don't know of any such guide for using the SD library, there may be one for the SDFat library that SD is now a simple wrapper of.
SD.begin() - I typically only call once. Now I know some have stated that if you...
5 replies | 311 view(s)
-
08-07-2022, 12:23 PM
At this point not sure what to tell you.
If you have something like:
KeyboardController kb1;
KeyboardController kb2;
...
void setup() {
...
kb1.attachPress(OnPress);
kb2.attachPress(OnPress);
...
34 replies | 1232 view(s)
-
08-07-2022, 01:26 AM
Sounds good.
But still might be nice to get the debug data I mentioned from the other thread. Yes, mostly a lot of the same information.
But would be good. To see for example are the HIDParsers grabbing the...
34 replies | 1232 view(s)
-
08-07-2022, 12:02 AM
Yes - I sort of noticed that earlier as well. I know Paul did something to fix it for 1.57 proper but was not sure if it was something in like platfrom.txt or something within their build.
36 replies | 1726 view(s)
-
08-06-2022, 07:15 PM
Sorry, my anti-virus stuff does not allow access to that site to look at it...
Also, in this thread: https://forum.pjrc.com/threads/70824-USB-host-Teensy-4-1-with-Wacom-Intuos5?p=310597&viewfull=1#post310597
I put...
34 replies | 1232 view(s)
-
08-06-2022, 05:47 PM
FYI - I have an Intuos 4 cheapy... And the messages are all different. I think the main stylus was lost, I get some information from stylus from old Bamboo.
I have another arriving next week.
Looking at some...
82 replies | 1065 view(s)
-
08-06-2022, 05:01 PM
Sorry debug in distance:
I updated the code slightly in sketch's header file:
In Particular the message:
No Driver claimed topusage: 10002
Typo: was missing the 0x on the define... I probably should just put the...
82 replies | 1065 view(s)
-
08-06-2022, 03:02 PM
Note WIP, to maybe easier debug this, I extracted the digitizer class for now and created a new version of it as part of sketch (second tab).
Where I hopefully will grab your tablets different top usage values and...
82 replies | 1065 view(s)
-
08-06-2022, 12:54 AM
Again as another reference you might try the teensy_loader_cli: https://github.com/PaulStoffregen/teensy_loader_cli
Which you would need to build on your machine and see if it also causes you to crash or not.
58 replies | 854 view(s)
-
08-05-2022, 10:50 PM
One interesting point that your output shows: 05 0D // Usage Page(d) - Digitizer
Versus the one I have: 06 0D FF // Usage Page(ff0d) - Digitizer
if you look in digitizer.cpp
hidclaim_t...
82 replies | 1065 view(s)
-
08-05-2022, 09:03 PM
@Paul and all - I pushed up an updated version of the sketch I mentioned and the changes into a new Branch and issued a PR:
https://github.com/PaulStoffregen/USBHost_t36/pull/96
82 replies | 1065 view(s)
-
08-05-2022, 06:29 PM
No idea. Works on programs I run.
Might help to know additional information, like see source code or at least a minimal program that makes it hang.
4 replies | 181 view(s)
-
08-05-2022, 06:26 PM
Yes that is the executable
58 replies | 854 view(s)
-
08-05-2022, 04:49 PM
FYI - The bamboo, has information like:
USBDeviceInfo claim this=2000D2BC
****************************************
** Device Level **
vid=56A
pid=374
bDeviceClass = 0
bDeviceSubClass = 0
...
82 replies | 1065 view(s)
-
08-05-2022, 04:44 PM
Note: I have been doing some hacking onto the HID dumper program with a minor update to the HID Parser class, to gain access to the HID Descriptor.
in USBHost_t36.h I added a couple of members like:
class...
82 replies | 1065 view(s)
-
08-05-2022, 12:49 PM
There is a digitizer class that probably should handle it.
You might try the Digitizer example sketch to see if it sees the events or not.
I know we have tried it with a couple of units like a Wacom Bamboo a long...
82 replies | 1065 view(s)
-
08-04-2022, 09:36 PM
With some of these mice, I have purchased different ones. But not sure about $150 mouse 8)
Might be interesting to see what messages it generates when plugged in. and/or turned on. And compare it to others
34 replies | 1232 view(s)
-
08-04-2022, 05:57 PM
Sometimes when you overwrite memory it is hard to know what the ramifications might be. It depends on what was overwritten. For example if something is on the stack (local variable), and you overwrite some variable...
8 replies | 170 view(s)
-
08-04-2022, 03:12 PM
That is what I am guessing. I know it does write out on close, or at least used to, as there was warning about manually editing the file, you need to make sure Arduino is not running...
36 replies | 1726 view(s)
-
08-04-2022, 02:39 PM
Thanks, Paul, as I mentioned I had changed the Preferences for Sketchbook using their preferences dialog. And the GUI was finding the sketches in it...
This time it worked properly... wondering why in the one case...
36 replies | 1726 view(s)
-
08-04-2022, 01:03 PM
Now that TD has been released, I have started playing a little again.
Yesterday I started an experiment I mentioned recently, wondered if we really need multiple wrapper classes for FsFile objects...
So I tried...
1326 replies | 70973 view(s)
-
08-04-2022, 12:45 PM
Let us know when you have swatted enough bugs and pushed up your current stuff.
Interesting I found with Windows 11 and the wsl 2, that indirectly windows can now do some stuff on Linux file systems. That is for...
1326 replies | 70973 view(s)
-
08-04-2022, 12:39 PM
Paul,
Quick note: I ran into interesting issue yesterday, building with current release. Note I built using TSET stuff (Defragster) on SublimeText, but it is using the Arduino 1.8.19 build setup.
Transiting to...
36 replies | 1726 view(s)
-
08-04-2022, 12:28 PM
As Paul said, it is hard to know what is happening without seeing more..
I expanded on Paul's example:
void setup() {
analogWriteFrequency(3, 10000);
analogWrite(3, 120);
analogWriteFrequency(23, 10000);
...
4 replies | 131 view(s)
-
08-04-2022, 02:05 AM
Ouch...
So far, I have not run into that. For example, I put a new MMOD in the breakout board that Paul made.
And I used the test program that @defragster and myself hacked on:
#ifdef ESP_PLATFORM
#define...
33 replies | 862 view(s)
-
08-04-2022, 01:01 AM
Sorry, but hard to know what is going on with this. And details about some of thest things.
For example the Microsoft Mouse, is it it's own hook up that emulates normal wired keyboard? I have some MS combo units...
34 replies | 1232 view(s)
-
08-03-2022, 09:57 PM
I know that the information has been posted recently showing the T4.x ports.
There are actually 4 ports: Ports 1-4 (or in high-speed mode) 6-9. Most of the time on Teensy 4.x we are using the GPIO in high speed...
1 replies | 90 view(s)
-
08-03-2022, 08:29 PM
Again, does not surprise me. Paul - would be better with your own board!
As I mentioned,
Pin 22 I believe is MMOD pin 49 (BATT_VIN3)
Pin 28 is MMOD 4 (3V Enable pin I think)
Where the Enable is one one side...
33 replies | 862 view(s)
-
08-03-2022, 03:56 PM
If it were me some of the things I would try include:
I would probably expand cmdBuffer to something longer like lets say 80 bytes.
I would check that I did not overflow it:
c = Serial.read(); //...
8 replies | 170 view(s)
-
08-03-2022, 02:03 PM
Pin 22 I believe is MMOD pin 49 (BATT_VIN3)
Pin 28 is MMOD 4 (3V Enable pin I think)
33 replies | 862 view(s)
-
08-03-2022, 01:50 PM
Note: One thing I meant to mention, is that there have been a few times, I thought something was not working properly. But then after I removed the MMOD from the board and put it back in, it worked fine.
So,...
33 replies | 862 view(s)
-
08-03-2022, 01:41 PM
Yes - I had not noticed that yesterday, but it does help to let people know something is going on, especially if they have not turned-on verbose output for compiles.
As I mentioned I wish they would fix a few of...
300 replies | 35617 view(s)
-
08-03-2022, 12:35 PM
That sounds like a pain. So far, I have not noticed that, but I don't have that many of them. I have a couple sitting around, that I have not used yet. But again, I mainly just play and could have missed it.
Are...
33 replies | 862 view(s)
-
08-02-2022, 10:11 PM
Might be good, but to be honest, I have not been using the 1.8.19 IDE very much these days. IDE2 is working a lot nicer now. Still have it's warts, especially with the Serial Monitor... But in that case if there is an...
300 replies | 35617 view(s)
-
08-02-2022, 07:57 PM
Note: I am not seeing anywhere in the code posted that sets anything but the buttons.
That is, I am not seeing something like: for (int i=1; i <=4; i++) Joystick.hat(i, -1);
ditto for the others.
If it were me, I...
4 replies | 182 view(s)
-
08-02-2022, 04:42 PM
Quick note: Looks like RC9.1 just was released
Downloading now
300 replies | 35617 view(s)
-
08-01-2022, 05:38 PM
Sorry, I am not sure with the information here, on what suggestions to tell you.
You might try the _t3n version of the library to see if it works any differently.
writeRect is more or less the same as fillRect,...
3 replies | 92 view(s)
-
08-01-2022, 01:45 PM
Sorry, again I am probably not much help here, other than ask questions and maybe throw a dart or two. And maybe it might help to localize down the issue.
Is this a new T4? Or have you had it for a while? Wondering...
12 replies | 228 view(s)
-
07-31-2022, 06:35 PM
Note the original port was from about a year and ago. The new post today appeared to be Spam.
4 replies | 589 view(s)
-
07-31-2022, 06:32 PM
Maybe we should back up some here, and get back to basics.
That is, which LED is blinking? RED or Orange?
If Red one near USB port than the number of blinks might mean the stuff mentioned.
If the Orange...
12 replies | 228 view(s)
-
07-31-2022, 06:13 PM
Sorry, I don't have your setup, so cannot test.
But the things I would try include moving the calls:
musicPlayer.setVolume(20, 20);
/***** Two interrupt options! *******/
// This option uses timer0, this...
4 replies | 131 view(s)
-
07-31-2022, 11:47 AM
There are 3 different sets of USB sources, the one you are mentioning for Teensy 2.x
The sources for Teensy LC and 3.x are in cores\teensy3
So for example, the descriptors are defined in cores\teensy3\usb_desc.h and...
17 replies | 300 view(s)
-
07-30-2022, 10:09 PM
I have now tried with two different Sparkfun adapters.
One that is not level shifted: https://www.sparkfun.com/products/544
And another that is: https://www.sparkfun.com/products/13743
I ran the SD list files...
15 replies | 242 view(s)
-
07-30-2022, 07:04 PM
Sorry I am not sure what else I can tell you:
The USB Keyboard link I linked to earlier, shows the key codes that are understood by the USB Keyboard code. The code on press and release will figure out by the codes...
17 replies | 300 view(s)
-
07-30-2022, 05:41 PM
If it were me, I would use a different SD Adapter. One that does not have level shifters on to convert 5v signals to 3.3v...
Although I have found that some of them may work fine. Are you connecting the VCC pin of...
15 replies | 242 view(s)
-
07-30-2022, 04:14 PM
Sorry, I have no idea what you mean by ABS events associated with a keyboard? Keyboards send keys...
Now if you instead choose usb type of: Keyboard + mouse + joystick
You can then send either of the two other...
17 replies | 300 view(s)
-
07-30-2022, 04:02 PM
I created an issue on github... https://github.com/PaulStoffregen/Website_Updates/issues/32
This points to the two recent threads on the Teensy LC documentation page.
3 replies | 322 view(s)
-
07-30-2022, 02:08 PM
With most of the USB Types there is some form of logical Serial driver.
The USB Types with the name Serial in them setup a standard Serial interface and will show up like /dev/ttyACMx...
Those without that name...
17 replies | 300 view(s)
-
07-29-2022, 05:01 PM
I could be wrong, but I am thinking it is probably the lines like:
Joystick.button(kpd.key.kcode, 1)
Where I believe the values for the keycode are something like ASCII '0' '1' ...
Where I believe the joystick...
2 replies | 69 view(s)
-
07-29-2022, 04:31 PM
Note this is an old thread, and I am guessing that @punit might be spam-ish post, but not sure...
14 replies | 4724 view(s)
-
07-29-2022, 12:11 AM
I think it is: tft.setFontAdafruit();
2 replies | 139 view(s)
-
07-28-2022, 05:15 PM
Sorry been distracted, trying to get another computer to work...
Here is a sketch I tried long ago, with just doing output...
//============================================================================
// Test...
3 replies | 164 view(s)