Slackware inside Pandora.


I will soon need a page on the Wiki.


Apart the busy ED, who can create a Slackware page for me plz ?


Notaz (or anyone still reading this thread ^^), is there some .pnd or anything you want me to test ?


For my weird keyboard, i think i found out. L doesn't work anymore. I have a 0.2 kOhm at poles :/


Just created an archive with a full system minus the huge load of packages i compiled : 1G.
 
Last edited by a moderator:
Mmm, i don't know what to do with automounting.


For now, in Xfce, i have to click on drives to see the .pnd in the menu. It's not a big deal, but it's not optimal, because other wm and Minimenu won't get access.


If i understand right the Zaxxon's way, at the first boot, when the user is created, /tmp/currentuser and /tmp/currentuid are created.


Then the udev rule invoke /etc/udev/scripts/mount.sh, which use /tmp/currentuser and /tmp/currentuid to mount with user permissions.


If another user is created and logs in, he can't access drives.


Why is it like that ?


The drive should be mounted umask=000 or something like that, no ?


--EDIT : checked on Zaxxon, the masks are good, so i missed something here :/ .


--EDIT : rewrote some rules, seems to work with Xfce mount manager set with pumount.


I don't know how to use pumount when clicking-right on desktop drives.


And it doesn't mount what's in when powering on.

# Media automounting
#SUBSYSTEM=="block", ACTION=="add" RUN+="/etc/udev/scripts/mount.sh"


#SUBSYSTEM=="block", ACTION=="remove" RUN+="/etc/udev/scripts/mount.sh"


# put all removable devices in group "plugdev"


KERNEL=="sd*[!0-9]", ATTR{removable}=="1", GROUP="plugdev"


KERNEL=="sd*[0-9]", ATTRS{removable}=="1", GROUP="plugdev"


KERNEL=="mmcblk0*[2-9]", GROUP="plugdev"


KERNEL=="mmcblk1", GROUP="plugdev"


KERNEL=="mmcblk1*[0-9]", GROUP="plugdev"


KERNEL!="mmcblk[0-1]p[0-9]", GOTO="sd_cards_auto_mount_end"


# Get a label if present, otherwise specify one


ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"


ENV{ID_FS_LABEL}=="", ENV{dir_name}="%k"


# Global mount options


ACTION=="add", ENV{mount_options}="noatime"


# Filesystem specific options


ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N"


ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=83,umask=0000,fmask=0000,dmask=0000,dirsync"


ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}"


ACTION=="remove", RUN+="/usr/bin/pumount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"


LABEL="sd_cards_auto_mount_end"


KERNEL!="sd[a-z][0-9]", GOTO="usb_auto_mount_end"


# Get a label if present, otherwise specify one


ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"


ENV{ID_FS_LABEL}=="", ENV{dir_name}="%k"


# Global mount options


ACTION=="add", ENV{mount_options}="noatime"


# Filesystem specific options


ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N"


ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=83,umask=0000,fmask=0000,dmask=0000,dirsync"


ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}"


ACTION=="remove", RUN+="/usr/bin/pumount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"


LABEL=usb_auto_mount_end"

--EDIT :


Something is wrong in this script. I have errors at boot, although it works.


--EDIT :


The problem is in the usb part.
 
Last edited by a moderator:
A friend of mine helped me to build libgksu 2.0.12, using the gentoo patches :



Code:
patch -p1 < $CWD/libgksu-2.0.0-fbsd.patch

patch -p1 < $CWD/libgksu-2.0.7-libs.patch

patch -p1 < $CWD/libgksu-2.0.7-polinguas.patch

patch -p1 < $CWD/libgksu-2.0.12-revert-forkpty.patch

patch -p0 < $CWD/libgksu-2.0.12-fix-make-3.82.patch

patch -p1 < $CWD/libgksu-2.0.12-notests.patch

patch -p1 < $CWD/libgksu-2.0.12-automake-1.11.2.patch


touch NEWS README


libtoolize --force --copy --verbose --install

aclocal --force --verbose

automake -vca

autoconf -v -f


So, thanks to him, it gives better compatibility with pnd which need gksu.
 
I lost the 3d (or something linked). Also tried as root.


I don't know why.


The pvrsrvkm is loaded.


mupen log :

Starting X11 Window
No valid X11 visual


(EE) EGL Display Initialize failed: EGL_NOT_INITIALIZED

audiorace log :

[D] RenderPndGL::Init


No valid X11 visual


[D] Error: eglInitialize() failed.


OpenGL Vendor: Imagination Technologies


OpenGL Renderer: PowerVR SGX 530



Can it be linked to SDL_gfx or xf86-video-omapfb ?
 
doubt it, maybe forgot to run pvrsrvinit? There is some ini file in /etc/pvr*, maybe something's wrong with that one too.


Edit: you also need omaplfb bufferclass_ti modules, not only pvrsrvkm.
 
Last edited by a moderator:
All seems ok.


Can you send me a little 3d app to run plz ? Like "es-glxgears" or something ?


I'm lost now :/.


---EDIT :


Rhhhaaaa found the problem !!!!!!!


Some days ago, i added this at the end of my rc.local :

fbset -depth 16
To have the black and white shell. Commenting the line restored the 3D.


Any tip on this ?
 
Last edited by a moderator:
I have a big problem.


When using init 4 and XDM, pnd doesn't show up in Xfce menu, even when using root account !


---EDIT:


pndnotifyd doesn't recognize root as an user, and XDM seems not to update /var/run/utmp the way pndnotifyd likes.
 
Last edited by a moderator:
Notaz, if i want to keep the shipped Slackware SDL and put yours somewhere, where do you suggest i should put it ?


/usr/lib/pandora ?
 
Nothing ^^. I don't know if i just have to replace it.


If i do it, do i have to recompile SDL_gfx and all stuff like this ?
 
When plugging the realtek wi-fi dongle, i get this:



Code:
[  723.742279] rtl8192cu:rtl92cu_init_sw_vars():<0-0> Failed to request firmware!

[  723.742309] rtlwifi:rtl_usb_probe():<0-0> Can't init_sw_vars.

I looked around for a firmware, but i don't find any.
 
About the bluetooth, still the same old problem.


Running the official script twice in a row gives:



Code:
bash-4.2# sh op_bluetooth.sh

Can't get device info: No such device

Texas module LMP version : 0x03

Texas module LMP sub-version : 0x1126

internal version freeze: 38

software version: 2

chip: brf6300 (4)

Opening firmware file: /etc/firmware/brf6300.bin

Uploading firmware...

Firmware upload successful.

Device setup complete

1718

1749

Can't set scan mode on hci0: Network is down (100)


bash-4.2# hciconfig

hci0: Type: BR/EDR  Bus: UART

BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0

DOWN INIT RUNNING

RX bytes:0 acl:0 sco:0 events:0 errors:0

TX bytes:28 acl:0 sco:0 commands:7 errors:0


bash-4.2# sh op_bluetooth.sh

Wanted to write 4 bytes, could only write 0. Stop

Can't initialize device: Success

1718

1749

hci0

Can't init device hci0: Connection timed out (110)


bash-4.2# hciconfig

hci0: Type: BR/EDR  Bus: UART

BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0

DOWN

RX bytes:0 acl:0 sco:0 events:0 errors:0

TX bytes:112 acl:0 sco:0 commands:23 errors:0
 
Last edited by a moderator:
Is there a tool in Zaxxon which can rename a ext2 partition label ?


I didn't find tune2fs or e2label.
 
Indeed, it worked.


It seems that mmcblk0 is the first inserted card.


Is there a way to differentiate the right from the left SD slot ?
 
There has to be, as the sdinstaller app seems to do this, but maybe you could let the user select the card he wants to install to?
 
Back
Top