Magick-Rotation looking for /etc/udev/xorg.d

Bug #1033065 reported by C-quel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magick Rotation
New
Undecided
Unassigned

Bug Description

Hello.

I have followed the instructions to install version 1.6.1 on my Fujitsu st5112 running Linux Mint 13 MATE (64-bit). The installer looked successful, but the green icon in the documentation doesn't display, and when running the application manually using "/usr/share/magick-rotation/magick-rotation", I keep getting the following message:

"Please install 62-magick.rules in /etc/udev/xorg.d"

However, the documentation only mentions "/etc/udev/rules.d", and when actually creating a folder called "xorg.d" in /etc/udev, and copying the file in there, it still gives me this message.

So I've hit a wall, and hopefully you can help out. Thanks.

Revision history for this message
Favux (favux-is) wrote :

My mistake. The rules go in /etc/udev/rules.d. There is no xorg.d.

Shoot, I added that print statemtent to be helpful. Wouldn't you know I go and mess it up. Brain fart. Sorry.

I believe you are the second persom to report the rules didn't get installed by the Installer. That I'll have to look into. He said he just reinstalled and it worked the second time. I believe he uninstalled first but I'm not sure that is necessary.

Revision history for this message
C-quel (c-quel) wrote :

Hey there, thanks for getting back to me. :)
Sorry to say I have tried to uninstall/reinstall, and also to physically insert 62-magick.rules into /etc/udev/rules.d, but no dice. The system seems determined to turn me into a pain in the rear. ;)

For now at least there's no rush, since Robert Gerlach's Fujitsu Tablet Button Driver also enables the screen rotation button which kinda serves my needs for now (except for the wacom stylus rotation, have to see where to configure that...). But it would be nice to figure out what's wrong in my case, just in case it's happened before but no one's said anything yet.

Revision history for this message
Favux (favux-is) wrote :

Alright. So a reinstall didn't do it.

Did you install the Fujitsu dkms in MagickExtras? The INSTALLER doesn't do that. We left that for you to do manually.

Have you checked on the steps in INSTALLER.txt? In other words has checkmagick been compiled and installed in /usr/bin? Has the magick group been created and your username added to it? The magick-rotation folder and its files installed to /usr/share? Although actually that last step isn't required for it to run.

I think my version of Mint is Lisa so Mint 12? Which means I haven't tested the INSTALLER in Linux Mint 13 MATE (64-bit) and that may be the problem. Also is that Gnome Shell 3.4?

Revision history for this message
C-quel (c-quel) wrote :

Yep, the Fujitsu driver was installed earlier... in fact it was through that which led me to that other driver of his that makes the tablet buttons work. :)

(even if I wish I knew how to configure said buttons...)

Checkmagick64 has indeed been compiled and is in /user/bin, and that standalone magick-rotation folder is in /usr/share as well.

As an aside, I tried running this application in its own folder on my Home drive (after a fresh new extraction). Magic-rotation doesn't seem to do anything, but the xrotate.py script works and works wonderfully (and is pretty much what I was looking for). So I guess even less of a rush, because if I can't get this to work or configure those tablet buttons with that other driver, at least I can add a left and right rotation buttons on my panel. So thanks for that. :)

As for Gnome Shell... I'm not sure... I only just got back into the Linux world, and it seems that the Linux Mint team decided to make two new desktop environments, one called MATE which is a Gnome2 lookalike, the other Cinnamon. I settled on MATE because it seemed cleaner, faster and more stable (and because the last thing I ever used back then WAS Gnome2...).

I definitely don't know what all these devs have been up to while I was away.... >.>'

Revision history for this message
Favux (favux-is) wrote :

Just to clarify something. When you say the fujitsu-tablet.ko was installed earlier are you talking about the one that comes with Magick? If not you have to use the Magick version. It is the version that will be in the 3.3 kernel which includes tablet rotation. Actually it is the 3.4 version that has bug fixes for about half the Fujitsu model's bezel buttons. And then the 3.4 version has some modifications that mean it will build all the way back to Lucid i.e. the 2.6.32 kernel.

In short it won't work with Magick unless it is the fujitsu-tablet.ko from Magick or you are using the 3.4 kernel.

I think Cinammon is the new one they are going to and MATE was the "temporary" work around but I'm not sure.

Revision history for this message
C-quel (c-quel) wrote :

Yes, it's the one from the MagickExtras folder called fujitsu-tablet-20120404-gerlach -- there's no mention of any 3.3 or 3.4 versions, though, so not sure where I can even find that info. ^^:

And of course I made the wrong call. Oh well, I didn't relaly like Cinnamon all that much really, so if worse comes to worse I can always just go back to XFCE where i belong... >>;

But this is a brand new slate PC I got yesterday, so I thought something new was in order. ^^

Revision history for this message
Favux (favux-is) wrote :

Ah, a slate? What model Fujitsu is it?

So there is no swivel hinge? It is not a convertible? If so then Magick won't work because it uses the swivel hinge signal and your right to use xrotate.py. For a slate Magick would need to use the accelerometer. I assume all slates have one. That is a feature we've talked about adding.

Do you know any details about the accelerometer? Name, directory location, how it signals the system that orientation has changed; that kind of thing?

Revision history for this message
C-quel (c-quel) wrote :

It's a Fujitsu Stylistic ST5112,... one of those old slates that used to go for $2000 or more, until the iPad/Android tablet revolution made those things drop like flies in price. It's very clunky, but it makes a pretty good Cintiq replacement for only a quarter of the price. :)

It has a dock with a swivel, but honestly not sure if it counts... I kinda thought it would have some sort of accelerometer, but perhaps it's too old for that? It's certainly not in the spec list, and even with its original Windows software the screen switching is done via a manual button press.

Sorry I can't be of much more help than that,... given its age, I doubt you need to worry about this slate much. I'm already happy using the xrotate script, and since it seems this tablet would have made much use of MagickRotation anyway, there's no point troubleshooting the original request anymore. You can close if you'd like. :)

Revision history for this message
UOneChancellor (random-system) wrote :

Hi guys,

Sorry for my bad English.

i'm using xubuntu 32 bit + xfce on acer iconia w500.

The program doesn't work, i did manual installation and automatic installation but nothing

acer@acer-ICONIA-Tab-W500:~/magick-rotation-1.6.2$ sudo python MAGICK-INSTALL
[sudo] password for acer:
......
Installation complete
A system restart is required to ensuere Magick rotation will work

After reboot

acer@acer-ICONIA-Tab-W500:/usr/share/magick-rotation$ ls
ChangeLog debug.pyc hinge.pyc Magick-README.txt
config.py gui_gtk.py listener.py magick-rotation
config.pyc gui_gtk.pyc listener.pyc xrotate.py
debug.py hinge.py MagickIcons xrotate.pyc

acer@acer-ICONIA-Tab-W500:/usr/share/magick-rotation$ sudo python magick-rotation debug.py
Please install 62-magick.rules in /etc/udev/rules.d.
See INSTALLER.txt in the unpacked magick-rotation folder.

acer@acer-ICONIA-Tab-W500:/etc/udev/rules.d$ ls
62-magick.rules 70-persistent-cd.rules 70-persistent-net.rules README

acer@acer-ICONIA-Tab-W500:/usr/bin$ ls checkm*
checkmagick32

Can you help me?
Thx
Lele

Revision history for this message
Favux (favux-is) wrote :

Hi UOneChancellor,

Please see: https://bugs.launchpad.net/magick-rotation/+bug/1056894

Magick Rotation supports tablet PCs with hinges or convertibles. Not slates with accelerometers. That may change.

Part of it is the terminology was pretty much settled a while ago. A tablet PC was a convertible x86 tablet with a hinge. A tablet PC slate or slate for short had no hinge but still had a x86 CPU. And a both had a stylus.

Now with the advent of the iPad they've redefined the terminology and tablet PC now apparently means slate. And they will now add convertible to tablet PC to make the distinction. But for whatever reason (marketing I presume) they want to pretend an ARM slate is no different than an x86 tablet PC that also can function as a laptop or a x86 slate. Sure ARM chips have improved, but not that much. As for the stylus, what stylus? Touch is great but does not replace a stylus. I think this is all very silly and has caused needless confusion.

Revision history for this message
UOneChancellor (random-system) wrote :

it's ok, and there are not a solution :( right?

Revision history for this message
Favux (favux-is) wrote : Re: [Bug 1033065] Re: Magick-Rotation looking for /etc/udev/xorg.d

Correct. Sorry about that.

Not until Sean DS or someone else comes up with some accelerometer
code for Magick. Or one of us gets an x86 slate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.