Re: [Line6linux-user] The HD500
Status: Pre-Alpha
Brought to you by:
mgrabner
|
From: Sébastien C. <nes...@gm...> - 2011-10-24 17:13:02
|
I finally had some time to work on this. I did a little snooping, with > > USB snoop, and I have done some work deciphering the tone data. > > >> The audio looks like it is probably similar to the X3 and X3PRO, since > > it uses the same end points (0x02 and 0x86), while all the other PODs > > appear to use other endpoints. However, it looks like X3 and X3PRO > > support in the driver is incomplete. I added the HD500's USB ID to the > > driver. When I plug in the HD500 I get 2 card directories in > > /proc/asound, but these devices are not listed in /proc/asound/devices > > or /proc/asound/cards. I'm not that familiar with the Linux USB and ALSA > > mechanisms, so it might take quite a bit of study for me to get much > > further. > > >> The control also looks like it may resemble the X3 and X3PRO, as it uses > > the same end points (0x01 and 0x81). I can follow the control > > information with my limited USB knowledge. I've done quite a bit of work > > figuring out the details of the tone data. The data exchanged with the > > POD is basically the same as the data stored in the tone files. They > > byte reverse all the floating point values in the files, and a few bits > > seem to be different, but the great majority is the same. I worked my > > way through the parameters and I now know what most of the data in the > > tone files actually means. I have a crude program which can dump it out. > > >> If there is any available information which might help make the audio > > spring to life, that would be extremely useful. > > >> Steve > > I've also tried that and same result . I added : #define LINE6_DEVID_PODHD500 0x414d #define LINE6_BIT_PODHD500 (1 << 17) to the usbdefs.h and added thos to driver.c and pcm.c just below the LINE6_DEVID_PODX3 ones A card5 (that's correct) directory is created under /proc/asoundrc/ but the card isn't registered in alsa ll /proc/asound/card5/ total 0 dr-xr-xr-x 3 root root 0 24 oct. 19:04 pcm0c dr-xr-xr-x 3 root root 0 24 oct. 19:04 pcm0p ll /proc/asound/card5/pcm0c/ total 0 -r--r--r-- 1 root root 0 24 oct. 19:04 info dr-xr-xr-x 2 root root 0 24 oct. 19:04 sub0 cat /proc/asound/card5/pcm0c/info card: 5 device: 0 subdevice: 0 stream: CAPTURE id: POD HD500 name: POD HD500 subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 cat /proc/asound/card5/pcm0c/sub0/status closed cat /proc/asound/card5/pcm0c/sub0/hw_params closed cat /proc/asound/card5/pcm0c/sub0/sw_params closed I'll post an usb snoop later |