Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
Originally Posted by alSee View Post
aflegg, ok, I can install it on OS2008. But it doesn't work anyway.
Use this instead:
https://garage.maemo.org/projects/usb-otg-plugin/
 
Posts: 47 | Thanked: 78 times | Joined on May 2008
#12
I need USB networking on my N810.

I tried the usb-otg-plugin and it crashes for me. When I try to switch to USB Ethernet mode, it makes the UI unresponsive, although it clicks when I touch the screen.

Besides, I'm not sure what's the difference between "USB Networking" and "USB Ethernet". I'd say it refers to the same thing.

So, the any way so far is to do it manually. You need to be root first, then launch the following script, with USB unplugged:

Code:
#!/bin/sh                                                                                 
                                                                                          
if grep -q g_file_storage /proc/modules; then                                             
    if ! rmmod g_file_storage; then                                                       
        echo "Cannot remove the storage gadget driver!"                                   
        exit 1                                                                            
    fi                                                                                    
fi                                                                                        
                                                                                          
insmod /mnt/initfs/lib/modules/`uname -r`/g_ether.ko                                      
ifconfig usb0 192.168.0.202 up
route add default gw 192.168.0.200
This will set up your gadget as 192.168.0.202 and will expect your PC to be 192.168.0.200, now you can plug it via USB and Linux will see it immediately; you only have to set up the address 192.168.0.200 on the usb0 interface. Unfortunately on N810 Maemo will unmount storage cards when you plug USB in; you will have to mount them back manually. Anybody knows if it's possible to prevent this somehow?

Last edited by anpaza; 2008-05-16 at 22:15.
 

The Following User Says Thank You to anpaza For This Useful Post:
Kytrix's Avatar
Posts: 17 | Thanked: 2 times | Joined on Sep 2008 @ France
#13
Hi,
I try to using usb networking on my n810,
so i install several packages
maemo-control maemo-control-usb ...
at first try i get it work by enabling usb-networking in control panel
.. next times i was unable to get it work again:
on the pc (ubuntu) i see that cdc_ether is connected .. so interface can get up and one second after it"s deconnected.
On the tablet it say: cable connected .. one second or two .. cable deconected :/
I think this is more the tablet who did the disconection ...

I Also try the status bar usb applet but it freeze my n810.

Does someone use usb-networking and could help me?
.. wiki on maemo.org seems to be a little deprecated.

Thanks
Kytrix
 
Kytrix's Avatar
Posts: 17 | Thanked: 2 times | Joined on Sep 2008 @ France
#14
Strange.
I have re-install some packages and now it seeems to work:
I have to set usb-otg-plugin on usb network device mode AND in the configuration panel set up usb-networking .
 
Kytrix's Avatar
Posts: 17 | Thanked: 2 times | Joined on Sep 2008 @ France
#15
I worked one time or two!
now it's do the same a two post before :
the interface disconect from pc juste after be connected
here is my log on my ubuntu host:
Code:
[12831.515316] usb0: register 'cdc_ether' at usb-0000:00:1d.7-8, CDC Ethernet Device, ea:db:23:44:2a:ae
[12831.515735] usbcore: registered new interface driver cdc_ether
[12832.679005] usb 5-8: USB disconnect, address 5
[12832.679172] usb0: unregister 'cdc_ether' usb-0000:00:1d.7-8, CDC Ethernet Device
here is what I doing on tablet:
in my usb-applet i choose USB network device mode
then i go in the control panel and click on setup network usb.

after that i can see the network interface in ifconfig
and then I plug the tablet on le pc.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:59.