| Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 23 Nov 2006, 11:40 Post subject:
USB Headphone Puppy 2.12 |
|
Using the new USB Configuration viewer in Puppy 2.12
I was able to see my USB Headphones
Here is what came up:
| Code: | C-Media USB Headphone Set
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0d8c
Product Id: 000c
Revision Number: 1.00
Config Number: 1
Number of Interfaces: 4
Attributes: a0
MaxPower Needed: 100mA
Interface Number: 0
Name: (none)
Alternate Number: 0
Class: 01(audio)
Sub Class: 1
Protocol: 0
Number of Endpoints: 0
Interface Number: 1
Name: (none)
Alternate Number: 0
Class: 01(audio)
Sub Class: 2
Protocol: 0
Number of Endpoints: 0
Interface Number: 1
Name: (none)
Alternate Number: 1
Class: 01(audio)
Sub Class: 2
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 01
Direction: out
Attribute: 9
Type: Isoc
Max Packet Size: 200
Interval: 1ms
Interface Number: 2
Name: (none)
Alternate Number: 0
Class: 01(audio)
Sub Class: 2
Protocol: 0
Number of Endpoints: 0
Interface Number: 2
Name: (none)
Alternate Number: 1
Class: 01(audio)
Sub Class: 2
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 82
Direction: in
Attribute: 5
Type: Isoc
Max Packet Size: 100
Interval: 1ms
Interface Number: 3
Name: (none)
Alternate Number: 0
Class: 03(HID )
Sub Class: 0
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 83
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 4
Interval: 32ms |
looking in
/proc/bus/usb/devices
I found this text
| Code: | T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.18.1 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:07.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=0840 Rev= 1.00
S: Product=Camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
E: Ad=82(I) Atr=03(Int.) MxPS= 1 Ivl=16ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.18.1 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0d8c ProdID=000c Rev= 1.00
S: Product=C-Media USB Headphone Set
C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=01(O) Atr=09(Isoc) MxPS= 200 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=82(I) Atr=05(Isoc) MxPS= 100 Ivl=1ms
I: If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 4 Ivl=32ms |
eh . . .? I could not get the headphones working
but maybe the info will be of some use to those who might be able to advise me on how to?
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
trapster

Joined: 28 Nov 2005 Posts: 1966 Location: Maine, USA
|
Posted: Sat 25 Nov 2006, 11:36 Post subject:
|
|
Lobster,
Have you gotten any usb sound device to work or is it just the headphones?
I finally got a usb FM transmitter to finally work in puppyoffice203CE (haven't tried it yet in 212).
To get it to work in Puppy203 i had to:
modprobe snd-usb-audio
Then I had to choose the usb audio device from the configuration in whatever sound program I was using. I believe it was xmms.
I'm not sure if this works in 212.
_________________ trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install:Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Puppeee-1.0 AND lupu52 w/ fluxbox
|
|
Back to top
|
|
 |
pakt

Joined: 04 Jun 2005 Posts: 1089 Location: Sweden
|
Posted: Sat 25 Nov 2006, 12:21 Post subject:
|
|
Lobster, I'm not sure if I can help you, but I have an idea.
Du you have a recent Knoppix live-CD laying around? If so, you could see if you can get your headphones working in that. Perhaps in combination with Skype.
If you do get the headphones to work, run 'lsmod' and note which modules are loaded. Perhaps you then can try loading the same modules when you are again in Puppy.
Another thing to think about is that the mixer setting for the headphones isn't turned-off or low.
Hope you get it working
Paul
_________________ Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart 
|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Sat 23 Dec 2006, 03:59 Post subject:
|
|
I just got my usb soundcard with headphones going tonight in 2.12
If you haven't got it going yet, do this:
modprobe snd-usb-audio
alsamixer -c 1 # (1 is a zero if you have no other card or your other card if you have one)
Now, TURN THAT THING DOWN!!! Mine was VERY loud and the volume icon in the tray didn't work (no fault of it, as I had two sound card now). What actually surprised me was that gxine's volume control didn't work afterwards (perhaps this was due to some other testing).
open gxine and change output device to hw:1,0
Open media with gxine and listen through headphone.
I got the info for this from this forum and here:
http://www.fuschlberger.net/usb-audio/
He has additional information about skype that I don't know much about.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sat 23 Dec 2006, 14:39 Post subject:
|
|
Thanks guys will try some of your suggestions in Puppy Star Beta
http://puppylinux.org/wikka/Puppy213
Yes I have USB devices working - for example my keydrive
and my SD reader
but not bluetooth - yet
Happy Christmas
Be Kind to the Turkey - Oops too late . . . roasted . . .
We are having Lobster (Yes Lobsters are cannibals on occasion)
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
amish
Joined: 24 Sep 2006 Posts: 616
|
Posted: Sat 23 Dec 2006, 18:27 Post subject:
|
|
| Lobster wrote: |
We are having Lobster (Yes Lobsters are cannibals on occasion) |
be nice to him!
instead of just boiling the poor little bugger alive, at least slice his head open in half like this:
|\
\ /
(|) <- in the middle
()
()
()
=
==
so he won't feel it... or, smash his head in or at least grab him and give his head a good hard slam against the counter to stun him.
the latter method works on eels before boiling them... all are gruesome, but any should be more humane than just dropping him in the water and the slicing method is a standard culinary alternative to just boiling them.
| Quote: | | Buddhism does consider animals to be lower in status than humans, but at the same time, it totally rejects the idea that inferior ability or wisdom are reasons to enslave, kill or to treat beings cruelly." | http://en.wikipedia.org/wiki/Releasing_life
sorry for the offtopic. just trying to be as kind to the lobsters as possible
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 27 Dec 2006, 10:42 Post subject:
|
|
John Doe
I did this
modprobe snd-usb-audio
alsamixer -c 1 # (1 is a zero if you have no other card or your other card if you have one)
open gxine and change output device to headphone2
I then clicked on wav files in puppy-reference/audio
and even recorded a message in dogbone using the mic
HOWEVER I must have done something else . . .
because when I rebooted and went through the process again
nothing [shrug]
on the right track though . . .
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Mon 08 Jan 2007, 03:19 Post subject:
|
|
I did a reboot tonight after using my USB sound device successfully and it didn't work either.
Although I did also do a full shut down, started up, repeated and it did work.
Subsequent reboots have not repeated the failure.
Perhaps we both go unlucky the first try. Try again under the control conditions I mentioned and see if that works.
I've had similar variances with my wireless network and also dhcpcd.
|
|
Back to top
|
|
 |
bobble991
Joined: 22 May 2007 Posts: 10 Location: Scotland
|
Posted: Wed 23 May 2007, 15:36 Post subject:
|
|
Thanks for this tutorial. I can confirm that the external soundblaster 24 bit works beautifully with this method.I couldn't get it to work with gxxine though, I used xmms. I have a hard drive install of teenpup 2.10 and nothing is getting saved so I have to do this each session. I lose all network settings as well. Can anyone suggest how to fix this?
Bob
|
|
Back to top
|
|
 |
John Doe
Joined: 01 Aug 2005 Posts: 1689 Location: Michigan, US
|
Posted: Wed 23 May 2007, 17:01 Post subject:
|
|
The fix for the thread is here now:
http://www.murga-linux.com/puppy/viewtopic.php?t=15188
Modify your alsawizard, run it and select USB Sound Device. Your settings will be saved and USB will be your default sound device.
The tray volume control and most media player controls will not work anymore. Do to reasons I mention in that thread.
| Quote: | | Here is further clarification on the issue. The main problem turns out to be that the snd-usb-audio driver doesn't support the SOUND_MIXER_VOLUME (0) channel, it DOES support the SOUND_MIXER_MIC (7) channel which I thought was odd. So the code now basically tries setvol first and, if it fails because that channel isn't present, tries to use amixer instead. |
Unfortunatly Rarsa had been working on a much newer version of the tray app when I was working on those changes (in that thread). I'll try some day to redo them with the latest version.
|
|
Back to top
|
|
 |
bobble991
Joined: 22 May 2007 Posts: 10 Location: Scotland
|
Posted: Fri 25 May 2007, 15:04 Post subject:
|
|
John,
I have tried the method in the other thread. You will see my problem at the bottom of that thread. No device found by alsa wizard but can play audio files via gxine no prob. Device shows up in usbview as SB LIVE! EXTERNAL 24-bit external. No system sounds which I would love to hear. Thanks for the pointers. I have full clean hard drive install of puppy 2.15ce. System is quite old (1ghz processor 348 meg of ram on a qdi mobo) amixer scontrols reports one mono pcm channel.
I have never enjoyed ANY other operating system this much and am thouroughly enjoying trying to get my brain working again.
Bob
|
|
Back to top
|
|
 |
|