OpenPandora - Hunting Timmy, the Bug. OpenPandora - Hunting Timmy, the Bug.OpenPandora Main OS: Recently closed tasks http://bugs.openpandora.org/ 2014-04-07T21:49:19Z FS#334: op_bright_down.sh: error when decreasing brightness 2014-04-07T21:49:19Z 2014-04-06T19:16:15Z

The script does not handle brightness "0".

If you try to decrease brightness if it's already at 0, it produces errors:

~ # /usr/pandora/scripts/op_bright_down.sh
/usr/pandora/scripts/op_bright_down.sh: line 18: [: : integer expression expected
/usr/pandora/scripts/op_bright_down.sh: line 22: echo: write error: Invalid argument

Not sure how to attach a patch here, but you can get the change with:

git pull git://git.assembla.com/openpandora-oe.git bug-333

I also changed the script to use /bin/sh since it's a valid posix script.

Alec Moskvin http://bugs.openpandora.org/:334
FS#332: op_lidsettings.sh and op_power.sh scripts fail for some usernames 2014-03-22T17:02:22Z 2014-03-03T01:44:35Z

/usr/pandora/scripts/op_lidsettings.sh and /usr/pandora/scripts/op_power.sh fail for some usernames due to poor shell scripting

 

these scripts find their config files by grepping /etc/passwd for the uer currently running xfce4-session, but the loose regexp matches too much. this shell fragment from op_lidsettings.sh:

 

grep /etc/passwd -e $(ps u -C xfce4-session | tail -n1 | awk '{print $1}')| cut -f 6 -d ":"

 

when a use called "me" is logged in, returns

 

/home/root

/usr/games

/var/run/dbus

/home/me

 

rather than just "/home/me"

 

all instances of that construct (reading and writing settings, in both op_lidsettings.sh and op_power.sh) should be changed to

 

grep /etc/passwd -e ^$(ps u -C xfce4-session | tail -n1 | awk '{print $1}'): | cut -f 6 -d ":"

 

to correctly match only the complete username field in /etc/passwd

russ http://bugs.openpandora.org/:332
FS#103: OpenAL library in firmware? 2013-09-13T21:59:40Z 2010-06-15T10:28:29Z
Is there any chance we can have OpenAL installed as a default library? I'm considering porting some software that requires it (and truth be told I manually compiled and installed it for my own use atm...)
TJ Hooka http://bugs.openpandora.org/:103
FS#321: Support overriding all category fields with .ovr 2013-07-10T19:59:35Z 2013-06-15T21:13:11Z

Currently only the main category and the first sub category of the main category can be overridden using a .ovr file while libpnd uses additional PXML supplied category date to construct the desktop file. This makes it difficult to work with PNDs that supply unwanted data in these additional fields.

Jürgen Rühle http://bugs.openpandora.org/:321
FS#322: Allow removal of categories using the libpnd category config file 2013-07-10T19:51:34Z 2013-06-15T21:30:57Z

Since some PNDs provide nonstandard categories like GTK or GNOME, it is desirable to extend the libpnd category mapping with the ability to suppress individual categories completely.

Jürgen Rühle http://bugs.openpandora.org/:322
FS#279: pidgin requires (more) locales to work correctly 2013-05-06T01:20:28Z 2012-04-22T12:30:57Z
Please add the following package to allow umlauts working in pidgin: glibc-gconv-utf-16 After installing this package I no longer have a problem receiving umlauts in pidgin. Besides it might also make sense to add "glibc-gconv-cp1250" which might be required for western europe and koi8-r which seems to be missing for xchat and conversion of chars there. At the moment the following locale related packages are installed (as of SuperZaxxon Beta3): glibc-charmap-utf-8 - 2.9-r35.3.5 glibc-gconv - 2.9-r35.3.5 glibc-gconv-cp1252 - 2.9-r35.3.5 glibc-gconv-ibm850 - 2.9-r35.3.5 glibc-gconv-iso8859-1 - 2.9-r35.3.5 glibc-gconv-iso8859-15 - 2.9-r35.3.5 Please add: glibc-gconv-cp1250 glibc-gconv-koi8-r glibc-gconv-unicode glibc-gconv-utf-16 Thanks!
Nils Kneuper http://bugs.openpandora.org/:279
FS#276: Kernel 3.2.x: add script to activate zram 2013-05-06T01:20:05Z 2012-04-09T10:57:15Z
Please add a script to activate zram (RAM compression) when using the new kernel. More info about how to do this is available in this post: http://boards.openpandora.org/index.php?/topic/7844-superzaxxon-beta-3-released/#entry138834 http://boards.openpandora.org/index.php?/topic/7226-superzaxxon-beta-11-released/page__st__20#entry128665 Please be aware though that Linux-SWAT had to explicitly set a value in "/sys/block/zram0/disksize" to get it work with Slackware. Over here the following is automatically set: pandora:~$ cat /sys/block/zram0/disksize 61648896 Sadly I can *not* change this value, even using sudo: pandora:~$ ls -l /sys/block/zram0/disksize -rw-r--r-- 1 root root 4096 Apr 9 12:51 /sys/block/zram0/disksize pandora:~$ cat /sys/block/zram0/disksize 61648896 pandora:~$ sudo echo 61648888 > /sys/block/zram0/disksize -bash: /sys/block/zram0/disksize: Permission denied Basically the following commands are required in a startup script to automatically create the "compressed swap inside RAM" aka zram (possibly a check if the modprobe was successful makes sense as well as checking for the size of the created ramdisk): modprobe zram mkswap /dev/zram0 swapon -p 5 /dev/zram0
Nils Kneuper http://bugs.openpandora.org/:276
FS#314: Pandora-Button doesn't open XFCE menu 2013-05-06T01:19:41Z 2013-02-28T15:55:01Z
If you enable the "disapear automaticaly" feature in the XFCE panel, the Pandora button doesn't open the main menu anymore and you need to open it manually with the cursor.
AhhhBeeeehhhCeeehhh http://bugs.openpandora.org/:314
FS#310: mkdosfs is broken - creates 1GiB filesystems 2013-05-06T01:13:19Z 2012-12-29T10:04:59Z
When a partition is bigger than 2 or 4 GiB (can't recall now) it makes a "default" 1GiB filesystem. Propably missing large file support in the build. Also, the pandora sd card formatter is missing -F 32 so it makes (i think, it is some time from when I noticed this) FAT16 partitions...
Urja Rannikko http://bugs.openpandora.org/:310
FS#317: After disabling USB-host current still flows into USB device! Proof: device status LED still on 2013-05-06T01:00:54Z 2013-05-01T22:07:17Z
On my Pandora, due to bad internal WiFi, I use an Edimax EW-7811Un USB WiFi adapter, which has a status-LED, flickering according to the network activity. After disabling USB-host through the settings menu, the WiFi functionality is gone, but the device's LED is still on. So some current must still flow into the USB device. The LED now has a permanent light, no flickering! This lack of "device intelligence" indicates that the device was indeed turned off, just current flowing directly to the LED circuit unaltered). I can repeat the aforementioned steps many times, the behavior is the same. As soon as I then first physically unplug and reinsert the device, the LED remains off eventually. From then on, every further issuing of "Disable USB-host" through the settings menu turns the device LED completely off. Smells like a kernel bug to me! As it requires one real un/re-plugging, from then on works ok.
Stefan Nowak http://bugs.openpandora.org/:317