| 
			
			 | 
		#1 | 
| 
			
			
			
			 master of my own domain 
			
			![]() Posts: 29 
				Karma: 10 
				Join Date: Jun 2007 
				Location: Cambridge, UK 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
			
			 
				
				libprs500 on SuSE linux 10.3 doesn't recognize non-root user
			 
			
			
			Hi all, hope somebody can help. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'm running SuSE linux 10.3 (x86_64). I've been trying to install libprs500 with varying degrees of success. I now have it to the point where I can detect the sony reader when logged in as root. However, if I log in as a regular user, I am told "Unable to find a connected ebook reader". The last instruction on the "generic linux" installation page of libprd500 is: Code: 
	gpasswd -a username plugdev Cheers and thanks, Rc  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			is this a prs500?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 master of my own domain 
			
			![]() Posts: 29 
				Karma: 10 
				Join Date: Jun 2007 
				Location: Cambridge, UK 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes, it is: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	here's the output as root: talisker:/home/rcote # prs500 info /usr/local/lib64/python2.5/site-packages/libprs500-0.4.42-py2.5.egg/libprs500/devices/prs500/prstypes.py:145: DeprecationWarning: 'I' format requires 0 <= number <= 4294967295 Device name: Sony Reader Device version: PRS-500/U Software version: 1.0.03.07170 Mime type: application/x-bbeb-book talisker:/home/rcote #  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What does ls -l /dev/sony reader device give? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	where sony reader device should be something like sda or sdb or sdc etc  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 master of my own domain 
			
			![]() Posts: 29 
				Karma: 10 
				Join Date: Jun 2007 
				Location: Cambridge, UK 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			talisker:/home/rcote # ls -l /dev/sd* 
		
	
		
		
		
		
		
		
		
		
		
		
	
	brw-r----- 1 root disk 8, 0 2008-03-20 09:02 /dev/sda brw-r----- 1 root disk 8, 1 2008-03-20 09:02 /dev/sda1 brw-r----- 1 root disk 8, 2 2008-03-20 09:02 /dev/sda2 brw-r----- 1 root disk 8, 3 2008-03-20 09:02 /dev/sda3 brw-r----- 1 root disk 8, 5 2008-03-20 09:02 /dev/sda5  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Looks like it's not being called sd*  
		
	
		
		
		
		
		
		
		
		
		
		
	
	You'll have to find out what device file it is being assigned to, by plugging it in and then looking at the last few lines in the output of the command dmesg  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 master of my own domain 
			
			![]() Posts: 29 
				Karma: 10 
				Join Date: Jun 2007 
				Location: Cambridge, UK 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			This is the output of dmesg: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	usb 4-2: new full speed USB device using uhci_hcd and address 2 usb 4-2: new device found, idVendor=054c, idProduct=029b usb 4-2: new device strings: Mfr=1, Product=2, SerialNumber=0 usb 4-2: Product: Sony Portable Reader System usb 4-2: Manufacturer: Sony usb 4-2: configuration #1 chosen from 2 choices and I seem to have some corresponding /dev entries: crw-rw---- 1 root root 254, 14 2008-03-22 08:46 /dev/usbdev4.2_ep00 crw-rw---- 1 root root 254, 16 2008-03-22 08:46 /dev/usbdev4.2_ep02 crw-rw---- 1 root root 254, 15 2008-03-22 08:46 /dev/usbdev4.2_ep81 but unfortunately, they're only available to root. Why do I have a feeling this will be a problem?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Edit /etc/udev/rules.d/95-libprs500.rules replace plugdev with any group you're a member of, reboot and you should be fine.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 master of my own domain 
			
			![]() Posts: 29 
				Karma: 10 
				Join Date: Jun 2007 
				Location: Cambridge, UK 
				
				
				Device: Sony Reader 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Interestingly, the group in the file is not plugdev, but usb: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	# Sony Reader PRS-500 BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="usb" Is there any security/usage risk changing the value of usb to users?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Nope, only that you grant everyone in the group users access to your reader.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| The Green Reader and Linux User&Developer | jules_july | PocketBook | 1 | 07-14-2010 07:10 AM | 
| Hello from a Linux user | tseckler | Introduce Yourself | 9 | 07-06-2010 09:07 AM | 
| The Green Reader and Linux User&Developer | jules_july | News | 0 | 06-17-2010 05:38 AM | 
| Working User Profile for Wired.com RSS feeds for libprs500 | DaveNB | Calibre | 6 | 11-30-2007 08:00 AM | 
| libprs500 linux install error | europas_ice | Calibre | 8 | 09-07-2007 05:38 AM |