Author Topic: Problems Connecting Z To Pc Running Xp  (Read 7001 times)

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Problems Connecting Z To Pc Running Xp
« on: August 04, 2006, 08:45:21 pm »
Ok I give up!

Well not quite but I give up trying to solve the problem myself!

I've got the 3200 and I've been playing around with different roms. One thing I noticed was that OZ didn't seem to successfully connect to my windows box. I carried on with cacko and that was fine. Syncing, playing music everthing worked fine. So now I'm back on OZ 3.5.4.1 (Opie) wondering why I'm still trying it when cacko works fine (other than some other software I want that I think is only available for OZ (although I best double check that). So I know the hardware is ok.

Connecting the usb cable to the PC nothing happens what-so-ever. I'm a serious newb when it comes to linux so bear with me.

Network Settings show the usb0 (and usbd0 although I have no idea why there is two) to be disconnected (whether I connect the cable or not).

I tried installing some modules such as g-ether and some others I can't remember from the feeds but that didn't seem to help.

* lsmod shows no modules loaded.
* ifconfig -a only shows the loopback interface and sit0 whatever that is
* iface appears to be an unknown command
* lsusb returns nothing
* the syslog tells me that a usb hub was found
* tried to start the interface in the gui and also select it for always on but it still doesn't appear as connected and also doesn't show up in ifconfig.

I really don't know what to do. I've looked at all the guides and posts but there is usually something I can't do generally involving the command not being found.

I've spent a week messing around with this thing so if anyone can help I'd really appreciate it.

Thanks.
« Last Edit: August 05, 2006, 05:16:18 am by Dobby »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Connecting Z To Pc Running Xp
« Reply #1 on: August 07, 2006, 03:24:09 am »
OZ on the clamshells uses the 2.6.x kernel as opposed to the 2.4.x kernel on Cacko. This explains the difference in functionality.

Quote
I tried installing some modules such as g-ether and some others I can't remember from the feeds but that didn't seem to help.

In fact you'd should do 'modprobe g_ether' and then it ought to start working. Also make sure you look at the output of 'ifconfig' to check that you set the IP address mask correctly on the Windows box end.

But there is/was a problem...

I've been away for a while, but last time I looked, the g_ether module was broken for usb over ethernet comms with Windows machines when using a PXA270 machine. I don't know what the issue is with it.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #2 on: August 07, 2006, 04:14:35 am »
Ah I see. This explains a lot. I just put pdaXrom on and that all seems to work too. I checked and of course it's using the 2.4 kernel. Think I'll stick with 2.4 until these things are fixed (and I know more about linux!).

Yea I did try doing a modprobe g-ether and g_ether but it said module not found if I recall correctly. Is it possible to get a list of loadable modules.

As I mentioned I did an ifconfig but it only shows the loopback interface. I thought I'd need to see an interface there in order to set it up correctly.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Connecting Z To Pc Running Xp
« Reply #3 on: August 07, 2006, 05:23:22 am »
Quote
Yea I did try doing a modprobe g-ether and g_ether but it said module not found if I recall correctly. Is it possible to get a list of loadable modules.

You may need to install it - this was an oversight in the preparation of this image.

For a list, take a look at the modules (*.ko) under /lib/modules/ (as this is where they live).

modinfo should give you some description of a given module file.

Quote
As I mentioned I did an ifconfig but it only shows the loopback interface. I thought I'd need to see an interface there in order to set it up correctly.

If the g_ether module is not inserted then the usb0 device won't exist so ifconfig won't have any effect/be able to see it.


Si
« Last Edit: August 07, 2006, 05:24:31 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #4 on: August 07, 2006, 05:33:20 am »
Ok I did try to install it but it didn't show up as loaded. At least I know I'm heading in the right direction. After playing with pdaXrom I still prefer OZ so I'm going to give it another go.

Thanks for your help. I'll report back on my progress.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Connecting Z To Pc Running Xp
« Reply #5 on: August 07, 2006, 05:45:43 am »
Quote
Ok I did try to install it but it didn't show up as loaded.

Installing and loading are two separate matters: installing is copying the file to the appropriate location on the disk (ipkg install g_ether...), loading is telling the kernel to load and start using the module from this location (modprobe g_ether).

Take a look at this thread for some more info on the issue (supporting either old Linux or Windows afaict)


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #6 on: August 07, 2006, 05:58:14 am »
Oops sorry. Slight wording error. Yes I did install the module then I did try modprobe in the modules folder at which point I got the error module not found even though it was there. I was called ...g-ether...(version number) rather than g_ether. When you do a modprobe do you specify the full module filename or as I see mentioned everywhere some kind of shortcut like 'g_ether'?

I've got lunch so I'll reflash OZ and give it a try then I can be clear on my symptoms.

Thanks.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Connecting Z To Pc Running Xp
« Reply #7 on: August 07, 2006, 06:08:28 am »
I missed off the link too: http://www.handhelds.org/hypermail/kernel-...ss/14/1451.html

Quote
When you do a modprobe do you specify the full module filename or as I see mentioned everywhere some kind of shortcut like 'g_ether'?

The ipkg file is probably called something like: kernel-module-g-ether-2.6_<kernel version>-<release number>-<machine name>.ipk

However the actual file it contains is called "g_ether.ko" (with an underscore rather than a dash).

insmod requires the full path to the file, but modprobe only needs the name (without the extension).
 
Quote
I've got lunch so I'll reflash OZ and give it a try then I can be clear on my symptoms.

This is a known issue, reflashing isn't going to change anything. If you look at the link, it appears that the module might be able to be rebuilt to support Windows - I'm not sure about this though. Anyone?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #8 on: August 07, 2006, 07:14:07 am »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Dobby

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #9 on: August 07, 2006, 08:39:01 am »
Ah I see you've suffered a similar fate. So what ROM are you using then? USB connectivity is quite important to me as I have a WinXP box at work and I'm not allowed access to the wireless network. The joys of being a contractor.

Out of interest is it possible to connect my Laptop and Z wirelessly or do I need a separate access point? (I have wifi in both Laptop and the Z)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #10 on: August 07, 2006, 08:42:22 am »
Quote
Ah I see you've suffered a similar fate. So what ROM are you using then? USB connectivity is quite important to me as I have a WinXP box at work and I'm not allowed access to the wireless network. The joys of being a contractor.

Out of interest is it possible to connect my Laptop and Z wirelessly or do I need a separate access point? (I have wifi in both Laptop and the Z)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137669\"][{POST_SNAPBACK}][/a][/div]
I switched back to the Sharp ROM, since it has everything working no prob, there is Emacs for X/Qt working well, and for stuff where theoretically OZ would be great, i.e. cutting edge new stuff, you can use chrooted debian, so due to several shortcomings like this OZ doesn't seem to me to be a good solution now...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems Connecting Z To Pc Running Xp
« Reply #11 on: August 07, 2006, 09:50:12 am »
Quote
It doesn't work... See https://www.oesf.org/forums/index.php?showtopic=19314&hl=

Are you saying that this doesn't work?:

Quote
If you look at the link, it appears that the module might be able to be rebuilt to support Windows - I'm not sure about this though. Anyone?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #12 on: August 07, 2006, 10:00:18 am »
Quote
Are you saying that this doesn't work?:

Quote
If you look at the link, it appears that the module might be able to be rebuilt to support Windows - I'm not sure about this though. Anyone?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137679\"][{POST_SNAPBACK}][/a][/div]
I didn't try rebuilding it... But at it is, it doesn't seem to be working...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

agosine

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Problems Connecting Z To Pc Running Xp
« Reply #13 on: August 08, 2006, 10:20:00 am »
Is there anyone that can rebuild this module to work with Windows?  Sync is important to a lot of people.
SL5500 running nothing.  Will not hold a charge.  =(
C1000 running Sharp ROM