Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 17 Dec 2018, 01:11
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-800 Alpha [16 Nov 2018]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 12 [171 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Next
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 3186
Location: The Blue Marble

PostPosted: Sun 18 Nov 2018, 10:59    Post subject:  

rufwoof wrote:
01micko wrote:
Uhoh... simple-mtpfs fails with
Code:
mick$ mtp-browser.sh
Device 0 (VID=0fce and PID=01f1) is a SONY XPeria XZ Premium.
/home/mick/mtp_G8141
LIBMTP PANIC: Trying to dump the error stack of a NULL device!

I'll try it as root.

Later - hmmm.... works as root.

Permissions issue? IIRC simple-mtpfs uses fusermount, can your user userid manually sshfs mount for instance?


Based on observations, the MTP stuff seems to have a lot of rules in /lib64/udev/rules.d/69-libmtp.rules. All of them are configure (by default) to be accessible by "disk" group. This "disk" group has no member, so apart from root, that symlink is not accessible. Try adding your non-roo user to the "disk" group, and let me know how you go.

@mavrothal:
The Xft.dpi issue - I can't reproduce this in qemu. When I set the Xft.dpi to 168, control panel text is _huge_ but I can still see every item. Can you please post screenshot?

@step:
The one who made control panel faster isn't me. It's SFR Very Happy so the thanks should go to him Very Happy

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1685

PostPosted: Sun 18 Nov 2018, 11:11    Post subject:  

rufwoof wrote:
01micko wrote:
Uhoh... simple-mtpfs fails with
Code:
mick$ mtp-browser.sh
Device 0 (VID=0fce and PID=01f1) is a SONY XPeria XZ Premium.
/home/mick/mtp_G8141
LIBMTP PANIC: Trying to dump the error stack of a NULL device!

I'll try it as root.

Later - hmmm.... works as root.

Permissions issue? IIRC simple-mtpfs uses fusermount, can your user userid manually sshfs mount for instance?

I can reproduce it with my old tablet, so I strace'd simple-mtpfs and got this:
Code:
write(2, "libusb_open() failed!: Permissio"..., 83) = 83

The relevant device in /dev/bus/usb/... has crw-rw-r-- perms.

Works, if we change this in /etc/udev/rules.d/54-fatdog-permissions.rules:
Code:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"

to:
Code:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

But I'm not sure if it's a good idea...

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 3186
Location: The Blue Marble

PostPosted: Sun 18 Nov 2018, 12:28    Post subject:  

SFR wrote:
I can reproduce it with my old tablet, so I strace'd simple-mtpfs and got this:
Code:
write(2, "libusb_open() failed!: Permissio"..., 83) = 83

The relevant device in /dev/bus/usb/... has crw-rw-r-- perms.

Thanks SFR. Did you notice the owner:group? Is the group "disk"? If yes, then adding the userid to the "disk" group should grant it access.

Quote:
Works, if we change this in /etc/udev/rules.d/54-fatdog-permissions.rules:
Code:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"

to:
Code:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

But I'm not sure if it's a good idea...
No, it's not. We should instead find a more specific udev rules (which applies only to this particular device) and then either set the MODE to 666 or change the GROUP to whatever the non-root user's group is.

That's the "standard" way of doing these kind of stuff. Here's just one of them: https://askubuntu.com/questions/15570/configure-udev-to-change-permissions-on-usb-hid-device.

That's one of the benefit of running as root - you don't have to mess around with these pesky udev rules Laughing

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread.
Back to top
View user's profile Send private message 
Acodin

Joined: 15 Nov 2018
Posts: 16

PostPosted: Sun 18 Nov 2018, 12:31    Post subject:  

jamesbond wrote:

Acodin wrote:
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd

a) What's your bootloader?
b) Did you try SFR's suggestions to boot with other OS?


a) syslinux from fd64 installer
b) yes i try so i can make a little update of posts, anyway i must find new 2G ram module
Code:
fd64 800
rootfs image is not initramfs (no cpio magic); looks like an initrd

Code:
fd64 721 kernel 4.7.1
rootfs image is not initramfs (junk in compressed archive) looks like an initrd

Code:
ubuntu
Initramfs unpacking failed: LZMA data is corrupt

Last edited by Acodin on Tue 20 Nov 2018, 11:32; edited 1 time in total
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1685

PostPosted: Sun 18 Nov 2018, 12:48    Post subject:  

jamesbond wrote:
Did you notice the owner:group? Is the group "disk"? If yes, then adding the userid to the "disk" group should grant it access.

Nope, it's root:root.

But I added:
Code:
SUBSYSTEM=="usb", GROUP="disk"

to 54-fatdog-permissions.rules and then added my 'testuser' to the 'disk' group, reconnected, relogined and now it works as advertised. Smile

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5211
Location: Ontario

PostPosted: Sun 18 Nov 2018, 15:04    Post subject:  

Some good news!

My Lenova desktop has
Intel 945G Graphics Memory Controller Hub - NG82945G chipset
Integrated Intel Graphics Media Accelerator 950

Blender 2.79b doesn't work.
But I read
http://distro.ibiblio.org/fatdog/web/faqs/intel-graphics.html#opengl21

Quote:
Missing OpenGL 2.1 Support
From Februrary 2017 onwards, Mesa (the open-source OpenGL library) has dropped OpenGL 2.1 support for certain older and less capable Intel graphic cards.
If you need to run applications that need OpenGL 2.1 (e.g. blender) for these cards, it is possible to retro-fit the the OpenGL 2.1 support.
This is done editing /etc/drirc and adding the following snippets:

<driconf>
...
<device driver="i915">
<application name="Default">
<option name="stub_occlusion_query" value="true" />
<option name="fragment_shader" value="true" />
</application>
</device>
...
</driconf>

I tried this and got Blender to work!! Great.
_______________________________
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2990

PostPosted: Sun 18 Nov 2018, 15:13    Post subject:  

jamesbond wrote:
@mavrothal:
The Xft.dpi issue - I can't reproduce this in qemu. When I set the Xft.dpi to 168, control panel text is _huge_ but I can still see every item. Can you please post screenshot?

I can see everything too. I said "the first row of the Desktop tab does not work!" ie you click and nothing happens.
Example pics (from a VM, but same with physical machine)
second_row.jpg
 Description   
 Filesize   111.13 KB
 Viewed   464 Time(s)

second_row.jpg

first_row.jpg
 Description   
 Filesize   104.42 KB
 Viewed   465 Time(s)

first_row.jpg


_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5211
Location: Ontario

PostPosted: Sun 18 Nov 2018, 15:15    Post subject: audacious-2.5.1  

For people who like audacious audio player (like me)

I put a fatdog package together with old libraries.
I made it for fatdog64 710 but it works for fatdog64 800 as well.
The libraries are kept in /opt folder to avoid strange behaviour.

Available:
audacious-2.5.1-x86_64.txz
Size: 1.1 mb
https://drive.google.com/open?id=1nyvXfRWKDChu_fm_UjIl8IQexonXD6bb
____________________________________________
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1685

PostPosted: Sun 18 Nov 2018, 15:48    Post subject:  

mavrothal wrote:
I can see everything too. I said "the first row of the Desktop tab does not work!" ie you click and nothing happens.

I can repro it.
Clicking anything in the first row makes all icons to shift up/down a little.
Works if I increase the window's height.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3639
Location: Ontario Canada

PostPosted: Mon 19 Nov 2018, 00:17    Post subject: Fatdog64-800 Alpha [16 Nov 2018]  

I moved my SSD install again to my Gateway desktop.
The nouveau driver is working well.
No problems so far.

Thanks.
screenshot5.jpg
 Description   
 Filesize   99.98 KB
 Viewed   407 Time(s)

screenshot5.jpg

Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 8683
Location: qld

PostPosted: Mon 19 Nov 2018, 05:35    Post subject:  

SFR wrote:

Code:
SUBSYSTEM=="usb", GROUP="disk"

to 54-fatdog-permissions.rules and then added my 'testuser' to the 'disk' group, reconnected, relogined and now it works as advertised. Smile

Greetings!


Bingo! I had already added my user to the disk group to no avail. Adding the rule and logging back in and we have working android access. Smile

Cheers SFR!

_________________
Puppy Linux Blog - contact me for access
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5431
Location: GB

PostPosted: Mon 19 Nov 2018, 12:17    Post subject:  

[01micko - nice to see you about again? Slacko7/8?!]

Wifi reprise: two alleged network icons in tray?! Well, without reference to the browser guide (vide infra), finally managed to get connected after a skirmish with PSK - not heard of that before. Scanning was protracted despite being half-a-room from the router. Wasn't sure whether the 'browser guide' would fire up before being connected? Still unsure. However, after reading it after connecting, still as clear as mud. Arcane was an understatement. We know you guys are very adept in your chosen field but the clever thing is making it easy for dumb folks like me. Presently that is very definitely not the case, so my recommendation for something simple like SNS, or even simpler like used by the 'majors' would seem essential. For example, I can usually connect to wifi during initial installation with several mainline offerings because they will want to know that I am not hamstrung by the ridiculous US Laws relating to codecs so that they can d/l them during the process! There has to be an easier way!
But I still like FD64!
Back to top
View user's profile Send private message 
Acodin

Joined: 15 Nov 2018
Posts: 16

PostPosted: Tue 20 Nov 2018, 10:52    Post subject:  

Acodin wrote:
jamesbond wrote:

Acodin wrote:
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd

a) What's your bootloader?
b) Did you try SFR's suggestions to boot with other OS?


a) syslinux from fd64 installer
b) yes i try so i can make a little update of posts, anyway i must find new 2G ram module
Code:
fd64 800
rootfs image is not initramfs (no cpio magic); looks like an initrd

Code:
fd64 721 kernel 4.7.1
rootfs image is not initramfs (junk in compressed archive) looks like an initrd

Code:
ubuntu
Initramfs unpacking failed: LZMA data is corrupt



I checked with other ram modules

nothing works Mad I know that the problem goes beyond this discussion, but maybe someone has any ideas?
Back to top
View user's profile Send private message 
Baldronicus

Joined: 25 Apr 2008
Posts: 23

PostPosted: Tue 20 Nov 2018, 19:17    Post subject:
Subject description: FD64-800a- Acer Aspire E5-523G laptop with AMD A9-9410 APU
 

Hi,

Thank you for making Fatdog64 available.

The above laptop has a few "complications" as it also has a separate graphics card in addition to the APU, and it has one of those newer Elan "Precision" touchpads.

I have only been using Fatdog64-800a in live mode with no savefile. At present the hard drive is out, as things are part way through a swap (not a failure, just shifting the deck chairs).

a) With FD64-721 the "nomodeset" parameter was needed to get to the desktop.
FD64-800a gets there without needing it. Thankyou.

b) Until FD64-800a I had been using a mouse with all the distros I had been using, as the touchpad didn't seem to be recognised. With 800a it works. I have only tried moving the cursor and using the left and right "buttons"(which is all I need). Thankyou again. (If you want me to, I could test some of the "gestures", but I'll have to check the manual, and I don't know what settings should be adjusted, if any).

c) First problem- turning off the laptop doesn't seem to complete when shutting down. The usual messages seem to appear as part of the process, the screen blanks etc, and it seems like it has stopped, but the "on" light remains lit even if one waits for a little while. Holding the power button down for more than four seconds does the trick, though. It is, perhaps, not a big thing if you are aware and remember, but I thought I should mention it.

d) Selecting "Pipe Panic" from the menu results in a "Unnamed Window" appearing (sometimes with fragments of the expected display showing in the lower parts of the window, but, more frequently, just black). Following this it may, or may not, be possible to close the window with a "mouse click". Regardless, subsequent attempts to use the mouse "buttons" seem to fail, although I think the cursor can still be moved in most cases. Ctrl-alt-backspace seems to result in a number of dialog boxes etc appearing before the screen shuts down. I think they may be the result of queued actions from my "crazed clicking" being freed before shutdown of the server. I will try to attach a bug report for this. I borked it- doesn't like xz. I will need to check further. Thanks.
Clicking Gvucview (if I have spelt it correctly) in the menu seems to result in similar behaviour.

e) There is also a suspicion that a longer period of inactivity might result in the mouse "buttons" becoming inoperative, but I need to check this properly.

I realise that a lot of this might have something to do with the touchpad, so please advise if you want me to try again with just an attached mouse. However, I am not sure how to isolate the touchpad once it is recognised.
Similarly, I could try using "nomodeset" to see if it is more stable. Ahhh, another monster post and I am thinking as I am writing. I will never finish this if I don't stop now. I'll try the "nomodeset" a bit later.

Thanks again.


Edit- I can't spell or key it seems.

Last edited by Baldronicus on Tue 20 Nov 2018, 19:29; edited 1 time in total
Back to top
View user's profile Send private message 
Baldronicus

Joined: 25 Apr 2008
Posts: 23

PostPosted: Tue 20 Nov 2018, 19:24    Post subject:
Subject description: FD64-800a- Acer Aspire E5-523G laptop with AMD A9-9410 APU
 

Hi again,

Hopefully the file should be attached (and hopefully it has been saved properly).

Thanks again.
bugreport.tar.xz.zip
Description 
zip

 Download 
Filename  bugreport.tar.xz.zip 
Filesize  102.57 KB 
Downloaded  6 Time(s) 
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 12 [171 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3045s ][ Queries: 12 (0.0580s) ][ GZIP on ]