OESF Portables Forum
		Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: mrbisme33 on June 26, 2006, 01:10:22 am
		
			
			- 
				First off, I'm brand new to all of this.  I love my zaurus and I just came off of cacko.  I've got a C1000 and beta 4 running.  Has anyone else had problems with the usb utility?  I can't get it to open, and when I usb connect to my main computer, there's no recognition that my zaurus is a mass storage device.  Is there a command line interface for chaning how zaurus plays with usb hosts?  Any help would be greatly appreciated.
Thanks,
John
			 
			
			- 
				Okay, I've got a little more information on this.  Error messages include:
  File "/usr/bin/usbfunction.py:, line 6, in ?
     class usbconfig:
  File "/usr/bin/usbfunction.py:, line 11, in usbconfig
     f = open("/proc/deviceinfo/product","r")
IOError: [Errno 2] No such file or directory: '/proc/deviceinfo/product'
I checked and there is no deviceinfo in /proc.  I hope this helps.
Thanks again!
-John
			 
			
			- 
				
Okay, I've got a little more information on this.  Error messages include:
  File "/usr/bin/usbfunction.py:, line 6, in ?
     class usbconfig:
  File "/usr/bin/usbfunction.py:, line 11, in usbconfig
     f = open("/proc/deviceinfo/product","r")
IOError: [Errno 2] No such file or directory: '/proc/deviceinfo/product'
I checked and there is no deviceinfo in /proc.  I hope this helps.
Thanks again!
-John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132912\"][{POST_SNAPBACK}][/a][/div]
When I get a hold of my Zaurus... I will look at the python code to see what it is actually looking for...
It might need to be remapped to /proc/cpuinfo... I will check when I get home...
Late
			 
			
			- 
				You were right.  After remapping to /proc/cpuinfo, it works like a charm.  For the C1000, modify /usr/bin/usbfunction.py
Change 
f = open("/proc/deviceinfo/product","r") 
to 
f = open("/proc/cpuinfo","r")
Thanks for your help InSearchOf 
			 
			
			- 
				
You were right.  After remapping to /proc/cpuinfo, it works like a charm.  For the C1000, modify /usr/bin/usbfunction.py
Change 
f = open("/proc/deviceinfo/product","r") 
to 
f = open("/proc/cpuinfo","r")
Thanks for your help InSearchOf 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132961\"][{POST_SNAPBACK}][/a][/div]
Actually, upon further investigation, this solution doesn't really work.  It allows the utility to open, but at least on mine, it does not work as a storage device.  By the looks of the code, it appears to be written for the 3100.  If anyone figures this out, let me know.
Thanks,
John
			 
			
			- 
				"modprobe devinfo" or "modprobe deviceinfo" (do not remember now) will give that /proc/deviceinfo/ stuff
			
 
			
			- 
				
"modprobe devinfo" or "modprobe deviceinfo" (do not remember now) will give that /proc/deviceinfo/ stuff
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133010\"][{POST_SNAPBACK}][/a][/div]
FATAL: Module deviceinfo not found.
Same on both counts.  Anyone figure this out yet?  Thanks for helping out 
			 
			
			- 
				oops.. I forgot that beta4 is 2.6 based - so no deviceinfo module (it was 2.4 only). Looks like that python app need to be rewritten.