View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000124 | Cinelerra-GG | Bug | public | 2019-02-03 21:26 | 2019-06-04 05:15 |
| Reporter | Pierre | Assigned To | PhyllisSmith | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | i7-3770k, 32GB(ram), GTX-750Ti | OS | Linux Mint Mate | OS Version | 18.3 |
| Summary | 0000124: Test with "ShuttleXpress" and "ShuttlePRO v2" | ||||
| Description | As the previous file on the same subject has been closed, I am opening a new one I am currently testing the use and preferred configurations of CONTOUR's two Jog-shuttle Type controllers. I started a small documentary type editing from an old shooting I had done a few years ago but which I had never edited before. It will allow me to evaluate the usefulness of these controllers in a real editing work. I will start this editing using the most rudimentary model, the "ShuttleXpress". Once I have configured it to my liking, I will replace it with "ShuttlePRO v2" and apply the same process to continue editing. I don't think I'm going to stretch this test over a period of more than a few days. I will summarize this experience in the Forum once this test is completed. But I will indicate here the problems I will find, if any, as I go through my test. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
|
The shuttle ring currently has three forward positions on each side: S1=Slow S2=Play S3=Fast S0=Stop S-1=Slow S-2=Play S-3=Fast It is therefore not very progressive. On the other hand I found this instruction link for iMovie-10, which includes 7 positions on each side... http://forums.contourdesign.com/viewtopic.php?f=9&t=3576 I think it would be very advantageous to add three new speeds; more and more accelerated, in each direction, in order to improve the acceleration fluidity on each side of the shuttle. If possible, the fluidity of the acceleration of the movement should be sought, not limited to copying the current speeds offered by the keys on the keyboard. |
|
|
Error... four new speeds on each side.... |
|
|
"add 4 new speeds to improve the acceleration fluidity " - good idea, it makes more sense to use all of the wheel positions. So from the picture, there seem to be 7 positions on each side. Currently the 3 assignments are: and what about the next line for new ones? 50% (half speed) 100% (normal speed) 200% (double speed) 25% 50% 75% 100% 150% 200% 250% Or what would be an alternative? GG would have to write new code for the new 4 button positions since currently Cin only has the half, normal, and double speeds. |
|
|
Had GG seen this page, it is from 2007 but it seems to contain information or code regarding additional positions: https://www.linuxquestions.org/questions/programming-9/xlib-and-or-kde-determing-and-changing-window-focus-519992/ |
|
|
To find the speeds we should try them... maybe a list of possibilities in the".shuttlerc" file would allow everyone to adjust it to their convenience. But the default configuration should allow a progressive acceleration from (a single) and first idle position (slower than this idle, just use the Jog...) followed by the normal speed, then a progressive acceleration to a fast speed that allows to efficiently scan a source media in the Viewer or timeline. |
|
|
I can't understand how to reprogram the role of the ShuttleXpress buttons differently. At the moment the configuration of the 5 basic buttons (common to both Shuttles) aims to replace those of the mouse and their precise actions depend on the context, either the cinelerra menus, the Viewer or the Composer). I would prefer to dedicate these buttons to scrolling management (keys 4 and 1, 5 and 6) but in fixed mode, and the central button to full screen mode activation. I'm trying to replace in the.shuttlerc K7 file XK_Button_2 by K7 "f", it doesn't work... |
|
|
Oh..... Deepl.... Not Scoling....advancing or reversing the sequence. |
|
|
Pierre: I had no problem with the replacement that you used as in: K7 "f" which I did for both the compositor and viewer. Perhaps you did not rename the file correctly? It has to be ".shuttlerc" in your home directory from the user you are logged in as. That is a period in front of the name shuttlerc for what we refer to as "dot shuttlerc". You do not even have to stop cinelerra - it will just take effect. BUT as long as you are at it, you might as well take the # (pound sign) off of the DEBUG line so you can see is anything strange is happening. I will check the 4,1,5, and 6 now too and let you know. |
|
|
Pierre: OK, the 4,1,5,6 should also work just fine for you as in the attached file. Probably I need to put more information in the documentation about the various sections of .shuttlerc file for Cinelerra versus Viewer versus Compositor. The attached file has DEBUG turned on but I doubt you want to leave it uncommented. As soon as you change focus in cinelerra, the new .shuttlerc file is read. Remember the attached file MUST BE CALLED ".shuttlerc" shuttlerc (1,934 bytes)
# uncomment to enable diagnostics DEBUG # redefine default, use # also used for resources,load windows [Default] [Resources] [Load] K5 XK_Home K6 XK_Button_1 K7 XK_Button_2 K8 XK_Button_3 K9 XK_End JL XK_Scroll_Up JR XK_Scroll_Down [Cinelerra] K5 XK_KP_4 K6 XK_KP_1 K7 "f" K8 XK_KP_5 K9 XK_KP_6 K12 XK_Home # Beginning K13 XK_End # End K14 "[" # Toggle in K15 "]" # Toggle out K1 "i" # Pro Only - Clip K2 "x" # Pro Only - Cut K3 "c" # Pro Only - Copy K4 "v" # Pro Only - Paste S-3 XK_KP_Add # Fast reverse S-2 XK_KP_6 # Play reverse S-1 XK_KP_5 # Slow reverse S0 XK_KP_0 # Stop S1 XK_KP_2 # Slow forward S2 XK_KP_3 # Play forward S3 XK_KP_Enter # Fast forward JL XK_KP_4 # Frame reverse JR XK_KP_1 # Frame forward [Composer] K5 XK_KP_4 K6 XK_KP_1 K7 "f" K8 XK_KP_5 K9 XK_KP_6 K12 XK_Home # Beginning K13 XK_End # End K14 "[" # Toggle in K15 "]" # Toggle out K1 "i" # Pro Only - Clip K2 "x" # Pro Only - Cut K3 "c" # Pro Only - Copy K4 "v" # Pro Only - Paste S-3 XK_KP_Add # Fast reverse S-2 XK_KP_6 # Play reverse S-1 XK_KP_5 # Slow reverse S0 XK_KP_0 # Stop S1 XK_KP_2 # Slow forward S2 XK_KP_3 # Play forward S3 XK_KP_Enter # Fast forward JL XK_KP_4 # Frame reverse JR XK_KP_1 # Frame forward [Viewer] K5 XK_KP_4 K6 XK_KP_1 K7 "f" K8 XK_KP_5 K9 XK_KP_6 K12 XK_Home # Beginning K13 XK_End # End K14 "[" # Toggle in K15 "]" # Toggle out K1 "i" # Pro Only - Clip K2 XK_Home # Pro Only - Beginning K3 "c" # Pro Only - Copy K4 XK_End # Pro Only - End S-3 XK_KP_Add # Fast reverse S-2 XK_KP_6 # Play reverse S-1 XK_KP_5 # Slow reverse S0 XK_KP_0 # Stop S1 XK_KP_2 # Slow forward S2 XK_KP_3 # Play forward S3 XK_KP_Enter # Fast forward JL XK_KP_4 # Frame reverse JR XK_KP_1 # Frame forward |
|
|
Pierre: I forgot to mention something really important about the wheel speeds. Each speed has to have an associated key defined in the program code. Currently GG is working on the following progression pattern that makes more sense than the one I stated earlier: 1/4 speed, 1/2 speed, full speed, 2x speed, 4x speed, 8x speed, 16x speed They can be easily changed in the code if you test them and decide that instead of 8x speed, you need 32x speed. BUT a user will not be able to change a key from 8x to 10x BECAUSE there will be no key value actually defined in the program code for that. So we need you to set a good standard for the speeds !! I hope this is understandable. |
|
|
Okay, I wasn't wrong about the".shuttlerc" file, I put it in the right directory and with the dot at the beginning (to make it invisible). But I wasn't changing the right lines of code (section[Default]).... Besides, I don't know where I had my head when I wrote "keys 4 and 1, 5 and 6"... but I actually meant... 5,6,f,2,3... yes, it has nothing to do with it... But what you did in the file, guided me to make the corrections and now it works well. It will really take an effort to make the configuration instructions of this".shuttlerc" file, Hyper clear and simple, because linux code retarded like me, in the world of audio-visual creators... there are many... There are no problems, I will test the new speeds well when they are ready. At that time, we will determine what works best. |
|
|
6,5,f,2,3... yes... |
|
|
The current button configuration of ShuttlePRO v2, assigns the following functions (in all modes) to the two buttons on either side of the jog/shuttle: K14 "[" # Toggle in K15 "]" # Toggle out It doesn't work, selection markers don't install on sources in the Viewer. |
|
|
There is a new Mint 18 build which handles a lot of different speeds. It is at: https://www.cinelerra-gg.org/download/testing/cinelerra-5.1-mint18-x86_64-static.txz Updated documentation for the shuttle is at: https://www.cinelerra-gg.org/download/testing/shuttle.pdf The documentation provides better information on how to modify the local shuttlerc file. You can refer to that or just look at the example below to figure out how to change the speeds. There is a new default shuttlerc at {your cinelerra path}/shuttlerc with lines like these ONLY in the [Cinelerra] section: S-7 REV_16 # Next 7 are reverse keys S-6 REV_8 # the number on the end represents speed S-5 REV_4 # number can be decimal up to 64 S-4 REV_2 # 2 means 2x or double speed S-3 REV_1 S-2 REV_0.5 # note 0.25 represents 1/4 speed S-1 REV_0.25 S0 XK_KP_0 # Stop S1 FWD_0.25 # Next 7 are forward keys S2 FWD_0.5 S3 FWD_1 S4 FWD_2 S5 FWD_4 S6 FWD_8 S7 FWD_16 And a new Ubuntu 16 build: https://www.cinelerra-gg.org/download/testing/cinelerra-5.1-ub16-x86_64-static.txz |
|
|
I will check K14 and K15 as soon as I can grab the Pro away from GG since the Xpress does not have these keys. |
|
|
Pierre: K14 and K15 work here in all of Program/Composer/Viewer windows. Two possible causes could be that the newer Pro that you have has a different setup (remember how the device name was different with ShuttlePro instead of ShuttlePROv2?) or maybe the single frame problem was happening there when you used K14/K15? I temporarily changed the Xpress to have K5 ad K9 equivalenced to [ and ] and they worked too. You may have to enable DEBUG mode in your shuttlerc and look at the terminal window where you started cin and see if it echoes the following when you hit K14 and K15: key: XK_bracketright 1 key: XK_bracketright 0 |
|
|
I installed the new version of CinGG well and replaced the".shuttlerc". S-7 REV_16 # Next 7 are reverse keys S-6 REV_8 # the number on the end represents speed S-5 REV_4 # number can be decimal up to 64 S-4 REV_2 # 2 means 2x or double speed S-3 REV_1 S-2 REV_0.5 # note 0.25 represents 1/4 speed S-1 REV_0.25 S0 XK_KP_0 # Stop S1 FWD_0.25 # Next 7 are forward keys S2 FWD_0.5 S3 FWD_1 S4 FWD_2 S5 FWD_4 S6 FWD_8 S7 FWD_16 Only found in the "Cinelerra" section. "Viewer" and "Compose" they only contained the old code: S-3 XK_KP_KP_Add # Fast reverse S-2 XK_KP_KP_6 # Play reverse S-1 XK_KP_KP_5 # Slow reverse S0 XK_KP_0 # Stop S1 XK_KP_KP_2 # Slow forward S2 XK_KP_KP_3 # Play forward S3 XK_KP_KP_Enter # Fast forward I did the replacement. The new speeds are SUPER. I expect that Sam (still looking for speed and efficiency) will really appreciate it! Playing with these new speeds... it didn't take long for the frame by frame bug to appear... Here is what the terminal gave me to simply advance a source in the viewer and then mark an in and out with the two buttons K14 and K15: pierre@i7-3770k ~ $ /home/pierre/Cinelerra-GG_5.1/cin Cinelerra Infinity - built: Feb 6 2019 13:39:34 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2018 Heroine Virtual Ltd. by Adam Williams (c) 2007-2018 cin5 derivative by W.P. Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. RenderFarmClient::main_loop: client started ------------------------ [Default] # 0 [Resources] # 2 [Load] # 5 K5[D]: XK_Home/U K5[U]: XK_Home/U K6[D]: XK_Button_1/U K6[U]: XK_Button_1/U K7[D]: XK_Button_2/U K7[U]: XK_Button_2/U K8[D]: XK_Button_3/U K8[U]: XK_Button_3/U K9[D]: XK_End/U K9[U]: XK_End/U JL[]: XK_Scroll_Up/D XK_Scroll_Up/U JR[]: XK_Scroll_Down/D XK_Scroll_Down/U ------------------------ [Cinelerra] # 1 K5[D]: XK_KP_6/U K5[U]: XK_KP_6/U K6[D]: XK_KP_5/U K6[U]: XK_KP_5/U K7[D]: XK_f/U K7[U]: XK_f/U K8[D]: XK_KP_2/U K8[U]: XK_KP_2/U K9[D]: XK_KP_3/U K9[U]: XK_KP_3/U K12[D]: XK_Home/U K12[U]: XK_Home/U K13[D]: XK_End/U K13[U]: XK_End/U K14[D]: XK_bracketleft/U K14[U]: XK_bracketleft/U K15[D]: XK_bracketright/U K15[U]: XK_bracketright/U K1[D]: XK_i/U K1[U]: XK_i/U K2[D]: XK_x/U K2[U]: XK_x/U K3[D]: XK_c/U K3[U]: XK_c/U K4[D]: XK_v/U K4[U]: XK_v/U S-7[]: REV_16/D REV_16/U S-6[]: REV_8/D REV_8/U S-5[]: REV_4/D REV_4/U S-4[]: REV_2/D REV_2/U S-3[]: REV_1/D REV_1/U S-2[]: REV_0.5/D REV_0.5/U S-1[]: REV_0.25/D REV_0.25/U S0[]: XK_KP_0/D XK_KP_0/U S1[]: FWD_0.25/D FWD_0.25/U S2[]: FWD_0.5/D FWD_0.5/U S3[]: FWD_1/D FWD_1/U S4[]: FWD_2/D FWD_2/U S5[]: FWD_4/D FWD_4/U S6[]: FWD_8/D FWD_8/U S7[]: FWD_16/D FWD_16/U JL[]: XK_KP_4/D XK_KP_4/U JR[]: XK_KP_1/D XK_KP_1/U ------------------------ [Composer] # 3 K5[D]: XK_KP_6/U K5[U]: XK_KP_6/U K6[D]: XK_KP_5/U K6[U]: XK_KP_5/U K7[D]: XK_f/U K7[U]: XK_f/U K8[D]: XK_KP_2/U K8[U]: XK_KP_2/U K9[D]: XK_KP_3/U K9[U]: XK_KP_3/U K12[D]: XK_Home/U K12[U]: XK_Home/U K13[D]: XK_End/U K13[U]: XK_End/U K14[D]: XK_bracketleft/U K14[U]: XK_bracketleft/U K15[D]: XK_bracketright/U K15[U]: XK_bracketright/U K1[D]: XK_i/U K1[U]: XK_i/U K2[D]: XK_x/U K2[U]: XK_x/U K3[D]: XK_c/U K3[U]: XK_c/U K4[D]: XK_v/U K4[U]: XK_v/U S-7[]: REV_16/D REV_16/U S-6[]: REV_8/D REV_8/U S-5[]: REV_4/D REV_4/U S-4[]: REV_2/D REV_2/U S-3[]: REV_1/D REV_1/U S-2[]: REV_0.5/D REV_0.5/U S-1[]: REV_0.25/D REV_0.25/U S0[]: XK_KP_0/D XK_KP_0/U S1[]: FWD_0.25/D FWD_0.25/U S2[]: FWD_0.5/D FWD_0.5/U S3[]: FWD_1/D FWD_1/U S4[]: FWD_2/D FWD_2/U S5[]: FWD_4/D FWD_4/U S6[]: FWD_8/D FWD_8/U S7[]: FWD_16/D FWD_16/U JL[]: XK_KP_4/D XK_KP_4/U JR[]: XK_KP_1/D XK_KP_1/U ------------------------ [Viewer] # 4 K5[D]: XK_KP_6/U K5[U]: XK_KP_6/U K6[D]: XK_KP_5/U K6[U]: XK_KP_5/U K7[D]: XK_f/U K7[U]: XK_f/U K8[D]: XK_KP_2/U K8[U]: XK_KP_2/U K9[D]: XK_KP_3/U K9[U]: XK_KP_3/U K12[D]: XK_Home/U K12[U]: XK_Home/U K13[D]: XK_End/U K13[U]: XK_End/U K14[D]: XK_bracketleft/U K14[U]: XK_bracketleft/U K15[D]: XK_bracketright/U K15[U]: XK_bracketright/U K1[D]: XK_i/U K1[U]: XK_i/U K2[D]: XK_Home/U K2[U]: XK_Home/U K3[D]: XK_c/U K3[U]: XK_c/U K4[D]: XK_End/U K4[U]: XK_End/U S-7[]: REV_16/D REV_16/U S-6[]: REV_8/D REV_8/U S-5[]: REV_4/D REV_4/U S-4[]: REV_2/D REV_2/U S-3[]: REV_1/D REV_1/U S-2[]: REV_0.5/D REV_0.5/U S-1[]: REV_0.25/D REV_0.25/U S0[]: XK_KP_0/D XK_KP_0/U S1[]: FWD_0.25/D FWD_0.25/U S2[]: FWD_0.5/D FWD_0.5/U S3[]: FWD_1/D FWD_1/U S4[]: FWD_2/D FWD_2/U S5[]: FWD_4/D FWD_4/U S6[]: FWD_8/D FWD_8/U S7[]: FWD_16/D FWD_16/U JL[]: XK_KP_4/D XK_KP_4/U JR[]: XK_KP_1/D XK_KP_1/U new focus: 0880013e new translation: Viewer |
|
|
Hi Phyllis, I have an idea... maybe the problem with the K14 and K15 buttons is related to the keyboard I use; it's an old French Canadian keyboard (old standard) The"[" and"]" signs are obtained by simultaneously pressing the "AltGr" key (the right one only) and pressing them 8 or 9 "[" = "AltGr" + "8" "]"" = "AltGr" + "9" |
|
|
Pierre: that makes sense. I will have to try to figure out if we can get around the bracket problem. P.S. You should try changing to S7 FWD_64 it goes really, really fast and GG was having a lot of fun testing that ! |
|
|
The 2 lowest buttons of the "Shuttle PRO v2" (K12 and K13) currently allow you to go to the very beginning or end of either the source in the Viewer or the Timeline in Composer. It would be interesting if the two buttons just above (K10 and K11) allow them, in both directions, to go to the next cut in the Composer or to the next mark in the Viewer. |
|
|
Pierre: when I looked more closely at your last output lines 2 notes ago, I see: JL[]: XK_KP_4/D XK_KP_4/U JR[]: XK_KP_1/D XK_KP_1/U new focus: 0880013e new translation: Viewer But once you changed focus to the Viewer as shown in the last line just above, did you press K14 or K15 -- you need to do that and send the results and I expected to see something like: key: XK_KP_3 0 key: 0 or did you press them and it showed nothing? |
|
|
"P.S. You should try changing to S7 FWD_64 it goes really, really fast and GG was having a lot of fun testing that !" It's the Road runner on steroid! Yes, very funny, but a little too fast to be useful... unless you're in a real hurry to get to the bathroom.... I keep the S7 FWD_16. |
|
|
I had advanced the source a little, pressed on K14 then advanced the source again and pressed on K15 and... nothing appeared in the terminal. |
|
|
It sounds like the pressing of the key is not generating anything so maybe K14 and K15 are different (driver?) on the Pro as opposed to the PROv2. If there is no input, then Cin can not do anything. Does K14 and K15 work on your other system where you originally tried it to make sure the hardware worked? As an experiment, change K14 "[" to K14 "f" in the Composer section which you know works because you defined for K7 earlier. And then press K14 in the Composer and see if it goes to fullscreen. (I am turning off the computer for the night, so will check in the morning.) |
|
|
I did the test with "f" in K14 and it doesn't work... it doesn't work. Tomorrow I will try under Win10 to see if these buttons work. It's very strange, the electronics of this Shuttle declares itself as a "ShuttlePRO", but on top, the box is well identified as a "ShuttlePRO v2" and the label below declares it as a "ShuttlePRO v2" with a serial number and everything. I have the impression that Amazon.ca gave me a bad pass... |
|
|
Pierre: A fairly easy test is as follows on linux (and if K14 or K15 produce output, it could lead to a fix): 1) as an ordinary user keyin: lsusb (the first character is a lower case L - for list) You will see something like the following depending on which usb device you have the ShuttlePro plugged into: Bus 003 Device 002: ID 0b33:0030 Contour Design, Inc. ShuttlePro v2 2) now you keyin the following: sudo od -tx1 /dev/usbmon3 where the last 3 is the same # as the Bus in above 3) focused in that same terminal window, press any shuttle key just to see what happens and you see similar lines: 0000000 80 70 99 75 53 8c ff ff 43 01 81 02 03 00 2d 00 0000020 4e 61 5c 5c 00 00 00 00 8d 2c 06 00 00 00 00 00 0000040 05 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 0000060 01 ff 00 00 00 80 70 99 75 53 8c ff ff 53 01 81 0000100 02 03 00 2d 3c 4e 61 5c 5c 00 00 00 00 b1 2c 06 0000120 00 8d ff ff ff 05 00 00 00 00 00 00 00 00 00 00 0000140 00 00 00 00 00 80 70 99 75 53 8c ff ff 43 01 81 0000160 02 03 00 2d 00 4e 61 5c 5c 00 00 00 00 3d d7 09 0000200 00 00 00 00 00 05 00 00 00 05 00 00 00 00 00 00 0000220 00 00 00 00 00 00 ff 00 00 00 80 70 99 75 53 8c 0000240 ff ff 53 01 81 02 03 00 2d 3c 4e 61 5c 5c 00 00 0000260 00 00 64 d7 09 00 8d ff ff ff 05 00 00 00 00 00 4) now press the key K14 or K15 -- if no new lines show up, then the key is non-functional. If lines do show up, send us that last set of lines (usually about 12 lines but you will have to watch the left hand number on the screen to see exactly where it starts - for example in the above the line after 0000260 would be the next key pressed) 5) use Ctrl-C on the terminal window when done to get back to the prompt. |
|
|
I tested the K14 and K15 buttons on Windows10. They work. I have very few software installed under my Win partition (I occasionally use it to de-interlace with the QTGMC script through Avisynth and VirtualDub), but I could see that VLC interacted correctly with the ShuttlePRO v2 and its K14 and K15 buttons (unfortunately the Linux version of VLC does not react to Shuttles). I also saw that the driver that Win10 automatically installs for Shuttles, clearly identifies my controller as a "ShuttlePRO v2", despite its electronics named differently under Linux. For your procedure in the terminal, I must not fully understand what to enter, I do not receive any feedback... pierre@i7-3770k ~ $ lsusb Bus 002 Device 006: ID 060b:0001 Solid Year MacAlly Keyboard Bus 002 Device 005: ID 058f:9213 Alcor Micro Corp. MacAlly Kbd Hub Bus 002 Device 004: ID 046d:082c Logitech, Inc. Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 002: ID 047d:1020 Kensington Expert Mouse Trackball Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 001 Device 004: ID 0b33:0030 Contour Design, Inc. Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pierre@i7-3770k ~ $ sudo od -tx1 /dev/usbmon3001 [sudo] Mot de passe de pierreĀ : od: /dev/usbmon3001: Aucun fichier ou dossier de ce type pierre@i7-3770k ~ $ |
|
|
Pierre - this is good news as it means your shuttle is not defective. Just need the bus number from "Bus 001 Device 004: ID 0b33:0030 Contour Design, Inc. " so use: sudo od -tx1 /dev/usbmon1 then if no error message like you just had, the window will just sit there and when you press shuttle K14, it should show 12 lines. And maybe GG can decode them. |
|
|
I did what you suggested and made sure I clicked on the terminal window to make it focus. Then I pushed K14; no reactions, K15; no reactions. Then I tried all the buttons, jog and shuttle of the controller, without any reaction... pierre@i7-3770k ~ $ sudo od -tx1 /dev/usbmon1 [sudo] Mot de passe de pierreĀ : od: /dev/usbmon1: Aucun fichier ou dossier de ce type pierre@i7-3770k ~ $ |
|
|
I thought the "Aucun...de ce type" was originally complaining only about the bus # but maybe it does not have the command "od" . Does the french message mean "command not found"? same message as you would get if you typed in garbage like: hjyt ? (on our Mint, the od command exists). If so, then maybe you need the whole path like: sudo /usr/bin/od -tx1 /dev/usbmon1 Also, since you have other devices on that same bus, do not be surprised if moving the mouse or something, also prints something out. THANKS FOR YOUR PATIENCE - it can be difficult and time-consuming to test long distance! |
|
|
"Aucun" in french means: there are none, it doesn't exist. And in this case, it refers to a file or directory that seems to be the target of the command. I tried with "sudo /usr/bin/od -tx1 /dev/usbmon1" with the same result. I tried to move my mouse and click on their buttons, without results but obviously they are not on the same bus, so I guess that's normal. |
|
|
So I interrupted gg who is sitting in front of the Mint computer to test and apparently Mint is different than Fedora! We had to first probe (the error message was referring to usbmon missing). One more test: sudo modprobe usbmon sudo od -tx1 /dev/usbmon1 It should NOT be at the # prompt. If it is then the above did not work again and send us the error message. There is one more thing we can try after that. |
|
|
What does it mean: "it should NOT be at the # prompt." ? What does "# prompt" mean ? I never see "#" in the terminal. |
|
|
Sorry, it should not be at the pierre@i7-3770k - $ prompt. waiting for a new command to be typed in. |
|
|
I applied the two lines of code and a long list of codes began to be printed and continued for several minutes, it seems that it is infinite, here is an extract of it while it continues to unfold. what to do? 0051160 53 01 81 81 05 01 00 2d 3d 3c 30 bc 5c 5c 00 00 00 00 00 0051200 e4 9d 08 00 8d ff ff ff ff 05 00 00 00 00 00 00 00 00 00 00 0051220 00 00 00 00 00 00 00 00 00 00 00 00 00 70 16 ae 4th 92 ff ff ff 0051240 43 01 81 81 05 01 00 2d 00 30 bc 5c 5c 00 00 00 00 00 00 0051260 d9 97 09 00 00 00 00 00 05 00 00 00 05 00 00 00 0051300 00 00 00 00 00 00 00 00 16 0c 00 00 00 00 70 16 0051320 ae 4th 92 ff ff ff 53 01 81 05 01 00 2d 3c 30 bc 5c 0051340 5c 00 00 00 00 00 00 e9 97 09 00 8d ff ff ff ff 05 00 00 00 0051360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 16 0051400 ae 4th 92 ff ff ff 43 01 81 05 01 00 2d 00 34 bc 5c |
|
|
This is progress, but it is reporting everything that is on Bus 001. I am not sure this would be any better, but if you could temporarily unplug your Kensington Expert Mouse Trackball (as shown earlier on Bus 007) and plug the Shuttle in that usb port instead, then it would isolate the shuttle by itself so nothing else prints out. Bus 007 Device 002: ID 047d:1020 Kensington Expert Mouse Trackball Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub You do not have to do the modprobe usbmon again just keyin: lsusb (just to verify that the Contour Design shows on Bus 007) sudo od -tx1 /dev/usbmon7 (note this is now the 7 instead of the 1) |
|
|
Okay, it seems to have worked! pierre@i7-3770k ~ $ lsusb Bus 002 Device 006: ID 060b:0001 Solid Year MacAlly Keyboard Bus 002 Device 005: ID 058f:9213 Alcor Micro Corp. MacAlly Kbd Hub Bus 002 Device 004: ID 046d:082c Logitech, Inc. Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 007 Device 004: ID 0b33:0030 Contour Design, Inc. Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pierre@i7-3770k ~ $ sudo od -tx1 /dev/usbmon7 [sudo] Mot de passe de pierreĀ : (here I pressed the K14 button) 0000000 40 e2 13 af 4e 92 ff ff 43 01 81 04 07 00 2d 00 0000020 2c cd 5c 5c 00 00 00 00 57 9f 0e 00 00 00 00 00 0000040 05 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 0000060 00 00 00 00 20 40 e2 13 af 4e 92 ff ff 53 01 81 0000100 04 07 00 2d 3c 2c cd 5c 5c 00 00 00 00 69 9f 0e 0000120 00 8d ff ff ff 05 00 00 00 00 00 00 00 00 00 00 0000140 00 00 00 00 00 40 e2 13 af 4e 92 ff ff 43 01 81 0000160 04 07 00 2d 00 2d cd 5c 5c 00 00 00 00 e2 31 01 0000200 00 00 00 00 00 05 00 00 00 05 00 00 00 00 00 00 0000220 00 00 00 00 00 00 00 00 00 00 40 e2 13 af 4e 92 0000240 ff ff 53 01 81 04 07 00 2d 3c 2d cd 5c 5c 00 00 0000260 00 00 ef 31 01 00 8d ff ff ff 05 00 00 00 00 00 (here I pressed the K15 button) 0000300 00 00 00 00 00 00 00 00 00 00 40 e2 13 af 4e 92 0000320 ff ff 43 01 81 04 07 00 2d 00 3a cd 5c 5c 00 00 0000340 00 00 8d 16 0c 00 00 00 00 00 05 00 00 00 05 00 0000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 40 0000400 e2 13 af 4e 92 ff ff 53 01 81 04 07 00 2d 3c 3a 0000420 cd 5c 5c 00 00 00 00 9d 16 0c 00 8d ff ff ff 05 0000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 0000460 e2 13 af 4e 92 ff ff 43 01 81 04 07 00 2d 00 3a 0000500 cd 5c 5c 00 00 00 00 1f 49 0e 00 00 00 00 00 05 0000520 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 0000540 00 00 00 00 40 e2 13 af 4e 92 ff ff 53 01 81 04 0000560 07 00 2d 3c 3a cd 5c 5c 00 00 00 00 2c 49 0e 00 0000600 8d ff ff ff 05 00 00 00 00 00 00 00 00 00 00 00 |
|
|
Pierre: thanks for the last note. Just 1 more thing, I hope! Attached is a Mint compiled shuttle dump key program for exeuction. Download this to your home directory. Type these 2 commands: chmod +x mint_shuttle (this just makes the file executable) sudo ./mint_shuttle /dev/input/by-id/usb-Contour_Design_ShuttlePro-event-if00 It is possible that the name of your shuttle pro is slightly different, so if the above line does not work, then you will have to check for the correct name of that file in the /dev/input/by-id/ directory (with an ls command). Then press K14 and send the results. Press K15 and send the results. The results on our computer look like: For K14: event: (4, 4, 0x9000e) (this is the number that may be different on your Shuttle) event: (1, 269, 0x1) event: (0, 0, 0x0) event: (4, 4, 0x9000e) event: (1, 269, 0x0) event: (0, 0, 0x0) K15 event: (4, 4, 0x9000f) (this is the number that may be different on your shuttle) event: (1, 270, 0x1) event: (0, 0, 0x0) event: (4, 4, 0x9000f) event: (1, 270, 0x0) event: (0, 0, 0x0) When done, you will have to Ctrl-C to get out of the program. For experimentation purposes, if you press K5-K9 which keys work, you will have 0x90005- 0x90009. |