Linux

From ZENotes
(Difference between revisions)
Jump to: navigation, search
(Distro things)
(14 intermediate revisions by one user not shown)
Line 1: Line 1:
 
What do you want from a modern Linux on a decent machine??
 
What do you want from a modern Linux on a decent machine??
 
   
 
   
  -Roaming Network, with 3G, WiFi.
+
  -Roaming Network, with 4G, WiFi.
 
  -Remote Desktop software to take care of the machine while away.
 
  -Remote Desktop software to take care of the machine while away.
 
  -Ability to sleep and wake-up... In the proper console.
 
  -Ability to sleep and wake-up... In the proper console.
Line 7: Line 7:
 
  -And with a Secure Shell too!
 
  -And with a Secure Shell too!
 
  -Multimedia keys
 
  -Multimedia keys
  -Obvious peripherals (nokia phone, Zen music player, iStuff)
+
  -Obvious peripherals (android phones, iStuff)
  -Nice interface, without rude consoles with lost of ugly warnings
+
  -Nice interface, without rude consoles with lots of ugly warnings
 
  -Compilers-ready
 
  -Compilers-ready
 
  -VirtualBox capable
 
  -VirtualBox capable
 
  -And lots of available software at hand, of course, with a nice and easy installer.
 
  -And lots of available software at hand, of course, with a nice and easy installer.
  
Snippets, short stuff, [[Howtos]] && the [[e16-trsp]] tweak draft.
+
Snippets, short stuff, [[Howtos]] && the [[e16-trsp]] tweak draft. Hey, what about [[i3wm]]?
 +
 
 +
My .[[bashrc]]
  
 
Unanswered [[questions]]
 
Unanswered [[questions]]
 +
 +
==USB DMX==
 +
 +
Needed /etc/udev/rules.d/ file to open most any usb to dmx converter on modern *nixes:
 +
 +
# This file out of the QLC/QLC+ Projects, hence is GPLV2 or 3.
 +
# Name this z65-dmxusb.rules and put it in /etc/udev/rules.d/
 +
# These rules should work on newer udev architecture as well as the older one.
 +
# Basically they watch for all "usb" subsystem add/change events, that occur
 +
# for devices with VID==0403 and PID==6001 (meaning FTDI-based devices), and
 +
# set their device nodes' permissions so that ALL users can read and write to
 +
# them. The devices nodes are found under /dev/bus/usb/xxx/yyy.
 +
 +
# Generic FTDI Products
 +
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666" 
 +
 +
# DMX4ALL Products
 +
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c850", MODE="0666"
 +
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2018", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
 +
 +
# EUROLITE Product
 +
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fa63", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
 +
 +
OR look here for 2 other methods :  http://www.getdlight.com/index.php/forum/dmx-usb/5312-enttec-dmx-usb-pro-linux?start=15#12414 and http://www.getdlight.com/wiki/index.php/SETUP
  
 
==[[USB Midi]]==
 
==[[USB Midi]]==
 
===USB-Midi Software===
 
===USB-Midi Software===
  
Links:
+
Links:
 
  https://wiki.archlinux.org/index.php/USB_MIDI_keyboards
 
  https://wiki.archlinux.org/index.php/USB_MIDI_keyboards
 
  https://bugs.archlinux.org/task/44286
 
  https://bugs.archlinux.org/task/44286
  
 
+
  Plug device &
*Insert module manually, since 3.19 kernels and following:
+
 
   # modprobe snd_seq_midi
 
   # modprobe snd_seq_midi
 
 
*Check loaded USB Midi module:
 
 
   # lsmod | grep usb
 
   # lsmod | grep usb
 
+
   $ lsusb |grep MIDI
 
+
*Check your hardware, for presence:
+
   $ lsusb
+
 
   $ amidi -l
 
   $ amidi -l
   $ aconnect -i or aconnect lio
+
   $ aconnect -i
 
+
   aseqdump -p ## (where you should replace ## with the client number of your keyboard from aconnect -i)
 
+
   $ a2jmidid -e   (After starting jack)
*Check your hardware, for actual input:
+
   aseqdump -p ##
+
(where you should replace ## with the client number of your keyboard from aconnect -i)
+
 
+
 
+
*Create connection in patchage:
+
   $ a2jmidid -e
+
(After starting jack)
+
  
 
===USB-Midi Hardware===
 
===USB-Midi Hardware===
Line 54: Line 65:
 
   
 
   
 
  0944:0117 KORG, Inc. nanoKONTROL2 MIDI Controller
 
  0944:0117 KORG, Inc. nanoKONTROL2 MIDI Controller
The Korg Setup software is an .exe, but works with wine
 
  
  
 
The Hungarian Pedal:
 
The Hungarian Pedal:
 
  http://www.ebay.fr/usr/guitar.fun.stuff?_trksid=p2047675.l2559
 
  http://www.ebay.fr/usr/guitar.fun.stuff?_trksid=p2047675.l2559
 
*is on the Linux-USB list of vendor IDs
 
http://www.linux-usb.org/usb.ids
 
as:
 
05e4  Free shared USB VID/PID pair for MIDI devices
 
 
and returns here as it should as:
 
  ID 16c0:05e4 Van Ooijen Technische Informatica Free shared USB VID/PID pair for MIDI devices
 
 
The short manual on the ebay page reads as follows:
 
Plug and play, no driver or installation needed. Just plug it into a free USB slot and your OS will recognize it.
 
Choose USB Midi device in your software settings and you're ready to go.
 
Two controller mode:
 
*  Mode 1: Changing whole presets. The controller sends program change messages.
 
The LEDs indicates which preset is working.
 
*  Mode 2: To activate this mode, press buttons 2&3&4. To change back to mode 1, press buttons 1&2&3
 
(All LEDs will blink for half a second to indicate this).
 
 
   
 
   
  In mode 2 the controller sends control change messages. It allows you turn functions/effects on and off individually.
+
  ID 16c0:05e4 Van Ooijen Technische Informatica Free shared USB VID/PID pair for MIDI devices
  The LEDs indicate their status.                   
+
  In mode 2, press a button for 10 seconds to switch to momentary mode. (All LEDs will blink for half a second to indicate this).
+
  It allows you to use non-on/off functions like 'previous/next preset', 'tape deck play' etc.
+
  The LEDs do not light up in momentary mode since it's unnecessary.
+
   
+
External pedal input. You can connect any standard pedal with a 6.3mm (¼ inch) stereo jack.  Using an “insert” or “Y-shaped” cable.
+
+
To use the full range of the pedal you may have to calibrate it.
+
Calibration: Step 1:turn the pedal to minimum position and press button 1 AND button 3.
+
              (All LEDs will blink for half a second to indicate this).
+
              Step 2:turn the pedal to maximum position and press button 1 AND button 4.
+
              (All LEDs will blink for half a second to indicate this)
+
              The device will save the calibration data so you only have to do it once.
+
  
 +
List of Linux-recognized VIP/PIDs: http://www.linux-usb.org/usb.ids
  
More on Vendor IDs:  http://www.eevblog.com/forum/projects/usb-vendor-product-ids/
+
Longer version on the proper [[USB Midi]] page
  
List of Linux-recognized VIP/PIDs: http://www.linux-usb.org/usb.ids
+
==Pages==
  
==Pages==
+
-> [[SSD]] optimisation
  
 
-> The infamous [[LiveUSB]] issue and check-list.
 
-> The infamous [[LiveUSB]] issue and check-list.
Line 124: Line 105:
  
 
==Distro things==
 
==Distro things==
 +
 +
My printer : 
 +
 +
Description: HP Photosmart c4600
 +
Location: ,gfdkdhtdkd,dktd
 +
Driver: HP Photosmart c4600 Series, hpcups 3.16.7 (color)
 +
Connection: smb://192.168.0.254/Q8418B
  
 
[[Arch]]-Linux is arch-cool. Or is it?
 
[[Arch]]-Linux is arch-cool. Or is it?
Line 144: Line 132:
  
 
==links==
 
==links==
 +
 +
My own HowTo's  http://wiki.zenerves.net/index.php/Howtos
  
 
Compile a Slacked Kernel: http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding
 
Compile a Slacked Kernel: http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding
Line 161: Line 151:
 
[http://www.example.com link title]
 
[http://www.example.com link title]
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
 +
Ressources around Bitwig :
 +
 +
Midi tweak https://answers.bitwig.com/questions/1218/how-do-i-get-midi-inout-of-bws-on-linux

Revision as of 09:49, 3 July 2017

What do you want from a modern Linux on a decent machine??

-Roaming Network, with 4G, WiFi.
-Remote Desktop software to take care of the machine while away.
-Ability to sleep and wake-up... In the proper console.
-I know Bluetooth technologies are there - get your shit together!
-And with a Secure Shell too!
-Multimedia keys
-Obvious peripherals (android phones, iStuff)
-Nice interface, without rude consoles with lots of ugly warnings
-Compilers-ready
-VirtualBox capable
-And lots of available software at hand, of course, with a nice and easy installer.

Snippets, short stuff, Howtos && the e16-trsp tweak draft. Hey, what about i3wm?

My .bashrc

Unanswered questions

Contents

USB DMX

Needed /etc/udev/rules.d/ file to open most any usb to dmx converter on modern *nixes:

# This file out of the QLC/QLC+ Projects, hence is GPLV2 or 3.
# Name this z65-dmxusb.rules and put it in /etc/udev/rules.d/
# These rules should work on newer udev architecture as well as the older one.
# Basically they watch for all "usb" subsystem add/change events, that occur
# for devices with VID==0403 and PID==6001 (meaning FTDI-based devices), and
# set their device nodes' permissions so that ALL users can read and write to
# them. The devices nodes are found under /dev/bus/usb/xxx/yyy. 

# Generic FTDI Products
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666"  

# DMX4ALL Products
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="c850", MODE="0666"
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2018", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

# EUROLITE Product
SUBSYSTEM=="usb*", ACTION=="add|change", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="fa63", MODE="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

OR look here for 2 other methods : http://www.getdlight.com/index.php/forum/dmx-usb/5312-enttec-dmx-usb-pro-linux?start=15#12414 and http://www.getdlight.com/wiki/index.php/SETUP

USB Midi

USB-Midi Software

Links:
https://wiki.archlinux.org/index.php/USB_MIDI_keyboards
https://bugs.archlinux.org/task/44286
 Plug device &
 # modprobe snd_seq_midi
 # lsmod | grep usb
 $ lsusb |grep MIDI
 $ amidi -l
 $ aconnect -i
 aseqdump -p ##  (where you should replace ## with the client number of your keyboard from aconnect -i)
 $ a2jmidid -e   (After starting jack)

USB-Midi Hardware

The Ubiquitous Korg:

http://www.korg.com/us/products/controllers/nanokontrol2/

0944:0117 KORG, Inc. nanoKONTROL2 MIDI Controller


The Hungarian Pedal:

http://www.ebay.fr/usr/guitar.fun.stuff?_trksid=p2047675.l2559

ID 16c0:05e4 Van Ooijen Technische Informatica Free shared USB VID/PID pair for MIDI devices

List of Linux-recognized VIP/PIDs: http://www.linux-usb.org/usb.ids

Longer version on the proper USB Midi page

Pages

-> SSD optimisation

-> The infamous LiveUSB issue and check-list.

-> Inittab is dead, get upstart rolling.

-> Virtual machines: qemu+kvm on Arch notes.

-> e16 All page from /usr/share/doc/e16/e16.html

-> Screens & other related graphic stuff. Or not.

-> Networking Knowledge

-> Build a Realtime Audio Workstation on Slackware

-> Struggling RealTime

-> Memo on inittab - useful archive: the laptop's fedora9 xorg

-> Our blue tiny 248x170 Aspire One

-> Cambodia Special: Internet with HSDPA (aka 3G or 3.5G) mobile operator qb

-> Fucking RAID array

Distro things

My printer :

Description:	HP Photosmart c4600
Location:	,gfdkdhtdkd,dktd
Driver:	HP Photosmart c4600 Series, hpcups 3.16.7 (color)
Connection:	smb://192.168.0.254/Q8418B

Arch-Linux is arch-cool. Or is it?

Gentoo failed

Introducing Sabayon. Why not?

Welcome Debian.

Taming Slackware

All fedora 9 issues - but I run F10 now... Most of them are the same.

Fedora Laptops snd_hda_intel hack - fedora 9 powertop results (not bad)

ubuntu 8.04 issues (I don't use it anyway)

Fun with AlphaMIPS

links

My own HowTo's http://wiki.zenerves.net/index.php/Howtos

Compile a Slacked Kernel: http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding

Set proper permissions on webcam: http://forums.fedoraforum.org/showpost.php?p=1165063&postcount=2

USB, Permissions and VirtualBox: http://www.linuxquestions.org/questions/slackware-14/virtualbox-usb-permissions.-701934

http://www.linux-tips.org

http://lwn.net/Articles/283555/

http://www.mjmwired.net/resources/mjm-fedora-f7.html#yum

http://linux-tips.org/article/74/enabling-remote-desktop-on-a-virtualbox-machine link title

Ressources around Bitwig :

Midi tweak https://answers.bitwig.com/questions/1218/how-do-i-get-midi-inout-of-bws-on-linux

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox