LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

keyboard or mouse mounted as ghost joystick

Posted 09-14-2016 at 12:15 PM by number22
Updated 09-15-2016 at 06:58 PM by number22 (spelling, format)

Mouse cursor jumps randomly and having a hard time in some steam games. This problem is fixed by udev rules. find this link by google: udev keyboard joystick

https://github.com/denilsonsa/udev-joystick-blacklist

Modified its rules so the ghost joystick is unbinded from usbhid driver.

Code:
#Microsoft Corp. Basic Optical Mouse v2.0 power
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0x045e", ATTR{idProduct}=="0x00cb",
...
Member
Posted in Uncategorized
Views 438 Comments 0 number22 is offline
Old

ffmpeg alsa recording multiple applications audio

Posted 01-28-2016 at 10:56 PM by number22
Updated 02-07-2016 at 03:30 AM by number22

The trick is using dmix on loopback device:
2 dmixers; one for regualr onboard audio; the other for loopback virtual device, then duplicates streams send to onboard audio card, so you can hear what is being sent to loopback device.

Need to load snd_aloop module first;

Code:
modprobe snd-aloop index=2 id=Loopback pcm_substreams=1 enable=1
My first audio device is onboard soundcard; 2nd is HDMI card, so I put index=2 for Loopback device.

file...
Member
Posted in Uncategorized
Views 1133 Comments 0 number22 is offline
Old

Recover from hard drive MBR corruption with LVM/LUKS partitions

Posted 11-12-2015 at 08:05 AM by number22
Updated 11-12-2015 at 08:08 AM by number22

Using latest version boot cd or usb rescue disk, which is created by usbboot.img from cd or ftp.slackware.com

create usbboot.img with dd command.(#dd if=usbboot.img of=/dev/sdb bs=1M) (clear usb disk #dd if=/dev/zero of=/dev/sdb bs=512).

once boot up:

# cryptsetup luksOpen /dev/sdxx luksname (sdxx your encrypted luks partition)

After successful enter password:

#vgscan --mknodes
#vgchange -ay
#mount /dev/cryptvg/root /mnt...
Member
Posted in Uncategorized
Views 1622 Comments 0 number22 is offline
Old

custom colourful /etc/issue for Slackware

Posted 11-04-2014 at 11:52 PM by number22
Updated 12-27-2014 at 07:59 PM by number22

When you copy and paste these code into your /etc/issue with your vi or vim, you might need to replace ^[ with Control+V then Control+[ in input mode.

Code:
^[[0;32m   _____    ^[[0;34m _                  _
^[[0;32m  / ____|   ^[[0;34m| |                | |
^[[0;32m | (___     ^[[0;34m| |   __ _    ___  | | __ ^[[0;33m__      __   __ _   _ __    ^[[0;35m___
^[[0;32m  \\___ \\    ^[[0;34m| |  / _\` |  / __| | |/ / ^[[0;33m\\ \\ /\\ / /  / _` | | \'__|  ^[[0;35m/ _
...
Member
Posted in Uncategorized
Views 627 Comments 0 number22 is offline
Old

Upgrade Slackware64 13.x to current from slackpkg thorough internet

Posted 10-02-2013 at 10:30 PM by number22
Updated 10-16-2013 at 11:58 AM by number22

inspired by this post: http://www.linuxquestions.org/questi...urrent-897960/
and reference http://docs.slackware.com/slackware:slackpkg
and http://docs.slackware.com/howtos:sla...:systemupgrade

Upgrade kernels first, do NOT use slackpkg upgrade kernel:
Code:
Use ftp ftp.slackware.com 
User anonymous without password.
cd to pub/slackware/slackware64-current/slackware64/a/
mget kernel*
...
Member
Posted in Uncategorized
Views 730 Comments 0 number22 is offline

  



All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration