First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 195728
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jim Ramsay <lack@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: teidakankan@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emergeinfo.txt emerge info text/plain teidakankan@gmail.com 2007-10-13 18:00 0000 8.85 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 195728 depends on: Show dependency tree
Show dependency graph
Bug 195728 blocks: 195952
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-13 18:00 0000
Recently x11-plugins/gkrellm-vaiobright quit working as user access/permissions
to /dev/sonypi seems to have been dropped.

Reference: Old Bugzilla Bug 54512

Reproducible: Always

------- Comment #1 From teidakankan@gmail.com 2007-10-13 18:00:59 0000 -------
Created an attachment (id=133345) [edit]
emerge info

------- Comment #2 From Jakub Moc 2007-10-13 18:02:17 0000 -------
The ebuild should install its own udev rules as needed.

------- Comment #3 From Matthias Schwarzott 2007-10-13 18:07:48 0000 -------
is that the only app that can use sonypsi-device, or can it be used by other
stuff also?
If yes: is there another software that everytime is installed when sonypsi is
avail.

------- Comment #4 From Jim Ramsay 2007-10-15 14:07:06 0000 -------
(In reply to comment #3)
> is that the only app that can use sonypsi-device, or can it be used by other
> stuff also?
> If yes: is there another software that everytime is installed when sonypsi is
> avail.

Perhaps app-laptop/spicctrl ?

I don't know - I don't actually have a vaio.

Can someone who does try installing spicctrl and see if it works, or if it
installs the proper udev modules?

------- Comment #5 From teidakankan@gmail.com 2007-10-16 23:17:27 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > is that the only app that can use sonypsi-device, or can it be used by other
> > stuff also?
> > If yes: is there another software that everytime is installed when sonypsi is
> > avail.
> 
> Perhaps app-laptop/spicctrl ?
> 
> I don't know - I don't actually have a vaio.
> 
> Can someone who does try installing spicctrl and see if it works, or if it
> installs the proper udev modules?
> 

I don't want to poo-poo this line of questioning, but it's a little off track
from the original request.  If you can just show me how to do a quick fix for
this I'll put it into an overlay until you have it all worked out.   I use an
external monitor 90% of the time.  This is one thing I really use as I'm trying
to stretch the life out of my laptop's built-in display.

Thanks.... 

------- Comment #6 From Jim Ramsay 2007-10-17 12:49:43 0000 -------
As I've said, I don't have a Vaio, so I'm not sure what exactly what the device
user, group, and permissions used to be, or what they actually should be.

In the short term, you may want to just do the following, as root, on a running
system:

  chmod u+rw /dev/sonypsi

Then run this plugin again.  You should be able to use the device properly. If
that works and is the proper solution, create a file called
/etc/udev/rules.d/98-local.rules, and put in the following 2 lines:

# Adjusting permissions for sonypsi
KERNEL=="sonypsi", MODE="0666"

Of course, this will just make the file read/write by everyone, which
probably isn't safe on a multiuser box... not sure how many Sony Vaio's
are on a multi-user box.  Anyway, the more common Gentoo-like solution
is to create a group called "vaio" or "sony", then make the device node
owned by that group, and then just add any allowed users to that
group.  I'm not sure if there's already a sony vaio group, but it may
not be a bad idea to consider this.

Please let me know if the above works, or what the user, group, and permissions
on /dev/sonypsi used to be, so we can make it work.

------- Comment #7 From Jim Ramsay 2007-10-17 12:58:08 0000 -------
I think I may have found the original udev rule for this.  Put this in your
98-local.rules instead:

# Sony Vaio Jogdial sonypi device
KERNEL=="sonypi",       NAME="%k", MODE="0666"

Sorry, not sure where I got the name "sonypsi" before.  Of course you'll also
want to 

  chmod 666 /dev/sonypi

on your running system instead of what I mentioned above.

------- Comment #8 From teidakankan@gmail.com 2007-10-17 21:36:56 0000 -------
That works, so I'm good now.  Thanks for your time and help.  

Sorry about pestering you. 

------- Comment #9 From Jim Ramsay 2007-10-18 12:49:32 0000 -------
No trouble at all, and thanks for reporting this, there's no way I would have
known about it otherwise!

I still have to devise an actual solution (perhaps installing my own udev rule
as part of the ebuild, or depending on some other package that does), or at
least put a notice in the ebuild that tells people they need to do this
themselves.

------- Comment #10 From Matthias Schwarzott 2007-10-21 20:37:20 0000 -------
Added this rule back to udev-116-r1.

First Last Prev Next    No search results available      Search page      Enter new bug