fresh install again, update to 13+ and new firmware, 192/64 RAm, everythink is ok
startx in open box with tint2 , 26M rama usage on conky
ArchlinuxARM on Raspberry Pi
- Posts: 46
- Joined: Wed May 09, 2012 11:30 am
Short install skript
pacman -Syyu
pacman -Syyu
pacman -S alsa-firmware alsa-utils alsa-oss xf86-video-fbdev xorg-server xorg-xinit xorg-utils xorg-server-utils openbox obconf obmenu lxappearance consolekit tint2 conky xterm
useradd -m -G users,audio,video,wheel,storage,optical,power,network,log,lp -s /bin/bash newuser
passwd newuser
# rc.conf @alsa v DEAMONS
#modules MODULES=(snd-bcm2835)
su - newuser
mkdir -p ~/.config/openbox/
cp /etc/xdg/openbox/rc.xml ~/.config/openbox
cp /etc/xdg/openbox/menu.xml ~/.config/openbox
add tint2 & >> ~/.xinitrc
add exec ck-launch-session dbus-launch openbox-session >> ~/.xinitrc
- Posts: 46
- Joined: Wed May 09, 2012 11:30 am
I did what wrote trn
But after start X (startx or xinit /usr/bin/openbox-session) I try also lxde.
Keyboard and mouse stop working. I just changing the clock and nothing I can do. What I forget ?
On Debian everything works. Could you help me ?
But after start X (startx or xinit /usr/bin/openbox-session) I try also lxde.
Keyboard and mouse stop working. I just changing the clock and nothing I can do. What I forget ?
On Debian everything works. Could you help me ?
- Posts: 4
- Joined: Tue May 15, 2012 7:09 am
Hi kubat!
I had the same problem but I created a new file in /etc/X11/xorg.d/10-xxxx.conf and put in the text:
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Then my mouse nad keyboard started to work. The problem with this is that you are disabling udev for X. This results in that now hot-plugging is allowed in X.
So the problem is that udev is not loaded correctly. I will look in to this tomorrow and see if i can find a solution.
I had the same problem but I created a new file in /etc/X11/xorg.d/10-xxxx.conf and put in the text:
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Then my mouse nad keyboard started to work. The problem with this is that you are disabling udev for X. This results in that now hot-plugging is allowed in X.
So the problem is that udev is not loaded correctly. I will look in to this tomorrow and see if i can find a solution.
- Posts: 1
- Joined: Sun May 20, 2012 8:07 pm
Same problem here,
will try the workaround tonight.
will try the workaround tonight.
- Posts: 3
- Joined: Mon May 21, 2012 7:20 am
@jenshonkan Thank you!
Interestingly the same problem I have on "Raspbmc beta"
Interestingly the same problem I have on "Raspbmc beta"
- Posts: 4
- Joined: Tue May 15, 2012 7:09 am
I also found a problem with usb devices after updating. It seems to be libusb affecting udev. Workaround would be to go back from libusb-1.0.9-1 to libusb-1.0.8-2, but I haven't tested it. I just didn't updated the system and go forward installing other packages.
- Posts: 24
- Joined: Tue May 22, 2012 2:58 pm
For me it helped to install the original Arch image before updating (pacman -Syu) twice. Only after receiving " there is nothing to do" by pacman I installed X and the LXDE desktop environment.
That worked
.
That worked
- Posts: 3
- Joined: Mon May 21, 2012 7:20 am
Thomas_Do wrote:For me it helped to install the original Arch image before updating (pacman -Syu) twice. Only after receiving " there is nothing to do" by pacman I installed X and the LXDE desktop environment.
That worked.
Thanks Thomas, did you had USB problems before the update?
- Posts: 24
- Joined: Tue May 22, 2012 2:58 pm
Yes, I had no mouse and keyboard via USB.
- Posts: 3
- Joined: Mon May 21, 2012 7:20 am
I managed to install Archlinux and was happy that MPD updated the database without crashing (had permanent crashes on Debian6-19-04-12 when updating the database of mpd)
I can also play wav and mp3 on the commandline with alsaplayer.But if I connect to mpd with ncmpc I can not start playing a song. It pauses a second after starting.
User mpd is in /etc/group:
Any ideas?
EDIT: Ah, must be my alsa configuration:
My audio_output in mpd.conf is
I can also play wav and mp3 on the commandline with alsaplayer.But if I connect to mpd with ncmpc I can not start playing a song. It pauses a second after starting.
User mpd is in /etc/group:
- Code: Select all
cat /etc/group | grep mpd
audio:x:92:pi,mpd
mpd:x:45:
Any ideas?
EDIT: Ah, must be my alsa configuration:
- Code: Select all
ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
Jun 03 16:46 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "hw:0,0": No such file or directory
Jun 03 16:46 : player_thread: problems opening audio device while playing "G/Gammaray/To The Metal!/02 All You Need To Know.wav"
My audio_output in mpd.conf is
- Code: Select all
audio_output {
type "alsa"
name "My ALSA Device"
device "hw:0,0" # optional
# format "44100:16:2" # optional
mixer_type "software" # optional
# mixer_device "default" # optional
# mixer_control "PCM" # optional
# mixer_index "0" # optional
}
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
pfff. could this be a udev thing?
/dev/snd/* are all root:root
Shouldn't it be group audio at least?
/dev/snd/* are all root:root
Shouldn't it be group audio at least?
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
Nevermind, update seems to solve the problem. Now my udev-rules work again.
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
- Posts: 786
- Joined: Fri Oct 07, 2011 9:55 am
Thank you. No, I did not notice that, but it seems that updating (complete update: pacman -Syu or forcing udev to upgrade: pacman -Sf udev) solved the Problem. Whatever it was, now /dev/snd/* all are created as root:audio with 0660. So now users in Group audio can again access the soundcard. I have helped myself by changing the group and mode via rc.local before MPD started, but now I can boot without this "trick". So I guess it was an old issue of udev witch now is solved.
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
rc.local starts after daemons started.
Look how it can be done (use as example) in /etc/udev/rules.d/10-vchiq.rules
Look how it can be done (use as example) in /etc/udev/rules.d/10-vchiq.rules
- Posts: 786
- Joined: Fri Oct 07, 2011 9:55 am
SOLVED:
Thank you, I think the udev rule did not work because of wrong syntax:
So I removed the udev.rules for sound and cleaned up in rc.local
Only entry for Audiodevices is in rc.conf:
MODULES=(snd_bcm2835)
Now to something completely different
Is it a good idea to update via git rpi-update script?
https://github.com/Hexxeh/rpi-update/blob/master/rpi-update or is it cecommended for developers only?
Thank you, I think the udev rule did not work because of wrong syntax:
- Code: Select all
# alsa devices
SUBSYSTEM="sound", GROUP="audio", MODE="0660"
KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio", MODE="0660"
...
So I removed the udev.rules for sound and cleaned up in rc.local
Only entry for Audiodevices is in rc.conf:
MODULES=(snd_bcm2835)
Now to something completely different
Is it a good idea to update via git rpi-update script?
https://github.com/Hexxeh/rpi-update/blob/master/rpi-update or is it cecommended for developers only?
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
No devtmpfs in the git prebuilt kernel
http://www.archlinux.org/news/users-of- ... s-support/
Couple of days arch will have new kernel, more drivers inc iscsi
Existing kernel is uptodate with GitHub, just config different
http://www.archlinux.org/news/users-of- ... s-support/
Couple of days arch will have new kernel, more drivers inc iscsi
Existing kernel is uptodate with GitHub, just config different
- Posts: 786
- Joined: Fri Oct 07, 2011 9:55 am
Fine, then I stick to pacman to keep my system up to date.
Thank you very much.
Thank you very much.
- Posts: 233
- Joined: Sat Jan 28, 2012 12:28 pm
Hi Guys;
I am trying to install alsa-oss on the Pi (running ArchLinux) - pacman can't seem to find it!
[root@alarmpi asterisk]# pacman -Ss alsa
extra/alsa-firmware 1.0.25-2
ALSA firmware package
extra/alsa-lib 1.0.26-1 [installed]
An alternative implementation of Linux sound support
extra/alsa-plugins 1.0.26-1
Extra alsa plugins
extra/alsa-utils 1.0.26-1
An alternative implementation of Linux sound support
extra/alsaplayer 0.99.81-5
A heavily multi-threaded PCM player that tries to excercise the ALSA library and driver quite a bit
extra/gnome-alsamixer 0.9.6-4
Gnome ALSA mixer
extra/pulseaudio-alsa 2-1
ALSA Configuration for PulseAudio
community/balsa 2.4.12-1
An e-mail client for GNOME
Additionally, I need usb audio support.
Appreciate any help with the above.
Thanks,
Ramesh.
I am trying to install alsa-oss on the Pi (running ArchLinux) - pacman can't seem to find it!
[root@alarmpi asterisk]# pacman -Ss alsa
extra/alsa-firmware 1.0.25-2
ALSA firmware package
extra/alsa-lib 1.0.26-1 [installed]
An alternative implementation of Linux sound support
extra/alsa-plugins 1.0.26-1
Extra alsa plugins
extra/alsa-utils 1.0.26-1
An alternative implementation of Linux sound support
extra/alsaplayer 0.99.81-5
A heavily multi-threaded PCM player that tries to excercise the ALSA library and driver quite a bit
extra/gnome-alsamixer 0.9.6-4
Gnome ALSA mixer
extra/pulseaudio-alsa 2-1
ALSA Configuration for PulseAudio
community/balsa 2.4.12-1
An e-mail client for GNOME
Additionally, I need usb audio support.
Appreciate any help with the above.
Thanks,
Ramesh.
- Posts: 1
- Joined: Sun Nov 18, 2012 3:53 pm
I know everything about nothing"
- Posts: 982
- Joined: Fri Sep 14, 2012 9:13 am