Bug 189579 - sonypi module not autoloading
Summary: sonypi module not autoloading
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: 5
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-21 11:38 UTC by Miles Sabin
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-21 11:42:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miles Sabin 2006-04-21 11:38:12 UTC
I've just upgraded my Sony PGC-Z1XSP from FC3 to FC5, and I'm having a 
problem getting the sonypi module to load on boot (a manual modprobe 
sonypi works perfectly). This is almost certainly a udev problem, and I 
had it working perfectly with udev under FC3, but things have changed a 
little since then and I'm out of ideas so any suggestions would be most 
welcome.

I have the following in my modprobe.conf,

  alias char-major-10-250 sonypi
  options sonypi minor=250

and I've added the following files,

  /etc/makedev.d/01sonypi:

  c $CONSOLE 10 250 1 1 sonypi

and,

  /etc/udev.d/rules.d/60-sonypi.rules:

  KERNEL="sonypi", NAME="%k", MODE="0666"

but with no discernable effect ... can anyone give me any pointers to 
what I'm missing?

Comment 1 Harald Hoyer 2006-04-21 11:42:49 UTC
I guess the sonypi has no sysfs entry ("dev") in /sys .
Just create a file in /etc/udev/makedev.d/
51-sonypi.nodes:
sonypi

Comment 2 Miles Sabin 2006-04-21 21:00:54 UTC
Thanks for that. I tried following your advice, and on boot I now get the
following error message,

  Starting udev: error parsing "/etc/makedev.d/51-sonypi.nodes" : unknown group
in "sonypi"

Immediately after boot,

  find /sys -name "*sony*" -print

finds nothing, but after a manual modprobe sonypi it gives me,

  /sys/module/sonypi
  /sys/class/misc/sonypi
  /sys/bus/platform/drivers/sonypi
  /sys/bus/platform/drivers/sonypi/sonypi
  /sys/bus/platform/devices/sonypi
  /sys/devices/platform/sonypi

Any hints on how to proceed from here would be much appreciated.

Comment 3 Miles Sabin 2006-04-21 21:09:37 UTC
Ignore that last comment: I created the file in /etc/makedev.d rather than
/etc/udev/makedev.d. With it installed in the right place the device node is
created as expected.



Note You need to log in before you can comment on or make changes to this bug.