Re: [gentoo-user] Wireless keyboard mouse
On February 17, 2017 6:00:56 AM GMT+01:00, the...@sys-concept.com wrote: >If I use wireless keyboard and mouse from same company can I use them >with three computers? > >My space is limited, and the boxes are close to each other; in addition >I have only one monitor. > >PC-1: PS/2(Keyboard+Mouse) + DB9 Monitor >PC-2: PS/2(Keyboard+Mouse) + DB9 Monitor > >I use KVM switch to control the above two (all wired keyboard and >mouse). >Now I have a new additional box: > >PC-3: 1 port with (PS/2 Keyboard or Mouse) + USB's DB9 plug monitor. > >How to get all three working with one monitor keyboard and mouse. Wireless keyboard and mouse items usually have an ID code to allow multiple to be used in a small area. I have not found any where I can change the ID myself. This means that you will need a KVM that supports the type of connector. As modern PCs all use USB, one with USB ports would be useful. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] Wireless keyboard mouse
If I use wireless keyboard and mouse from same company can I use them with three computers? My space is limited, and the boxes are close to each other; in addition I have only one monitor. PC-1: PS/2(Keyboard+Mouse) + DB9 Monitor PC-2: PS/2(Keyboard+Mouse) + DB9 Monitor I use KVM switch to control the above two (all wired keyboard and mouse). Now I have a new additional box: PC-3: 1 port with (PS/2 Keyboard or Mouse) + USB's DB9 plug monitor. How to get all three working with one monitor keyboard and mouse. -- Thelma
Re: [gentoo-user] kernel config setting for console scroll back
Harry Putnam [17-02-17 04:20]: > > In make menuconfig, under: > Device Drivers → Graphics support → Console display driver support > (700) Scrollback Buffer Size (in KB) > > I think the default was 64 but I like a big scrollback buffer. > > As you see I set 700 but really didn't have much of an idea what that > would be in lines. > > Can any one offer a close guestimate what 700 kb would be in lines. > > That is pretty close to 1 mb isn't it?... but still what is that in > lines? I'm guessing 1 MB might be around 10,000 lines. Is that even > roughly close... if so I probably should have went higher. > > Hi Harry, Depends a little, what base you choose. Commandlines tends to be shorter than for example lines printed with the dmesg command. To get you an idea, how much "much" is: # supposing that you have command history enabled with you shell # prints the bytes count and the number of lines . You only need to # devide one by the other > history -1000 | dd | wc -l # for the other estimation you can do this > dmesg | dd | wc -l HTH! Cheers Meino
[gentoo-user] kernel config setting for console scroll back
In make menuconfig, under: Device Drivers → Graphics support → Console display driver support (700) Scrollback Buffer Size (in KB) I think the default was 64 but I like a big scrollback buffer. As you see I set 700 but really didn't have much of an idea what that would be in lines. Can any one offer a close guestimate what 700 kb would be in lines. That is pretty close to 1 mb isn't it?... but still what is that in lines? I'm guessing 1 MB might be around 10,000 lines. Is that even roughly close... if so I probably should have went higher.
[gentoo-user] Re: grub:2 first experience with it
Neil Bothwick writes: > You're supposed to use a video= parameter but I find the old school > vga=794 works for me. The thing you have to learn with using GRUB, or at > least when using grub-mkconfig, is that you don't edit grub.cfg > but /etc/default/grub when you want to add kernel parameters. What does vga=794 get you? I've used `vga=0x31b video=vesfb:mtrr:3,ywrap' with grub:0 a few yrs and get a nice size (1280x1024x32 [I think]) console but that requires kernel settings Graphic drivers -> Frame buffer Devices -> │ │<*> VGA 16-color graphics support │ │[*] VESA VGA graphics support I'm not sure if you need the VGA one but definitely the vesa and from what I read digging around about KMS, you cannot select drivers under Frame buffer devices if you want to use KMS .. only the ones under Console Display Driver Support (a bit further down in make menuconfig)
Re: [gentoo-user] Streaming Live TV News channels
On 02/15/2017 09:36 PM, the...@sys-concept.com wrote: I was thinking of cutting the TV cord but I think Internet TV is not yet ready. Even my Shaw FreeRange TV will not play any Live TV News Channels on my Android TV box due to some kind of licensing issues. They will stream it to cell phone but not to a box connected to internet. I hardly watch any TV moves (some Netflix and some TV News). Did anybody had a good experience with internet Live TV network? Maybe get a tv tuner and an antenna?
Re: [gentoo-user] Re: grub:2 first experience with it
On Thu, 16 Feb 2017 15:20:25 -0500, Harry Putnam wrote: > What can you tell me about how to get an initial hi-res frame buffer > during boot and after when in console mode? KMS takes care of that with real hardware, but not so much with virtual hardware. > I know how to do it in grub:0. But I see my first feeble attempt in > grub:2 was total non-starter. You're supposed to use a video= parameter but I find the old school vga=794 works for me. The thing you have to learn with using GRUB, or at least when using grub-mkconfig, is that you don't edit grub.cfg but /etc/default/grub when you want to add kernel parameters. -- Neil Bothwick Employ teenagers - while they know everything. pgpa65ZIyCfV3.pgp Description: OpenPGP digital signature
[gentoo-user] Re: grub:2 first experience with it
Neil Bothwick writes: >> But no update-grub > > update-grub is an Ubuntuism, not part of standard GRUB. It's only a one > line shell script that runs > > grub-mkconfig -o /boot/grub/grub.cfg > > Even a large proportion of Ubuntu users would be able to manage without > it. yeah, I saw once I looked at the script that it was just little wrapper. But I'm pretty sure that somewhere in all the gentoo stuff I was using there is a little bit that says to run update-grub. So not knowing anything about what it might do it seemed like something was wrong. But you are dead right that it ain't much... and certainly not a deal breaker. What can you tell me about how to get an initial hi-res frame buffer during boot and after when in console mode? I know how to do it in grub:0. But I see my first feeble attempt in grub:2 was total non-starter.
Re: [gentoo-user] grub:2 first experience with it
On Thu, 16 Feb 2017 11:55:30 -0500, Harry Putnam wrote: > Ran install-grub > (completed successfully) > > Attempted to run update-grub, but that script was nowhere to be found. > > qlist grub:2 |grep update shows its not part of grub:2 pkg. > > Just to make sure I re-installed grub:2 once more. > Completed successfully. > > But no update-grub update-grub is an Ubuntuism, not part of standard GRUB. It's only a one line shell script that runs grub-mkconfig -o /boot/grub/grub.cfg Even a large proportion of Ubuntu users would be able to manage without it. -- Neil Bothwick Top Oxymorons Number 32: Living dead pgpmm8NwC4Z7Y.pgp Description: OpenPGP digital signature
[gentoo-user] grub:2 first experience with it
Setup:INSTALLING gentoo(amd64) in VBox vm guest - win-10 (64bit) host Hardware: HP xw8600 - 2x Xeon CPU X5450 @ 3.00GHz - 32 GB ram Installing grub:0 was my first attempt, since I kind of know my way around that and have never used grub:2. But, ran into several problems concerning ncurses and gpm and somehow involving competing versions of perl. Seemed like enough of a mess to just break down and take the plunge, going with the flow toward grub:2 The amd64 hand book offered this for emerge --backtrack=30 But apparently that was enough or not the right thing for the mess I was making. After going through the pages https://wiki.gentoo.org/wiki/GRUB2 I tried a couple of edits that seemed to be suggested there and some USE flag changes (didn't record what I did so quickly lost track of the things and the sequence) I did have this set GRUB_PLATFORMS="emu" which is suggested in the help pages. But in the initial grub commands there was a complaint about not understanding emu or something to that effect. So emerge -vC grub:2 and started over. Got grub:2 installed (Note that I removed the (GRUB_PLATFORMS="emu") this time and allowed the system to handle that on its own. Ok, so got it installed alright. USE flags and GRUB_PLATFORMS came up like this: USE="doc fonts nls sdl themes truetype -debug -device-mapper -efiemu -libzfs -mount -multislot -static {-test}" GRUB_PLATFORMS="(efi-64 pc) -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 I quit trying to mess with anything except two variables I changed from the defaults in /etc/default/grub. /etc/default/grub: # Boot the default entry this many seconds after the menu is displayed GRUB_TIMEOUT=8 Changed from 5 to 8 seconds # The resolution used on graphical terminal. # Note that you can use only modes which your graphic card supports via VBE. # You can see them in real GRUB with the command `vbeinfo'. #GRUB_GFXMODE=640x480 GRUB_GFXMODE=1280x1024x32 So I took a stab hoping the vbox screen would allow such a setting. (Now after the inital boot and reboot I'm currently installing that tool to make sure of the graphic setting [sys-apps/vbe-tool]) Back to the way I got here: Ran install-grub (completed successfully) Attempted to run update-grub, but that script was nowhere to be found. qlist grub:2 |grep update shows its not part of grub:2 pkg. Just to make sure I re-installed grub:2 once more. Completed successfully. But no update-grub Googled up a page that shows what the script is supposed to do; all pretty basic stuff. Ended up writing my own: I did put a little bloat in it but still does the same stuff: cat update-grub #!/bin/sh cmd='/usr/sbin/update-grub' set -e if mount |grep /boot;then echo " /boot is mounted .. running exec grub-mkconfig -o /boot/grub/grub.cfg \"\$\@\"" exec grub-mkconfig -o /boot/grub/grub.cfg "$@" && if [[ "$?" < 1 ]];then echo "$cmd ran successfully" fi else echo " /boot is not currently mounted, please mount /boot and rerun this command: /usr/sbin/update-grub" fi Maybe that is where I've messed things up. On boot instead of getting a grub menu, I got a grub command line. in one of those really small consoles inside a vbox vm.. . the default console I guess. I bumbled my way thru and managed to boot the OS, so at least my kernel config worked straight away for a change. I'm really not sure at all where to begin trying to debug this. I can see my self trying different things until "Maybe" something works I could really use some more of this lists generous patience and some kind of scheme to get this working like I want.
[gentoo-user] Bluefish colours
Hello list, Has anyone here any experience of Bluefish? I want to use it in website development but I can't. Its menus use a background of very pale grey and a text colour of white. Even with a magnifying glass I can't make out most of what it's showing me. How can I tell it to be like everyone else and use black as its default working colour? -- Regards Peter
Re: [gentoo-user] custom kernel with nvidia-drivers
On Thu, Feb 16, 2017 at 10:34 AM, Raffaele Belardi wrote: > Alexander Kapshuk wrote: >> >> As far as generating a custom config file based on what modules are >> loaded, you could try "make localmodconfig": >> It's purpose is described here, >> >> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/README?id=refs/tags/v4.9.9: >> >> Create a config based on current config and loaded modules (lsmod). >> Disables any module option that is not needed for the loaded modules. >> >> To generate a custom config for a given architecture, "make defconfig" >> might be a good way to start. >> Create a ./.config file by using the default symbol values from either >> arch/$ARCH/defconfig or arch/$ARCH/configs/${PLATFORM}_defconfig, >> depending on the architecture. > > > Thanks, I've always build my own kernel but was never sure I did include all > the basic options, I'll try with defconfig. Also the localmodconfig is a > good hint, there's always something to know with Linux. > > raffaele > No worries.
Re: [gentoo-user] Kernel modules: initramfs vs. /lib/modules
2017-02-15 16:19 GMT+01:00, Rich Freeman : >> >>> Anytime you see something like root=UUID=* that is being handled by an >>> initramfs. >> >> I understand that this parameter is passed by the kernel to the init >> script inside the initramfs which then uses "busybox findfs" to >> translate the UUID into a device name. Is this correct? >> > > I suppose that is one way it could be done, but of course it could be > implemented in other ways. As far as I can tell Dracut does not use > busybox findfs. OK, yes. Indeed I was looking at the init used by genkernel. Marco
Re: [gentoo-user] custom kernel with nvidia-drivers
Alexander Kapshuk wrote: As far as generating a custom config file based on what modules are loaded, you could try "make localmodconfig": It's purpose is described here, https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/README?id=refs/tags/v4.9.9: Create a config based on current config and loaded modules (lsmod). Disables any module option that is not needed for the loaded modules. To generate a custom config for a given architecture, "make defconfig" might be a good way to start. Create a ./.config file by using the default symbol values from either arch/$ARCH/defconfig or arch/$ARCH/configs/${PLATFORM}_defconfig, depending on the architecture. Thanks, I've always build my own kernel but was never sure I did include all the basic options, I'll try with defconfig. Also the localmodconfig is a good hint, there's always something to know with Linux. raffaele