Build in mic for joggler

Everything relating to hacking, expanding and modifying the Joggler hardware.
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Build in mic for joggler

Post by -=xXx=- »

Hi...
Maybe someone connected mic to internal audiochip, I tried but failed baybe mic wasn't good or mesed up with pin's will try more.
Joggler has pins for mic there are lot of components missing so 100% they wouldn't work. I'm not even shure that this mic is for audiochip maybe for DECT.
after we'll find correct pins we can connect also simple mic like this:
12345.jpg
Thanks.
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Here see the microphone inside on the Openpeak 1. It is soldered on to a pad with a plus and minus on it. Actually there are two microphone wells on the Openpeak1. Will check to see if it works...never done that before.

Guessing here that the mic belongs to the USB audio which connects to the DECT chip.

Took pictures and will upload shortly.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

Did you try ?
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Yes. The XP machines show two audio cards.

The microphone does not work. Guessing it is plugged in to the DECT chip.

There used to be a bunch of stuff on the internet relating to DECT chip modding and stuff relating to Linux and it is all gone these days.

Here are pictures of the microphone connection.
audio1.jpg
audio2.jpg
audio3.jpg
audio4.jpg
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

I think the issue can be with drivers at least for Ubuntu...
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Will look at the Openpeak 1 I have with Ubuntu.

I have updated it to using a 64Gb SSD (IDE style). It is slower than using the 16Gb SSDs.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

As I can see from alsa:
Node 0x0b [Pin Complex] wcaps 0x400181: Stereo

Pincap 0x00001737: IN OUT Detect Trigger ImpSense
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19020: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=02, enabled=1
Connection: 1
0x0e

Mic seats on port B it coresponds to pins 21-22 on the chip they are shorted that means they where intended to use with mic .
And you can find it coresponds to to a TP lower I marked it with + and I tooked also ground from the main ground but mic still doesn't work.
Interesting thing when I touch this pin and arecord it makes some noice in audio file that means it's working as input but how to connect the mic to it I don't know for now....
mic.jpg
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

So here you are using an OP1 as I see the ZIF clip there and your device doesn't have a microphone?

Wierd because I only see the microphones on the OP1's in one of the two little cubbies on the bottom of the case.

Here will test the microphone with the Buzz Ubuntu Build on the OP1.

The telephony on the OP1 (Verizon) worked with the DECT phone and via the touchscreen speaker / microphone.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

I soldered zif, this is simple op o2, you told there are 2 microphones in yours. where is soldered the second one ?
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Yeah there are two microphone slots on the OP1 with one soldered microphone (pictures above). I will have to look again at the OP2 that I have taken apart as it had the microphones connected via connectors. It is totally disassembled as I had been modding the board .
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Nada. There are no drivers being loaded for the second sound device which is DECT.

Looking at the original Verizon image again and what hardware drivers are being loaded and see:
verizon.jpg
I understand you mentioned that the tools were flash.

That said the drivers and base is Linux with the flash software talking to the Linux drivers.

On the new test Ubuntu 14.04 Buzz box see:

lsusb

Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.

Cypress is the USB to Serial device. This is the zigbee interface.

I do not see the Philips Vega USB audio drivers loading on the new Ubuntu but they are there with the old Verizon OS.

Thinking a while ago while playing with Zoneminder and loading up old TV tuners in Linux the audio drivers were Philips at the time.

The OP2 was sold as a kiosk with a video telephone.

Look on the top of the OP2. There is a connector there which is USB plus more pins. Thinking these are microphone audio and maybe video pins going to the USB Philips multimedia chip. I tested the USB pins to work fine and documented these here on the forum a couple of years back.

dmesg only shows one audio chip

snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
snd_hda_intel 0000:00:1b.0: setting latency timer to 64
input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
input: HDA Intel MID Line-out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

Strange bacause I can see Philips Vega USB in OP2 ... But I still don't understand where seconf mic connects to the one in your picture is for dect but the second one ?
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Yeah here is what I see on current SP running on OP2 (Ubuntu 14.04). I have never seen the Philips Vega USB device on any Linux running OP1's or OP2's. Just the Windows touchscreens.

OP2
Jog-SQP-17:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0a5c:219a Broadcom Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

OP1
Jog-SQP-18:~# lsusb
Bus 001 Device 003: ID 148f:2770 Ralink Technology, Corp. RT2770 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 04b4:1974 Cypress Semiconductor Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 04cc:5556 ST-Ericsson
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Wierd cuz the OP1 above is the same as my testing Ubuntu OP1. ST-Ericsson is the DECT chip I am guessing.


Have to find the motherboard for the OP2 sitting around here someplace.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Only see one Microphone jack on the OP2 motherboard. On the OP1 the microphone is wired to the motherboard.

Note that the Joggler O2, OP1 and OP2 are totally different motherboards but similar in design.


The OP Joggler O2 doesn't have DECT or Zigbee or as far as I know the USB sound card. Thinking the microphone traces you see on the O2 are leftovers from the OP1 design but never utilized in the O2 Joggler.
op2-1.jpg
op2-2.jpg
op2-3.jpg
Found my test OP2 motherboard. The Crystal HD card was plugged in to it. Testing your KODI build using the Crystal HD card now.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

Tried different setups non of them worked maybe mic registry in driver for linux is different, didn't try only your verison image that boots to terminal maybe recording will work in it... but as I remember there are no audio tools so arecord wouldn't work, they need to be copied before on usb... will use mic from camera for now... For the images if you ever get Avaya one can you share it I'm thinking it will have missing DECT stuf that I'll need and maybe I'll try microphone setup one more time.
Thanks.
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

Thinking the black Openpeak boxed OP2's with DECT telephones sold as video phones were MFG to give to developers of telco stuff so the base untouched OS that came up did talk to the phones as I was able to pair them. It looked exactly like the O2 OS except it had the telephone features. I purchased a few of these and will look at one that I never touched.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

Did you find them ?
User avatar
pete
Posts: 2958
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: Build in mic for joggler

Post by pete »

No.

Easter, family et al stuff over the last few days.

Lost my combo MythTV / LMS server box on Friday and it was just the power supply; rebuilt it anyhow upgrading it to Ubuntu 16.04 from Ubuntu 14.04...was thinking of trying Ubuntu 17.XX..
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
ARJunior
Posts: 51
Joined: Fri Aug 05, 2011 2:28 pm

Re: Build in mic for joggler

Post by ARJunior »

Hi guys,

In case you are interested about adding microphone into your Joggler maybe these informations will help you.

The STAC9202 supports analog stereo microphone and pins 21/22 are used for this purpose.
According to Wikipedia,the basic electret microphone powering circuit use only one resistor and one capacitor :
Image

I didn't found information about typical values to use with STAC9202 so I used 10K resistor and 1uF capacitor.
However, results aren't perfect as I got some background noise during my test (maybe adding EMI filter could help...will take a look at it later)

I've used VREFOUT-B (pin28) for microphone bias voltage. I've attached pinout for better understanding :
STAC9202_Mic_In.png
You have to be sure your capture device is set to Mic and level is adjusted correctly with alsamixer (F4).
If you get some errors trying to execute arecord, just edit /etc/asound.conf like this :

Code: Select all

pcm.!default {
        type plug
        slave.pcm "asymed"
}

pcm.asymed {
         type asym
         playback.pcm "dmixer"
         capture.pcm "hw:0,0"
}

pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 0
}
Finally, for recording and test your mod, just run arecord :

Code: Select all

arecord -f cd -d 10 -t wav -N test.wav
Good luck ;)

Best wishes !
-=xXx=-
Posts: 147
Joined: Tue Mar 15, 2011 11:26 am

Re: Build in mic for joggler

Post by -=xXx=- »

Cool this is interesting, will try it, but usb sound card works also great, under what distro you tested it ?
Post Reply