Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with udev permissions and my handspring visor.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Tue Feb 22, 2005 8:41 pm    Post subject: problem with udev permissions and my handspring visor. Reply with quote

I jsut set up my handspring visor to sync to linux. I've got the proper driver installed and when I hit the sync button and run pilot-xfer -p /dev/pilot -L, I get:
Code:

langley permissions.d # pilot-xfer -p /dev/pilot -L


   Listening to port: /dev/pilot

   Please press the HotSync button now... Connected

Reading list of databases in RAM and ROM...
HsExtensions
HsExtUIRsc
HAL
Advanced Calc
CityTime
DateBk3h
Address Book
Calculator
Date Book
Expense
Launcher
Mail
Memo Pad
Preferences
Security
Setup
HotSync
To Do List
IrDA Library
MS-CHAP Support
PADHTAL Library
NetSync
AMX
LdbMgr Library
USB Library
MathLib
Net Library
Loopback NetIF
PPP NetIF
SLIP NetIF
Buttons
Digitizer
Formats
General
Modem
Network
Owner
ShortCuts
System
UIAppShell
AddressDB
DatebookDB
ExpenseDB
LauncherDB
MailDB
MemoDB
NetworkDB
ToDoDB
HsExt 1.0.3
GraffitiDemo
Graffiti ShortCuts
Unsaved Preferences
Net Prefs
System MIDI Sounds
Saved Preferences
MBlnProfile

List complete. 56 files found.
Time elapsed: 0:00:02
langley permissions.d #

The problem is, the device gets created with the wrong permissions so I can't perform an actual sync:
Code:

langley permissions.d # ls /dev -l | grep pilot
crw-rw----  1 root   root  188,   1 Feb 22 12:36 pilot

Here is my /etc/udev/permissions.d/10-udev.permissions:
Code:

# set Handspring Visor rw
pilot*:root:usb:0666

Here is my 10-udev.rules file:
Code:

# Handspring Visor
BUS="usb",SYSFS{product}="Handspring Visor",NAME="pilot"

If I chown /dev/pilot to root:usb I can sync fine using kpilot. Why are the ownership and permissions not being set correctly? Have I configured something improperly?
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Wed Feb 23, 2005 3:38 am    Post subject: Reply with quote

Bump. Do I need to include more information? I though I'd done everything properly...
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Wed Feb 23, 2005 6:31 am    Post subject: Reply with quote

Which version of udev do you use ?

Have you tried to enable the logging of udev ?
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Wed Feb 23, 2005 12:48 pm    Post subject: Reply with quote

I use udev-052, on a ~x86 system.

I've been playing around with my rules file. II changed it to this:
Code:

# Handspring Visor
BUS="usb",SYSFS{product}="Handspring Visor",NAME="pilot",GROUP="usb",MODE=0660

and it worked fine. I guess I was working from outdated information (or, I'm just incompetent).
Back to top
View user's profile Send private message
GungHo
Apprentice
Apprentice


Joined: 27 Aug 2004
Posts: 254

PostPosted: Wed Feb 23, 2005 4:44 pm    Post subject: Reply with quote

Hi,

a few days ago I had a similar experience with udev. First it did not work the way it should work according to my rules. And then, miraculously, it worked, from one reboot to the next. There is udev-045 on my box
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Tue Apr 05, 2005 12:42 am    Post subject: Reply with quote

Same here (incorrect permissions). I have similar 10-* files but the permissions are being ignored.

Hopefully it'll all fall into place at some point.
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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