Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#112499 - 22/08/2002 09:13 Sony Stalk .... again
kojak71
journeyman

Registered: 19/12/2001
Posts: 97
I've researched and followed the instructions for trying to make my sony stalk a more effective tool (using b13 and hijack291) by editing the config file using jemplode.

At the end of the config I've entered the following:

[ir_translate]
KNext=Right
KPrev=Left
KVolUp=KnobRight,KnobRight,KnobRight,KnobRight,KnobRight
KVolDown=KnobLeft,KnobLeft,KnobLeft,KnobLeft,KnobLeft

I've also tried using:
[ir_translate]
KNext=Right.U,KNext.N
KPrev=Left.U,KPrev.N
KVolUp=KnobRight,KnobRight,KnobRight,KnobRight,KnobRight
KVolDown=KnobLeft,KnobLeft,KnobLeft,KnobLeft,KnobLeft

Both have been to no avail. I'm not sure if I'm doing something wrong, but I can definitely see the entry at the end of the config file.

Top
#112500 - 22/08/2002 15:07 Re: Sony Stalk .... again [Re: kojak71]
number6
old hand

Registered: 30/04/2001
Posts: 745
Loc: In The Village or sometimes: A...
Have you tried monitoring the serial output when you boot your Empeg?
Hijack logs any problems with the IR Translation table to the serial port when it parses config.ini.

Try this, you may find you've typed something wrong.

I must admit I have not tried much stalk code translations - even so it should work, but as Mark is only human, he may have made a mistake somewhere that broke it.

But anyway, try monitoring the serial output on boot up to see if Hijack reports anything useful/obvious.


Top
#112501 - 23/08/2002 01:09 Re: Sony Stalk .... again [Re: number6]
kojak71
journeyman

Registered: 19/12/2001
Posts: 97
empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux................................... done, booting the kernel.

Linux version 2.2.14-rmk5-np17-empeg51-hijack-v291 ([email protected]) (gcc ve
rsion 2.95.3 20010315 (release)) #2 Wed Jul 31 10:10:42 EDT 2002
Processor: Intel StrongARM-1100 revision 11
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 10101848)
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 15076k/16M available (928k code, 20k reserved, 356k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Linux-IrDA: IrCOMM protocol ( revision:Tue May 18 03:11:39 1999 )
ircomm_tty: virtual tty driver for IrCOMM ( revision:Wed May 26 00:49:11 1999 )
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 67706d65 'empg'
Scheduling custom logo.
empeg display initialised.
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0004e00).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-210, ATA DISK drive
hda: IBM-DJSA-210, ATA DISK drive
ide0 at 0x000-0x007,0x038 on irq 6
hda: IBM-DJSA-210, 9590MB w/384kB Cache, CHS=19485/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:22:07:3
8
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump... unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Tried to mount /dev/hdc4 but got error 6
Error mounting partitions (possibly already mounted)
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Press 'q' now to go into development mode. You Have Zero Seconds To ComðStarting
player

khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00-beta13 2002/07/24.
Prolux 4 empeg car - 2.1434 Jul 24 2002
Vcb: 0x4086d000

Top
#112502 - 24/08/2002 15:32 Re: Sony Stalk .... again [Re: kojak71]
blitz
addict

Registered: 20/11/2001
Posts: 455
Loc: Texas
Have you had any luck on this?

Top
#112503 - 24/08/2002 20:37 Re: Sony Stalk .... again [Re: kojak71]
MMorrow
journeyman

Registered: 07/01/2002
Posts: 65
Loc: Bellingham, WA USA
Have you verified that the stalk buttons are being "seen" by Hijack, by selecting "Button Codes Display" off the Hijack menu? If you have a way to monitor the serial port while it is in the sled, then try setting the ir_debug=1 and/or stalk_debug=1 options, in the config.ini Hijack section. It has been a while since I have tried this, but this should also show the raw ir and/or stalk data on the serial port.

I've not used jemplode, but have remapped my Sony stalk to make it more effective. It may help to take a look at my config.ini at this link.

I find my mapping to be logical, and have all buttons and twist of the stalk doing something ... try it and see what you think. One note: If you are running beta13 then the bottom stalk button does not work. It appears to be a bug introduced during beta13, since it worked before. You can see what I mean by pressing it while monitoring with "Button Codes Display". All buttons indicate a press and release code, however the bottom button now only indicates the release. Prior to beta13 it toggled shuffle on and off, but now nothing ... and Hijack isn't able to map it either. On my other empeg running beta11 it reports a press and release, and works properly. So there appears to lay the problem with that. Good Luck! ...Mark

Top
#112504 - 25/08/2002 17:12 Re: Sony Stalk .... again [Re: MMorrow]
kojak71
journeyman

Registered: 19/12/2001
Posts: 97
Yep, I've verified that hijack sees the stalk on all of its buttons (BTW the shift volume+/- is the same as shift next/prev meaning that the Sony Stalk has 18 mappable buttons and not 20). I've also noted that there isn't a release code for the bottom button.

Top