Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  New USB Stack
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: New USB Stack  (Read 10421 times)

zajacattack

  • Guest
New USB Stack
« on: November 26, 2007, 05:53:18 PM »
OK, I would like to know:

(1) How is the new USB stack work going? What has been accomplished? What needs to be accomplished? What are the problems?

(2) Is there any way I could help? If so, how?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: New USB Stack
« Reply #1 on: November 27, 2007, 02:53:50 AM »
Quote from: zajacattack on November 26, 2007, 05:53:18 PM
(1) How is the new USB stack work going? What has been accomplished? What needs to be accomplished? What are the problems?

We have charging working (i.e. the device will request 500mA of current now, not just make do with the default 100mA).

We need to make mass storage work properly. Currently Zagor is having trouble making this work with blocks larger than 64kb (if I recall correctly).

Quote
(2) Is there any way I could help? If so, how?
Yes - work on making the mass storage allow larger transfers. Please join IRC for more details :)
Logged

Read The Manual Please

Offline P.Opus

  • Member
  • *
  • Posts: 59
Re: New USB Stack
« Reply #2 on: November 27, 2007, 08:44:04 PM »
I have noticed that the new USB stack causes problems with the Sansa crashing the OS when plugging in USB.  

It happens about 50 percent of the time, in which the screen starts to fade to white and lockup.

Is there anything I am doing wrong, or has anyone else experienced this issue with the Sansa E series.

I have noticed an entry in flyspray, but I would like to know if this is a known issue?  

Thanks to all for all their work.  I am so appreciative of all your efforts and hard work.
Logged

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: New USB Stack
« Reply #3 on: November 28, 2007, 07:41:29 AM »
Which targets use the new USB stack (iPods and Sansa)?
I assume the Gigabeat already had USB support built in?
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: New USB Stack
« Reply #4 on: November 28, 2007, 07:45:11 AM »
Currently it's all the portalplayer 502x targets :

iPod 4G, iPod Color/Photo, iPod 5/5.5G, Mini 2G, and Nano 1G
iRiver H10
Sansa e/c 200
Logged

Read The Manual Please

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: New USB Stack
« Reply #5 on: November 28, 2007, 01:11:59 PM »
Quote from: P.Opus on November 27, 2007, 08:44:04 PM
I have noticed that the new USB stack causes problems with the Sansa crashing the OS when plugging in USB.  
It happens about 50 percent of the time, in which the screen starts to fade to white and lockup.
Is there anything I am doing wrong, or has anyone else experienced this issue with the Sansa E series.
I have noticed an entry in flyspray, but I would like to know if this is a known issue?  
Thanks to all for all their work.  I am so appreciative of all your efforts and hard work.

I got this once. I don't know if it is still there, I plugged the sansa in two times since then without it happening.
Logged
Iriver H120, Sansa e280

Offline TexasRockbox

  • Member
  • *
  • Posts: 267
Re: New USB Stack
« Reply #6 on: November 28, 2007, 06:27:40 PM »
Hello I have Rockbox r15804-071125 on iPod 5.5g.  Vista is the PC OS.

The new USB stack is welcome and have a couple comments/questions.

1. The iPod now seems to charge without booting into iPod mode.

2. I'm having difficulty getting Vista to recognize the iPod.  I cancel out of the expected "new driver" screen but the iPod drive doesn't appear.  After booting into several modes and inserting the USB cable I finally get it recognized.  It almost appears that I get the iPod recognized by accident.  Once finally recognized file deletes and transfers seem OK.  I've looked at the manual.  Any thoughts about the iPod beng consistently recognized by the OS?

Thanks!
Logged
Cowon X5L 240GB.  Rockbox 3.9.1  File browser with dircache, .flac -8  using both batteries! Samsung Player 5.0 Android 2.3.5 RaaA (Rasher daily build) .ogg -q7 & -q8

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: New USB Stack
« Reply #7 on: November 28, 2007, 07:18:47 PM »
TexasRockbox, I think this might be due to Vista.  There are a couple of threads of people on Vista having similar problems.  I've had no problems connecting my iPod 5.5G to Linux and Windows XP machines.

EDIT: After googling, it looks like Vista has a few USB Mass Storage problems in general.

Quote
I cancel out of the expected "new driver" screen
What? Why?

EDIT:  Nevermind me everybody, I just got lost in all my tabs and forgot what topic this was.  Thought we were talking about the OF USB connectivity.
« Last Edit: November 29, 2007, 04:57:10 AM by cool_walking_ »
Logged

Offline SpiderDave

  • Member
  • *
  • Posts: 1
Re: New USB Stack
« Reply #8 on: November 29, 2007, 01:44:35 AM »
On the front page it says:
"2007-11-23   New USB stack with limited capability. Currently it only requests full charging power. Ignore driver popups from Windows."
So doesn't that mean we hit cancel at the new hardware wizard?

I'm having the same exact issues as Texas, but I don't use Vista.

Rockbox Version r15845-071129 Nov 29, 2007-11:33:32 A
iPod Mini 2nd gen
Windows XP Pro

Computer recognizes rockbox, but it doesn't show up as a storage device.
Mysteriously starts working after about 4,5 boots.  It does the usual "do not disconnect." thing at that point.

Thanks in advance for your time and RockBox rules  ;D
Logged

Offline rp

  • Member
  • *
  • Posts: 12
Re: New USB Stack
« Reply #9 on: November 29, 2007, 02:13:45 AM »
Quote from: SpiderDave on November 29, 2007, 01:44:35 AM
Computer recognizes rockbox, but it doesn't show up as a storage device.
Mysteriously starts working after about 4,5 boots.  It does the usual "do not disconnect." thing at that point.

because the usb-storage protocol is currently not working, there is a bug with the controller, which is currently investigated and the whole usb-storage code isn't fully implemented yet.

so be patient, it will work sooner or later :)
Logged
last.fm

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: New USB Stack
« Reply #10 on: November 29, 2007, 02:22:51 AM »
So just to clarify :

1) By "Ignore driver popups in windows" we do indeed mean click "Cancel". Once the USB stack is working properly you won't see these popups at all, since no driver will be required (other than the USB Mass storage one already present in windows).

2) In order to have your ipod show up as a drive in windows currently, that means you have to have it either in emergency disk mode, or in the original firmware. There are countless threads elsewhere detailing how to enter both those states on the ipod, so I won't repeat them here.
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: New USB Stack
« Reply #11 on: November 29, 2007, 04:03:46 AM »
Quote from: TexasRockbox on November 28, 2007, 06:27:40 PM
1. The iPod now seems to charge without booting into iPod mode.

And for crystal clarity ;) :

This is the currently-working part of the new USB stack functionality (and a very welcome one for us Sansa users!)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Spanky

  • Member
  • *
  • Posts: 56
Re: New USB Stack
« Reply #12 on: November 29, 2007, 04:14:17 AM »
I would just like to report that charging works great with my iPod 4G Color in Vista. I do get the popup message but I hit cancel. If you guys need testers for this I would like to volunteer but currently my Vista pc has died. If this is still going when I get a new power supply I can definitely volunteer my 4G.
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: New USB Stack
« Reply #13 on: November 29, 2007, 08:20:38 AM »
Charging works beautifully on my iPod video. I hooked it to my Linux box at home and my PC here at work (Windows XP SP2). Both PCs detect it and allow charging to start.

Soon comes the day when we can say "au revoir" to the Apple firmware! :)
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Spanky

  • Member
  • *
  • Posts: 56
Re: New USB Stack
« Reply #14 on: December 03, 2007, 11:45:58 PM »
One weird thing. My main computer died so now I am using my spare Windows 2000 Professional machine. When I plug the iPod in while rockbox is running, the "found new device: rockbox player" comes up on my computer but rockbox shows the usb plug image and restarts the iPod in disk mode meanwhile my computer is trying to install the software still. I just find it weird that rockbox restarts the iPod on Windows 2000 and not Vista, unless something changed in the build in the last week that caused this.
Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  New USB Stack
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.133 seconds with 14 queries.