[arch-general] Lenovo carbon X1 and kernel 3.19 issues

2015-04-05 Thread andrea crotti
Hi guys,
I have a Lenovo Carbon X1 third generation, just bought a few months ago.

Everything worked perfectly but a week ago I upgraded to the new kernel
version:
Linux carbon 3.19.2-1-ARCH #1 SMP PREEMPT Wed Mar 18 16:21:02 CET
2015 x86_64 GNU/Linux

After that two problems started:

1. Audio doesn't work anymore, even speaker-test fails, I already tried
   everything and, the audio card still comes up, but nothing happens
   even using speaker-test, which makes me thing it might be a hardware
   issue, what do you think?

$ aplay -l

  List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


2. Sometimes after resuming from suspension Xorg becomes crazy.
   I use Awesome as VM and basically it still shows something but I
   can't click or do anything, and the weird thing is that if I kill
   Awesome and start it again, same problem.

   It only starts to work normally again when I reboot the machine.
   The problem is not Awesome either because I tried also Fluxbox and
   Xfce4 but still the same problem.

   I can't see any clue from the logs either, any idea what I could look
   at?


Thanks a lot


PS. About 1. sometimes while listening to music the computer would give
a tiny shock that made the external monitor skip and a small shock
in my headset, which was very annoying, and makes me thing is a
hardware issue.


[arch-general] Arch on SSD!

2012-10-21 Thread Andrea Crotti

I bought a crucial M4 (128GB) for my laptop, and now the idea is to move
the operating system and most of the data there, keeping the other disk
in the cd-bay as second disk.

I formatted the SSD disk like this:

Disk /dev/sda: 128.0 GB, 128035676160 bytes, 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ee70d

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *2048  411647  204800   83  Linux
/dev/sda2  411648   250069679   124829016   83  Linux

Where sda2 is a LVM volume, but the first thing which I'm not sure is if
I got the alignment correct.  I didn't find anywhere what should be the
alignment for my disk, and a way to check that you actually got it
right (some ways only for Windows funnily).

Any hint?

The second thing is that at the moment I should be able to boot both
disks, but the SSD now fails to load, and I'm a bit lost in the new
GRUB2 configuration:


MENUENTRY 'Arch GNU/Linux, with Linux core repo kernel' --class arch 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' {

load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 
--hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 
ad4103fa-d940-47ca-8506-301d8071d467

else
  search --no-floppy --fs-uuid --set=root 
ad4103fa-d940-47ca-8506-301d8071d467

fi
echo'Loading Linux core repo kernel ...'
linux/boot/vmlinuz-linux 
root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 ro  quiet

echo'Loading initial ramdisk ...'
initrd/boot/initramfs-linux.img
}


All I need to do is boot from disk (hd0, 0) and then the / is on LVM
/dev/ssd/root.

I'm not sure, however, if this configuration is supposed to make sense
or it's just autogenerated as a template..


The fstab for the SSD is this:

/dev/mapper/ssd-root/ ext4 
 rw,relatime,data=ordered,discard0 2


# UUID=54d06c44-2b32-4969-be42-d98d2bf7e994
/dev/sda1   /boot ext4 
 rw,relatime,data=ordered,discard0 2



but I've seen somewhere that ext4 might be a problem too, or is that
fixed?

Thanks a lot,
Andrea


Re: [arch-general] Running Spin

2012-08-20 Thread andrea crotti
2012/8/20 Guillaume Brunerie guillaume.brune...@gmail.com:

 Hello,
 Did you try to recompile it?

 According to the FHS,
 If a C preprocessor is installed, /lib/cpp must be a reference to it, for 
 historical reasons.
 But it seems that ArchLinux got rid of it recently (this file was
 present before the /lib - /usr/lib transition but I do not have it
 anymore)

 So I guess that the following command would fix the problem
 # ln -s /usr/bin/cpp /lib/cpp

 If the problem occurs in the latest version of spin, you should
 probably file a bug report to make spin use /usr/bin/cpp instead of
 /lib/cpp.

 Guillaume


Yes thanks now it works with this, but I could not understand why on
earth cpp should be in lib, didn't know about this historical reason..
I'll report the spin developers then, thanks


[arch-general] arduino mega2560 and gcc-avr

2012-07-17 Thread andrea crotti
I'm trying to use my arduino mega2560 with arch but there's no way to
get it working yet..
I installed the arduino 1.0.1-1, and everything seems to work, until I
try to use the Serial, when I get (compiling from gnoduino):

avr:5 architecture of input file
`/tmp/build1342512569.47XizyI/core.a(HardwareSerial.cpp.o)' is
incompatible with avr:6 output
collect2: error: ld returned 1 exit status

I saw about a bug in avr-gcc but it should have been fixed long time
ago, and it's probably not the same thing...
Anyone got it working?


Re: [arch-general] crazy mount process

2012-07-16 Thread Andrea Crotti

On 07/16/2012 08:19 PM, Aurko Roy wrote:

I had a similar problem today when I tried to mount my portable hard
drives. The mount process would consume 100% cpu and could not be killed.
Further when I tried to give the shutdown/halt command the system would not
shut down either. The next time I stopped dbus before attempting to mount
again and it worked. However I don't think that this was causing the
problem since the next time I could mount even when dbus was running and I
can find no plausible explanation for why stopping dbus should help. Now it
seems to be working fine - so basically it was a weird problem that just
corrected itself after a couple of reboots.



A reboot was not enough unfortunately..
But I found the fix!
I just had to remove sda from the filter in one of the udev rules, that 
now is:

KERNEL!=sd[b-z][0-9], GOTO=media_by_label_auto_mount_end

it's quite strange though because it never did it before, so I guess 
that one update

changed its behaviour somehow..


[arch-general] arch with a specific kernel version

2012-07-12 Thread andrea crotti
I would like to create multiple arch linux installations with a
specific (a quite old 2.6 version) kernel version.
Is that in theory possible/easy?

I have a new one recently created but the downport doesn't seem so
easy, so maybe it would just be easier to start with an older one,
any suggestions??


Re: [arch-general] arch with a specific kernel version

2012-07-12 Thread andrea crotti
I need 2.6.32 so it might still work..
The glibc for example though requires linux3 kernel apparently, if I
just recompile the kernel will it still work fine?


Re: [arch-general] arch with a specific kernel version

2012-07-12 Thread andrea crotti
2012/7/12 Thomas Bächler tho...@archlinux.org:
 Am 12.07.2012 16:38, schrieb andrea crotti:
 I need 2.6.32 so it might still work..
 The glibc for example though requires linux3 kernel apparently

 No, the glibc requires 2.6.32 (didn't I just say that?):

 https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/glibc#n67



Yes sorry you said that, but I meant this
Depends On : linux-api-headers=3.4  tzdata

can the linux-api-headers be a different version of the running kernel?


Re: [arch-general] arch with a specific kernel version

2012-07-12 Thread andrea crotti
Ok thanks, I'm trying now but the vanilla kernel doesn't compile.
Looking around in the forum it appears to be the gcc version too new
and I'm installing gcc 4.5, let's see if I get it working..

Otherwise another option might be to install from an old arch
installer, but then I have the same problem because I suppose
that all the old packages are not available, and I need new versions
of Python and other libraries anyway..


[arch-general] usb disk not visible

2012-04-09 Thread Andrea Crotti

I have a problem with an external USB disk here, which is a WD 500Gb
bought last year.

Recently I decided finally to format it to ext3, since I'm using Linux
everywhere, but now I don't seem to see it from my dell latitude.

On my mini dell everything works perfectly, but on the latitude I get
only this from dmesg

[ 8916.825474] usb 2-1.2: USB disconnect, device number 11
[ 8917.013895] usb 2-1.2: new high-speed USB device number 12 using ehci_hcd
[ 8919.126604] usb 2-1.2: USB disconnect, device number 12
[ 8919.314274] usb 2-1.2: new high-speed USB device number 13 using ehci_hcd

and fdisk doesn't detect anything:
[andrea@dell]$ sudo fdisk -l /dev/sdb

Any idea of what it could be?


Re: [arch-general] usb disk not visible

2012-04-09 Thread Andrea Crotti

On 04/09/2012 06:09 PM, Manolo Martínez wrote:

udisks --enumerate shows it? I'm sure you have looked into it, but any chance
that it's in, say, /dev/sdc?


This is what I get:
/org/freedesktop/UDisks/devices/dm_2d0
/org/freedesktop/UDisks/devices/dm_2d1
/org/freedesktop/UDisks/devices/dm_2d2
/org/freedesktop/UDisks/devices/sr0
/org/freedesktop/UDisks/devices/sda
/org/freedesktop/UDisks/devices/sda1
/org/freedesktop/UDisks/devices/sda2
/org/freedesktop/UDisks/devices/sda3
/org/freedesktop/UDisks/devices/sda5

and sadly nothing useful apparently..
It's very weird that it works on one and not the other, what can 
actually stop the partition to be discovered?


Re: [arch-general] usb disk not visible

2012-04-09 Thread Andrea Crotti

On 04/09/2012 06:31 PM, Guus Snijders wrote:

Op 9 apr. 2012 19:05 schreef Andrea Crottiandrea.crott...@gmail.com
het volgende:

I have a problem with an external USB disk here, which is a WD 500Gb
bought last year.

Recently I decided finally to format it to ext3, since I'm using Linux
everywhere, but now I don't seem to see it from my dell latitude.

On my mini dell everything works perfectly, but on the latitude I get
only this from dmesg

[ 8916.825474] usb 2-1.2: USB disconnect, device number 11
[ 8917.013895] usb 2-1.2: new high-speed USB device number 12 using

ehci_hcd

[ 8919.126604] usb 2-1.2: USB disconnect, device number 12
[ 8919.314274] usb 2-1.2: new high-speed USB device number 13 using

ehci_hcd

Looks like a flaky USB connection to me.
Have you tried other ports or perhaps other USB devices on that same port?

mvg, Guus


All USB ports work perfectly on this machine as far as I can tell.
I now tried all three ports and exactly same results.
Can it be something in the kernel? Or maybe UDEV configuration (which I 
guess

should come at a later stage, so it should not be the problem).


Re: [arch-general] usb disk not visible

2012-04-09 Thread Andrea Crotti

On 04/09/2012 06:45 PM, Andrea Crotti wrote:


All USB ports work perfectly on this machine as far as I can tell.
I now tried all three ports and exactly same results.
Can it be something in the kernel? Or maybe UDEV configuration (which 
I guess

should come at a later stage, so it should not be the problem).


Actually I was wrong it was the USB somehow, also the mouse stopped 
working..
After a kernel update and reboot now everything seems to work, not sure 
what happened though,

which is a bit annoying.


Re: [arch-general] Anyone willing to share experiences running Arch on a current-gen MacBook Pro?

2012-03-23 Thread andrea crotti
I had two macbook pro (one unibody and a previous one) and I finally got
rid of it last year to buy a dell latitude.

I could not be more happy, and I don't really understand in what sense
macbooks are so good.

- the pro machine has a crappy glossy monitor by default
- it gets too hot (mine definitively did)
- optical drive fails all the time
- it's a lot more painful than other machines to get Linux running correctly
- the warranty is ridicolous, 1 year instead of my 3 by default

so well I really don't get it ;)


[arch-general] keyboard problem

2012-02-27 Thread Andrea Crotti
I'm trying to remove Gnome from another machine, but here starting Xorg 
with startx gives

the following error:

(EE) Microsoft Natural® Ergonomic Keyboard 4000: failed to initialize 
for relative axes.



While GDM works perfectly fine.
How can it make a difference?
And where should be the driver for that keyboard that I can't find 
anywhere in aur?



This is the configuration (very simple) of the keyboard from Xorg:
Section InputClass
Identifier evdev keyboard catchall
MatchIsKeyboard on
MatchDevicePath /dev/input/event*
Driver evdev
Option XkbLayout it
EndSection


Thanks,
Andrea


Re: [arch-general] keyboard problem

2012-02-27 Thread Andrea Crotti

On 02/27/2012 10:36 AM, Jason Steadman wrote:

On 27 February 2012 10:34, Andrea Crottiandrea.crott...@gmail.com  wrote:


I'm trying to remove Gnome from another machine, but here starting Xorg
with startx gives
the following error:

(EE) Microsoft Natural® Ergonomic Keyboard 4000: failed to initialize for
relative axes.


While GDM works perfectly fine.
How can it make a difference?
And where should be the driver for that keyboard that I can't find
anywhere in aur?


This is the configuration (very simple) of the keyboard from Xorg:
Section InputClass
Identifier evdev keyboard catchall
MatchIsKeyboard on
MatchDevicePath /dev/input/event*
Driver evdev
Option XkbLayout it
EndSection


Thanks,
Andrea


Most MS keyboards spit out that error, it's generally harmless.



Well I thought that it was the reason why Xorg was not firing up.
Now I found that it's not, more simply awesome is not installed yet :D



Re: [arch-general] moving away from gnome

2012-02-26 Thread Andrea Crotti

On 02/25/2012 09:13 PM, Ralf Mardorf wrote:


I don't have GNOME installed, but I decided to use GDM.

Isn't there such an entry as I've got:

[spinymouse@archlinux ~]$ grep gdm /etc/inittab
x:5:respawn:/usr/sbin/gdm -nodaemon

- Ralf



I had that line, but my interpretation was that if the initdefault is 5 
then do that.

Apparently the initdefault line was not taken into consideration.

Now I rebooted again and with this line
id:3:initdefault:

arch still boots in init 5, but at least it doesn't fire up GDM now.
So how on earth is it possible that it boots in init 5 even if I declare 
the default to be 3?


The wireless is also solved now, awesome launched with ck-launch-session 
works perfectly :)

(Almost there, thanks everyone!)


Re: [arch-general] moving away from gnome

2012-02-26 Thread Andrea Crotti

On 02/26/2012 10:01 AM, Jesse Jaara wrote:

I bet you have '5' at the end of your kernel commandline.

You won that was it :)


Re: [arch-general] moving away from gnome

2012-02-26 Thread Andrea Crotti

I'm getting very close to a final solution :)

So now the only thing left to do is to make sure that these are executed 
(this is my .xprofile):


if [ -x $(which gpg-agent) ]; then
if test -f $HOME/.gpg-agent-info  \
kill -0 $(cut -d: -f 2 $HOME/.gpg-agent-info) 2/dev/null
then
GPG_AGENT_INFO=$(cat $HOME/.gpg-agent-info)
export GPG_AGENT_INFO
else
eval $(gpg-agent --daemon)
echo $GPG_AGENT_INFO $HOME/.gpg-agent-info
fi
fi

source $HOME/.bash_profile
xbindkeys -f $HOME/.xbindkeysrc 
bitlbee -F -c $HOME/.bitlbee.conf


Very strangely now even if the gpg-agent is not appearing to be on, the 
gpg key looks cached anyway.

Is it the consolekit doing something maybe?

So I'm not sure if I should move them to .xinitrc or to use GDM..
Probably GDM would be easier and I can configure also the auto-login, 
but does it starts many other things that I don't need?


And when everything is done, is there an easy way to uninstall all the 
gnome things which I don't need anymore?

(pacman -R gnome complains about many dependencies)


[arch-general] inotify and locate

2012-02-26 Thread Andrea Crotti
It's a bit a shame that there isn't any default good indexing system for 
Linux.
Now there is also a inotify implementation and tools to set up watchers 
on the filesystem,

so why are we still mainly stuck with locate and the expensive updatedb?

Are there other problems with the inotify approach maybe or just lack of 
developer interest?


Re: [arch-general] inotify and locate

2012-02-26 Thread Andrea Crotti

On 02/26/2012 12:18 PM, Raven wrote:
On Sun, 26 Feb 2012 19:49:55 +0800, Andrea Crotti 
andrea.crott...@gmail.com wrote:


It's a bit a shame that there isn't any default good indexing system 
for Linux.
Now there is also a inotify implementation and tools to set up 
watchers on the filesystem,

so why are we still mainly stuck with locate and the expensive updatedb?

Are there other problems with the inotify approach maybe or just lack 
of developer interest?


Great idea, though I thought inotify doesn't suit this task. For 
updatedb, it should call inotify_watch for every file on the 
filesystem, that's quite inefficient.


I think Linux's audit system could do this, though.


Well I don't mean to integrate directly updatedb and locate, I mean a 
new tool that uses the inotify api.
The efficiency might be a problem sure, but if you filter well only on 
the paths and the files that you
actually need I don't think it would be too bad, after all inotify is in 
the kernel.


How would the audit system be better? And what do you mean exactly?


Re: [arch-general] inotify and locate

2012-02-26 Thread Andrea Crotti

On 02/26/2012 12:23 PM, Calvin Morrison wrote:

It is only for Linux. That was my barrier. It has no portability to Mac or
BSDs. It is a great tool and really comes in handy.

There is an package called inotify-tools that does some basic watching.
I've used it in the past.

Calvin



Well mac has already spotlight, and BSD probably has some other ways.
If you want something fast there it must run in the kernel, so it's very 
hard to have

something multi-plaform.

This python project is multi-platform in theory, 
http://pypi.python.org/pypi/watchdog,
(and uses inotify on Linux) but it's not designed exactly with this 
intent IMHO.


Re: [arch-general] moving away from gnome

2012-02-26 Thread Andrea Crotti

On 02/26/2012 03:32 PM, mike cloaked wrote:

On Sun, Feb 26, 2012 at 11:12 AM, Andrea Crotti
andrea.crott...@gmail.com  wrote:

I'm getting very close to a final solution :)

So now the only thing left to do is to make sure that these are executed
(this is my .xprofile):

if [ -x $(which gpg-agent) ]; then
if test -f $HOME/.gpg-agent-info  \
kill -0 $(cut -d: -f 2 $HOME/.gpg-agent-info) 2/dev/null
then
GPG_AGENT_INFO=$(cat $HOME/.gpg-agent-info)
export GPG_AGENT_INFO
else
eval $(gpg-agent --daemon)
echo $GPG_AGENT_INFO$HOME/.gpg-agent-info
fi
fi

source $HOME/.bash_profile
xbindkeys -f $HOME/.xbindkeysrc
bitlbee -F -c $HOME/.bitlbee.conf


Very strangely now even if the gpg-agent is not appearing to be on, the gpg
key looks cached anyway.
Is it the consolekit doing something maybe?

So I'm not sure if I should move them to .xinitrc or to use GDM..
Probably GDM would be easier and I can configure also the auto-login, but
does it starts many other things that I don't need?

Would it not be easier to switch to KDM or one of the other login
managers rather than use GDM if you have moved away from Gnome?



Is kdm in kde-workspace-base?
If yes it also has quite a lot of dependencies which I don't really need.
And actually I think I can survive very well without any login manager.
I just need to set up correctly my .xinitrc, and then give on e startx 
every time I reboot

my machine (so every 3-4 weeks).

With ck-lauch-session I solved the policykit issues so I don't see what 
else I'm missing not

using a login manager..


[arch-general] pacman -Qdt

2012-02-26 Thread Andrea Crotti

I've been using this very nice command after removing a lot of stuff,
and it's great to find orphans.

But I think there are some issues..
For example I just installed python2-tinkerer from aur, which needs 
python2-sphinx.

I had installed python-sphinx and they interfere with each other.
So I removed python-sphinx and reinstalled again.

All the dependencies are satisfied and tinkerer is installed correctly.

But now look at what I get:
# pacman -Qdt
python-jinja 2.6-2
python2-sphinx 1.1.2-2

which seems wrong to me.
Is it maybe that packages from aur don't have the same weight when 
checking for reverse dependencies?


Re: [arch-general] pacman -Qdt

2012-02-26 Thread Andrea Crotti

On 02/26/2012 07:14 PM, Karol Blazewicz wrote:

On Sun, Feb 26, 2012 at 8:06 PM, Andrea Crotti
andrea.crott...@gmail.com  wrote:

Is it maybe that packages from aur don't have the same weight when checking
for reverse dependencies?

How exactly did you install these packages from 'pacman -Qdt' output?
You can always fix this with pacman's '-D' switch.


Well I just installed them as dependencies from
yaourt -S python2-tinkerer
and if they are installed as dependencies of something which is still 
installed, they should not

be marked as orphans, right?


Re: [arch-general] pacman -Qdt

2012-02-26 Thread Andrea Crotti

On 02/26/2012 07:57 PM, rafael ff1 wrote:

2012/2/26 Andrea Crottiandrea.crott...@gmail.com:

Well I just installed them as dependencies from
yaourt -S python2-tinkerer
and if they are installed as dependencies of something which is still
installed, they should not
be marked as orphans, right?

Run yaourt -Qi python2-tinkerer and confirm that python2-sphinx is
listed in Depends On.

p.s.: Orphan is a package without maintainer, so it's not related.


Yes orphan was not the right word sorry, what is the right word then?
Anyway I realized I'm an idiot, because I
- installed tinkerer from aur
- realized that I wanted to contribute so I forked the project and cloned it
- uninstalled tinkerer from the system (but with my own copy installed 
outside of pacman)


So pacman -Qdt was perfectly right :)
Only one note, now I tried to just reinstall python2-sphinx, and in my 
opinion if I install it manually
the Install reason should change to Explicitly installed, doesn't it 
make sense?


I can still use pacman -D sure, but in theory if I explicitly install 
something it's reason should also change..


[arch-general] moving away from gnome

2012-02-25 Thread Andrea Crotti

I would like to move away from Gnome, which I don't need at all since I
only need to launch:
- emacs
- conkeror
- thunderbird
- gnome-terminal

and I don't even use the menu but Alt-f2 for that.
The main problem though is that on this laptop (a dell latitude E6420)
if I'm not using gnome I can't make it suspend properly.

The strange thing is that if I am in a gnome-session closing the lid or
calling suspend from the gnome menu everything works.

But if I fire up awesome only then closing the lid doesn't work anymore.

So the question is, what is gnome magically firing up that other window
managers don't?

I would also like to try xmonad finally, but I've never been able to
configure it yet.  I have an ~/.xmonad/xmonad.hs file (the default one
copied) that compiles perfectly, but if I try a startx the screen just
stays blank, without logging any error in the Xorg.0.log.

Any idea of what it could be?


Re: [arch-general] moving away from gnome

2012-02-25 Thread Andrea Crotti

On 02/25/2012 07:22 PM, Jesse Juhani Jaara wrote:

lauantai, 25. helmikuuta 2012 20:19:31 Jan Steffens kirjoitti:

Probably gnome-settings-daemon

The GNOME Settings Daemon is responsible for setting various parameters of a
GNOME Session and the applications that run under it.
Short: is the GConf X settings daemon.

Sure it launches that but is totally irrelevant here, it only manages Gnome's
settings, just like the name suggests :D


Alright good, then I'll shut down all these things, fire up awesome and 
try to

get everything working..
But another thing, is there a way to find out what command is exactly run
when pressing things in the gnome-panel?
(For example when I launch suspend from the gnome-panel, what is it 
executed?)


Re: [arch-general] moving away from gnome

2012-02-25 Thread Andrea Crotti

On 02/25/2012 08:12 PM, Jesse Juhani Jaara wrote:

lauantai, 25. helmikuuta 2012 20:06:28 Andrea Crotti kirjoitti:


Now the next problem is that networkmanager doesn't see any networks,
and wicd tries to connect but
the password is refused.
I think this again has something to do with ConsoleKit and the policies,
is that correct?

Don't know if this has anything to with Networkmanager's way of functioning,
but if you launch awesome trought .xinitrc you have 'ck-launch-session awe..'
in there instead of just 'awesome'. And if you created a file to launch awesome
from the loginmanager you have that there too.


Even more weird, with these daemons

DAEMONS=(dbus
 acpid
 netfs
 wicd
 @alsa
 @bluetooth
 @crond
 @cupsd
 @iptables
 @ntpd
 @openvpn
 @sensors
 @sshd
 @syslog-ng)

and this in inittab:
id:3:initdefault:
# Boot to X11
# id:5:initdefault:

after rebooting GDM still fires up!! But how come? What is firing it up?
And now I'm not even able anymore to choose gnome-classic as session :/

Might be worth to try with a new user, which doesn't have strange 
settings stored...


Re: [arch-general] ffmpeg and libav

2012-02-12 Thread Andrea Crotti

On 02/12/2012 12:20 AM, Jesse Jaara wrote:

Dunno about mplater but mplayer2 uses lubav, but is conpitable with ffmpeg
after config script patch (version missmach)


Yes exactly, I don't know many details myself but what I'm sure about
is that almost all the core developers switched to libav, and that's the 
most

important thing.

FFmpeg is still merging things more or less from everywhere without
any real control of the sources, and that's why it looks it's still 
evolving, while

on the other side things are done properly as they've always been.


Re: [arch-general] ffmpeg and libav

2012-02-11 Thread Andrea Crotti

On 02/11/2012 07:30 PM, Ionut Biru wrote:

On 02/11/2012 09:26 PM, Andrea Crotti wrote:

I am not part of the libav team, but I know many developers and I
followed the story
of the fork.
I then also noticed that my beloved arch is still using ffmpeg and libav
is not even in
the official repository (but only in AUR).

Is there a reason for that?


because nothing in our repositories requires libav


Everything requiring ffmpeg might require libav instead, which is quite 
a lot of stuff.





  There are quite a few good reasons to switch over and many already did:
   - debian unstable
(http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2011-December/023070.html)


the inclusion in debian is questionable and I don't want to open the
pandora box and start a long and boring discussion about this.

see my point 1).


Which was?

I've seen a couple of threads on the forum and it's quite shocking how 
much FUD and
wrong information there is in there, doesn't it make you think the fact 
that also gstreamer

and VLC are using libav?


[arch-general] Motion

2011-01-09 Thread Andrea Crotti
I'm trying to setup motion 
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
at the moment since I didn't find anything interesting natively on OSX I
was trying to configure inside the virtual machine.
(this is the kernel Linux test 2.6.36-ARCH #1 SMP PREEMPT Wed Nov 24
00:39:57 CET 2010 x86_64)

With vmware fusion I can easily assign the isight camera to the virtual
machine and in fact it works...

The problem is that for example I think the rc.d script doesn't work,
because when I do
/etc/rc.d/motion stop
it doesn't kill it, and it stays there until I do killall -9 motion.

I also wanted to understand how to record audio also and merge it to the
video generated but still no luck, if anyone did I would be grateful...



Re: [arch-general] Motion

2011-01-09 Thread Andrea Crotti
Jelle van der Waa je...@vdwaa.nl writes:
 Then there might be a bug in the rc.d script, did you check out what it
 does?

Well the rc.d is correct actually, the problem is that with 
killall motion motion doesn't quit, so the rc.d script
[ ! -z $PID ]   kill $PID  /dev/null

of course doesn't work either.
So I guess it's more a problem of motion...

 Any video editor could do this i bet, google can help you with that ;)

No luck is about recording the audio in the first place, I added this
but it never quits and I don't get any audio...
Vmware fusion should make the audio card accessible, but I'm not sure
that recording works at all...

on_movie_start rec -t wav - | lame - %d.mp3
on_movie_end killall rec



Re: [arch-general] Motion

2011-01-09 Thread Andrea Crotti
Ray Rashif sc...@archlinux.org writes:

 On 9 January 2011 22:47, Andrea Crotti andrea.crott...@gmail.com wrote:
 Jelle van der Waa je...@vdwaa.nl writes:
 Then there might be a bug in the rc.d script, did you check out what it
 does?

 Well the rc.d is correct actually, the problem is that with
 killall motion motion doesn't quit, so the rc.d script
    [ ! -z $PID ]   kill $PID  /dev/null

 of course doesn't work either.
 So I guess it's more a problem of motion...

 Could you backup the script, remove the null redirects, and then restart it?

That's really funny, I removed the redirect, tried again and it worked.
I added the redirect again and still it works...

Weird, since it never worked unless I used kill -9 before...



Re: [arch-general] Some problems with a dell mini

2010-08-18 Thread Andrea Crotti
Ray Rashif schivmeis...@gmail.com writes:

 I got a hold of the AspireOne. Plugged in my Arch-on-a-Stick and BAM!

 3D is DEAD. Or, dying.

 I'm giving up on this as a regression of intel/mesa, because some
 months ago this same netbook played UrbanTerror on Ubuntu Netbook
 Remix. I can't test it on that again, because I see that the owner has
 rerwritten the disk with Windows 7.

 God bless the Linux Intel GFX developers.


 --
 GPG/PGP ID: B42DDCAD

I found this page which describes exactly my machine
http://en.gentoo-wiki.com/wiki/Dell_Inspiron_Mini_10_(1010)#Audio
now I'm compiling the psb driver, reading from what they say I should
reach an amazing resolution (I thought 1024x800 was the max) and maybe
the 3d will work :)




Re: [arch-general] Some problems with a dell mini

2010-08-18 Thread Andrea Crotti
Andrea Crotti andrea.crott...@gmail.com writes:

 Ray Rashif schivmeis...@gmail.com writes:

 I got a hold of the AspireOne. Plugged in my Arch-on-a-Stick and BAM!

 3D is DEAD. Or, dying.

 I'm giving up on this as a regression of intel/mesa, because some
 months ago this same netbook played UrbanTerror on Ubuntu Netbook
 Remix. I can't test it on that again, because I see that the owner has
 rerwritten the disk with Windows 7.

 God bless the Linux Intel GFX developers.


 --
 GPG/PGP ID: B42DDCAD

 I found this page which describes exactly my machine
 http://en.gentoo-wiki.com/wiki/Dell_Inspiron_Mini_10_(1010)#Audio
 now I'm compiling the psb driver, reading from what they say I should
 reach an amazing resolution (I thought 1024x800 was the max) and maybe
 the 3d will work :)

Ok great, now after
modprobe psb
the framebuffer goes to an amazing resolution (the native I guess).
But starting X is veryy bad still, maybe I have to tell to Xorg to load
the psb driver...



Re: [arch-general] Some problems with a dell mini

2010-08-18 Thread Andrea Crotti
Andrea Crotti andrea.crott...@gmail.com writes:


 Ok great, now after
 modprobe psb
 the framebuffer goes to an amazing resolution (the native I guess).
 But starting X is veryy bad still, maybe I have to tell to Xorg to load
 the psb driver...

Very exciting we're almost there, I added this to xorg.conf

--8---cut here---start-8---
Section Device
Identifier  Card0
Driver  psb
Option  AccelMethod EXA
Option  DRI on
#Option  IgnoreACPI yes
Option  MigrationHeuristic greedy
VendorName  Intel Corporation
BoardName   System Controller Hub (SCH Poulsbo) Graphics Controller
BusID   PCI:0:2:0
EndSection
--8---cut here---end---8---

And now I get a strange 1024x576, but at least it became usable again.ò
Now I try to set explicitly the resolutions so let's see if it'll
finally work.



Re: [arch-general] Some problems with a dell mini

2010-08-18 Thread Andrea Crotti
Not done yet, even adding the right modes to the xorg.conf I can always
only see the 1024x576 from xrandr.

But another bad news, some kernel errors (I guess conflicts between psb
and reiserfs) don't let me start networkmanager anymore, which is a bad
thing...



[arch-general] Some problems with a dell mini

2010-08-12 Thread Andrea Crotti
I have a nice del mini 10 with archlinux and XFCE4

It works great after I updated the kernel the audio and the camera
started to work, which is nice.

BUT
- I think the 3d still doesn't work, I followed the guide (using
  intel-dri drivers) and video now runs smoothly, but glgears is still
  very slow.
  Since I've read somewhere that is not a good measure, how do I know
  for sure if 3d is activated or not?

- the wireless is quite painful
  I use wicd-client/server and it keeps disconnecting, and half of the
  times it even gives me a password wrong error.
  Restarting wicd server or the network doesn't help, only restarting
  apparently does. Very weird


- the screensaver
  I never asked xfce4 that I want a screensaver, and apparently there
  should be an entry in the configuration menu, but for some reasons I
  don't, even if I have all the possible extensions and util of xfce4
  already installed

Thanks a lot,
Andrea






Re: [arch-general] Some problems with a dell mini

2010-08-12 Thread Andrea Crotti
Ray Rashif schivmeis...@gmail.com writes:

 Get a 3D game. I could play UrbanTerror on 800x600 and low details at
 24+ FPS on an Acer AspireOne.

Mm something less big and easier to install :D?
Downloading tuxkart, let's see.
Strange because it looks faster then before but not fast as the 3d would
be enabled.

Ok tuxkart does maybe 2 fps, so probably I have a problem.


 Use networkmanager + nm-applet instead.

I also have, I'll see how it behaves now it looks working fine again, I
would like to understand what the problem is...

Another (more important thing), I use suspend with uswsusp, and it works
nicely, BUT I have the swap partition on lvm.

Every time I reboot it asks me where it is (while saying is looking in
/dev/mini/swap), then I type /dev/mini/swap and it works.

So it means that it looks there, doesn't like it, ask me and then he
likes it, quite weird isn't it?

Thanks



Re: [arch-general] Some problems with a dell mini

2010-08-12 Thread Andrea Crotti
Alessandro Doro ordo...@gmail.com writes:

 On Thu, Aug 12, 2010 at 04:56:33PM +0200, Andrea Crotti wrote:
   Since I've read somewhere that is not a good measure, how do I know
   for sure if 3d is activated or not?

 glxinfo |grep ^direct rendering: 

I already looked at that and I get Yes!
But I can't believe it's so crappy to almost stop in tuxkart and
sometimes being slow in opengl screensavers...



Re: [arch-general] Some problems with a dell mini

2010-08-12 Thread Andrea Crotti
didier gaumet didier.gau...@gmail.com writes:

 Le Thu, 12 Aug 2010 18:31:16 +0200,
 Andrea Crotti andrea.crott...@gmail.com wrote about problems with his
 wireless card often deconnecting.

 hi,
 I have had a similar problem (non-US citizen) and after having setup
 crda, it works now like a charm (of course depending on signal quality).

 Quote from http://wiki.archlinux.org/index.php/Wireless_Setup:

 If you want to enable more channels on Intel Wifi 5100 (and quite
 possible other cards too) you can do that with the crda package. After
 install, edit /etc/conf.d/wireless-regdom and uncomment the line where
 your country code is found. Add wireless-regdom to your DAEMONS in
 rc.conf and restart (which is the easiest thing to do). You should now,
 when writing sudo iwlist wlan0 channel, have access to more channels
 (depending on your location). 

Great thanks a lot, I didn't restart the system but starting the service
I get a nl80211 not found error.

Did you also get the password error or just losing the connection?

By the way I would really like to understand why eth0 and eth1 are often
switched.

One boot I even saw finally wlan0 as wireless interface device name, is
there a way to fix them forever?



[arch-general] Ssl no more :(

2010-04-20 Thread Andrea Crotti

I was wondering why I was not able to login to a remote arch server.
Openvpn is still working and luckily also webmin, so I logged in and I
saw this:

--8---cut here---start-8---
 /etc/rc.d/sshd restart
:: Stopping Secure Shell Daemon[BUSY][FAIL] 
:: Starting Secure Shell Daemon[BUSY] /usr/sbin/sshd: error while loading 
shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such 
file or directory
   [FAIL]
--8---cut here---end---8---

--8---cut here---start-8---
 pacman -S --noconfirm openssh
pacman: error while loading shared libraries: libssl.so.0.9.8: cannot
open shared object file: No such file or directory
--8---cut here---end---8---

Fantastic, so pacman is not working anymore!
I don't know how it could have happened, last thing I did was a pacman
-Suy which normally doesn't have such disastrous effects...
Any idea how to fix this?



Re: [arch-general] Ssl no more :(

2010-04-20 Thread Andrea Crotti
Evangelos Foutras foutre...@gmail.com writes:


 How did you produce that output? :)

lsof | grep libcrypt

a great tool ;)
Restarting the services made the trick, thanks everyone



Re: [arch-general] Why taking so long?

2010-01-31 Thread Andrea Crotti
Ray Rashif schivmeis...@gmail.com writes:

 In the latest kernel, there is 'make localmodconfig' for precisely
 this problem.

Thanks to all of you, I recorded everything so I'll try next time.
By the way I had to mask the kernel26 build (even if I don't use it)
because broadcom-wl is always a bit too late and it wouldn't work with
the new kernel.

Could I just tell arch that I want to use the other kernel instead??



Re: [arch-general] Little problems with arch

2010-01-30 Thread Andrea Crotti
Andrea Fagiani andfagi...@gmail.com writes:
 Hi Andrea,
 1) time issue
...

Great, that solved everything :)
Now it wouldn't be so bad to have the 3d working but I don't want to
lose too much time.
I had already opened a discussion on the forum
http://bbs.archlinux.org/viewtopic.php?id=71102

If someone has a dell 10 and a working 3D it would be great if he/she
can share the config of the stupid hal/xorg (but mostly hal).
Thanks



[arch-general] Why taking so long?

2010-01-30 Thread Andrea Crotti
Sometimes (only twice actually) I had to recompile the kernel with ice
support from aur.
Now compiling the kernel is not a short job, but it looks like it really
compiles EVERYTHING!

Maybe putting my .config somewhere it will not do it, how do you manage
it?
Thanks



[arch-general] Little problems with arch

2010-01-29 Thread Andrea Crotti
I have a little dell 10 with archlinux.

Unfortunately the audio and 3d are not really working, I tried hard some
time ago but with no luck, anyway other problems are more annoying.

- time getting crazy
  Every time I reboot this little machine the date is set somehow randomly.
  Any idea of what could that be?

  Maybe the battery that should keep it up is not working (I think is an
  OS issue though)??

- screensaver

  I use xfce but I installed quite a lot of stuff from gnome, but I
  never asked for the stupid gnome-screensaver to start at every boot,
  and I don't find how to disable it.

  My daemons are only those:
--8---cut here---start-8---
DAEMONS=(syslog-ng network netfs crond acpid sshd hal bluetooth alsa
rsyncd cpufreqd wicd cups fam)
--8---cut here---end---8---

- network devices with random name

  I had some troubles with the wireless card but then it worked smoothly
  with the proprietary broadcom-wl driver, the only problems is that
  sometimes

  eth0 = lan, eth1 = wireless and sometimes is the opposite
  and I don't understand why.
  This also happens with normal reboots.

- no packages to update

  This is quite strange, sometimes I do a pacman -Suy and I loop up to
  date, but if I change the first mirror just editing mirrorlist I'm not
  up to date anymore and it starts updating.

  What does that mean? Not all the mirrors are on sync?
  Could it be related somehow to my problem with the date (shouldn't be
  though)?