Author Topic: C1000 As A Ir Remote  (Read 3035 times)

xXInbellionXx

  • Newbie
  • *
  • Posts: 11
    • View Profile
C1000 As A Ir Remote
« on: December 02, 2007, 01:24:57 pm »
Is this Possible???
C1000 Running PdaXRom Beta 3 Maydew E17
C3000 16GB Running Pdaxii13 HD Full
Toshiba 1GB CF Card
1GB SD Card

JohnX

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://
C1000 As A Ir Remote
« Reply #1 on: December 02, 2007, 05:41:46 pm »
If I understand the situation correctly, no it's not possible. On the SL-5500 you could actually get access to the IR transmitter in a sort of "raw" mode, allowing you to actually turn it on and off manually in a way that made it behave like a TV remote. On the SL-Cxx00 hardware, even the kernel can only address it as a serial port. If I'm wrong or if the situation has changed (since 2005 or so, when I last looked at this), I would love to hear about it.

-John
Zaurus SL-C1000 - Linux 2.6.22 - Angstrom/Debian dual boot - Ambicom 802.11b - 1GB Corsair SD
Nokia N800 - 2GB PQI SD card
Zaurus SL-5500 - OZ 3.5.3/Hentges T2/Opie - 64MB Lexar SD card

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3703
    • View Profile
C1000 As A Ir Remote
« Reply #2 on: December 03, 2007, 04:18:23 pm »
My guess is that the IR pin on the C1000/3x00 is connected to a UART pin, which means it would normally be forced to play a serial function. However, the PXA processors are very configurable, so it might be possible to change the function to a general purpose input/output pin - and as a GPIO you could bit-bash an infrared controller.

My guess is that a bit more googling with some of the terms above might yield results!

I've asked on the Angstrom list as there are kernel hackers there who'd know.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
C1000 As A Ir Remote
« Reply #3 on: December 04, 2007, 02:15:21 pm »
I just found this page. Scroll down to point #9
links are included on that page for "remote extender" and "opie-remote".
EDIT: opps, the remote extender has been discontinued, but opie-remote should work if you are close to your TV set or IR receiving device.
http://quickening.zapto.org/Zaurus.html
Quote
9. Altho the Zaurus has an IR port it is too weak for remote control.  No problem!  I bought the Remote Extender from smarthome.com.   With it, I can use my Zaurus as a universal remote control from anywhere in my house. I used Thomas Steven's opie-remote software and configured support for my reciever, tv, vcr, tivo, and the hdtv, dvd, winamp, realone, media player, and browser on my HTPC

I have a Palm Zire 72, which works very well with an aftermarket remote control software, so I haven't tried opie-remote on my Zaurii.
« Last Edit: December 04, 2007, 02:18:17 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3703
    • View Profile
C1000 As A Ir Remote
« Reply #4 on: December 04, 2007, 06:51:18 pm »
Stanislav Brabec answered my query on the angstrom list...
Quote
> does anyone know how the IR port on the '000 series is connected - I
> presume it's a pin on the CPU, but can it be redefined as a GPIO pin
> and thus could this Zaurus be used as an IR remote control?

I guess you will get into problems at least with transmission distance
and very probably with modulation frequency.

IrDA module is probably something like Sharp GP2W0150YP0F: SIR LP
115.2 kb/s, transmission distance 20cm.

Any special function GPIO pins of PXA270 can be repurposed as an
ordinary GPIO.

For more see Intel® PXA27x Processor Family Developer’s Manual, section
General-Purpose I/O Controller


Rx:
GPIO 46

Tx:
GPIO 47

IR switch:
machine_is_borzoi() || machine_is_spitz():
xxx_scoop_gpio((&spitzscoop2_device.dev,SPITZ_SCP2_IR_ON);
machine_is_akita():
akita_xxx_ioexp(&akitaioexp_device.dev,AKITA_IOEXP_IR_ON);

in short, yes!

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

JohnX

  • Full Member
  • ***
  • Posts: 126
    • View Profile
    • http://
C1000 As A Ir Remote
« Reply #5 on: December 06, 2007, 10:33:53 pm »
I stand corrected!  
Zaurus SL-C1000 - Linux 2.6.22 - Angstrom/Debian dual boot - Ambicom 802.11b - 1GB Corsair SD
Nokia N800 - 2GB PQI SD card
Zaurus SL-5500 - OZ 3.5.3/Hentges T2/Opie - 64MB Lexar SD card

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
C1000 As A Ir Remote
« Reply #6 on: December 07, 2007, 08:31:15 pm »
Quote from: JohnX
I stand corrected!  
You may stand corrected, but if the 20cm estimate is accurate, you might as well just hit the buttons on the receiving device with your finger. 20cm = 0.2m = 7.9 in.  Kind of a shame, really.  I think the Z could support a pretty cool universal remote control app.

It's a shame that this item clearly indicates that it's a proprietary card.

EDIT: Found this one, which appears to still be in production.  I wonder if the company (which seems to be having the device manufactured) would be willing to cough up with specs?
« Last Edit: December 07, 2007, 08:53:51 pm by Drake01 »
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard