Author Topic: Usb Networking And Mandrake 10.1  (Read 4334 times)

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Usb Networking And Mandrake 10.1
« on: April 24, 2005, 05:18:03 pm »
Hi !

i've just flashe Open Zaurus 3.5.3 on my Zaurus sl-C750 with a 2.6.11 kernel. I can't access the network at all from the Zaurus...

The desktop pc is a mandrake 10.1 with a 2.6.8.1-24mdk kernel, and i'm connected to it trough usb.

- Usb0 is up and configured on the zaurus side.
- usbnet is loaded on the mandrake side, but i can't get usb0 up on it.

I did everything that was told on the oz website, but it doesn't work.

the strange point is here (on the zaurus side) :

Code: [Select]
#dmesg
(...)
usb 2-2: new full speed USB device using address 25
usb 2-2: configuration #2 chosen from 2 choices

I don't understand the 2 choices part.

"usb0: register usbnet at usb-0000:00:10.3-1, Linux Device, 3a:6b:24:1f:af:0a" is what i should get with dmesg...
what is the file that rules this registration ?

thanks in advance for your precious help.
alan
« Last Edit: April 24, 2005, 05:18:37 pm by alan »

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #1 on: April 24, 2005, 05:49:49 pm »
Yup I had the same problem.  The only way I could get Mandrake to see the Z was using the USB Storage app on the Z
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #2 on: April 25, 2005, 05:16:40 am »
Quote
Yup I had the same problem.  The only way I could get Mandrake to see the Z was using the USB Storage app on the Z
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76648\"][{POST_SNAPBACK}][/a][/div]


  yaaarghh !! it's not fair !!!!

The usbnetworking works with pdaxrom and with oz 3.5.3 gpe, but those rom are not as user friendly as oz opie ! There must be a way to have it working...

When you plug in the usb cable, something like hotplug (?) is in charged with identifying the pda, and then it launches the usb0 interface. My guess is that two lines correspond to the identification given by hotplug (or whatever) and that mandrake is using the wrong one.

Now the questions are :
1) How do i get the identification (number i guess) given to the pda ?
2) What file is the list of possible configurations ?
3) What should i change the configuration from this file into ? (what is yours ?)
« Last Edit: April 25, 2005, 05:20:33 am by alan »

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #3 on: April 25, 2005, 08:03:26 am »
I havnt gone any further to get my Z running on USB. I now only use WIFI to connect as its faster anyway.  I have noticed that Mandrake does have a few quirks though.  IE I cant get MPlayer to encode as it swears I dont have any mp3 comression (LAME) installed whough it is and I can RIP mp3s with it.  Its also one of the few libs that Mandrake dont have on their feed...
« Last Edit: April 25, 2005, 08:03:57 am by craigtyson »
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #4 on: April 25, 2005, 09:31:15 am »
Quote
Its also one of the few libs that Mandrake dont have on their feed...
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
[a href=\"http://plf.zarb.org/about.php]This site[/url] is good for getting such libraries for Mandrake.

XorA

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • http://
Usb Networking And Mandrake 10.1
« Reply #5 on: April 25, 2005, 05:00:12 pm »
It sounds like mandrake doesnt have the neccessary USB options. Someone out there a mandrake wiz and can either confirm this and give Alan some help or maybe offer some other info on Mandrake as its a unknown distrib to me.
--
SL-C860 XorABuild/GPE
Sandisk Connect Plus SD/1GMB CF/512M
BT PCMCIA

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Usb Networking And Mandrake 10.1
« Reply #6 on: May 01, 2005, 07:09:50 am »
Just tried all the basics last night and I also had no luck.

Quote
I don't understand the 2 choices part.

Use something like usbview - you'll see that the Z provides a couple of different usb services, com, serial, and a manufacturer specific one. It looks like the one it chose is the correct one.

I tried the fiddling with usb.handmap (then depmod -a), usb.distmap, etc. but with no luck (actually my computer stutters after I plug in).

I understand that there is a problem with the (PC) 2.6 kernels which may affect gadget - which is what we're using now (this is why it works with other ROMs, but not with OZ w/ 2.6.11).


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

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #7 on: May 01, 2005, 07:44:46 am »
WANTED

Any opie oz 3.5.3 user that use usbnetworking with a 2.6 kernel based pc.

Coul you please post here your precise configuration ?

Thanks.

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Usb Networking And Mandrake 10.1
« Reply #8 on: May 05, 2005, 07:47:18 am »
thanks to Xora, hrw, lardman and especially to b0ti, this problem is solved by upgrading my mandrake kernel to a 2.6.11 version.

Not very handy on a distro that claims to be the best for beginners...

mandriva 2005 LE (ie mandrake 10.2) will not have such a problem.

thanks again to everyone.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Usb Networking And Mandrake 10.1
« Reply #9 on: May 05, 2005, 11:11:13 am »
Quote
The usbnetworking works with pdaxrom and with oz 3.5.3 gpe, but those rom are not as user friendly as oz opie ! There must be a way to have it working...

This is because pdaXrom is still using 2.4.18 (as was the latest release of GPE - though 2.6.11 is now working for this too) whereas we're using 2.6.11 with Opie (and also with GPE now).

In 2.6.11 the Z has a different USB Vendor and Product ID which is provided by gadget. It would appear that kernels (on your desktop box) before 2.6.10 (I think) don't recognise this gadget ethernet device PID/VID combo and so don't work.

If you really can't upgrade your kernel, you could try patching usbcore.c.


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