Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2012-07-23, 09:51
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Announce: USB Mode (easy switch to USB host mode)

Finally USB Mode 1.0-4 is in Maemo Extras!

EDIT: 07.04.2013 - Updated to version 1.0-4 which fixing support for kernel-power v52. This version is now in Extras-Devel

EDIT: 09.12.2012 - Updated to version 1.0-3 which support new BME replacement, showing current usb mode in status menu, fixing usb host mode detection and removed dependency on CSSU.

EDIT: 13.09.2012 - Updated version 1.0-2 which fix support for kernel-power v52 and BME replacement.

Now after long long time, I'm announcing first application for Nokia N900 (with control panel & status menu plugin) for easy switching between 3 USB modes:

* peripheral
* host (with boost)
* host (with charging)

This new application using updated kernel usb host mode drivers and kernel battery charging driver. Also use new ke-recv from Community SSU which automount usb flash devices. And It use mceledpattern (from extras) which register MCE pattern for voltage boost (default blue color). For usb host mode it autodetect correct speed of attached usb device.

Download:
Install package usbmode from Maemo Extras repository (via HAM or apt-get).

Source code:
Is on gitorious.

Info:

This deb package depends:

mceledpattern

and kernel which provides (for example kernel-power v51):

kernel-feature-usbhost-new
kernel-feature-battery
kernel-feature-charger

Optional dependency on:
Community SSU which provides automounting of usb disk devices

DEB package contains 4 parts:
1. usbmode.sh shell script - this script doing usb mode switching
2. control panel plugin - widget with 3 buttons for changing mode, only GUI interface on usbmode.sh
3. status menu plugin - only icon, after click open control panel plugin widget
4. standalone application - only open control panel plugin widget
Attached Images
 

Last edited by pali; 2020-10-02 at 23:13.
Reply With Quote
The Following 119 Users Say Thank You to pali For This Useful Post:
7thd, AapoRantalainen, ade, adunanzav3x, ahmadamaj, amin007110, anandv76, Ariadeno, azad1top, Bahador, Bearserker, bharathkumarst, bigears5000, biketool, bingomion, bocephus, byemre, c4rl05, caveman, cheve, chill, DA5, Dousan, dy1ng, emotion, enne30, ersanpermana, Estel, explit, Fabry, foobar, freemangordon, fw190, hamil_hamster, handaxe, HtheB, imo, impeham, int_ua, Iryus, ivgalvez, J4ZZ, jessi3k3, joerg_rw, jurop88, kent_autistic, kingoddball, klinglerware, laith.m.y, LavaCroft, lokimotive, m750, m@m0nt, MaddogG, mayhem, melisa queen, Mentalist Traceur, Minhaz, MINKIN2, misiak, Mitrigol, MohammadAG, mosiomm, Mr.bot, mrsellout, mr_jrt, mr_pingu, Netweaver, nicolai, NiQ, nkirk, nman, noorallah, OVK, panjgoori, PdxDoug, peterleinchen, pichlo, praveenchand, purgiaali, qwazix, reinob, rgodinez, riv64, Roth, rotoflex, RRvW, rslick, Russe89, saponga, sEKI, sifo, sixwheeledbeast, skanky, sowwhatyoureap, spaak74, StefanL, stlpaul, tangent, Temporal, thedead1440, thp, Tiran, TMavica, toxaris, trx, tuxsavvy, ukki, vetsin, visN900, whayong, woody14619, wumpwoast, zerox, zimon, zoner, [Knuckles]
  #2  
Old 2012-07-23, 12:52
toxaris toxaris is offline
 
Join Date: Mar 2010
Location: Sweden
Posts: 424
Thanks!: 162
Thanked 196 Times in 102 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

Watch out!.
Untill the broken drivers is fixed in KP51 (released today 23/7), dont install this.
Read more here.
http://talk.maemo.org/showpost.php?p...&postcount=505

Edit. Problem Solved, ignore this warning.

Last edited by toxaris; 2012-07-23 at 16:31.
Reply With Quote
The Following 2 Users Say Thank You to toxaris For This Useful Post:
  #3  
Old 2012-07-23, 15:25
pali pali is offline
 
Join Date: May 2010
Posts: 2,151
Thanks!: 221
Thanked 8,459 Times in 1,632 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

@toxaris, it is fixed in kp 51r1
Reply With Quote
The Following 2 Users Say Thank You to pali For This Useful Post:
  #4  
Old 2012-07-23, 15:31
aditya_123412 aditya_123412 is offline
 
Join Date: Apr 2012
Location: Mumai,India
Posts: 70
Thanks!: 23
Thanked 17 Times in 13 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

What problems does the bug cause?
When does it occur?
Reply With Quote
  #5  
Old 2012-07-23, 18:42
bingomion's Avatar
bingomion bingomion is offline
 
Join Date: Aug 2010
Location: MLB.AU
Posts: 528
Thanks!: 1,076
Thanked 345 Times in 209 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

Quote:
Originally Posted by pali View Post
This deb package depends on:

Community SSU
mceledpattern
Excellently well thought out!!!
But why cssu??? Can it not be required?
I've never installed it... Never needed to... And doubt i ever will...Lets not please debate this.
Reply With Quote
The Following User Says Thank You to bingomion For This Useful Post:
  #6  
Old 2012-07-23, 19:00
sixwheeledbeast sixwheeledbeast is offline
 
Join Date: Apr 2010
Location: UK
Posts: 2,286
Thanks!: 4,586
Thanked 4,129 Times in 1,649 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

This is probably why.
No CSSU? Your missing out!
Quote:
Originally Posted by pali View Post
This new application using updated kernel usb host mode drivers and kernel battery charging driver. Also use new ke-recv from Community SSU which automount usb flash devices. And It use mceledpattern (from extras) which register MCE pattern for voltage boost (default blue color).
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo8 (CSSU Stable)
2.6.28.10power53 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
Reply With Quote
The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
  #7  
Old 2012-07-23, 19:35
dzano dzano is offline
 
Join Date: Apr 2012
Location: Bosnia and Herzegovina
Posts: 226
Thanks!: 621
Thanked 270 Times in 117 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

How to upgrade ke-recv to 3.19-14?? Thank you
Reply With Quote
  #8  
Old 2012-07-23, 20:05
ade ade is offline
 
Join Date: Apr 2011
Location: Netherlands
Posts: 1,100
Thanks!: 656
Thanked 2,797 Times in 827 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

Great work Pali, I just had my first USB stick mounted using your new package.

Nicely integrated in the status menu, no more manual steps or starting scripts from the commandline.
Reply With Quote
The Following 4 Users Say Thank You to ade For This Useful Post:
  #9  
Old 2012-07-23, 20:09
freemangordon freemangordon is offline
 
Join Date: Mar 2010
Location: Sofia,Bulgaria
Posts: 3,074
Thanks!: 2,415
Thanked 12,959 Times in 2,522 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

Quote:
Originally Posted by dzano View Post
How to upgrade ke-recv to 3.19-14?? Thank you
By installing CSSU-testing. Or if you can wait, CSSU-stable should include it in 1-2 weeks, hopefully.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

Reply With Quote
The Following 6 Users Say Thank You to freemangordon For This Useful Post:
  #10  
Old 2012-07-23, 21:38
dzano dzano is offline
 
Join Date: Apr 2012
Location: Bosnia and Herzegovina
Posts: 226
Thanks!: 621
Thanked 270 Times in 117 Posts
Default Re: Announce: USB Mode (easy switch to USB host mode)

Thank you...I will stick with CSSU-stable
Reply With Quote
Reply

Tags
usbmode


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:04.