maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Usb not working after backup menu restore (https://talk.maemo.org/showthread.php?t=93524)

badhon_raj 2014-07-31 12:08

Usb not working after backup menu restore
 
Hi,
the problem has arised after I restored via backup menu.
Now when I insert the usb cable it doesn't show the pop-up menu where I can select mass storage or pc suit mode.
Instead it just shows 'charging'
I believe the usb port is not broaken. Because it was working fine before.
Besides, charging and usb hotspot is working fine.

Here is dmesg after inserting the usb cable:
[24023.054595] twl4030_usb twl4030_usb: HW_CONDITIONS 0xd0/208; link 2
[24023.054656] rx51_update_charger_mode (mode = 2)
[24023.725860] musb_hdrc periph: enabled ep1in for bulk IN, maxpacket 512
[24023.725921] musb_hdrc periph: enabled ep1out for bulk OUT, maxpacket 512
[24023.725982] g_file_storage gadget: high speed config #1


this is the dmesg after removing the cable.
[24042.571502] twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
[24042.571502] rx51_update_charger_mode (mode = 0)


now, is it possible to fix it without re-flashing?
Can anyone please help me?
i had usbmode installed. Tried changing between modes. And then removed it completely.
Let me know if you need any additional info.

Thanks for taking the time to read my post.

nokiabot 2014-07-31 12:57

Re: Usb not working after backup menu restore
 
Reflash should be easyest btw why are you spamming ??

badhon_raj 2014-07-31 13:05

Re: Usb not working after backup menu restore
 
Quote:

Originally Posted by nokiabot (Post 1434421)
Reflash should be easyest btw why are you spamming ??

thanks for reply.
I'm really sorry about all those topics.
it happend by mistake.
someone please clear all other topics.

peterleinchen 2014-07-31 13:14

Re: Usb not working after backup menu restore
 
Try the following as root

Code:

lsmod | grep g_
Now remove (all) the module(s) listed. Normally only one (like g_file_storage). Replace xxx with above listed module.
Code:

rmmod grep g_xxx
And load g_nokia again
Code:

modprobe g_nokia
Now put USB cable ...

badhon_raj 2014-07-31 13:33

Re: Usb not working after backup menu restore
 
-bash: lrmod: command not found

Edit:
I did modprobe -r g_file_storage
and now after inserting usb
[30693.808624] rx51_update_charger_mode (mode = 2)
[30694.606384] g_nokia gadget: high speed config #1: nokia1
[30694.606445] musb_hdrc periph: enabled ep5in for int IN, maxpacket 10
[30694.606475] musb_hdrc periph: enabled ep4in for bulk IN, maxpacket 512
[30694.606506] musb_hdrc periph: enabled ep4out for bulk OUT, maxpacket 512
[30694.606536] musb_hdrc periph: enabled ep7in for int IN, maxpacket 16

peterleinchen 2014-07-31 14:15

Re: Usb not working after backup menu restore
 
Sorry, had a typo (see above). But you knew the other way. ;)

I cannot remember exactly as this happened very rarely to me a few times (but without USB mode).
So maybe it was rmmod g_xxx and then modprobe g_file_storage again?

badhon_raj 2014-07-31 14:28

Re: Usb not working after backup menu restore
 
nah, it is not working. same.


All times are GMT. The time now is 02:10.

vBulletin® Version 3.8.8