maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Thread for problems getting USB hostmode working. (https://talk.maemo.org/showthread.php?t=65570)

pablocrossa 2012-06-03 16:24

Re: Thread for problems getting USB hostmode working.
 
1 Attachment(s)
Quote:

Originally Posted by Hoga (Post 1216858)
Hi Jackjohn,

sure it is possible but the question is how much work it is ^^

you can also look at "/lib/modules/current/"
if you can find the pl2303.ko and the usbserial.ko
if not u need to compile it for kernel-power-46
or better make a backup with backupmenu
and try to upgrade to kernel-power-50
that would be the easy way to get thinks rolling :)

greeting from germany
Hoga

Could you not simply insmod the modules into the older kernel power, they both are 2.6.28 :) I think simply copying them and insmoding should work, recompiling does not seem necessary :)

EDIT: I attach module, try insmoding on kernel 46 :)

Hoga 2012-06-03 16:41

Re: Thread for problems getting USB hostmode working.
 
Hi Pablocrossa,

sure give it a try but pl2303.ko depends on usbserial.ko
and im not really sure if both of them are the same for 50 and 46 ^^


both files are included in http://maemo.org/packages/view/kernel-power-modules/

greetings from germany
Hoga

pablocrossa 2012-06-03 16:56

Re: Thread for problems getting USB hostmode working.
 
Quote:

Originally Posted by Hoga (Post 1216866)
Hi Pablocrossa,

sure give it a try but pl2303.ko depends on usbserial.ko
and im not really sure if both of them are the same for 50 and 46 ^^


both files are included in http://maemo.org/packages/view/kernel-power-modules/

greetings from germany
Hoga

Ah, I thought as both were the same kernel they should insmod easily, testing is never bad :) then usbserial must also be insmod :)

jackjohn 2012-06-04 00:53

Re: Thread for problems getting USB hostmode working.
 
Dear Guys,

Still the same.


/lib/modules/2.6.28.10power46 # insmod pl2303.ko
insmod: error inserting 'pl2303.ko': -1 Unknown symbol in module
/lib/modules/2.6.28.10power46 # modprobe pl2303.ko
FATAL: Module pl2303.ko not found.
/lib/modules/2.6.28.10power46 # modprobe pl2303
FATAL: Module pl2303 not found.
/lib/modules/2.6.28.10power46 # lsusb
Bus 001 Device 113: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 001: ID 1d6b:0002
/lib/modules/2.6.28.10power46 # cd dev
/bin/sh: cd: can't cd to dev
/lib/modules/2.6.28.10power46 # cd /dev
/dev # ls
DspBridge ram1 tty4
bus ram10 tty40
cmt_speech ram11 tty41
console ram12 tty42
core ram13 tty43
cpu_dma_latency ram14 tty44
fb0 ram15 tty45
fb1 ram2 tty46
fb2 ram3 tty47
fd ram4 tty48
full ram5 tty49
hwrng ram6 tty5
i2c-1 ram7 tty50
i2c-2 ram8 tty51
i2c-3 ram9 tty52
input random tty53
iphb rtc tty54
kmem rtc0 tty55
kmsg shm tty56
lirc0 snd tty57
lircd stderr tty58
loop0 stdin tty59
loop1 stdout tty6
loop2 sticon0 tty60
loop3 tty tty61
loop4 tty0 tty62
loop5 tty1 tty63
loop6 tty10 tty7
loop7 tty11 tty8
mem tty12 tty9
mmcblk0 tty13 ttyS0
mmcblk0p1 tty14 ttyS1
mmcblk0p2 tty15 ttyS2
mmcblk0p3 tty16 ttyS3
mmcblk1 tty17 twl4030-adc
mmcblk1p1 tty18 twl4030_wdt
mtd0 tty19 ubi0
mtd0ro tty2 ubi0_0
mtd1 tty20 ubi_ctrl
mtd1ro tty21 urandom
mtd2 tty22 usbdev1.113_ep00
mtd2ro tty23 usbdev1.113_ep02
mtd3 tty24 usbdev1.113_ep81
mtd3ro tty25 usbdev1.113_ep83
mtd4 tty26 usbdev1.1_ep00
mtd4ro tty27 usbdev1.1_ep81
mtd5 tty28 usbmon0
mtd5ro tty29 usbmon1
net tty3 vcs
network_latency tty30 vcs1
network_throughput tty31 vcs2
null tty32 vcsa
omap-previewer tty33 vcsa1
ppp tty34 vcsa2
ptmx tty35 video0
pts tty36 video1
pvrsrvkm tty37 watchdog
radio0 tty38 zero
ram0 tty39
/dev #

pablocrossa 2012-06-04 01:57

Re: Thread for problems getting USB hostmode working.
 
1 Attachment(s)
Quote:

Originally Posted by jackjohn (Post 1217023)
Dear Guys,

Still the same.


/lib/modules/2.6.28.10power46 # insmod pl2303.ko
insmod: error inserting 'pl2303.ko': -1 Unknown symbol in module
blablabla

Insmod usbserial.ko first, download it from the link posted above :) that I believe should work fine :)

EDIT: Attach file
and for future reference try attaching logs as txt files to not flood pages of people who quote you :)

jackjohn 2012-06-04 03:43

Re: Thread for problems getting USB hostmode working.
 
already managed to see the ttyUSB0 under /dev but using Syncterm app its not working. Try utilized minicom, but still figure out how to change the serial port from ttyS1 to ttyUSB0

jackjohn 2012-06-04 05:24

Re: Thread for problems getting USB hostmode working.
 
1 Attachment(s)
Quote:

Originally Posted by jackjohn (Post 1217069)
already managed to see the ttyUSB0 under /dev but using Syncterm app its not working. Try utilized minicom, but still figure out how to change the serial port from ttyS1 to ttyUSB0


Dear Guys,

I already managed to connect to usb serial. Thanks a lot to Hugo,pablocrossa,Estel and others. Realy appreciated thats.

Anyway at this moment iam not managed to press enter after key in the username:root for the console server. Once i press the enter button it will show rootOM. Still figure out on that. If you guys have input, kindly please share.

Thanks again

jackjohn 2012-06-05 01:17

Re: Thread for problems getting USB hostmode working.
 
Managed to figure out that.
Need to press ctrl+m for enter command. :)

obhishap 2012-06-05 15:32

Re: Thread for problems getting USB hostmode working.
 
Every time I connect my usb pen drive, I get a message "Unable to connect, file system unavailable" after pressed the enumerate button. After pressed the mount button I get successfully mounted message and file manager lead me to that drive. But I cannot copy anything to the drive as it says "read only". Another problem is, after disconnect the drive, I can never connect again without restart my n900. I reinstalled H-E-N and I am using KP-50. Any hints guys ? Thanks.

Estel 2012-06-07 18:01

Re: Thread for problems getting USB hostmode working.
 
If You're using latest CSSU, clicking "mount" is not necessary - ke-recv should mount Your USB drive automagically.

/Estel


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

vBulletin® Version 3.8.8