thatgui
Advanced Member
- Joined
- Apr 2, 2009
- Messages
- 3,048
Tried it 3 times (always restarted bluetoothd before I changed the class back and forth) and every time MC crashed with a segfault after a couple of seconds:Please try this: Open "/etc/bluetooth/main.conf" and change "Class = 0x000100" to "Class = 0x000540". This should make your Pandora to be discovered as a keyboard instead as a computer. Also make sure that "DisablePlugins" includes "input"
You will need to restart "bluetoothd" afterwards.
Maybe that helps.
=======================================================================================
PND : /media/mmcblk0p1/pandora/apps/mastercontrol.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/mmcblk0p1/pandora/appdata/mastercontrol
APPDD_FSTYPE : vfat
PND_CPUSPEED :
EXENAME : pandora/run_mastercontrol.sh
ARGUMENTS :
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/mastercontrol"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs=/media/mmcblk0p1/pandora/appdata/mastercontrol=rw+nolwh":"/mnt/pnd/mastercontrol=rr" none "/mnt/utmp/mastercontrol"
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( pandora/run_mastercontrol.sh ) ----------
++ id -u
+ '[' 1000 '!=' 0 ]'
+ gksudo -m 'Master Control needs root privileges to run.Please enter your password' id
uid=0(root) gid=0(root)
+ exec sudo -n ./pandora/run_mastercontrol.sh
++ id -u
+ '[' 0 '!= 0 ]'
+ run=0
++ grep g_
++ cut '-d ' -f1
++ lsmod
+ modules=
+ '[' 0 == 0 ']'
++ modprobe gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
++ mkdir -p /dev/gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
++ mountpoint -q /dev/gadgetfs
++ mount -t gadgetfs gadgetfs /dev/gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
+ cp -n pandora/mastercontrol.conf .
+ cp -n pandora/mastercontrol_keydefs.conf .
+ cp -n pandora/pandora.png .
+ pandora/mastercontrol
./pandora/run_mastercontrol.sh: line 60: 2652 Segmentation fault pandora/mastercontrol
+ /bin/true
+ umount /dev/gadgetfs
+ rmdir /dev/gadgetfs
+ rmmod gadgetfs
[sUCCESS]--- Starting the application ( pandora/run_mastercontrol.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[sUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[sUCCESS]--- Waiting the Union to be available ----------
auplinklink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/mastercontrol': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[sUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[sUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 1
PND : /media/mmcblk0p1/pandora/apps/mastercontrol.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/mmcblk0p1/pandora/appdata/mastercontrol
APPDD_FSTYPE : vfat
PND_CPUSPEED :
EXENAME : pandora/run_mastercontrol.sh
ARGUMENTS :
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/mastercontrol"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs=/media/mmcblk0p1/pandora/appdata/mastercontrol=rw+nolwh":"/mnt/pnd/mastercontrol=rr" none "/mnt/utmp/mastercontrol"
[sUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( pandora/run_mastercontrol.sh ) ----------
++ id -u
+ '[' 1000 '!=' 0 ]'
+ gksudo -m 'Master Control needs root privileges to run.Please enter your password' id
uid=0(root) gid=0(root)
+ exec sudo -n ./pandora/run_mastercontrol.sh
++ id -u
+ '[' 0 '!= 0 ]'
+ run=0
++ grep g_
++ cut '-d ' -f1
++ lsmod
+ modules=
+ '[' 0 == 0 ']'
++ modprobe gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
++ mkdir -p /dev/gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
++ mountpoint -q /dev/gadgetfs
++ mount -t gadgetfs gadgetfs /dev/gadgetfs
+ result=
+ '[' 0 '!= 0 ]'
+ cp -n pandora/mastercontrol.conf .
+ cp -n pandora/mastercontrol_keydefs.conf .
+ cp -n pandora/pandora.png .
+ pandora/mastercontrol
./pandora/run_mastercontrol.sh: line 60: 2652 Segmentation fault pandora/mastercontrol
+ /bin/true
+ umount /dev/gadgetfs
+ rmdir /dev/gadgetfs
+ rmmod gadgetfs
[sUCCESS]--- Starting the application ( pandora/run_mastercontrol.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[sUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[sUCCESS]--- Waiting the Union to be available ----------
auplinklink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/mastercontrol': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[sUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[sUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 1