Reply
Thread Tools
Posts: 12 | Thanked: 1 time | Joined on Apr 2011 @ Tunisia
#211
It's perfect adi619 !!!!
Thanks a lot, the problem was in the mode
I selected high speed mode, that was the problem.
For mice and keyboards we should select low speed mode.
Now everything is ok
These are the steps to connect a mouse or a keyboard to the n900

Instalaltions
1- Install power kernel
2- Install h-e-n
--------------------------------------------------------------------
To Execute

1.. Start h-e-n

2. Connect the data cable to the n900

3. Connect the mouse to the Cable

4. In h-e-n select low speed hostmode

5. Click v boost on

6. Click enumarate

7.wait a minute and u'll get a message "connected to OM"



Thanks to adi619 for his help by Private Message
And thanks to the community
__________________
Choose Freedom, Choose OpenSource

Last edited by mehdi.gl; 2011-04-20 at 14:34.
 

The Following User Says Thank You to mehdi.gl For This Useful Post:
Posts: 50 | Thanked: 6 times | Joined on Nov 2010
#212
Dear guys,

Need your assistance. I had bought usb network adapter sr9600 but getting error SIOCGIFINDEX failed and under ifconfig no such ethernet 0.

Kindly do refer to attachment of screenshot and also the network card driver
Attached Images
  
Attached Files
File Type: zip linux.zip (9.6 KB, 202 views)
 
Posts: 3 | Thanked: 0 times | Joined on Feb 2011
#213
Hi guys,
i have bought a LogiLink USB 2.0 RJ45 Fast Ethernet Adapter
and when I try to connect my N900 to LAN I got - after the command UDHCPC - the following message :

SIOCGIFINDEX failed! : No such device

Reading all your posts I think that the LogiLink drive is missing . I have the Linux drive for this device provided from the maker but I do not know how to compile and load on N900.

Anyone can help me ?


================================================== =====

Hi guys in the mean time I have found the solution!
It works perfect ! Follow this:

http://talk.maemo.org/showpost.php?p...&postcount=127


many thanks to MVEPLUS !!!
 
Posts: 50 | Thanked: 6 times | Joined on Nov 2010
#214
I already try that but still not working .

Can some assists me.

plzzzzzzzzz
 
mveplus's Avatar
Posts: 66 | Thanked: 77 times | Joined on Jul 2010 @ intheclouds
#215
Originally Posted by jackjohn View Post
I already try that but still not working .

Can some assists me.

plzzzzzzzzz
The pack that I put together is not perfect and will not work for all USB 2 Net dingle's out there...

It really depends on what is the chip inside. If it's cheap you can open and see.( if there is no warranty )

You can connect your dongle to Linux (Ubuntu. Mint, or else) and check if it's working, whiteout installing any drivers. if does not work there is big chance to not be able to use that with N900.

If it works under Linux you can post output of dmesg and lsusb command, to see what is going on...
Code:
$dmesg
$lsusb
Greetings,
mveplus

P.S. Okey I didi compile your source code against kernel-power-headers, but got some errors during compilation:
Code:
make
Building SR9600 USB2NET chip driver...
make[1]: Entering directory `/targets/FREMANTLE_ARMEL/usr/src/kernel-power-headers'
  CC [M]  /home/mven/sr9600.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "__bad_udelay" [/home/mven/sr9600.ko] undefined!
  CC      /home/mven/sr9600.mod.o
  LD [M]  /home/mven/sr9600.ko
make[1]: Leaving directory `/targets/FREMANTLE_ARMEL/usr/src/kernel-power-headers'
Here is your compiled sr9600.ko file

If it's working then enjoy, if not then - Hmmm, do not give up go and buy other dongle

Do not have much time to do more now.

Last edited by mveplus; 2011-04-22 at 08:56. Reason: add more info
 

The Following User Says Thank You to mveplus For This Useful Post:
Posts: 50 | Thanked: 6 times | Joined on Nov 2010
#216
Originally Posted by mveplus View Post
The pack that I put together is not perfect and will not work for all USB 2 Net dingle's out there...

It really depends on what is the chip inside. If it's cheap you can open and see.( if there is no warranty )

You can connect your dongle to Linux (Ubuntu. Mint, or else) and check if it's working, whiteout installing any drivers. if does not work there is big chance to not be able to use that with N900.

If it works under Linux you can post output of dmesg and lsusb command, to see what is going on...
Code:
$dmesg
$lsusb
Greetings,
mveplus

P.S. Okey I didi compile your source code against kernel-power-headers, but got some errors during compilation:
Code:
make
Building SR9600 USB2NET chip driver...
make[1]: Entering directory `/targets/FREMANTLE_ARMEL/usr/src/kernel-power-headers'
  CC [M]  /home/mven/sr9600.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "__bad_udelay" [/home/mven/sr9600.ko] undefined!
  CC      /home/mven/sr9600.mod.o
  LD [M]  /home/mven/sr9600.ko
make[1]: Leaving directory `/targets/FREMANTLE_ARMEL/usr/src/kernel-power-headers'
Here is your compiled sr9600.ko file

If it's working then enjoy, if not then - Hmmm, do not give up go and buy other dongle

Do not have much time to do more now.

Dear mveplus

First of thanks for the assistance. Anyway still not managed to add it.

the chip is supereal sr9600.

after i run insmod sr9600.ko get error inserting sr9600.ko:-1 unknown symbol in module
 
mveplus's Avatar
Posts: 66 | Thanked: 77 times | Joined on Jul 2010 @ intheclouds
#217
Originally Posted by jackjohn View Post
Dear mveplus

First of thanks for the assistance. Anyway still not managed to add it.

the chip is supereal sr9600.

after i run insmod sr9600.ko get error inserting sr9600.ko:-1 unknown symbol in module
Usually this means that this module depends on some other modules.You need to load that/these/ module first, then sr9600.ko last.

dmesg
can reveal more details when you get this error what is the module that is missing/need to be load before this/

You can try with my package load first all modules that I have in my package and then last one sr9600.ko, hope it depend on some of them....

Greetings
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#218
Warning: __bad_udelay
sounds odd.

/j

@mveplus:
Nokia N900 - H-E-N is here, NEXT STEP - Spacecraft control
http://freeyourphone.de/portal_v1/vi...p=14569#p14569
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-04-23 at 12:26.
 
mveplus's Avatar
Posts: 66 | Thanked: 77 times | Joined on Jul 2010 @ intheclouds
#219
I sow later that this is only warning, but I'm not 'C' programmer, clud not raelly say if it's a issue or not
Originally Posted by joerg_rw View Post
Warning: __bad_udelay
sounds odd.

/j

@mveplus:

http://freeyourphone.de/portal_v1/vi...p=14569#p14569
Yes that's what I'm talking about! Great Joerg_rw,but it needs N900 beside OpenMoko Wil become Supercomputer then!

jackjohn

Today , 07:09 AM
Posts: 12 | Thanked: 2 times | Joined on Nov 2010

Originally Posted by mveplus

Originally Posted by jackjohn

Dear mveplus

First of thanks for the assistance. Anyway still not managed to add it.

the chip is supereal sr9600.

after i run insmod sr9600.ko get error inserting sr9600.ko:-1 unknown symbol in module

Usually this means that this module depends on some other that need to be loaded first, the this second.
dmesg can reveal mode details when you get this error.

dear mveplus,

iam getting this.

[81459.418823] sr9600: Unknown symbol usbnet_set_msglevel
[81459.421020] sr9600: Unknown symbol usbnet_get_msglevel
[81459.421966] sr9600: Unknown symbol __bad_udelay
[81459.423065] sr9600: Unknown symbol usbnet_get_settings
[81459.424102] sr9600: Unknown symbol usbnet_suspend
[81459.424804] sr9600: Unknown symbol usbnet_get_drvinfo
[81459.425628] sr9600: Unknown symbol usbnet_get_endpoints
[81459.426910] sr9600: Unknown symbol usbnet_nway_reset
[81459.427917] sr9600: Unknown symbol usbnet_defer_kevent
[81459.428833] sr9600: Unknown symbol usbnet_disconnect
[81459.429534] sr9600: Unknown symbol usbnet_set_settings
[81459.430023] sr9600: Unknown symbol usbnet_probe
[81459.430480] sr9600: Unknown symbol usbnet_resume
Jackson you can sent me PM, but write here to benefit all Maemo geeks!

sr9600 is looking for something in usbnet module.
I do not have that one in my pack so I compiled today hope it will work this time! usbnet.ko
 
Posts: 50 | Thanked: 6 times | Joined on Nov 2010
#220
Dear Guys,,

Its still not working. Really need your assistance since this the only type that been sell. Really need to get this adapter work.

FYI. i had copy the usbnet.ko to /lib/modules/2.6.28.10power46 and copy the file sr9600.ko to /home/opt/usb2net/module and opt/usb2net/module and after i run insmode sr9600;ko at both location i get same error "inserting sr9600.ko:-1 unknown symbol in module" and under dmesg it just show 1 error [81459.421966] sr9600: Unknown symbol __bad_udelay"

Try to run h-e-n still not working getting below messages.

[117868.085937] sr9600: Unknown symbol __bad_udelay
[117900.744262] slide (GPIO 71) is now closed
[117916.822479] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[117943.400512] slide (GPIO 71) is now open
[117966.525451] slide (GPIO 71) is now closed
[117977.695343] usb usb1: usb resume
[117977.712890] hub 1-0:1.0: hub_resume
[117977.713012] hub 1-0:1.0: port 1: status 0101 change 0001
[117977.822540] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
[117977.822631] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[117977.947418] usb 1-1: new full speed USB device using musb_hdrc and address 99
[117978.095764] usb 1-1: ep0 maxpacket = 8
[117978.096832] usb 1-1: default language 0x0409
[117978.098602] usb 1-1: uevent
[117978.098815] usb 1-1: usb_probe_device
[117978.098846] usb 1-1: configuration #1 chosen from 1 choice
[117978.102233] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
[117978.102569] usb 1-1:1.0: uevent
[117978.105194] /home/builder2/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '099'
[117978.105895] usb 1-1: New USB device found, idVendor=0fe6, idProduct=8101
[117978.105957] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[117978.105987] usb 1-1: Product: USB Network Controller
[117978.106018] usb 1-1: SerialNumber:
[117978.106048] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[117978.106140] hub 1-0:1.0: port 1 enable change, status 00000103
[117994.048889] slide (GPIO 71) is now open
/home/user # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10360 errors:0 dropped:0 overruns:0 frame:0
TX packets:10360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:616991 (602.5 KiB) TX bytes:616991 (602.5 KiB)

phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:38208 errors:0 dropped:0 overruns:0 frame:0
TX packets:7490 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:17187936 (16.3 MiB) TX bytes:367854 (359.2 KiB)

/home/user # usbEthUp.sh
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/rtl8150.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/mcs7830.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/dm9601.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/smsc95xx.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/kaweth.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/pegasus.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/plusb.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/gl620a.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.28.10power46/usb2net/catc.ko': -1 File exists
udhcpc (v0.9.9-pre) started
SIOCGIFINDEX failed!: No such device
/home/user # lsusb
Bus 001 Device 099: ID 0fe6:8101
Bus 001 Device 001: ID 1d6b:0002
/home/user # udhcpc
udhcpc (v0.9.9-pre) started
SIOCGIFINDEX failed!: No such device
/home/user # ifconfig eth0 up
ifconfig: SIOCGIFFLAGS: No such device
/home/user # ls /dev/eth*
ls: /dev/eth*: No such file or directory
/home/user #
 
Reply

Tags
awesome!, bada rox, h-e-n hostmode, more noise


 
Forum Jump


All times are GMT. The time now is 00:29.