Author Topic: Problems With 1.1 Beta 4 And Usb Utility  (Read 2990 times)

mrbisme33

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« 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

mrbisme33

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #1 on: June 26, 2006, 12:51:13 pm »
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

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
Problems With 1.1 Beta 4 And Usb Utility
« Reply #2 on: June 26, 2006, 01:11:47 pm »
Quote
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
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

mrbisme33

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #3 on: June 26, 2006, 07:56:03 pm »
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

mrbisme33

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #4 on: June 26, 2006, 08:33:08 pm »
Quote
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

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #5 on: June 27, 2006, 08:16:22 am »
"modprobe devinfo" or "modprobe deviceinfo" (do not remember now) will give that /proc/deviceinfo/ stuff
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

mrbisme33

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #6 on: June 27, 2006, 11:19:53 am »
Quote
"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

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Problems With 1.1 Beta 4 And Usb Utility
« Reply #7 on: June 28, 2006, 03:19:26 am »
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.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.