iPodLinux

Stretching the iPod to its limits.
It is currently Sat Nov 21, 2009 1:41 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: ipod mini serial port
PostPosted: Sun Jun 14, 2009 8:11 pm 
Offline

Joined: Sun Jun 14, 2009 6:55 pm
Posts: 5
Hi,

I know this is an old issue, but was curious to know if anyone has newish information about getting serial to work on an ipod mini (in my case, second generation). I'm assuming it's still not working, as i get IO errors trying to set the baud rate on /dev/tts/0 using stty.

If the answer is basically "it's the same as it was a year ago", I'm more than willing to put in work to get this going, and am comfortable working in the Linux kernel. I would appreciate though some pointers (especially from people who worked on getting previous hardware to work; how you tracked down registers & the like to get the Portal Player chips going).

From the serial driver code, it looks like someone had this device in mind (there's a reference to hardware version 0x7).

The main reason I really want to get this working is for using pdPod as an embedded audio processor for art/design physical computing projects... but need more complex inputs than the scroll wheel / buttons provide, including responding to analog controls.

Thanks!

-Tymm


P.S. I'm happy to move this discussion to the kernel forum if it makes more sense there.


Top
 Profile E-mail  
 
 Post subject: Re: ipod mini serial port
PostPosted: Mon Jun 15, 2009 6:17 pm 
Offline

Joined: Sun Jun 14, 2009 6:55 pm
Posts: 5
As an update: by changing the values in include/asm/arch/serial.h to the PP5020 values I'm able to get TX working fine -- it looks like someone has already spent time getting this stuff to work.

RX however gets a ton of NULs in addition to the expected characters (and continuing long after transmissions have stopped). I'm not sure if it's an IRQ issue, or something where the RX line isn't configured right. I'm pulled towards it being the former... however I would expect the NULs to continue indefinitely if it were say an IRQ not getting ACKed, but it does stop after 20-30 seconds.

Looks very very promising, but still would love help if anyone has a clue...

Thanks,

-Tymm


Top
 Profile E-mail  
 
 Post subject: Re: ipod mini serial port
PostPosted: Mon Jun 15, 2009 6:26 pm 
Offline

Joined: Sun Jun 14, 2009 6:55 pm
Posts: 5
Oh; as a sidenote: the 2G minis have two serial ports; ttyS1 is on the bottom connector, ttyS0 is on the top. both have the same issues.


Top
 Profile E-mail  
 
 Post subject: Re: ipod mini serial port
PostPosted: Sun Nov 08, 2009 9:05 am 
Offline
User avatar

Joined: Wed Oct 08, 2008 3:59 pm
Posts: 39
Location: Australia
The more experienced kernel developers tend to avoid the forums and use IRC instead. You may have to wait a while for a response.


Top
 Profile E-mail  
 
 Post subject: Re: ipod mini serial port
PostPosted: Mon Nov 09, 2009 1:49 am 
Offline

Joined: Sun Jun 14, 2009 6:55 pm
Posts: 5
Gotcha; thanks.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group