Quote:
So do I have to put altivec in make.conf anyway? I found a bit unstable thing to put too many use flags in make.conf, because some packages failed to compile that way. That is why I thought to first check a package with --pretend --verbose options to see their use flag situation, then set the needed flags when really emerge them (like above)
You don't have to put altivec in make.conf, your method will work as well.
If your system became unstable when you had a lot of USE-flags in make.conf it probably means there is a problem with one of them, please let us know the next time you run into something like that and we might be able to fix it for you.
If you want to set USE-flags on a per package basis you do not have to specify them on the command line each time you emerge. You can also use
/etc/portage/package.use. Check
man portage for complete instructions. A simple example of package.use:
Code:
www-client/links -fbcon
cross-avr/gcc -* nocxx altivec
Quote:
Seems like I found a clue for dvd playback...
When I enable dma for the dvd device, everything goes smoothly. I tested the playback with ogle, because mplayer broke during my 'science experience'... Got to reemerge it...
DMA wasn't enabled by default? It should be.
You can edit /etc/conf.d/hdparm and add something like:
cdrom0_args="-d1 -X68"
You will have to experiment manually (on a commandline) with the X-option to see which UDMA mode your drive supports. Just run
hdparm -d1 -X<num> /dev/cdrom where <num> = 68-71. Use the highest mode the drive accepts.
Run
rc-update add hdparm boot to make sure the settings are restored each time you boot your system.
Quote:
And the other thing about playback (b-): it must be something about permissions. I did the test above as root. As a user, no playback at all. (But as a user I can open cd / dvd and read their contents)
The question: is there a way to check a user witch group belongs to, and if needed correct it?
Run
groups as the user to see which groups he/she belongs to. To add the user to more groups edit
/etc/group as root. Make sure your user is a member of the
cdrom group as they have full permissions on cdrom-devices.