Control 100 TFT

Hello:
I have no too much information yet but what I know now is to
control about
100 tactile TFT´s.
The application in Lingo show in each TFT one different
picture, the user
touch one of this TFT and something happens.
Do you know what devices I need to do this?
Or is better to control by network? In that case, what Xtras
or devices I
need?
Thanks in advance

"tr" <[email protected]> posted in
macromedia.director.lingo:
> What is a TFT?
Thin Film Transistor. Basically what all - or most - modern
digital "LCD"
monitors are using.
However, it is not clear from Anne's post whether this is a
monitor, 100
monitors, or some other rig.
If it's a monitor then I'm sure there are touchscreens that
will fit the
bill.
If it is some other rig, she'll probably need to contact the
manufacturer to
see what type of signal is sent - to a computer? - to an
interface between it
and a computer? Serial Comm Port? USB? Parallel?
Does it emulate a mouse? a keyboard? Simple low-to-high
voltage change on a
wire? Is there a software API available - ActiveX? - Xtra?...
In other words, if it's not a monitor, there's not enough
information to go
on yet.
Mark A. Boyd
Keep-On-Learnin' :)

Similar Messages

  • TEMPDB.mdf out of control 100 GB

    Hello,
    using my previous thread and the answers proposed:
    http://social.technet.microsoft.com/Forums/en-US/99f34dc7-93fc-4f8d-b72a-48096707169f/tempdbmdf-out-of-control-30-gb?forum=sqldatabaseengine
    session_id database_id user_objects_alloc_page_count user_objects_dealloc_page_count internal_objects_alloc_page_count internal_objects_dealloc_page_count
    119 2 0 363 12150896 12152552
    78 2 0 0 96 88
    84 2 0 0 48 88
    102 2 0 0 16 8
    57 2 10 0 0 0
    69 2 6 0 0 0
    66 2 4 0 0 0
    65 2 2 0 0 0
    67 2 2 0 0 0
    73 2 2 0 0 0
    I have identified the Session Id, user and database using the session 119 ...
    what should I do next:
    restart SQL Service for this instance?
    kill the session?
    Thanks,
    DOm
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    INSERT INTO [etlStaging].[clarity].[flowsheet] ([flo_meas_id] ,[recorded_time] ,[meas_value] ,[pat_id]) select [flo_meas_id] ,[recorded_time] ,[meas_value] ,[pat_id] from [syn_lsClarity_Flwsht]
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager
    This is a insert statement without a where clause so I guess amount of records will be huge.Seem like bulk insert to me
    If I were you I would have added a new log file for tempdb on some other drive and let operation to complete.After operation is completed I would shrink tempdb
    You can kill but on your own risk.But I dont see tempdb being utilized in SQL statement anywhere ? Is this really the statement filling tempdb
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    I shrunk tempdb, I restarted SQL Server Service on this instance and already I am getting 8 Gb in 15 minutes with the same insert...
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

  • Using a seperate thread to control motors

    Hi am new to Java and am struggling with a probelm.
    The application is to control 4 motors connected to the parallel port. When the user presses a button the motor is set to a certain speed (byte output to port). Once the button is released the port outputs to stop the motors, i also have it working so multiple motors can be driven at the same time (multiple buttons held down) i have the code working ok, but at present the program just outputs a byte of data when its worked out what buttons are pressed/released.
    The problem is i want to drive one of the motors using a crude form of PWM (output an 'on' byte, wait 1 second, output an 'off' byte, wait one second, ect)
    This is clearly going to have to be performed in a loop that is basically an infinite loop untill the key is released. However the program also need to be listening for other key inputs to turn on other motors.
    I think the best way to do it is to create a thread for the PWM that sleeps, allowing the program to do other things, and breaks out when it recieves an interrupt (triggered by another key press), however i am have major difficultly converting the code. at present the code looks like this:
    private void DebugKeyReleased(java.awt.event.KeyEvent evt) {                                 
    int c;
    c = evt.getKeyCode();
    switch (c)
    case 83:     Control(100);
                   break;
         case 68:     Control(80);
                   break;
         case 65:     Control(40);
                   break;
         case 87:     Control(20);
                   break;
    private void DebugKeyPressed(java.awt.event.KeyEvent evt) {                                
    int c;
    c = evt.getKeyCode();
    switch (c)
    case 83:     Control(1);
                   break;
    case 68:     Control(8);
                   break;
    case 65:     Control(4);
                   break;
    case 87:     Control(2);
                   break;
    private void Control(int direction){
    switch (direction)
         case 1:      forwards = 1;
                   break;
         case 100:     forwards = 0;
    break;
         case 2: backwards = 1;
                   break;
         case 20: backwards = 0;
    break;
         case 4:          right = 1;
                   break;
         case 40: right = 0;
    break;
         case 8:          left = 1;
                   break;
         case 80:     left = 0;
    break;
         global_direction = forwards*1+(backwards*2)+(left*8)+(right*4);
    if(global_direction == 0)
    moving = "Stopped";
    short stop = 255;
    lpt.output(Addr,stop);
         else if(global_direction == 1)
    moving = "Backwards";
    short Back = 239;
    lpt.output(Addr,Back);
    ECT, there are alot more if statements that account for all possibilities.
    i want the backwards and forwards cases to enter loops that output data on and off for certain time periods.
    can anybody suggest the best way to convert the code?
    thanks for any info / help
    cheers John

    A finite state machine is an abstraction in which you have a finite collection of states, and a set of transitions between states. One state is active at a time. So a traffic light might have red, green, and yellow states, and transitions between green to yellow, yellow to red, and red to green. There can be multiple transitions out of a single state.
    So for your app, each state might be a kind of signal or a kind of sequences of signals set to the motors, and the transitions would be taken when you need to change the signals. You could send the key events and time events to whatever state currently is active. That active state would then decide what transition to take based on the event.
    I'm sure there will be an entry in Wikipedia about it.
    If the code works, that's great, but (1) it's obviously not working entirely because you're posting here, and (2) code like this can get hairy very fast and thus hard to maintain and thus bug-prone. So if you can simplify it, it will only help.
    If you want to use a thread, you can. You basically have that now. But instead of Thread.interruped as you have it now, you could just have the key press event change the value of the flag to one that will stop the loop.
    (for example, you'd have a "running" boolean field, a "while(running) {" in your run() method, an the event can change the value of "running" from true to false to cause the thread to stop.

  • Usint thread to control PWM loop

    Hi am new to Java and am struggling with a probelm.
    The application is to control 4 motors connected to the parallel port. When the user presses a button the motor is set to a certain speed (byte output to port). Once the button is released the port outputs to stop the motors, i also have it working so multiple motors can be driven at the same time (multiple buttons held down) i have the code working ok, but at present the program just outputs a byte of data when its worked out what buttons are pressed/released.
    The problem is i want to drive one of the motors using a crude form of PWM (output an 'on' byte, wait 1 second, output an 'off' byte, wait one second, ect)
    This is clearly going to have to be performed in a loop that is basically an infinite loop untill the key is released. However the program also need to be listening for other key inputs to turn on other motors.
    I think the best way to do it is to create a thread for the PWM that sleeps, allowing the program to do other things, and breaks out when it recieves an interrupt (triggered by another key press), however i am have major difficultly converting the code. at present the code looks like this:
    private void DebugKeyReleased(java.awt.event.KeyEvent evt) {
    int c;
    c = evt.getKeyCode();
    switch (c)
    case 83: Control(100);
    break;
    case 68: Control(80);
    break;
    case 65: Control(40);
    break;
    case 87: Control(20);
    break;
    private void DebugKeyPressed(java.awt.event.KeyEvent evt) {
    int c;
    c = evt.getKeyCode();
    switch (c)
    case 83: Control(1);
    break;
    case 68: Control(8);
    break;
    case 65: Control(4);
    break;
    case 87: Control(2);
    break;
    private void Control(int direction){
    switch (direction)
    case 1: forwards = 1;
    break;
    case 100: forwards = 0;
    break;
    case 2: backwards = 1;
    break;
    case 20: backwards = 0;
    break;
    case 4: right = 1;
    break;
    case 40: right = 0;
    break;
    case 8: left = 1;
    break;
    case 80: left = 0;
    break;
    global_direction = forwards*1+(backwards*2)+(left*8)+(right*4);
    if(global_direction == 0)
    moving = "Stopped";
    short stop = 255;
    lpt.output(Addr,stop);
    else if(global_direction == 1)
    moving = "Backwards";
    short Back = 239;
    lpt.output(Addr,Back);
    ECT, there are alot more if statements that account for all possibilities.
    i want the backwards and forwards cases to enter loops that output data on and off for certain time periods.
    can anybody suggest the best way to convert the code?
    thanks for any info / help
    cheers John

    A finite state machine is an abstraction in which you have a finite collection of states, and a set of transitions between states. One state is active at a time. So a traffic light might have red, green, and yellow states, and transitions between green to yellow, yellow to red, and red to green. There can be multiple transitions out of a single state.
    So for your app, each state might be a kind of signal or a kind of sequences of signals set to the motors, and the transitions would be taken when you need to change the signals. You could send the key events and time events to whatever state currently is active. That active state would then decide what transition to take based on the event.
    I'm sure there will be an entry in Wikipedia about it.
    If the code works, that's great, but (1) it's obviously not working entirely because you're posting here, and (2) code like this can get hairy very fast and thus hard to maintain and thus bug-prone. So if you can simplify it, it will only help.
    If you want to use a thread, you can. You basically have that now. But instead of Thread.interruped as you have it now, you could just have the key press event change the value of the flag to one that will stop the loop.
    (for example, you'd have a "running" boolean field, a "while(running) {" in your run() method, an the event can change the value of "running" from true to false to cause the thread to stop.

  • A failure running Linux on a family HTPC - or any OS for that matter.

    I failed. Here's the story:
    About a year and a half ago I've bought a couple of components and put them together to have a relatively powerful, but still cheap HTPC that didn't eat too much energy, running at 40W in total. I also bought a dedicated TFT and hung it on the wall, so it's a bit like an internet kiosk as well, and it's really nice to play music from there. Looks really neat beside the TV. The TV is only neccessary to watch movies and look at pictures. I wanted to use it as a HTPC to watch movies, DVDs, have the music library on and use it as an always-on server for some stuff like mpd/icecast streaming and some files.
    At first, I installed some shitty Vista, no idea why. Ran cygwin in the background but cygwin is no good at screen (not detaching manually would corrupt the session and make reattaching impossible). It didn't live long, as cygwin wasn't sufficient for my server needs. Though it performed well to watch DVDs, listen to music and watch pictures on the TV.
    I cleared everything and installed Arch. With my non-linuxized family in mind, I chose KDE4 as the DE, so that lots of stuff comes preinstalled, like picture viewers, music players, DVD players and so on. But KDE4 just failed hard. Stuff didn't work most of the time, panel crashed randomly, kdm wouldn't do autologin but instead crash and I was unable to set the keyboard layout for kdm either. So I ended up using xinitrc to start it but still there was a lot of stuff going wrong. Besides of that, it was way too slow.
    So I removed KDE and tried something more sane. Openbox and xfce4-panel. This worked fairly well, but one day the PC didn't react while I was away and my girlfriend just reset the box. After it had rebooted, all the xfce4-panel icons were back to defaults and had forgotten all their settings... And one day we had the mad idea to actually _rent_ a DVD and watch it, but it wouldn't work and I had to spend one hour googling for some mplayer error only to find out that there's some stupid copy protection on the DVD and that I needed yet another lib installed to play it, and using mplayer with some command line options, a task that my parents would not be able to do ever. So I would need to write another script that checks the DVD and uses some command line options accordingly...
    I'm so sick of having to constantly research how to play some legally rented DVD or how icons disappear or the resolution randomly changes or all kinds of stupid stuff happening. Whatever my parents want to do simply doesn't work, and I have to come down and fix some stupid script or error. There's no end to the flaws in this system. Don't get me wrong, I'm using Arch on both my laptop and Desktop, and it runs great and I wouldn't want anything different, but for a box I'm not using everyday, where I'm not in control 100%, it seems like Arch or even Linux in general might not be working!
    Now, what I'm going to try next is Windows 7 for the noob-friendly, DVD-playing family-part, and Archlinux on coLinux for the server stuff. Hope that arch runs well on coLinux. coLinux apparently runs on Win7 without issues.
    Wish me luck.

    So, my experience with win7:
    - generally better then vista, less bloated, but pretty much the same from a usability point of view
    - still seriously unpractical and lame for a poweruser
    - needs lots of tweaking to be good
    - arch on colinux runs well and is _awesomely_ fast. Problem is that I find it a bit outdated with its 2.6.25 kernel
    - arch in virtualbox runs slow because the box doesn't have IVT unfortunately (c2d E4500)
    - Stuff plays and runs, but it's as usual. One has to get rid of all the annoyances like WMP, all the notifiers, updaters etc...
    So, of course I'm ditching it. Now, I'll try ubuntu 9.10. Hopefully all its bloat will help the box to perform well without much tweaking.
    I'll try xmbc, but generally I feel like all these myth* and other mediacenter linux distros/apps don't really fit my setup as the HTPC has an extra screen and is not only attached to the TV, so it can be used as a normal box really. Sometimes I'd write a quick letter on it and print it and all that. It's a versatile setup:
    - playing movies, viewing images
    - surfing
    - torrents, downloading
    - serving mpd/icecast streams
    - gateway for wake-on-lan'ing and ssh'ing into my desktop
    - attached to printer, used to write quick stuff
    I'll see how ubuntu performs....

  • Asus Transformer book T200TA

    Hello,
    I'm trying to put an Archlinux on the Asus Transformer book T200TA, and I will share here my progress. I will take note of a lot of things, when I manage to do something or when something does not work. And if you have any ideas to make something works, tell me !
    Current status (for TL;DR)
    - Boot under archiso : Working with patch
    - Boot Archlinux on the keyboard's HDD : Working by putting boot and efi partition on the internal memory
    - Virtualization of Windows 8.1 under linux : Partially working only with a 64 bit linux as host
    - SD card : Working with patch
    - Graphics : Working
    - Random freezes : Fixed ?. Didn't experienced any since my new installation with linux 4.0
    - xhci_hcd bug at boot ; Work in USB2 mode only
    - Backlight control : Working
    - Sound : Work on both headphone and speakers in stereo but you have to edit an alsa config file for enabling sound on one or both output and for setting the sound level. Microphone not tested.
    - Wifi : Not working
    - Bluetooth : Not working: Not working
    - Battery indicator : Working With kernell patch
    - Touchpad : Partially working : Only one finger and very unpleasant because the cursor move a little before you click.
    - Touchscreen : Partially working : Works randomly and seems to not release click when you remove your finger.
    Sources
    The T200TA has a lot on common with the T100TA, so, much of my fixes come from this computer (as it has been release one year before and the T200 is currently pretty new).
    - http://www.jfwhome.com/2014/03/07/perfe … book-t100/
    - https://github.com/AdamWill/baytrail-m
    - https://bbs.archlinux.org/viewtopic.php?id=179948
    Boot under archiso
    If you try to boot, it will not work. Because, as T100, it search only for 32bit efi (even if the cpu can handle 64bit OS). You can do like him.
    Or you can do like me, I think it's easier, but really dirty (it's not a full script, execute it only part by part) :
    ## Create working directory
    mkdir work
    cd work
    ## Build grub and get missing bootloader files bootia32.efi
    git clone git://git.savannah.gnu.org/grub.git
    cd grub
    ./autogen.sh
    export EFI_ARCH=i386
    ./configure --with-platform=efi --target=${EFI_ARCH} --program-prefix=""
    make
    cd grub-core
    ../grub-mkimage -d . -o bootia32.efi -O i386-efi -p /boot/grub ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd xfs xnu part_bsd part_gpt search search_fs_file chain btrfs loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart scsi loopback normal configfile gzio all_video efi_gop efi_uga gfxterm gettext echo boot chain eval
    cp bootia32.efi ../../bootia32.efi
    cd ../../
    rm -r grub
    ##Get all file from the current archlinux install iso
    #Search and replace all XXXX.XX.XX by the current release date and /dev/sdX by your usb key address. If you find a way to extract both partion from iso without dd, it should be faster than that, so tell me if you know how to do that.
    dd bs=4M if="archlinux-XXXX.XX.XX-dual.iso" of=/dev/sdX
    mkdir usb
    mkdir newiso
    # Unplug and replug your usb key and wait a little if mount doens't work :
    mount /dev/sdX2 ./usb
    cp -r usb/* newiso/
    sync
    umount usb
    mount /dev/sdX1 ./usb
    cp -r usb/* newiso/
    sync
    umount usb
    rmdir usb
    ## Prepare new usb key content
    mv bootia32.efi newiso/EFI/boot/
    mkdir -p newiso/boot/grub
    echo "
    menuentry 'Arch Linux i686'{
    echo 'Loading Linux core repo kernel ...'
    linux /arch/boot/i686/vmlinuz nomodeset archisobasedir=arch archisolabel=ARCHISO
    echo 'Loading initial ramdisk ...'
    initrd /arch/boot/i686/archiso.img
    menuentry 'Arch Linux x86_64'{
    echo 'Loading Linux core repo kernel ...'
    linux /arch/boot/x86_64/vmlinuz nomodeset archisobasedir=arch archisolabel=ARCHISO
    echo 'Loading initial ramdisk ...'
    initrd /arch/boot/x86_64/archiso.img
    }" > newiso/boot/grub/grub.cfg
    ## Prepare the usb key partition
    gdisk /dev/sdX
    3 # Create blank GPT
    o # Create a new empty GPT
    y # Proceed
    n # New partition
    # Default partition number
    # Default first sector
    # Default last sector
    EF00 # Bootable efi partition
    c # change partion's name
    ARCHISO
    w # Write modifications on the disk
    Y # Proceed
    mkfs.fat -F 32 /dev/sdX1
    echo mtools_skip_check=1 >> ~/.mtoolsrc
    mlabel -i /dev/sdX1 -s ::ARCHISO
    rm ~/.mtoolsrc
    ## Copy files to the usb key
    mkdir usb
    mount /dev/sdX1 usb
    cp -r newiso/* usb/
    sync
    umount usb
    rmdir usb
    ## Cleaning
    cd ../
    rm -r work
    A better way of fixing that should be building a x86 version of the file `PreLoader` from the repo `git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git` because this file is renamed as `bootx64.efi` during the archiso creation, and the missing file is the x86 equivalent : `bootia32.efi`. Anyway, I didn't manage to build it, so I gave up this path. Tell me if you find something better.
    Boot Archlinux on the keyboard's HDD
    I cannot currently use this computer under linux for everyday, but I need a linux to work or dev. And I have to admit that the windows UI is much better for touchscreen than any linux desktop that I tried. The internal memory is only 30GB. So I let Windows 8.1 on internal memory for "tablet mode" and linux on hard drive for "netbook mode".
    I didn't find any way to make the computer boot to the hard drive (or the micro usb card of 64GB), the efi-bios don't see them (the HDD is pluged in usb 3.0, but even in USB 2.0 mode it does the same).
    To make it work, you have to put the boot and efi partition on the internal memory :
    - Create a boot parition (100mo ext2) on the internal memory or use the windows rescue partition (300mo, ntfs, ~86%used after grub and vmlinuz installation). And during your installation process, mount it at /boot (/dev/mmcblkpX)
    - Use the windows EFI parition (100mo fat32) and mount it to /boot/efi (/dev/mmcblkpY)
    - Then (re-)install linux (need internet connexion, wireless or no. Dont forget to start dhcpcd)
    mount /dev/sdbZ /mnt # with /dev/sdbZ your keyboard's hdd root partition where linux will be installed
    mkdir /mnt/boot
    mount /dev/mmcblkpX /mnt/boot
    mkdir /mnt/boot/efi
    mount /dev/mmcblkpY /mnt/boot/efi
    pacstrap /mnt/ base grub efibootmgr
    genfstab -U -p /mnt >> /mnt/etc/fstab
    - and install grub on partition
    arch-chroot /mnt
    grub-install --target=i386-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck
    - Edit /etc/grub.d/40_custom and add at the end :
    if [ "${grub_platform}" == "efi" ]; then
    menuentry "Microsoft Windows Vista/7/8/8.1 UEFI-GPT" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --set=root --hint-bios=hd0,gptY --hint-efi=hd0,gptY --hint-baremetal=ahci0,gptY [fs_uuid]
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    fi
    with gptY, the Y from /dev/mmcblkpY above (the efi partition)
    and [hints_string] is gave by the command
    grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    - Apply grub config
    grub-mkconfig -o /boot/grub/grub.cfg
    Now I can boot to "Windows Boot Manager" or "grub" from bios. But I choosed to have grub by default and then he ask me what I want.
    Virtualization
    What works :
    - host Win32, guest linux32
    - host win32, guest win32
    - host linux32, guest linux32
    - host linux64, guest win
    What doesn't work:
    - host linux32, guest win32
    Windows 8.1 guest : With QEMU and Virtualbox, same problem during installation (or boot when already installed) we got a
    Your PC needs to restart.
    Please hold down the power button.
    Error Code: 0x0000000A
    Parameters:
    0xFFFFFFE6
    0x0000001F
    0x00000000
    0x8192BFAB
    After 3min virtualbox said that a critical error happend and tell us to watch the log. But it seem useless because the bug happend after 7 seconds and nothing show up after 7 seconds.
    SD Card
    http://www.jfwhome.com/2014/03/07/perfect-ubuntu-or-other-linux-on-the-asus-transformer-book-t100/ wrote:
    The SD card reader works with newer kernels, but the sdhci module needs some configuration. Create a new file:
    sudo nano /etc/modprobe.d/sdhci.conf
    Then add the following:
    options sdhci debug_quirks=0x8000
    ctrl-o then ctrl-x to save and exit, then:
    sudo mkinitcpio -p linux
    Graphics
    2D and 3D accelerations are enabled with xf86-video-intel 2.99.917 and mesa 10.4 :
    $ glxinfo | grep direct :(
    direct rendering: Yes
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
    $ glxinfo | grep OpenGL
    OpenGL vendor string: Intel Open Source Technology Center
    OpenGL renderer string: Mesa DRI Intel(R) Bay Trail x86/MMX/SSE2
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.4.0
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.0 Mesa 10.4.0
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.4.0
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
    OpenGL ES profile extensions:
    However firefox doens't enable 3D acceleration by default, you have to force it. To check if it use it, go to about:support
    And this mean that, it doesn't support it :
    GPU Accelerated Windows 0/1 Basic
    To force it :
    - Got to about:config
    - Set layers.acceleration.force-enabled
    - Set layers.offmainthreadcomposition.enabled to true
    And restart firefox. Now you should have
    GPU Accelerated Windows 1/1 OpenGL (OMTC)
    Warning : 3D acceleration can make firefox more buggy, so try to disable it if you have problems.
    source : http://askubuntu.com/questions/491750/f … in-firefox
    Random freezes
    After some minutes (last time after ~40minutes) the system freeze. I don't know if it's only graphical or not. This freeze seem to happend when the cpu/gpu has a lot to do.
    I've done a clean install with default kernel 4.0 in may 2015, and since that, I didn't have any freeze.
    xhci_hcd bug at boot
    When I enable XHCI in bios, sometime, I get that
    xhci_hcd 0000:00:14.0: Error while assigning device slot ID
    xhci_hcd 0000:00:14.0: Max number of devices this xHCI host supports is 32.
    usb usb1-port3: couldn't allocate usb_device
    The port change randomly and when it is port3, I loose the keybard and mouse and I have to make a hard reebot.
    To "fix" this, I disabled XHCI (wich mean USB3) from the bios.
    Still happen with kernel 4.0
    Sound
    With the work of  sid789. I manage to make sound work on Linux 4.0.
    Save this file somewhere on your computer : asound.state
    state.bytrt5640 {
    #### General
    # Level
    control.1 {
    iface MIXER
    name 'DAC1 Playback Volume'
    value.0 175 # Left volume
    value.1 175 # right volume
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 175'
    dbmin -65625
    dbmax 0
    dbvalue.0 0
    dbvalue.1 0
    # Disable both output Right
    control.51 {
    iface MIXER
    name 'Stereo DAC MIXR DAC R1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable both Left speaker
    control.54 {
    iface MIXER
    name 'Stereo DAC MIXL DAC L1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Channel to listen
    control.21 {
    iface MIXER
    name 'DAC IF1 Data Switch'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Normal
    item.1 Swap
    item.2 'left copy to right'
    item.3 'right copy to left'
    # Enable
    # Only 0 and 2 works
    control.100 {
    iface MIXER
    name 'DAI select'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 '1:1|2:2'
    item.1 '1:2|2:1'
    item.2 '1:1|2:1'
    item.3 '1:2|2:2'
    ##### Speaker #####
    #Enable
    control.27 {
    iface MIXER
    name 'Speaker Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    #Change a little the volume..
    control.19 {
    iface MIXER
    name 'Class D SPK Ratio Control'
    value 10
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 '1.66x'
    item.1 '1.83x'
    item.2 '1.94x'
    item.3 '2x'
    item.4 '2.11x'
    item.5 '2.22x'
    item.6 '2.33x'
    item.7 '2.44x'
    item.8 '2.55x'
    item.9 '2.66x'
    item.10 '2.77x'
    # Enable Left speaker
    control.62 {
    iface MIXER
    name 'Speaker L Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable right speaker
    control.61 {
    iface MIXER
    name 'Speaker R Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable right channel on right speaker
    control.67 {
    iface MIXER
    name 'SPOR MIX DAC R1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable right channel on left speaker
    control.70 {
    iface MIXER
    name 'SPOL MIX DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable left channel
    control.71 {
    iface MIXER
    name 'SPOL MIX DAC L1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    ##### headphone #####
    # Enable
    control.24 {
    iface MIXER
    name 'Headphone Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    #Enable too
    control.34 {
    iface MIXER
    name 'HPO MIX DAC1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable Left
    control.98 {
    iface MIXER
    name 'DAC MIXL INF1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable Right
    control.96 {
    iface MIXER
    name 'DAC MIXR INF1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable right
    control.59 {
    iface MIXER
    name 'HP R Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Enable Left
    control.60 {
    iface MIXER
    name 'HP L Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # Don't know what, but change something on headphone
    control.58 {
    iface MIXER
    name 'DAC L2 Mux'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 IF2
    item.1 'Base L/R'
    ## Useless on output
    control.2 {
    iface MIXER
    name 'Mono Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.11 {
    iface MIXER
    name 'Mono DAC Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 175'
    dbmin -65625
    dbmax 0
    dbvalue.0 -1500
    dbvalue.1 -1500
    control.3 {
    iface MIXER
    name 'Speaker Channel Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.4 {
    iface MIXER
    name 'Speaker Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 39'
    dbmin -4650
    dbmax 1200
    dbvalue.0 -900
    dbvalue.1 -900
    control.5 {
    iface MIXER
    name 'HP Channel Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.6 {
    iface MIXER
    name 'HP Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 39'
    dbmin -4650
    dbmax 1200
    dbvalue.0 1200
    dbvalue.1 1200
    control.7 {
    iface MIXER
    name 'OUT Playback Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.8 {
    iface MIXER
    name 'OUT Channel Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.9 {
    iface MIXER
    name 'OUT Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 39'
    dbmin -4650
    dbmax 1200
    dbvalue.0 -1950
    dbvalue.1 -1950
    control.10 {
    iface MIXER
    name 'DAC2 Playback Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.12 {
    iface MIXER
    name 'IN1 Boost'
    value 8
    comment {
    access 'read write'
    type INTEGER
    count 1
    range '0 - 8'
    dbmin 0
    dbmax 5200
    dbvalue.0 3000
    control.13 {
    iface MIXER
    name 'IN2 Boost'
    value 8
    comment {
    access 'read write'
    type INTEGER
    count 1
    range '0 - 8'
    dbmin 0
    dbmax 5200
    dbvalue.0 3500
    control.14 {
    iface MIXER
    name 'IN Capture Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 31'
    dbmin -3450
    dbmax 1200
    dbvalue.0 -300
    dbvalue.1 -300
    control.15 {
    iface MIXER
    name 'ADC Capture Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    control.16 {
    iface MIXER
    name 'ADC Capture Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 127'
    dbmin -17625
    dbmax 30000
    dbvalue.0 28500
    dbvalue.1 28500
    control.17 {
    iface MIXER
    name 'Mono ADC Capture Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 127'
    dbmin -17625
    dbmax 30000
    dbvalue.0 27000
    dbvalue.1 27000
    control.18 {
    iface MIXER
    name 'ADC Boost Gain'
    value.0 3
    value.1 3
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 3'
    dbmin 0
    dbmax 3600
    dbvalue.0 1200
    dbvalue.1 1200
    control.20 {
    iface MIXER
    name 'ADC IF1 Data Switch'
    value 1
    comment {
    access 'read write'
    type ENUMERATED
    count 3
    item.0 Normal
    item.1 'left copy to right'
    item.2 'right copy to left'
    item.3 Swap
    control.22 {
    iface MIXER
    name 'ADC IF2 Data Switch'
    value 3
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Normal
    item.1 'left copy to right'
    item.2 'right copy to left'
    item.3 Swap
    control.23 {
    iface MIXER
    name 'DAC IF2 Data Switch'
    value 1
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Normal
    item.1 'left copy to right'
    item.2 'right copy to left'
    item.3 Swap
    control.25 {
    iface MIXER
    name 'Headset Mic Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.26 {
    iface MIXER
    name 'Internal Mic Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.28 {
    iface MIXER
    name 'Mono MIX DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.29 {
    iface MIXER
    name 'Mono MIX DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.30 {
    iface MIXER
    name 'Mono MIX OUTVOL R Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.31 {
    iface MIXER
    name 'Mono MIX OUTVOL L Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.32 {
    iface MIXER
    name 'Mono MIX BST1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.33 {
    iface MIXER
    name 'HPO MIX DAC2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.35 {
    iface MIXER
    name 'HPO MIX HPVOL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.36 {
    iface MIXER
    name 'OUT MIXR SPK MIXR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.37 {
    iface MIXER
    name 'OUT MIXR BST2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.38 {
    iface MIXER
    name 'OUT MIXR BST1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.39 {
    iface MIXER
    name 'OUT MIXR INR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.40 {
    iface MIXER
    name 'OUT MIXR REC MIXR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.41 {
    iface MIXER
    name 'OUT MIXR DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.42 {
    iface MIXER
    name 'OUT MIXR DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.43 {
    iface MIXER
    name 'OUT MIXR DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.44 {
    iface MIXER
    name 'OUT MIXL SPK MIXL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.45 {
    iface MIXER
    name 'OUT MIXL BST1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.46 {
    iface MIXER
    name 'OUT MIXL INL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.47 {
    iface MIXER
    name 'OUT MIXL REC MIXL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.48 {
    iface MIXER
    name 'OUT MIXL DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.49 {
    iface MIXER
    name 'OUT MIXL DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.50 {
    iface MIXER
    name 'OUT MIXL DAC L1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.52 {
    iface MIXER
    name 'Stereo DAC MIXR DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.53 {
    iface MIXER
    name 'Stereo DAC MIXR ANC Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.55 {
    iface MIXER
    name 'Stereo DAC MIXL DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.56 {
    iface MIXER
    name 'Stereo DAC MIXL ANC Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.57 {
    iface MIXER
    name 'DAC R2 Mux'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 IF2
    control.63 {
    iface MIXER
    name 'LOUT MIX DAC L1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.64 {
    iface MIXER
    name 'LOUT MIX DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.65 {
    iface MIXER
    name 'LOUT MIX OUTVOL L Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.66 {
    iface MIXER
    name 'LOUT MIX OUTVOL R Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.68 {
    iface MIXER
    name 'SPOR MIX SPKVOL R Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.69 {
    iface MIXER
    name 'SPOR MIX BST1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.72 {
    iface MIXER
    name 'SPOL MIX SPKVOL R Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.73 {
    iface MIXER
    name 'SPOL MIX SPKVOL L Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.74 {
    iface MIXER
    name 'SPOL MIX BST1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.75 {
    iface MIXER
    name 'SPK MIXR REC MIXR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.76 {
    iface MIXER
    name 'SPK MIXR INR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.77 {
    iface MIXER
    name 'SPK MIXR DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.78 {
    iface MIXER
    name 'SPK MIXR DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.79 {
    iface MIXER
    name 'SPK MIXR OUT MIXR Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.80 {
    iface MIXER
    name 'SPK MIXL REC MIXL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.81 {
    iface MIXER
    name 'SPK MIXL INL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.82 {
    iface MIXER
    name 'SPK MIXL DAC L1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.83 {
    iface MIXER
    name 'SPK MIXL DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.84 {
    iface MIXER
    name 'SPK MIXL OUT MIXL Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.85 {
    iface MIXER
    name 'DIG MIXR DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.86 {
    iface MIXER
    name 'DIG MIXR DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.87 {
    iface MIXER
    name 'DIG MIXL DAC L1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.88 {
    iface MIXER
    name 'DIG MIXL DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.89 {
    iface MIXER
    name 'Mono DAC MIXR DAC R1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.90 {
    iface MIXER
    name 'Mono DAC MIXR DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.91 {
    iface MIXER
    name 'Mono DAC MIXR DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.92 {
    iface MIXER
    name 'Mono DAC MIXL DAC L1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.93 {
    iface MIXER
    name 'Mono DAC MIXL DAC L2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.94 {
    iface MIXER
    name 'Mono DAC MIXL DAC R2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.95 {
    iface MIXER
    name 'DAC MIXR Stereo ADC Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.97 {
    iface MIXER
    name 'DAC MIXL Stereo ADC Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.99 {
    iface MIXER
    name 'SDI select'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 IF1
    item.1 IF2
    control.101 {
    iface MIXER
    name 'Mono ADC MIXR ADC1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.102 {
    iface MIXER
    name 'Mono ADC MIXR ADC2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.103 {
    iface MIXER
    name 'Mono ADC MIXL ADC1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.104 {
    iface MIXER
    name 'Mono ADC MIXL ADC2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.105 {
    iface MIXER
    name 'Stereo ADC MIXR ADC1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.106 {
    iface MIXER
    name 'Stereo ADC MIXR ADC2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.107 {
    iface MIXER
    name 'Stereo ADC MIXL ADC1 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.108 {
    iface MIXER
    name 'Stereo ADC MIXL ADC2 Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.109 {
    iface MIXER
    name 'Mono ADC R2 Mux'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 'DMIC R1'
    item.1 'DMIC R2'
    item.2 'Mono DAC MIXR'
    control.110 {
    iface MIXER
    name 'Mono ADC R1 Mux'
    value 'Mono DAC MIXR'
    comment {
    access 'read write'
    type ENUMERATED
    count 0
    item.0 'Mono DAC MIXR'
    item.1 ADCR
    control.111 {
    iface MIXER
    name 'Mono ADC L1 Mux'
    value 1
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 'Mono DAC MIXL'
    item.1 ADCL
    control.112 {
    iface MIXER
    name 'Mono ADC L2 Mux'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 'DMIC L1'
    item.1 'DMIC L2'
    item.2 'Mono DAC MIXL'
    control.114 {
    iface MIXER
    name 'Stereo ADC2 Mux'
    value 0
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 DMIC1
    item.1 DMIC2
    item.2 'DIG MIX'
    control.115 {
    iface MIXER
    name 'RECMIXR HPOR Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.116 {
    iface MIXER
    name 'RECMIXR INR Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.117 {
    iface MIXER
    name 'RECMIXR BST2 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.118 {
    iface MIXER
    name 'RECMIXR BST1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.119 {
    iface MIXER
    name 'RECMIXR OUT MIXR Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.120 {
    iface MIXER
    name 'RECMIXL HPOL Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.121 {
    iface MIXER
    name 'RECMIXL INL Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.122 {
    iface MIXER
    name 'RECMIXL BST2 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.123 {
    iface MIXER
    name 'RECMIXL BST1 Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    control.124 {
    iface MIXER
    name 'RECMIXL OUT MIXL Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    # WARNING
    # !!WARN!! BUZZ ANS BREAK EVERYTHING UNTIL REBOOT !!!!!!!
    control.113 {
    iface MIXER
    name 'Stereo ADC1 Mux'
    value 1
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 'DIG MIX'
    item.1 ADC
    and you can load it by doing
    alsactl -f asound.state restore
    To change the values, you have to edit the field "value" of a control and reload the config file with the precedent command. I tried to comment it, but I didn't test any microphone, because I didn't need it currently. We are supposed to have 2 microphones : internal and via the jack. I think it's possible, but I don't have any jack microphone, so if you need it, try to change the different settings and tell me if you find something.
    I don't think any GUI, will manage to make the sound control work (even in alsamixer, it's a big mess), because there is no convention followed.
    To be continued
    Last edited by Ziqumu (2015-05-30 20:06:48)

    I had still freeze with uxa. I still don't have any freeze with disabled acceleration. But I also have the flickering tty, but it's not a big problem as this is still usable and I don't often use it.
    Maybe when you tried, it was another bug that makes you freeze (with an older version of someting).. I don't know, I will write both solution on the topic.
    I've done some search on the touchpad : If you look at the device output (cat /dev/hidraw2 for me), you will see that the device don't send anything when you have two finger that touch the device (so it's not possible to use it as dualtouch). I think it's just a starting data that is send from Asus Smart Gesture under windows that start the Multi touch mode. I've start a vritual machine and I gave it the touchpad usb device (wich is also the keyboard... Usb bus 1 address 3) and I started the driver. Under windows it worked well with multitouch. I killed the virtual machine and I got back my keyboard but not the touchpad. I watch at /dev/hidraw2 and the touchpad now give information with two and more fingers (also it give immediatly data and not after a small lag like normally). After a restart it was gone as expected. I watched the usb driver with usbmon and wireshark and I tried to reproduce UsbHid exchange between computer and device but it didn't work. I still don't know why but I will continue to search.
    There is 3 sub device on the usb device mouse/keyboard. 0 is the keyboard, 1 the media key (fn keys except sound) from the keyboard, and 2 the touchpad. So if someone has time to works on media keys, I don't think this is verry difficult. (It's more difficult for the sound, win and sleep button on the screeen, because I didn't find any signals from it.
    I will try to work on a aur package that give our kernel with fixes this summer. (And maybe also a pre-builded version).
    Last edited by Ziqumu (2015-06-04 23:15:27)

  • Main circuit not found in spice netlist

    Hi all,
    I'm trying to import a .cir file for vishay 6N137, however I keep getting the error main circuit not found in spice netlist.  Does anyone know what is wrong with the spice file?  I've pasted it below.
    ** Spice3 Model **
    **  --  6n137,VO2601/11, VO0600/01/11 ---
    **  High speed 10 Mbd, NMOS output, enable- high
    **  12/02/2009 mfc
    ** test conditions:VCC=5V, RL=350, CL=15pF, IF=10mA
    ** characteristics: VF=1.4V, ITH=5mA, VEH=2V, VEL=0.8V
    ** VOL=0.6V, tpLH=TpHL=70nS, tr=22nS, tf=17nS
    ** Model Node - Symbol - Pin
    ** 1 (DA)       A          2
    ** 2 (DK)       K          3
    ** 3 (GND)    GND          5
    ** 4 (VO)       VO         6
    ** 5 (VE)       VE         7
    ** 6 (VCC)    VCC          8
    .SUBCKT 6N137  DA DK GND VO VE VCC
    DD1 DA 6         DEMIT
    vV1 6 DK  DC 0
    hH1 1 GND vV1 600  ;5mA -> 3.0V
    AU1.A  [1] [DU1.A]           ADC_A
    AU1    [DU1.C DU1.A] [DU1.Y] XBUF_H   ;DIGITAL BUF WITH CTL
    AU1.C  [VE] [DU1.C]          ADC_C
    AU1.Y  [DU1.Y] [2]           DAC_Y
    R1 2 5 1K
    R3 VCC VE 6.4K
    **QQ1 VO 5 GND Q_NPN          ;OC OUTPUT
    XQ1 VO 5 GND Q_NMOS           ;NMOS OUTPUT
    .MODEL    DEMIT   D
    +IS=1.69341E-12 RS=2.5 N=2.4  XTI=4
    +EG=1.52436 CJO=1.80001E-11 VJ=0.75 M=0.5 FC=0.5
    .MODEL Q_NPN  NPN
    + IS=100P BF=100 NF=1.0 BR=1.0 TF=0 TR=0 CJE=1P CJC=1P CJS=1P VAF=1.0E30
    .SUBCKT Q_NMOS 1 2 3
    CGS  2 3 12E-12
    CGD  1 2 6E-12
    M1 1 2 3 3 MOST1 W=9.7M L=2U
    .MODEL MOST1 NMOS(LEVEL=3 KP=25U VTO=2 RD=45)
    .ENDS
    .MODEL XBUF_H D_CHIP ( BEHAVIOUR= "
    +; BUFFER W/ H-ENABLE 3-STATE CONTROL, 100 NS L-H(RISE) H-L(FALL) DELAY
    +/INPUTS C A
    +/OUTPUTS Y
    +/TABLE 2
    +; C  A  Y
    +  L  X  Z
    +  H  X  A
    +/DELAY 1
    +;INPUT OUTPUT RISE_DELAY FALL_DELAY
    +   A     Y        50N       50N
    +/CONDITIONAL_DELAY 4
    +;EVENT TO CONDITION OUTPUT MIN/MAX TIME
    +   ZH  C   (C=L)    Y     MAX     0
    +   ZL  C   (C=L)    Y     MAX     0
    +   HZ  C   (C=H)    Y     MAX     0
    +   LZ  C   (C=H)    Y     MAX     0
    +")
    .MODEL ADC_A ADC_BRIDGE (IN_LOW= 2.8 IN_HIGH = 3.0 )
    .MODEL ADC_C ADC_BRIDGE (IN_LOW= 0.8 IN_HIGH = 2.0 )
    .MODEL DAC_Y DAC_BRIDGE (OUT_LOW= 0 OUT_HIGH = 4.0 OUT_UNDEF = 0)
    .ENDS 6N137
    **==================================================================*
    * Note:                                                             *
    * Altough models can be a useful tool in evaluating device          *
    * performance, they cannot model exact device performance           *
    * under all conditions, nor are they intended to replace            *
    * breadboarding for final verification!                             *
    * Models provided by VISHAY Semiconductors GmbH are not             *
    * as fully representing all of the specifications and operating     *
    * characteristics of the semiconductor product to which the         *
    * model relates.                                                    *
    * The models describe the characteristics of typical devices.       *
    * In all cases, the current data sheet information for a given      *
    * device is the final design guideline and the only actual          *
    * performance specification.                                        *
    * VISHAY Semiconductors does not assume any liability arising       *
    * from the model use. VISHAY Semiconductors reserves the right to   *
    * change models without prior notice.                    *
    **==================================================================*

    Hi everyone!
    I am having the same problem with this spice code
    I follwed the instructions in the NI Whitepaper www.ni.com/white-paper/3173/en/
    Can anybode help? Thank you very much
    * AMP04 SPICE Macro-model
    * Description: Amplifier
    * Generic Desc: BiPolar, InAmp, LoPwr, single supply
    * Developed by: JCB / PMI
    * Revision History: 08/10/2012 - Updated to new header style
    * 1.0 ( 05/1994)
    * Copyright 1994, 2012 by Analog Devices, Inc.
    * Refer to http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.h... for License Statement. Use of this model
    * indicates your acceptance of the terms and provisions in the License Statement.
    * BEGIN Notes:
    * Not Modeled:
    * Parameters modeled include:
    * END Notes
    * Node assignments
    * Rgain1
    * | IN-
    * | | IN+
    * | | | V-
    * | | | | REF
    * | | | | | Vout
    * | | | | | | V+
    * | | | | | | | Rgain2
    * | | | | | | | |
    .SUBCKT AMP04 1 2 3 4 5 6 7 8
    * INPUT STAGE
    R1 2 9 2E3
    R2 9 11 2E9
    R3 11 12 2E9
    R4 3 12 2E3
    IB1 2 98 22E-9
    IB2 3 98 21E-9
    VOS 12 13 25E-6
    D1 9 10 DY
    D2 1 10 DY
    D3 12 14 DY
    D4 8 14 DY
    * 1ST AMP GAIN STAGE, POLE AT 0.44 HZ
    EREF 98 0 (60,0) 1
    G1 98 15 9 1 1E-3
    R5 98 15 1E9
    C1 98 15 362E-12
    * SECOND POLE AT 1 MHZ
    G3 98 16 15 98 1E-6
    R6 98 16 1E6
    C2 98 16 159E-15
    * OUTPUT STAGE
    E2 22 98 16 98 1
    R14 22 1 200
    * 2ND AMP GAIN STAGE, POLE AT 0.44 HZ
    G2 98 17 13 23 1E-3
    R7 98 17 1E9
    C3 98 17 362E-12
    * SECOND POLE AT 1 MHZ
    G4 98 18 17 98 1E-6
    R8 98 18 1E6
    C4 98 18 159E-15
    * CMRR STAGE
    E1 98 19 POLY(2) (2,98) (3,98) 0 5 5
    R9 19 20 1E6
    R10 20 98 1
    * OUTPUT STAGE
    E3 21 98 18 98 1
    R11 21 8 11E3
    R12 21 23 11E3
    R13 23 5 100.2E3
    * OUTPUT AMPLIFIER INPUT STAGE & POLE AT 10 KHZ
    R15 29 4 5.16E3
    R16 28 4 5.16E3
    I1 7 30 10UA
    EOS 27 3 POLY(1) 20 98 30E-6 1
    Q1 29 8 30 QX
    Q2 28 27 30 QX
    R20 8 6 100.2E3
    CIN 28 29 20E-12
    * SECOND GAIN STAGE AND SLEW CLAMP
    R71 31 98 1E6
    G71 98 31 28 29 48.2E-6
    D30 31 32 DX
    D40 33 31 DX
    E10 7 32 POLY(1) 7 98 -0.5 1
    E20 33 4 POLY(1) 98 4 -0.5 1
    * OUTPUT STAGE
    RS1 7 60 1E6
    RS2 60 4 1E6
    ISY 7 4 0.124E-3
    G7 34 36 31 98 5.5E-06
    V3 35 4 DC 6
    D7 36 35 DX
    VB2 34 4 1.6
    R22 37 36 1E3
    R23 38 36 500
    C6 37 6 50E-12
    C7 38 39 50E-12
    M1 39 36 4 4 MN L=9E-6 W=1000E-6 AD=15E-9 AS=15E-9
    M2 45 36 4 4 MN L=9E-6 W=1000E-6 AD=15E-9 AS=15E-9
    D8 39 47 DX
    D9 47 45 DX
    Q3 39 40 41 QPA 8
    VB 7 40 DC 0.761
    R24 7 41 375
    Q4 41 7 43 QNA 1
    R25 7 43 50
    Q5 43 39 6 QNA 20
    Q6 46 45 6 QPA 20
    R26 46 4 23
    Q7 36 46 4 QNA 1
    M3 6 36 4 4 MN L=9E-6 W=2000E-6 AD=30E-9 AS=30E-9
    .MODEL QNA NPN(BF=253)
    .MODEL MN NMOS(LEVEL=3 VTO=1.3 RS=0.3 RD=0.3 TOX=8.5E-8
    + LD=1.48E-6 WD=1E-6 NSUB=1.53E16 UO=650 DELTA=10 VMAX=2E5
    + XJ=1.75E-6 KAPPA=0.8 ETA=0.066 CJ=0 L=9E-6 W=2000E-6)
    .MODEL QPA PNP(BF=61.5)
    .MODEL QX PNP(BF=12500)
    .MODEL DX D
    .MODEL DY D(BV=6.0)
    .ENDS

  • Help setting up Flash Builder 4.5 for PHP

    I am looking for a concise set of steps for setting up ALL requirements for running Flash Builder 4.5 for PHP.  I have been fighting for three days to get the TestDrive example up and running, with no success.  At every step of the way I have encountered problems.  I fought for a day and a half with MySQL.  Then I fought for another day with PHP (Liip).  Then I fought for another day with Zend.  All along the way I have fought problems with Flash Builder and Flash Builder for PHP.  I've had to relearn all of my UNIX shell commands (it's been a few years).  I've tried using a remote server at 000webhost.com.  I've tried using an old laptop for a server.  I finally ended up trying to do it all on my main laptop.  I have completely given up and am ready to dump my project altogether.  Forget my students.  They'll just have to live without what would have been a fantastic new way of learning.
    HELP!!!

    Hi There,
    I do not have a 'concise' answer for you - in fact I am not using FB 4.5 for PHP.  I started using FB 4  around 8 months ago.  I installed a 'WAMP' thing, called 'EasyPHP'.  That actually went pretty smoothly.  I did the whole thing on my personal laptop running Windows 7.  I 'hooked up' FB to the PHP side using the built in data services wizards and such, as I imagine you are trying to do.  I too had to 'fight' a bit, but found most of the answers scattered around the Internet.  Had to tweak a few settings here and there in various files, and viola, it worked.
    I have resisted upgrading to 4.5, and especially the 4.5 "for" PHP, only becuase of the great expense.  It seems like a lot of money to pay for 'integrated, round-trip debugging'.  I already can debug the PHP side 'independently' of the FB side (from inside the Eclipse+PHP plugin free toolset), which, for most SQL situations is good enough. I simply set up a 'test page' in PHP and use that to 'call' the various functions I write.
    On the FB side, I gave up on using the 'built in data services wizard thingies' because they simply could not get the data-type mappings correct between the two sides.  Also, the "value objects" things (really just a fancy data-object class definition) seeme overly complex and inflexible, i.e., they would re-code themselves after every change I made to the PHP side.  I prefer a more 'lean' approach, and one that I control 100%.  So far I am able to do everything I need using my own 'value objects' (simple classes).
    So...as you can see, I may not be able to help much, but, if you can explain some of the details of what is failing, maybe I can provide a bit of assistance.  From what I understand, the big difference between 4.5 and 4.0, at least on the PHP side, is that the 'introspector' is a bit more accurate now and of couse there is the 'round-trip' debugging and 'awareness of each other's objects/definitions' while in PHP or FB.
    Finally, as best I can tell, after 8 months of 'experimenting' with Flex and PHP, there are simply not many people doing it, or, at least not that many doing it that participate on this forum and who have practical experience, especially with the more 'recent' releases, i.e., 4.0, 4.5.  I would encourage you to scan the rest of the Internet...there *is* knowledge out there...but it can difficult and slow to get.
    -David

  • Script access for loaded SWFs in Flash CS3

    In ActionScript 2 I would do the following:
    var loader:MovieClipLoader=new MovieClipLoader();
    var listener:Object=new Object();
    loader.addListener(listener);
    listener.onLoadInit=function(m:MovieClip) {
    m.something="12345";
    loader.loadClip("foo.swf",placeholder);
    What is the equivalent for this in ActionScript 3? I can load
    a MovieClip with the Loader class, but I don't know how to get or
    set one of the variables in the root timeline.

    So long as the movie you loaded in is also AS3, you can just
    type the name of the loader object and then use dot syntax to grab
    the variable. If the loaded movie is AS2, you are a great deal more
    limited. I don't think you lose all control 100% over the lodaed
    movie but I think it takes leaps and bounds to get at the AS2
    vars.

  • Use of images in templates

    One of the things that has always bothered me about Apex templates is that they use IMG tags (extensively!) instead of pure CSS. This makes it harder to switch look-n-feel by switching stylesheets.
    Take the example of the Reports Region template in Theme 10 (the theme I use the most)
    The template has
    < img src="#IMAGE_PREFIX#themes/theme_10/region_left_top.gif" alt=""/>This should (IMHO) be
    < span class="t10ReportsRegion_left_top top_dims">& nbsp;< /span>and the stylesheet should have
    span.t10ReportsRegion_left_top {
    background-image:url(#IMAGE_PREFIX#themes/theme_10/region_left_top.gif);
    span.top_dims {
    display:block;
    width:7px;
    height:21px;
    }This makes the page HTML markup semantically "pure" and the look-n-feel is controlled 100% by CSS (as it should be).
    I changed the Reports Region template to do this at http://htmldb.oracle.com/pls/otn/f?p=24317:21 and it works fine.
    Yes, it is a lot of work and there is really no real advantage to be gained unless all the templates in all the themes are made IMG-free but I think the benefit is worth it as we start to build more dynamic look-n-feel applications with changeable "skins" as we talk about recently on other threads.
    Thanks

    Hello,
    Ah but IE even IE 7 does not correctly cache background-images so what you end up with is a page in IE that has to load the images every time which increase page weight, slows page loading and puts a bad flicker on the screen. You can even see this in some of the themes and the builder on slower connections in IE.
    It's just another one of those things someone needs to write Mr. Gates about
    Carl

  • Using Blackberry in Germany

    I am interested in buying a blackberry, because I am going to study in Germany for a year. I am going to get a German pay as you go sim card, but I would like to be able to use the free email and chat options to stay in touch with my friends and family. Is this possible on pay as you go - such as paying a monthly fee? Or do you need to have a contract in order to enjoy these options?
    Thank you 

    Hi and Welcome to the Forums!
    With hundreds of carriers in the world with dozens of plans each, it's impossible to say for sure. Here is generic information, though:
    http://www.blackberryfaq.com/index.php/What_do_I_need_a_Data_Plan_for%3F
    I suggest you review exactly the services you desire and then research the German carriers to see if they have a plan that will provide you with exactly those services or if compromises need to be made. They (the carrier) control 100% of the services you can have on your BB.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • BBM Running but Not Social App

    Hi,
    I have Social bundle activated on my phone. I am able to access BBM however can't login on Facebook & galk.
    Get an error message "you are currently on service plan does not support this service"
    Please help if there is some issue with setting
    PS: Aircel customer care doesnt have remote info bout BB phones.
    Carrier: Aircel
    Handset: Curve 9300

    Hello,
    ALL of your services are delivered to you by your mobile service provider...no one else is involved. With hundreds of carriers in the world, each with dozens of different data plans, it's impossible to tell you exactly what should or should not work...only your mobile service provider can answer that. But, if you mean that Aircel is not a proper BB-supporting mobile service provider, then there are a large number of services that are BB-proprietary and will not be available to you as they require a BIS data plan, and if Aircel cannot deliver BIS to you, then those services simply will not be available to you under any circumstances.
    Anyway, ring them up again and don't let them fob you off...they indeed do control 100% of the services that you can have. No one else.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need details for GRC Certification and Materials.

    Please let me know the GRC Access Control Certifications and the materials for preparation.
    Thanks in advance.
    regards
    Selvin J Dhina

    Hi Selvin,
    Please go through the below link you will get some idea.
    https://training.sap.com/shop/certification/c_grcac_10-sap-certified-application-associate---sap-businessobjects-access-control-100-g/
    Regards,
    Neeraj Agarwal

  • Derivation strategy for each regional office

    Hi All,
    We activated Budget Availability control at Head Quarters. One of regional office is not having budget so they dont want budget control. If i am not entering budget in FMBB transaction then system throwing error for regional office. How i can do control exception for particular regional office. We are maintaining one company code for all Regional offices.
    Regards,
    sree

    Hello,
    Is ot possible for you to identify the regional office based on the budget address?
    If yes, you should create a specific tolerance profile without any AVC control (100% tolerance, no warning, no error message) ; in addition to the tolerance profile you already defined with controls.
    You can use a derivation strategy for tolerance profiles ( target field as TOLPROF) : if the posting is done for the regional office, the derivation strategy for tolerance profile will call the tolerance profile without any control and no messages will be sent to the user.
    I hop it helps.
    Helene

  • Windows Embedded Standard (WSE) 2009

    I guess Windows XPe (XP Embedded) no longer exist.  Has anyone tried to run a LabVIEW application on Windows Embedded Standard?  Any reason to think that LabVIEW won't work?  I would like to hear from a developer who has tried WSE out with LabVIEW.
    Thanks!
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    mfitzsimons wrote: 
    It is NI's official policy that they do not support WSE and LabVIEW.  You are on your own if you choose to go down this path.  I am sure there are limits but haven't found them yet.
    It is NI policy not to support anything that they can not control 100%. Since they can not control which OS components you may add or not add in your embedded system. NI have chosen to not support the WSE "officially". The main reason is that it is very hard to give support to such systems on general basis.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

Maybe you are looking for