Konami playstation keyboard-- usable for midi??

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

briandc wrote:How can I fix it?
If you look in the readme there's an example udev rule that will tell your system to allow you to use that device without root.
https://github.com/rbdrum2midi/rbdrum2m ... README#L90

Let me know if that doesn't work.
briandc wrote:PS. sorry for my perpetual newbie-ness!
No worries, I still have plenty to learn myself!
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

ssj71 wrote: If you look in the readme there's an example udev rule that will tell your system to allow you to use that device without root.
https://github.com/rbdrum2midi/rbdrum2m ... README#L90
I had a feeling you'd say that! I must be learning something.. :D
Anyway, I made the file (called it 90-drumkit.rules as per the ReadMe) and pasted the 4 lines of code, saved it and put it in /etc/udev/rules.d .

I wasn't sure how to reload the udev daemon so I rebooted and tried running the executable, but no luck. Looks like it still requires root priviledges.


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

ah, cause the USB ID is new on yours:

add a line or change one to:

Code: Select all

SUBSYSTEM=="usb", ATTR{idVendor}=="0507", ATTR{idProduct}=="0010", GROUP="audio", MODE="0664"
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

ssj71 wrote:ah, cause the USB ID is new on yours:

add a line or change one to:

Code: Select all

SUBSYSTEM=="usb", ATTR{idVendor}=="0507", ATTR{idProduct}=="0010", GROUP="audio", MODE="0664"
I think we're getting somewhere! I added the line, then ran the script, and a connection appeared in the QJackCtl Alsa Midi connection window. :)
However, when I connected it to ZynaddsubFX and pressed a couple keys, I got this:

Code: Select all

brian@brian-F9E:~/Tarballs/rbdrum2midi-master/build/src$ rbdrum2midi 
claimed interface
irq transfer status 6? 1
shutting down...
*** Error in `rbdrum2midi': double free or corruption (!prev): 0x09ad0fe0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67377)[0xb744d377]
/lib/i386-linux-gnu/libc.so.6(+0x6d2f7)[0xb74532f7]
/lib/i386-linux-gnu/libc.so.6(+0x6dc31)[0xb7453c31]
/lib/i386-linux-gnu/libusb-1.0.so.0(libusb_free_transfer+0x6f)[0xb75a313f]
rbdrum2midi(main+0x1333)[0x804cb46]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0xb73fe637]
rbdrum2midi[0x8049af1]
======= Memory map: ========
08048000-08052000 r-xp 00000000 08:01 19923595   /usr/local/bin/rbdrum2midi
08052000-08053000 r--p 00009000 08:01 19923595   /usr/local/bin/rbdrum2midi
08053000-08054000 rw-p 0000a000 08:01 19923595   /usr/local/bin/rbdrum2midi
09a9c000-09af8000 rw-p 00000000 00:00 0          [heap]
b6300000-b6321000 rw-p 00000000 00:00 0 
b6321000-b6400000 ---p 00000000 00:00 0 
b643a000-b6464000 r-xp 00000000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b6464000-b6465000 r--p 00029000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b6465000-b6466000 rw-p 0002a000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b6466000-b646d000 r-xp 00000000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b646d000-b646e000 r--p 00006000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b646e000-b646f000 rw-p 00007000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b646f000-b6483000 r-xp 00000000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b6483000-b6484000 ---p 00014000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b6484000-b6485000 r--p 00014000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b6485000-b6486000 rw-p 00015000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b6486000-b6488000 rw-p 00000000 00:00 0 
b6488000-b6502000 r-xp 00000000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6502000-b6513000 r--p 00079000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6513000-b6514000 rw-p 0008a000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6514000-b6572000 r-xp 00000000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b6572000-b6573000 r--p 0005d000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b6573000-b6574000 rw-p 0005e000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b6574000-b658b000 r-xp 00000000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b658b000-b658c000 r--p 00016000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b658c000-b658d000 rw-p 00017000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b658d000-b658f000 rw-p 00000000 00:00 0 
b658f000-b6601000 r-xp 00000000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6601000-b6603000 r--p 00071000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6603000-b6604000 rw-p 00073000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6604000-b6608000 rw-p 00000000 00:00 0 
b6608000-b662c000 r-xp 00000000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b662c000-b662d000 r--p 00023000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b662d000-b662e000 rw-p 00024000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b662e000-b66b4000 r-xp 00000000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b66b4000-b66b5000 r--p 00085000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b66b5000-b66b6000 rw-p 00086000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b66b6000-b670d000 r-xp 00000000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b670d000-b670e000 ---p 00057000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b670e000-b670f000 r--p 00057000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b670f000-b6710000 rw-p 00058000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b6734000-b673b000 r--s 00000000 08:01 19408445   /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b673b000-b673c000 ---p 00000000 00:00 0 
b673c000-b6f40000 rw-p 00000000 00:00 0 
b6f40000-b6f54000 r-xp 00000000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6f54000-b6f55000 r--p 00013000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6f55000-b6f56000 rw-p 00014000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6f56000-b6fc9000 r-xp 00000000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b6fc9000-b6fca000 r--p 00072000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b6fca000-b6fcb000 rw-p 00073000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b6fcb000-b7076000 r-xp 00000000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b7076000-b7077000 r--p 000aa000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b7077000-b707a000 rw-p 000ab000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b707a000-b707b000 rw-p 00000000 00:00 0 
b707b000-b709f000 r-xp 00000000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b709f000-b70a0000 r--p 00023000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b70a0000-b70a1000 rw-p 00024000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b70a1000-b70c3000 r-xp 00000000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b70c3000-b70c4000 ---p 00022000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b70c4000-b70c5000 r--p 00022000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b70c5000-b70c6000 rw-p 00023000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b70c6000-b70c7000 rw-p 00000000 00:00 0 
b70c7000-b7152000 r-xp 00000000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b7152000-b7154000 r--p 0008a000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b7154000-b7155000 rw-p 0008c000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b7155000-b7174000 r-xp 00000000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b7174000-b7175000 r--p 0001e000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b7175000-b7176000 rw-p 0001f000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b7176000-b71c9000 r-xp 00000000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b71c9000-b71ca000 r--p 00052000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b71ca000-b71cb000 rw-p 00053000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b71cb000-b71cc000 rw-p 00000000 00:00 0 
b71cc000-b71e8000 r-xp 00000000 08:01 22282477   /lib/i386-linux-gnu/libgcc_s.so.1
b71e8000-b71e9000 rw-p 0001b000 08:01 22282477   /lib/i386-linux-gnu/libgcc_s.so.1
b71e9000-b7356000 r-xp 00000000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b7356000-b7357000 ---p 0016d000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b7357000-b735c000 r--p 0016d000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b735c000-b735d000 rw-p 00172000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b735d000-b7360000 rw-p 00000000 00:00 0 
b7360000-b73b7000 r-xp 00000000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b73b7000-b73b8000 ---p 00057000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b73b8000-b73b9000 r--p 00057000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b73b9000-b73ba000 rw-p 00058000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b73ba000-b73bd000 r-xp 00000000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b73bd000-b73be000 r--p 00002000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b73be000-b73bf000 rw-p 00003000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b73bf000-b73c6000 r-xp 00000000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b73c6000-b73c7000 r--p 00006000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b73c7000-b73c8000 rw-p 00007000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b73c8000-b73c9000 rw-p 00000000 00:00 0 
b73c9000-b73e2000 r-xp 00000000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b73e2000-b73e3000 r--p 00018000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b73e3000-b73e4000 rw-p 00019000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b73e4000-b73e6000 rw-p 00000000 00:00 0 
b73e6000-b7596000 r-xp 00000000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7596000-b7598000 r--p 001af000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7598000-b7599000 rw-p 001b1000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7599000-b759c000 rw-p 00000000 00:00 0 
b759c000-b75b5000 r-xp 00000000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b75b5000-b75b6000 r--p 00018000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b75b6000-b75b7000 rw-p 00019000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b75b7000-b76c7000 r-xp 00000000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b76c7000-b76c8000 ---p 00110000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b76c8000-b76cc000 r--p 00110000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b76cc000-b76cd000 rw-p 00114000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b76cd000-b7729000 r-xp 00000000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b7729000-b772a000 ---p 0005c000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b772a000-b772b000 r--p 0005c000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b772b000-b772c000 rw-p 0005d000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b772c000-b7731000 r-xp 00000000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b7731000-b7732000 r--p 00004000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b7732000-b7733000 rw-p 00005000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b7733000-b7735000 r-xp 00000000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b7735000-b7736000 r--p 00001000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b7736000-b7737000 rw-p 00002000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b7737000-b773c000 r-xp 00000000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b773c000-b773d000 r--p 00004000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b773d000-b773e000 rw-p 00005000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b773e000-b7746000 r-xp 00000000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b7746000-b7747000 r--p 00007000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b7747000-b7748000 rw-p 00008000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b7748000-b7752000 r-xp 00000000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b7752000-b7753000 r--p 00009000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b7753000-b7754000 rw-p 0000a000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b7756000-b7758000 rw-p 00000000 00:00 0 
b7758000-b775b000 r--p 00000000 00:00 0          [vvar]
b775b000-b775c000 r-xp 00000000 00:00 0          [vdso]
b775c000-b777f000 r-xp 00000000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
b777f000-b7780000 r--p 00022000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
b7780000-b7781000 rw-p 00023000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
bfe7d000-bfe9e000 rw-p 00000000 00:00 0          [stack]
Aborted (core dumped)
brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

if its not too much trouble try with the -dbg and -v options.

Its odd because it looks like its starting then gets a bad USB transfer by the look of it.

EDIT: Did it work at all when you pressed keys or just immediately crash? This is where it may get difficult to troubleshoot through the forums. :\
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

ssj71 wrote:if its not too much trouble try with the -dbg and -v options.

Its odd because it looks like its starting then gets a bad USB transfer by the look of it.

EDIT: Did it work at all when you pressed keys or just immediately crash? This is where it may get difficult to troubleshoot through the forums. :\
I tried with the -dbg and -v options. I also noticed that it crashes once rbdrum2midi is running, at the first key pressed, even if not yet connected in QJackCtl. We should keep in mind that this controller was bought second-hand at a market, so the possibility that it is defective is certainly present, even though it looks in good condition from the outside.
Here's the terminal output I got:

Code: Select all

brian@brian-F9E:~/linuxsynths.com/CsoundPatchesDemos$ rbdrum2midi -dbg -v
Wii keyboard found
claimed interface
Setting up alsa
client:port = 131:0
Returning 1
Debug Mode Enabled..
irq transfer status 6? 1
shutting down...
*** Error in `rbdrum2midi': double free or corruption (!prev): 0x09105b50 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67377)[0xb74bd377]
/lib/i386-linux-gnu/libc.so.6(+0x6d2f7)[0xb74c32f7]
/lib/i386-linux-gnu/libc.so.6(+0x6dc31)[0xb74c3c31]
/lib/i386-linux-gnu/libusb-1.0.so.0(libusb_free_transfer+0x6f)[0xb761313f]
rbdrum2midi(main+0x1333)[0x804cb46]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0xb746e637]
rbdrum2midi[0x8049af1]
======= Memory map: ========
08048000-08052000 r-xp 00000000 08:01 19923595   /usr/local/bin/rbdrum2midi
08052000-08053000 r--p 00009000 08:01 19923595   /usr/local/bin/rbdrum2midi
08053000-08054000 rw-p 0000a000 08:01 19923595   /usr/local/bin/rbdrum2midi
090d4000-09130000 rw-p 00000000 00:00 0          [heap]
b6300000-b6321000 rw-p 00000000 00:00 0 
b6321000-b6400000 ---p 00000000 00:00 0 
b64aa000-b64d4000 r-xp 00000000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b64d4000-b64d5000 r--p 00029000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b64d5000-b64d6000 rw-p 0002a000 08:01 19405654   /usr/lib/i386-linux-gnu/libvorbis.so.0.4.8
b64d6000-b64dd000 r-xp 00000000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b64dd000-b64de000 r--p 00006000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b64de000-b64df000 rw-p 00007000 08:01 19406342   /usr/lib/i386-linux-gnu/libogg.so.0.8.2
b64df000-b64f3000 r-xp 00000000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b64f3000-b64f4000 ---p 00014000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b64f4000-b64f5000 r--p 00014000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b64f5000-b64f6000 rw-p 00015000 08:01 22284571   /lib/i386-linux-gnu/libresolv-2.23.so
b64f6000-b64f8000 rw-p 00000000 00:00 0 
b64f8000-b6572000 r-xp 00000000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6572000-b6583000 r--p 00079000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6583000-b6584000 rw-p 0008a000 08:01 19405652   /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.11
b6584000-b65e2000 r-xp 00000000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b65e2000-b65e3000 r--p 0005d000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b65e3000-b65e4000 rw-p 0005e000 08:01 19407009   /usr/lib/i386-linux-gnu/libFLAC.so.8.3.0
b65e4000-b65fb000 r-xp 00000000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b65fb000-b65fc000 r--p 00016000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b65fc000-b65fd000 rw-p 00017000 08:01 22284564   /lib/i386-linux-gnu/libnsl-2.23.so
b65fd000-b65ff000 rw-p 00000000 00:00 0 
b65ff000-b6671000 r-xp 00000000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6671000-b6673000 r--p 00071000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6673000-b6674000 rw-p 00073000 08:01 19403967   /usr/lib/i386-linux-gnu/libsndfile.so.1.0.25
b6674000-b6678000 rw-p 00000000 00:00 0 
b6678000-b669c000 r-xp 00000000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b669c000-b669d000 r--p 00023000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b669d000-b669e000 rw-p 00024000 08:01 19407239   /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b669e000-b6724000 r-xp 00000000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b6724000-b6725000 r--p 00085000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b6725000-b6726000 rw-p 00086000 08:01 19400777   /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-8.0.so
b6726000-b677d000 r-xp 00000000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b677d000-b677e000 ---p 00057000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b677e000-b677f000 r--p 00057000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b677f000-b6780000 rw-p 00058000 08:01 19399412   /usr/lib/i386-linux-gnu/libpulse.so.0.19.0
b67a4000-b67ab000 r--s 00000000 08:01 19408445   /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b67ab000-b67ac000 ---p 00000000 00:00 0 
b67ac000-b6fb0000 rw-p 00000000 00:00 0 
b6fb0000-b6fc4000 r-xp 00000000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6fc4000-b6fc5000 r--p 00013000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6fc5000-b6fc6000 rw-p 00014000 08:01 22282640   /lib/i386-linux-gnu/libgpg-error.so.0.17.0
b6fc6000-b7039000 r-xp 00000000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b7039000-b703a000 r--p 00072000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b703a000-b703b000 rw-p 00073000 08:01 22291587   /lib/i386-linux-gnu/libpcre.so.3.13.2
b703b000-b70e6000 r-xp 00000000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b70e6000-b70e7000 r--p 000aa000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b70e7000-b70ea000 rw-p 000ab000 08:01 22282552   /lib/i386-linux-gnu/libgcrypt.so.20.0.5
b70ea000-b70eb000 rw-p 00000000 00:00 0 
b70eb000-b710f000 r-xp 00000000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b710f000-b7110000 r--p 00023000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b7110000-b7111000 rw-p 00024000 08:01 22283448   /lib/i386-linux-gnu/liblzma.so.5.0.0
b7111000-b7133000 r-xp 00000000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b7133000-b7134000 ---p 00022000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b7134000-b7135000 r--p 00022000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b7135000-b7136000 rw-p 00023000 08:01 22283458   /lib/i386-linux-gnu/libselinux.so.1
b7136000-b7137000 rw-p 00000000 00:00 0 
b7137000-b71c2000 r-xp 00000000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b71c2000-b71c4000 r--p 0008a000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b71c4000-b71c5000 rw-p 0008c000 08:01 22282285   /lib/i386-linux-gnu/libsystemd.so.0.14.0
b71c5000-b71e4000 r-xp 00000000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b71e4000-b71e5000 r--p 0001e000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b71e5000-b71e6000 rw-p 0001f000 08:01 22282702   /lib/i386-linux-gnu/libudev.so.1.6.4
b71e6000-b7239000 r-xp 00000000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b7239000-b723a000 r--p 00052000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b723a000-b723b000 rw-p 00053000 08:01 22282323   /lib/i386-linux-gnu/libm-2.23.so
b723b000-b723c000 rw-p 00000000 00:00 0 
b723c000-b7258000 r-xp 00000000 08:01 22282477   /lib/i386-linux-gnu/libgcc_s.so.1
b7258000-b7259000 rw-p 0001b000 08:01 22282477   /lib/i386-linux-gnu/libgcc_s.so.1
b7259000-b73c6000 r-xp 00000000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b73c6000-b73c7000 ---p 0016d000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b73c7000-b73cc000 r--p 0016d000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b73cc000-b73cd000 rw-p 00172000 08:01 19398837   /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b73cd000-b73d0000 rw-p 00000000 00:00 0 
b73d0000-b7427000 r-xp 00000000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b7427000-b7428000 ---p 00057000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b7428000-b7429000 r--p 00057000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b7429000-b742a000 rw-p 00058000 08:01 22282289   /lib/i386-linux-gnu/libdbus-1.so.3.14.6
b742a000-b742d000 r-xp 00000000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b742d000-b742e000 r--p 00002000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b742e000-b742f000 rw-p 00003000 08:01 22284569   /lib/i386-linux-gnu/libdl-2.23.so
b742f000-b7436000 r-xp 00000000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b7436000-b7437000 r--p 00006000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b7437000-b7438000 rw-p 00007000 08:01 22284584   /lib/i386-linux-gnu/librt-2.23.so
b7438000-b7439000 rw-p 00000000 00:00 0 
b7439000-b7452000 r-xp 00000000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b7452000-b7453000 r--p 00018000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b7453000-b7454000 rw-p 00019000 08:01 22284566   /lib/i386-linux-gnu/libpthread-2.23.so
b7454000-b7456000 rw-p 00000000 00:00 0 
b7456000-b7606000 r-xp 00000000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7606000-b7608000 r--p 001af000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7608000-b7609000 rw-p 001b1000 08:01 22284567   /lib/i386-linux-gnu/libc-2.23.so
b7609000-b760c000 rw-p 00000000 00:00 0 
b760c000-b7625000 r-xp 00000000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7625000-b7626000 r--p 00018000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7626000-b7627000 rw-p 00019000 08:01 22283426   /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7627000-b7737000 r-xp 00000000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b7737000-b7738000 ---p 00110000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b7738000-b773c000 r--p 00110000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b773c000-b773d000 rw-p 00114000 08:01 19406024   /usr/lib/i386-linux-gnu/libasound.so.2.0.0
b773d000-b7799000 r-xp 00000000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b7799000-b779a000 ---p 0005c000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b779a000-b779b000 r--p 0005c000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b779b000-b779c000 rw-p 0005d000 08:01 19398704   /usr/lib/i386-linux-gnu/libjack.so.0.1.0
b779c000-b77a1000 r-xp 00000000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b77a1000-b77a2000 r--p 00004000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b77a2000-b77a3000 rw-p 00005000 08:01 19406853   /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b77a3000-b77a5000 r-xp 00000000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b77a5000-b77a6000 r--p 00001000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b77a6000-b77a7000 rw-p 00002000 08:01 19406099   /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b77a7000-b77ac000 r-xp 00000000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b77ac000-b77ad000 r--p 00004000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b77ad000-b77ae000 rw-p 00005000 08:01 19407011   /usr/lib/i386-linux-gnu/libasyncns.so.0.3.1
b77ae000-b77b6000 r-xp 00000000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b77b6000-b77b7000 r--p 00007000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b77b7000-b77b8000 rw-p 00008000 08:01 22283563   /lib/i386-linux-gnu/libwrap.so.0.7.6
b77b8000-b77c2000 r-xp 00000000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b77c2000-b77c3000 r--p 00009000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b77c3000-b77c4000 rw-p 0000a000 08:01 22288344   /lib/i386-linux-gnu/libjson-c.so.2.0.0
b77c6000-b77c8000 rw-p 00000000 00:00 0 
b77c8000-b77cb000 r--p 00000000 00:00 0          [vvar]
b77cb000-b77cc000 r-xp 00000000 00:00 0          [vdso]
b77cc000-b77ef000 r-xp 00000000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
b77ef000-b77f0000 r--p 00022000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
b77f0000-b77f1000 rw-p 00023000 08:01 22284565   /lib/i386-linux-gnu/ld-2.23.so
bfb59000-bfb7a000 rw-p 00000000 00:00 0          [stack]
Aborted (core dumped)
hth!
brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

42low wrote:You still have the game with it?? These seem to be rare. :o
https://www.ebay.co.uk/itm/RARE-PLAYSTA ... 2423118695
If so, you know what i should do? Sell it! And for the money you can buy a real keyboard and a midi dongle (ready for a good $50). :mrgreen:

Btw, for which usage you need it?
For like simple drums or simple samples no keyboard is needed. For this you can use your computer keyboard too. For LMMS the lower row. For Hydrogen the three regular character rows.
Try it i would say. It's not as strict as a midi keyboard, but it works and you can always correct some (good enough for simple usage). Even nice to know and use even if you have a real midi keyboard. I use it too for quick things.
No, there wasn't a game with the keyboard, it was sold as-is. I thought it would work easily as a midi keyboard, so I picked it up, it was pretty cheap anyway. Still, if there's a hope at getting it to work, why not keep it? I know that I can use the pc keyboard as a midi note controller too, and sometimes I do use it that way.
Maybe I should contact someone with a PS2 and try connecting it, just to see if it works correctly first. I'm hopeful! :)

brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
User avatar
Michael Willis
Established Member
Posts: 1451
Joined: Mon Oct 03, 2016 3:27 pm
Location: Rocky Mountains, North America
Has thanked: 69 times
Been thanked: 164 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by Michael Willis »

briandc wrote:Still, if there's a hope at getting it to work, why not keep it?
I'll just drop in here to say that I've been having fun following this thread, and I really admire your persistence. I think something about this really captures what I love about a community of Linux users... we don't mind trying crazy things like this that normal people would either never try, or would give up in a short amount of time. Here you are, days later, still trying to get it working, and by blazing thunder you might actually succeed.
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

Michael Willis wrote:
briandc wrote:Still, if there's a hope at getting it to work, why not keep it?
I'll just drop in here to say that I've been having fun following this thread, and I really admire your persistence. I think something about this really captures what I love about a community of Linux users... we don't mind trying crazy things like this that normal people would either never try, or would give up in a short amount of time. Here you are, days later, still trying to get it working, and by blazing thunder you might actually succeed.
Thanks Michael,
although I can only take credit for the willingness. Crocoduck and ssj71 are really the ones to thank, who have both willingness and ability to get to a solution. (hopefully)
If ssj71 isn't able to do it though, I might give some other possibilities a chance thank Crocoduck suggested. So we'll see...!

I agree with you though, there's something fun about finding out just what can be done with linux. It's the right platform for "creativity-to-the-extreme." :)

brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

Ok, after a little research I think maybe the buffer was too small. I've added the changes we figured out to a new branch called kbmania. Can you check that out and try? You shouldn't need to change anything, just pull, build, run.
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
CrocoDuck
Established Member
Posts: 1133
Joined: Sat May 05, 2012 6:12 pm
Been thanked: 17 times

Re: Konami playstation keyboard-- usable for midi??

Post by CrocoDuck »

42low wrote:Although for me counts that i mostly search for the easiest way to get things done, as for me it is about getting things done.
There is also a slightly different angle to this (just adding my point of view). Things become easier to do when someone understand how to do them properly and writes a program to do it. If briandc and ssj71 crack it, then all suddenly it will be easier to use this class of gamepads to make music on Linux, which means more power and ease of use to all of us.

That is, things become easy thanks to the endeavor of people that try to make them work when they aren't currently easy.
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

Ok. Since my previous install was a download rather than clone, I did a clone version from my home directory. I read on the git page that the kbmania version was "mergable" and so after cloning and building, I did a "git merge" (initially got it wrong) and this was the result:

Code: Select all

brian@brian-F9E:~/rbdrum2midi/src$ git-merge kbmania
git-merge: command not found
brian@brian-F9E:~/rbdrum2midi/src$ git merge kbmania
merge: kbmania - not something we can merge

Did you mean this?
	origin/kbmania
brian@brian-F9E:~/rbdrum2midi/src$ git merge origin/kbmania
Updating ae494ad..b5d6795
Fast-forward
 src/main.c     | 22 ++++++++++++++++++----
 src/mididrum.h |  5 +++--
 2 files changed, 21 insertions(+), 6 deletions(-)
brian@brian-F9E:~/rbdrum2midi/src$ 

With this, I tried running rbdrum2midi executible, but says I have to be root. (But we resolved this issue previously by adding a line to the 90-drumkit file, didn't we?)


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

briandc wrote:(But we resolved this issue previously by adding a line to the 90-drumkit file, didn't we?)
Did you remove that file? It should still work.

Also just for the record, technically I wanted you to do

Code: Select all

git checkout kbmania
rather than a git merge. The merge works perfectly fine though for now. (And git is so complicated don't worry about trying to learn it all at once.)
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: Konami playstation keyboard-- usable for midi??

Post by briandc »

ssj71 wrote:
briandc wrote:(But we resolved this issue previously by adding a line to the 90-drumkit file, didn't we?)
Did you remove that file? It should still work.

Also just for the record, technically I wanted you to do

Code: Select all

git checkout kbmania
rather than a git merge. The merge works perfectly fine though for now. (And git is so complicated don't worry about trying to learn it all at once.)
I did the "git checkout kbmania" and it seems to have been done correctly. Says "your branch is up-to-date with 'origin/kbmania.'
But still, when I run rbdrum2midi in the terminal, it says to try as root. Both with and without the 90-drumkit.rules file.


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: Konami playstation keyboard-- usable for midi??

Post by ssj71 »

briandc wrote: I did the "git checkout kbmania" and it seems to have been done correctly. Says "your branch is up-to-date with 'origin/kbmania.'
But still, when I run rbdrum2midi in the terminal, it says to try as root. Both with and without the 90-drumkit.rules file.
:? I don't know why that would be, especially when it was working before.
The only changes I made from master are listed here:
https://github.com/rbdrum2midi/rbdrum2m ... bb83c94e9c

I guess if you still have the old copy you were using we can go back to that, Just do this change to make the buffer bigger: https://github.com/rbdrum2midi/rbdrum2m ... e8121f3L15

recompile and try again. (there will be a lot of this)
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
Post Reply