Re: [arch-general] nvidia 295.59-1 dmesg output

2012-06-18 Thread gt
On Mon, Jun 18, 2012 at 12:25:07PM -0700, Don deJuan wrote:
> On 06/18/2012 12:05 PM, Rodrigo Rivas wrote:
> >
> >GRUB2 documentation is notably difficult to read, but from
> >http://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html#Simple-configuration
> >I
> >guess that the relevant option to disable this feature is to use
> >"GRUB_GFXPAYLOAD_LINUX=text"
> >instead of "GRUB_GFXPAYLOAD_LINUX=keep".
> Thanks again for your input and time to find those links to share.
> The last with text was ticket for me. No need for vga=0 with that.
> 
> The only downfall though with having to do this is if I go to a
> different TTY the text is massive, I get why it is just sucks, I
> liked having normal size text when on the terminal.
> 
> Again thank you, hopefully Nvidia will get this sorted out soon and
> can go back to the old method.

I don't think nvidia is going to sort this out, hence the warning
message. On the other hand, you can stick with the high resolution tty
for now, as it is not guaranteed to break. If it does, then you can
switch to the lower resolution.


Re: [arch-general] time to drop openjdk6 ?

2012-06-18 Thread Nabil Freij
Well I've yet to have a problem with up to date versions of gcc - but I've
run in to unconnected issues with building my SG3 rom and I won't be able
to work on it for two weeks to be able to check. Most people say you need
to downgrade make as well, but again, yet to come across a problem with
using an up to date make.

On 18 June 2012 21:33, Daniel Wallace  wrote:

> On Mon, Jun 18, 2012 at 06:46:05PM +0100, Nabil Freij wrote:
> > What about building an android rom image? I believe that still needs
> > openjdk6?
> >
> > Nab
> >
> > On 14 June 2012 19:37, David C. Rankin  >wrote:
> >
> > > On 06/13/2012 12:32 PM, Andreas Radke wrote:
> > >
> > >> Oracle has declared JRE/JDK7 the preferred one over JRE/JDK6. So it
> > >> should be now stable enough to replace Java6 for everyone also in the
> > >> OpenJDK community releases.
> > >>
> > >> I'm asking if there's somebody still in the need to use openjdk6 for
> > >> certain apps that fail to run with openjdk7? If so please report it
> > >> upstream.
> > >>
> > >> I know there's are still some commercial java apps that will only run
> > >> on the Oracle JRE6 or JRE7 but I ask only if somebody prefers openjdk6
> > >> in our repos over java7-openjdk.
> > >>
> > >> I'd like to drop openjdk6 when the next security update will be
> > >> released if possible.
> > >>
> > >> -Andy
> > >>
> > >
> > > Andy,
> > >
> > >  The only issue I've run into lately is the build requirement of
> 'libhpi'.
> > > I can't recall which package needed it, but it was only available in
> > > openjdk6 and is dropped from 7. I don't know how many other libs differ
> > > between 6 & 7, but for all packages that need libhpi openjdk6 is still
> > > required.
> > >
> > > --
> > > David C. Rankin, J.D.,P.E.
> > >
>
> as another point on this... don't you also need gcc 4.4 as well? I am
> fairly certain you cannot build it with gcc 4.7 and possibly not 4.6
>


Re: [arch-general] installation failure

2012-06-18 Thread Daniel Wallace

On Mon, Jun 18, 2012 at 02:34:20PM -0600, D. R. Evans wrote:
> I am getting a failure when attempting to install 64-bit arch as the main OS
> on my principal desktop system.
> 
> I am following the instructions at
> https://wiki.archlinux.org/index.php/Software_RAID_and_LVM, since I have two
> brand-new 2TB drives that I want to use in RAID1.
> 
> 1. I have downloaded and burned the current NetInstall image on a CD.
> 2. Booting from the CD, I execute: /arch/setup
> 3. I execute: modprobe raid1
> 4. I execute: modprobe dm-mod
> 5. I execute: pacman-db-upgrade
> 6. I execute: pacman -Syy
> 
> All the above works fine.
> 
> 7. I execute: pacman -S gdisk
> 
> At this point I am told that I should upgrade pacman, and am asked if I want
> to do this. I answer "Y". A bunch of stuff gets download, but eventually I am
> told that the upgrade cannot be performed.
> 
> Possibly this is because it's attempting to write to a read-only filesystem --
> i.e., the CD drive (I'm guessing wildly that that is the cause). But in any
> case, I can't get past this point.
> 
> How do I proceed?
> 
>   Doc Evans
> 
> -- 
> Web:  http://www.sff.net/people/N7DR
> 

also after you say no to upgrading pacman first, if you have errors
about mtab, locale.sh, /var/run and /var/lock please read the news,
there are posts about all 3 of those, also you will have to set up
pacman-key and trusted keys, there is another news article about that 


http://www.archlinux.org/news/filesystem-upgrade-manual-intervention-required/
http://www.archlinux.org/news/initscripts-update-manual-intervention-required/
http://www.archlinux.org/news/systemd-tools-replaces-udev/
http://www.archlinux.org/news/having-pacman-verify-packages/
http://www.archlinux.org/news/filesystem-upgrade-manual-intervention-required-1/

that should cover it


pgpZ9lq7FMG1x.pgp
Description: PGP signature


Re: [arch-general] installation failure

2012-06-18 Thread Daniel Wallace
Say no to upgrading pacman first. also, SyncFirst is being removed
whenever the next pacman comes out
https://mailman.archlinux.org/pipermail/pacman-dev/2012-February/015123.html


On Mon, Jun 18, 2012 at 02:34:20PM -0600, D. R. Evans wrote:
> I am getting a failure when attempting to install 64-bit arch as the main OS
> on my principal desktop system.
> 
> I am following the instructions at
> https://wiki.archlinux.org/index.php/Software_RAID_and_LVM, since I have two
> brand-new 2TB drives that I want to use in RAID1.
> 
> 1. I have downloaded and burned the current NetInstall image on a CD.
> 2. Booting from the CD, I execute: /arch/setup
> 3. I execute: modprobe raid1
> 4. I execute: modprobe dm-mod
> 5. I execute: pacman-db-upgrade
> 6. I execute: pacman -Syy
> 
> All the above works fine.
> 
> 7. I execute: pacman -S gdisk
> 
> At this point I am told that I should upgrade pacman, and am asked if I want
> to do this. I answer "Y". A bunch of stuff gets download, but eventually I am
> told that the upgrade cannot be performed.
> 
> Possibly this is because it's attempting to write to a read-only filesystem --
> i.e., the CD drive (I'm guessing wildly that that is the cause). But in any
> case, I can't get past this point.
> 
> How do I proceed?
> 
>   Doc Evans
> 
> -- 
> Web:  http://www.sff.net/people/N7DR
> 




pgpdghSzAWopz.pgp
Description: PGP signature


Re: [arch-general] installation failure

2012-06-18 Thread Scott Lawrence
Can you give the precise error message? Some of the packages (e.g.) filesystem 
need to be installed with --force, because they overwrite files that were 
previously automatically generated etc. See the news on the main website for 
more details.


On Mon, 18 Jun 2012, D. R. Evans wrote:


I am getting a failure when attempting to install 64-bit arch as the main OS
on my principal desktop system.

I am following the instructions at
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM, since I have two
brand-new 2TB drives that I want to use in RAID1.

1. I have downloaded and burned the current NetInstall image on a CD.
2. Booting from the CD, I execute: /arch/setup
3. I execute: modprobe raid1
4. I execute: modprobe dm-mod
5. I execute: pacman-db-upgrade
6. I execute: pacman -Syy

All the above works fine.

7. I execute: pacman -S gdisk

At this point I am told that I should upgrade pacman, and am asked if I want
to do this. I answer "Y". A bunch of stuff gets download, but eventually I am
told that the upgrade cannot be performed.

Possibly this is because it's attempting to write to a read-only filesystem --
i.e., the CD drive (I'm guessing wildly that that is the cause). But in any
case, I can't get past this point.

How do I proceed?

 Doc Evans

--
Web:  http://www.sff.net/people/N7DR




--
Scott Lawrence

Linux jagadai 3.4.2-2-ARCH #1 SMP PREEMPT Mon Jun 11 22:27:17 CEST 2012 x86_64 
GNU/Linux


Re: [arch-general] time to drop openjdk6 ?

2012-06-18 Thread Daniel Wallace
On Mon, Jun 18, 2012 at 06:46:05PM +0100, Nabil Freij wrote:
> What about building an android rom image? I believe that still needs
> openjdk6?
> 
> Nab
> 
> On 14 June 2012 19:37, David C. Rankin wrote:
> 
> > On 06/13/2012 12:32 PM, Andreas Radke wrote:
> >
> >> Oracle has declared JRE/JDK7 the preferred one over JRE/JDK6. So it
> >> should be now stable enough to replace Java6 for everyone also in the
> >> OpenJDK community releases.
> >>
> >> I'm asking if there's somebody still in the need to use openjdk6 for
> >> certain apps that fail to run with openjdk7? If so please report it
> >> upstream.
> >>
> >> I know there's are still some commercial java apps that will only run
> >> on the Oracle JRE6 or JRE7 but I ask only if somebody prefers openjdk6
> >> in our repos over java7-openjdk.
> >>
> >> I'd like to drop openjdk6 when the next security update will be
> >> released if possible.
> >>
> >> -Andy
> >>
> >
> > Andy,
> >
> >  The only issue I've run into lately is the build requirement of 'libhpi'.
> > I can't recall which package needed it, but it was only available in
> > openjdk6 and is dropped from 7. I don't know how many other libs differ
> > between 6 & 7, but for all packages that need libhpi openjdk6 is still
> > required.
> >
> > --
> > David C. Rankin, J.D.,P.E.
> >

as another point on this... don't you also need gcc 4.4 as well? I am
fairly certain you cannot build it with gcc 4.7 and possibly not 4.6


pgpFoRhYB4AJo.pgp
Description: PGP signature


[arch-general] installation failure

2012-06-18 Thread D. R. Evans
I am getting a failure when attempting to install 64-bit arch as the main OS
on my principal desktop system.

I am following the instructions at
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM, since I have two
brand-new 2TB drives that I want to use in RAID1.

1. I have downloaded and burned the current NetInstall image on a CD.
2. Booting from the CD, I execute: /arch/setup
3. I execute: modprobe raid1
4. I execute: modprobe dm-mod
5. I execute: pacman-db-upgrade
6. I execute: pacman -Syy

All the above works fine.

7. I execute: pacman -S gdisk

At this point I am told that I should upgrade pacman, and am asked if I want
to do this. I answer "Y". A bunch of stuff gets download, but eventually I am
told that the upgrade cannot be performed.

Possibly this is because it's attempting to write to a read-only filesystem --
i.e., the CD drive (I'm guessing wildly that that is the cause). But in any
case, I can't get past this point.

How do I proceed?

  Doc Evans

-- 
Web:  http://www.sff.net/people/N7DR



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] nvidia 295.59-1 dmesg output

2012-06-18 Thread Don deJuan

On 06/18/2012 12:05 PM, Rodrigo Rivas wrote:

On Mon, Jun 18, 2012 at 8:10 PM, Don deJuan  wrote:


Maybe you are using GRUB2 with the GFX options this link talks about:

https://wiki.archlinux.org/**index.php/GRUB2#Setting_the_**
framebuffer_resolution

That probably has a similar effect to the "vga=" option in the command
line. Removing them, or adding "vga=0" (or both, to be extra safe) should
do.

  I am on grub2. Makes total sense now, for some reason I was not putting

the GFX options together with the VGA.

Does that mean gfxmode should also =0 ? Instead of auto or a specific
resolution?



GRUB2 documentation is notably difficult to read, but from
http://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html#Simple-configuration
I
guess that the relevant option to disable this feature is to use
"GRUB_GFXPAYLOAD_LINUX=text"
instead of "GRUB_GFXPAYLOAD_LINUX=keep".




Thanks again for your input and time to find those links to share. The 
last with text was ticket for me. No need for vga=0 with that.


The only downfall though with having to do this is if I go to a 
different TTY the text is massive, I get why it is just sucks, I liked 
having normal size text when on the terminal.


Again thank you, hopefully Nvidia will get this sorted out soon and can 
go back to the old method.


Re: [arch-general] nvidia 295.59-1 dmesg output

2012-06-18 Thread Rodrigo Rivas
On Mon, Jun 18, 2012 at 8:10 PM, Don deJuan  wrote:

> Maybe you are using GRUB2 with the GFX options this link talks about:
>> https://wiki.archlinux.org/**index.php/GRUB2#Setting_the_**
>> framebuffer_resolution
>>
>> That probably has a similar effect to the "vga=" option in the command
>> line. Removing them, or adding "vga=0" (or both, to be extra safe) should
>> do.
>>
>>  I am on grub2. Makes total sense now, for some reason I was not putting
> the GFX options together with the VGA.
>
> Does that mean gfxmode should also =0 ? Instead of auto or a specific
> resolution?
>

GRUB2 documentation is notably difficult to read, but from
http://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html#Simple-configuration
I
guess that the relevant option to disable this feature is to use
"GRUB_GFXPAYLOAD_LINUX=text"
instead of "GRUB_GFXPAYLOAD_LINUX=keep".

-- 
Rodrigo


Re: [arch-general] nvidia 295.59-1 dmesg output

2012-06-18 Thread Don deJuan

On 06/18/2012 03:57 AM, Rodrigo Rivas wrote:

On Mon, Jun 18, 2012 at 6:25 AM, Don deJuan  wrote:


I do not seem to find any mention of VGA in the boot parameters. The only
place I see it mentioned is in grub.cfg where it loads the modules before
you even put your kernel info (insmod vga).


But I added what you said vga=0, to the kernel parameters and the message

is now gone.



Maybe you are using GRUB2 with the GFX options this link talks about:
https://wiki.archlinux.org/index.php/GRUB2#Setting_the_framebuffer_resolution

That probably has a similar effect to the "vga=" option in the command
line. Removing them, or adding "vga=0" (or both, to be extra safe) should
do.

I am on grub2. Makes total sense now, for some reason I was not putting 
the GFX options together with the VGA.


Does that mean gfxmode should also =0 ? Instead of auto or a specific 
resolution?




Re: [arch-general] time to drop openjdk6 ?

2012-06-18 Thread Nabil Freij
What about building an android rom image? I believe that still needs
openjdk6?

Nab

On 14 June 2012 19:37, David C. Rankin wrote:

> On 06/13/2012 12:32 PM, Andreas Radke wrote:
>
>> Oracle has declared JRE/JDK7 the preferred one over JRE/JDK6. So it
>> should be now stable enough to replace Java6 for everyone also in the
>> OpenJDK community releases.
>>
>> I'm asking if there's somebody still in the need to use openjdk6 for
>> certain apps that fail to run with openjdk7? If so please report it
>> upstream.
>>
>> I know there's are still some commercial java apps that will only run
>> on the Oracle JRE6 or JRE7 but I ask only if somebody prefers openjdk6
>> in our repos over java7-openjdk.
>>
>> I'd like to drop openjdk6 when the next security update will be
>> released if possible.
>>
>> -Andy
>>
>
> Andy,
>
>  The only issue I've run into lately is the build requirement of 'libhpi'.
> I can't recall which package needed it, but it was only available in
> openjdk6 and is dropped from 7. I don't know how many other libs differ
> between 6 & 7, but for all packages that need libhpi openjdk6 is still
> required.
>
> --
> David C. Rankin, J.D.,P.E.
>


Re: [arch-general] Muting internal speakers

2012-06-18 Thread Ralf Mardorf
On Mon, 2012-06-18 at 10:43 -0400, Ray Kohler wrote:
> Try /sys/class/sound/card0 (or card1, or whatever number).

Without USB
spinymouse@precise:~$ ls /sys/class/sound
card0  card2  controlC1  dmmidi   dmmidi2  midi   midi2 midiC1D0
pcmC0D0c  pcmC1D0c  pcmC2D0c  seq
card1  controlC0  controlC2  dmmidi1  hwC0D0   midi1  midiC0D0  midiC2D0
pcmC0D0p  pcmC1D0p  pcmC2D0p  timer
With USB
spinymouse@precise:~$ ls /sys/class/sound
card0  card3  controlC2  dmmidi1  hwC0D0  midi2 midiC1D0
pcmC0D0c  pcmC1D0p  seq
card1  controlC0  controlC3  dmmidi2  midimidi3 midiC2D0
pcmC0D0p  pcmC2D0c  timer
card2  controlC1  dmmidi dmmidi3  midi1   midiC0D0  midiC3D0
pcmC1D0c  pcmC2D0p

:)

Should be ok for the needs of the OP, since he doesn't need just one
special device.

OT:
I was thinking of another issue that happens to rtirq users. Some unique
names changed, e.g. ICE1712 became ice1, so we can't distinguish between
ICE1712 and ICE1724 anymore to set up the prio for soft IRQs and even
for other cards rtirq settings needs to be different for different
kernel versions.



Re: [arch-general] makechrootpkg - howto run 'pacman-key --init'?

2012-06-18 Thread Magnus Therning

On Sun, Jun 17, 2012 at 02:59:28PM -0500, David C. Rankin wrote:
> Doing a major rebuild with new archroot and I've run into an error
> either due to needing to run 'pacman-key --init' or due to GPGME --
> or both. Do I need to manually chroot the archroot and run
> pacman-key --init, or can I pass it to the chroot with makechrootpkg
> -- (some option).
> 
>   What's the best way to handle this?
> 
> After running 'sudo mkarchroot -u $CHROOT/root', when I go to build
> a package requiring dependencies with 'sudo makechrootpkg -r $CHROOT
> -u', I get the following:

I've been running into this lately too and the only way I could think
of was to manually chroot and run the commands myself:

 % sudo mkarchroot -r /bin/bash path/to/my/root

/M

-- 
Magnus Therning  OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe   http://therning.org/magnus


Perl is another example of filling a tiny, short-term need, and then
being a real problem in the longer term.
 -- Alan Kay


pgpYPsP8OmOnk.pgp
Description: PGP signature


Re: [arch-general] Muting internal speakers

2012-06-18 Thread Ray Kohler
On Mon, Jun 18, 2012 at 10:24 AM, Stephen E. Baker
 wrote:
> On 18/06/2012 9:48 AM, Ralf Mardorf wrote:
>>
>> On Mon, 2012-06-18 at 15:41 +0200, Ralf Mardorf wrote:
>>>
>>> On Mon, 2012-06-18 at 08:34 -0400, Stephen E. Baker wrote:

 it involves being able to identify which device your usb sound
 device is.
>>>
>>> "So run:
>>> udevinfo -a -p /sys/block/sda
>>> (replace sda with you device)" -
>>>
>>> http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/
>>>
>>> What is the name for the sound device?
>>>
>>> FWIW, you get unique device name listed in /proc/asound/
>>>
>>> A Swissonic device
>>> spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
>>> dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
>>> lrwxrwxrwx 1 root root 5 Jun 18 15:14 U0x170b0x11 ->  card3
>>> A Korg device
>>> spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
>>> dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
>>> lrwxrwxrwx 1 root root 5 Jun 18 15:14 nanoKONTROL ->  card3
>>>
>>> but what names are used for "udevinfo -a -p /sys/block/[...]"?
>>>
>>> spinymouse@precise:~$ ls /sys/block/
>>> loop0  loop2  loop4  loop6  ram0  ram10  ram12  ram14  ram2  ram4  ram6
>>> ram8  sda  sr0
>>> loop1  loop3  loop5  loop7  ram1  ram11  ram13  ram15  ram3  ram5  ram7
>>> ram9  sdb
>>
>> Resp. in /sys/"whatever"
>>
> /sys/block/ is block devices (i.e. hard drives, potential ram drives, loop
> back devices), so it wouldn't be in there.   I'm not sure where in /sys it
> would be, but if you check the last few lines dmesg after plugging it in it
> should tell you.

Try /sys/class/sound/card0 (or card1, or whatever number).


Re: [arch-general] Muting internal speakers

2012-06-18 Thread Stephen E. Baker

On 18/06/2012 9:48 AM, Ralf Mardorf wrote:

On Mon, 2012-06-18 at 15:41 +0200, Ralf Mardorf wrote:

On Mon, 2012-06-18 at 08:34 -0400, Stephen E. Baker wrote:

it involves being able to identify which device your usb sound
device is.

"So run:
udevinfo -a -p /sys/block/sda
(replace sda with you device)" -
http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/

What is the name for the sound device?

FWIW, you get unique device name listed in /proc/asound/

A Swissonic device
spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
lrwxrwxrwx 1 root root 5 Jun 18 15:14 U0x170b0x11 ->  card3
A Korg device
spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
lrwxrwxrwx 1 root root 5 Jun 18 15:14 nanoKONTROL ->  card3

but what names are used for "udevinfo -a -p /sys/block/[...]"?

spinymouse@precise:~$ ls /sys/block/
loop0  loop2  loop4  loop6  ram0  ram10  ram12  ram14  ram2  ram4  ram6
ram8  sda  sr0
loop1  loop3  loop5  loop7  ram1  ram11  ram13  ram15  ram3  ram5  ram7
ram9  sdb

Resp. in /sys/"whatever"

/sys/block/ is block devices (i.e. hard drives, potential ram drives, 
loop back devices), so it wouldn't be in there.   I'm not sure where in 
/sys it would be, but if you check the last few lines dmesg after 
plugging it in it should tell you.


Re: [arch-general] Muting internal speakers

2012-06-18 Thread Nelson Marambio
/dev/* ?
/var/media/* ?

 Original-Nachricht 
> Datum: Mon, 18 Jun 2012 15:48:26 +0200
> Von: Ralf Mardorf 
> An: arch-general@archlinux.org
> Betreff: Re: [arch-general] Muting internal speakers

> On Mon, 2012-06-18 at 15:41 +0200, Ralf Mardorf wrote:
> > On Mon, 2012-06-18 at 08:34 -0400, Stephen E. Baker wrote:
> > > it involves being able to identify which device your usb sound 
> > > device is.
> > 
> > "So run:
> > udevinfo -a -p /sys/block/sda
> > (replace sda with you device)" -
> >
> http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/
> > 
> > What is the name for the sound device?
> > 
> > FWIW, you get unique device name listed in /proc/asound/
> > 
> > A Swissonic device
> > spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
> > dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
> > lrwxrwxrwx 1 root root 5 Jun 18 15:14 U0x170b0x11 -> card3
> > A Korg device
> > spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
> > dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
> > lrwxrwxrwx 1 root root 5 Jun 18 15:14 nanoKONTROL -> card3
> > 
> > but what names are used for "udevinfo -a -p /sys/block/[...]"?
> > 
> > spinymouse@precise:~$ ls /sys/block/
> > loop0  loop2  loop4  loop6  ram0  ram10  ram12  ram14  ram2  ram4  ram6
> > ram8  sda  sr0
> > loop1  loop3  loop5  loop7  ram1  ram11  ram13  ram15  ram3  ram5  ram7
> > ram9  sdb
> 
> Resp. in /sys/"whatever"
> 


Re: [arch-general] Muting internal speakers

2012-06-18 Thread Ralf Mardorf
On Mon, 2012-06-18 at 15:41 +0200, Ralf Mardorf wrote:
> On Mon, 2012-06-18 at 08:34 -0400, Stephen E. Baker wrote:
> > it involves being able to identify which device your usb sound 
> > device is.
> 
> "So run:
> udevinfo -a -p /sys/block/sda
> (replace sda with you device)" -
> http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/
> 
> What is the name for the sound device?
> 
> FWIW, you get unique device name listed in /proc/asound/
> 
> A Swissonic device
> spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
> dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
> lrwxrwxrwx 1 root root 5 Jun 18 15:14 U0x170b0x11 -> card3
> A Korg device
> spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
> dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
> lrwxrwxrwx 1 root root 5 Jun 18 15:14 nanoKONTROL -> card3
> 
> but what names are used for "udevinfo -a -p /sys/block/[...]"?
> 
> spinymouse@precise:~$ ls /sys/block/
> loop0  loop2  loop4  loop6  ram0  ram10  ram12  ram14  ram2  ram4  ram6
> ram8  sda  sr0
> loop1  loop3  loop5  loop7  ram1  ram11  ram13  ram15  ram3  ram5  ram7
> ram9  sdb

Resp. in /sys/"whatever"



Re: [arch-general] Muting internal speakers

2012-06-18 Thread Ralf Mardorf
On Mon, 2012-06-18 at 08:34 -0400, Stephen E. Baker wrote:
> it involves being able to identify which device your usb sound 
> device is.

"So run:
udevinfo -a -p /sys/block/sda
(replace sda with you device)" -
http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/

What is the name for the sound device?

FWIW, you get unique device name listed in /proc/asound/

A Swissonic device
spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
lrwxrwxrwx 1 root root 5 Jun 18 15:14 U0x170b0x11 -> card3
A Korg device
spinymouse@precise:~$ ls -hAl /proc/asound/ | grep card3
dr-xr-xr-x 2 root root 0 Jun 18 15:14 card3
lrwxrwxrwx 1 root root 5 Jun 18 15:14 nanoKONTROL -> card3

but what names are used for "udevinfo -a -p /sys/block/[...]"?

spinymouse@precise:~$ ls /sys/block/
loop0  loop2  loop4  loop6  ram0  ram10  ram12  ram14  ram2  ram4  ram6
ram8  sda  sr0
loop1  loop3  loop5  loop7  ram1  ram11  ram13  ram15  ram3  ram5  ram7
ram9  sdb



Re: [arch-general] Muting internal speakers

2012-06-18 Thread Stephen E. Baker

On 15/06/2012 8:30 PM, Oon-Ee Ng wrote:

Still not on my laptop, but I searched around, posted it a while back on
the pulseaudio wiki. Here it is

http://www.freedesktop.org/wiki/Software/PulseAudio/FAQ#How_do_I_switch_the_default_sound_card.2C_moving_all_applications.3F

Again, not sure if by now there's a way to run this script whenever a card
is plugged in and out, if you do find that let me know =).  Like I said, I
just bind the script to a shortcut key using xbindkeys


I'm not sure how 'recommended' it is, but there is a method of running 
scripts when devices are plugged in using udev rules.  There is a guide 
here 
http://www.banquise.org/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/ 
though it involves being able to identify which device your usb sound 
device is.


(Rather than blindingly following the example I recommend reading 
through http://www.reactivated.net/writing_udev_rules.html to understand 
what you are doing)





[arch-general] rescue shell in GRUB2

2012-06-18 Thread Arno Gaboury

Hello,

on GRUB2 wiki, I see in case of serious problems, I am dropped to a 
rescue shell.


At one time, I shall type :

>insmod(hd1,1) /grub/normal.mod  **my /boot is on separate 
partition on /dev/sdb1


When I look inside my /boot/grub folder, I can see the file normal.mod 
is inside /i386-pc folder.


So why not instead type :

>insmod(hd1,1) /grub/i386-pc/normal.mod

TY
**


Re: [arch-general] nvidia 295.59-1 dmesg output

2012-06-18 Thread Rodrigo Rivas
On Mon, Jun 18, 2012 at 6:25 AM, Don deJuan  wrote:
>
> I do not seem to find any mention of VGA in the boot parameters. The only
> place I see it mentioned is in grub.cfg where it loads the modules before
> you even put your kernel info (insmod vga).

But I added what you said vga=0, to the kernel parameters and the message
> is now gone.


Maybe you are using GRUB2 with the GFX options this link talks about:
https://wiki.archlinux.org/index.php/GRUB2#Setting_the_framebuffer_resolution

That probably has a similar effect to the "vga=" option in the command
line. Removing them, or adding "vga=0" (or both, to be extra safe) should
do.

-- 
Rodrigo