Jump to content











Photo
- - - - -

Specific Driver Help?


  • Please log in to reply
21 replies to this topic

#1 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 25 June 2011 - 08:34 PM

I'm kind of new to winbuilder (was a bartpe, so, i guess not really THAT new, still...)

I'm currently have a build that works, now i adding to it. My problem is this...
Using driver import PE AE to import the inf in the following zip...USBHeadset.zip

The odd thing is that it imports it, but there's a delay after it finishes, and worse explorer's taskbar is locked in the busy status. Even when i go to the taskmanager and kill process "explorer" it acts like it killed, but its still there. Originally, the structure was mimicked from Windows7,

drmk.sys (system32\drivers)
portcls.sys (system32\drivers)
USBaudio.sys (system32\drivers)
SysfxUi.dll ---system32
wdma_usb.inf ---inf
wdma_usb.inf.bak (original inf file)

I searched for XP equivalent, ran the inf thru "inf cleanup"(the backup is there for comparsion). So, my question is...Did i miss something???

Edited by wimmaker, 25 June 2011 - 08:37 PM.


#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 25 June 2011 - 10:29 PM

As far as i know, neighter Win7PE_SE nor LiveXP require any drivers to use USB-Audio.
But if LiveXP does not come with the needed drivers, Win7 ones surely will not do. You will need the drivers from the XP install CD.

:unsure:

#3 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 26 June 2011 - 12:14 AM

You will need the drivers from the XP install CD.


To that end, i did search and i did find the "wmda_usb.in_".
however, even after expanding and trying again with that one.
the symptoms are still the same...




as to why i would this....you'll laugh:
I would like to listen thru the usb port since some of the PCs i work on; namely those with damaged hard drives and with unique speakers, due to troubleshooting based on hardware, but with plenty of ram. i would like to listen to tracks while i work on damaged hard drive.(namely from the source drive my wim is on.)

Edited by wimmaker, 26 June 2011 - 12:17 AM.


#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 26 June 2011 - 12:13 PM

Nothing to laugh about. I too prefer to have some music, when doing some hidious annoying task, though i opt for internet radio.

If LiveXP has the USB-Audio drivers not included, as it seems, you will need to add them.
This is not just the inf, but also all files named in the inf.

If you have a Computer with XP, just connect the Headset and look in the taskmanager for your headset. Click on properties \ driver tab \ driver details button - here you will find all files needed to get your headset working.

:thumbsup:

#5 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 26 June 2011 - 06:01 PM

If LiveXP has the USB-Audio drivers not included, as it seems, you will need to add them.
This is not just the inf, but also all files named in the inf.

If you have a Computer with XP, just connect the Headset and look in the taskmanager for your headset. Click on properties \ driver tab \ driver details button - here you will find all files needed to get your headset working.


That was how i found the structure and file names. What i don't understand is why explorer semi-locks up? the files were there for import driver PE AE to use and copy/move to the right spots, and acts like its works, and also (after a little extended testing), it also locks up any app that accesses sound devices, (xmplay, sound control panel) worse even Explorer++ behaves like explorer. The only explorer-like app that doesn't lock up is "xplorer2".

Edited by wimmaker, 26 June 2011 - 06:01 PM.


#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 26 June 2011 - 11:20 PM

I think we need to recap a few things. As i might misunderstood something.

- The drivers you used the first time around, which did lock up explorer, were meant for Win7. Yes / No ?
- You added only the inf file from XP to your LiveXP and it didn't give you sound. Yes / No ?

btw.
If LiveXP works anything like NaughtyPE and it should, it took the multimedia support from it, you don't need to add anything. You just need to rerun hardware detect, after LiveXP has booted up and you connected your headset.


:cheers:

#7 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 27 June 2011 - 12:44 AM

Hi wimmaker,

Fwiw, these USB audio drivers should be included in default build (they are in mine), unfortunately I don't have a USB audio device to test. I tried importing your XP drivers (Signature="$Windows NT$") and did not experience your issue but I also doubt they actually installed (no corresponding hardware). Does your audio (card) work prior to installing these drivers? Can't you just use a 'normal' audio plug e.g. 3-5mm stereo jack?

:cheers:

#8 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 27 June 2011 - 01:49 PM

@MedEvil

first question:i checked under properties/version/file version and there was no mentioning (win7_rtm.*) and i did searches for the xp versions of those drivers...

Second question:No sound came from the usb headset, but any app that can access speakers locks up, example xmplay's output option; and an example control panel sound properties.
i have yet to try your project yet, but i will...


@amalux

the files that were missing are the wmda_usb.inf and USBaudio.sys, and yes, it does. unfortunately, i have yet to find a pair of headphone like mine with a long cord to use, and i would rather not stare at the back of pc while working. which is why this post was started(although, it is rather useless if the usb ports are in the back... :dubbio:)

Edited by wimmaker, 27 June 2011 - 01:51 PM.


#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 27 June 2011 - 03:29 PM

wimmaker, try the following for a test.
Build a NaughtyPE without adding anything.
After it has booted up, connect your headset. Go to X:\Windows\system32 and run Start_HwPnP.cmd
This should give you sound. If not, we know that your headset is some special case, that needs to be investigated.

:dubbio:

#10 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 27 June 2011 - 10:05 PM

Update @ medevil

Did as you recommended and build a recommend NPE.
first time it was a "a service installation section in this inf is invalid"
error message. looked at the wdma_usb.inf and noticed that USBAudio.sys was not in the
system32 drivers folder. when back and rebuilt it with USBAudio.sys in the system32\drivers
and i still get the mention error. i also noticed that your setup build doesn't come with a updateinf (util to comment out the copy/move/delete section of inf) option like some the other builders. back when i was a bartpe cd person, i had trouble with my realtek speakers, and i tried applying what i learned back then to my current problem and its failing me, miserably...
any more suggestions? and thank you for putting up with me and my cluelessness(i guess i'm better that running OS, not building them...)

#11 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 27 June 2011 - 11:40 PM

Update @ medevil

Did as you recommended and build a recommend NPE.
first time it was a "a service installation section in this inf is invalid"
error message. looked at the wdma_usb.inf and noticed that USBAudio.sys was not in the
system32 drivers folder. when back and rebuilt it with USBAudio.sys in the system32\drivers
and i still get the mention error.

Don't understand, why USBAudio.sys, would be missing in your build. It gets not copied once, but twice in the default project. :smiling9:
When did you get that error message?

i also noticed that your setup build doesn't come with a updateinf (util to comment out the copy/move/delete section of inf) option like some the other builders.

Of course it is included in the project. If the inf or all inf are not processed, there is a problem with the build process.
Does the log show any errors?

:cheers:

#12 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 28 June 2011 - 12:37 AM

Don't understand, why USBAudio.sys, would be missing in your build. It gets not copied once, but twice in the default project. :smiling9:
When did you get that error message?

I forgot to check the actual system32(not system32\drivers) and i get that error when i go to device manager, and it show a yellow ! next to "audio device" (that had to be the headset as the realtek speaker inf and sys file were not copied...) right-clicked, update driver, pointed to X:\i386\inf folder. *working*, (a few seconds later,) error message

Of course it is included in the project. If the inf or all inf are not processed, there is a problem with the build process.
Does the log show any errors?

I'll build it again, and save the log this time....
*few minutes later*
log.zip
that's odd, now i can't find USBaudio.sys anywhere in the build..

Edited by wimmaker, 28 June 2011 - 12:51 AM.


#13 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 June 2011 - 12:28 PM

The log shows, that usbaudio.sys was successfully copied to system32\drivers. So i really don't understand, how it can be missing in your NPE. :smiling9:

i get that error when i go to device manager, and it show a yellow ! next to "audio device" (that had to be the headset as the realtek speaker inf and sys file were not copied...) right-clicked, update driver, pointed to X:\i386\inf folder. *working*, (a few seconds later,) error message

Unfortunately wrong conclusions. I see my sound card and my headset in the device manager in PE, eventhough only the headset works. Also updating the drivers with the device manager, may not work in this case. As USB devices exist in a device chain, in which all devices need to have drivers installed, for the last link to become operational.
In a PE the default driver install mechanism, which would trigger other needed driver installations, does not work.

To get the Headset operational, go to X:\Windows\system32 and run Start_HwPnP.cmd.

If that doesn't work, try running it another 2 or 3 times, before giving up.

btw. Do USB-Sticks work with NPE?


:cheers:

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 June 2011 - 01:58 PM

Sorry. Just realized that in the default setup, there is no Start_HwPnP.cmd but StartPnP.exe. Run the later instead.
If you want the speaker tray icon, run systray.exe afterward too.

:cheers:

#15 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 28 June 2011 - 05:00 PM

btw. Do USB-Sticks work with NPE?


I don't use a usb flashdrive per-se. my current empolyment is a 2GB microSD card(formatted and grub4dos installed) inserted into an standard adapter.
but, i fairly sure USB flashdrives work on the same theory...
(of course,i have heard that some are not successful)

p.s.
here is my current setup on my card(in case you're interested)...
{start of default menu(i never changed it)}
title NPE
map --mem /sources/FiraDisk.GZ (fd0) <-(i'm sure you know this, this hooks the next gz into ram...)
map --mem /sources/NPE.gz (0xFF) <-this actually cuts the size of iso roughly in half(if using gzip from UBCD4win)...
map --hook
chainloader (0xFF)
{rest of menu}

#16 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 28 June 2011 - 06:04 PM

well, my problem was solved. if you're interested in knowing, or you want to know something,
message me, and no promises, but i'll help out...

#17 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 June 2011 - 06:10 PM

I don't use a usb flashdrive per-se. my current empolyment is a 2GB microSD card(formatted and grub4dos installed) inserted into an standard adapter.
but, i fairly sure USB flashdrives work on the same theory...


My question went more in the direction, if you USB-headset gives you trouble, does at least USB-Sticks work or do they give trouble as well.
Just wanted to determine, how far the problems extend.
But since things work now, the above is mute.

:cheers:

#18 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 28 June 2011 - 06:18 PM

well, my problem was solved.

Can you share HOW it was solved? :cheers:

(this way this thread may become useful to someine else)

:cheers:
Wonko

#19 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 28 June 2011 - 07:00 PM

Can you share HOW it was solved?

well, i can't say that everyone will have the same results,
as it seems there were four things...
1)wmda_usb.inf in the inf folder
2)usbaudio.sys in the system32\drivers folder
3)(i don't think this is a step but it only works after this)plug in the headset in question
4a)locate "startpnp" and "systray"(in NPE)
4b)locate "StartHwpnp.cmd" and systray"(in NPE)

You may have compile a version of NPE to get Startpnp,but
steps 1-4 also worked on livexp...

Edited by wimmaker, 28 June 2011 - 07:00 PM.


#20 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 28 June 2011 - 08:09 PM

To make the solution really usable: "NPE = NaughtyPE"

Or simply put, if you wanna do something fancy with multimedia in a PE, LiveXP is not the best place to start. :cheers:

:cheers:

#21 wimmaker

wimmaker

    Member

  • Members
  • 55 posts
  •  
    United States

Posted 28 June 2011 - 09:41 PM

well, i can't say that everyone will have the same results,
as it seems there were four things...
1)wmda_usb.inf in the inf folder
2)usbaudio.sys in the system32\drivers folder
3)(i don't think this is a step but it only works after this)plug in the headset in question
4a)locate "startpnp" and "systray"(in NPE)
4b)locate "StartHwpnp.cmd" and systray"(in NPE)

You may have compile a version of NPE to get Startpnp,but
steps 1-4 also worked on livexp...

the last two line should have read like:
You may have compile a version of NPE to get Startpnp,but
steps 1-4 also worked on livexp if you copy over the four files...

#22 jani72

jani72
  • Members
  • 1 posts
  •  
    Finland

Posted 23 May 2012 - 10:40 AM

The log shows, that usbaudio.sys was successfully copied to system32\drivers. So i really don't understand, how it can be missing in your NPE. :confused1:


I had the same problem (usbaudio.sys not included). After some head scratching, the problem seems to be that the script is trying to expand usbaudio.sys from DRIVER.CAB. At least in my SP2 source the file is in SP2.CAB. So changing DRIVER.CAB to SP2.CAB in the script solved my problem.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users