Skip to contentSkip to conversation

Update to Audioscience asihpi driver

DISCUSSION Eliot Blennerhassett 2 participants 4 messages Dec 22, 2006 – Dec 28, 2006

lore
Share & tools
lore
#0 lore raw

Greetings,

Before 2006 is finished, heres an update...

Patch against alsa-driver hg revision 3207: (197K)
http://audioscience.com/internet/download/beta/alsa-driver-hg3207_asihpi30506.tar.bz2

Replacement contents for alsa-firmware/asihpi (1.3M)
http://audioscience.com/internet/download/beta/alsa-firmware_asihpi30506.tar.bz2

Based on
http://audioscience.com/internet/download/hpklinux-3.05.06.tar.bz2

Summary of changes: (see drvnotes_rc.txt included with the patch for full details)
* Update from hpklinux version 3.00 to 3.05.06
* Support 64 bit kernel
* Add ASI6600 PCI express, ASI6500 PCI cards
* Update ASI87xx for MPEG layer 2/3 record, Add PAL tv
* Add StreamRead/WriteBuf API,
* Fix error in ALSA capture parameters

regards

--
Eliot Blennerhassett
AudioScience Inc.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

At Fri, 22 Dec 2006 17:09:32 +1300,

Quoted 16 lines · Eliot Blennerhassett

Greetings,

Before 2006 is finished, heres an update...

Patch against alsa-driver hg revision 3207: (197K)
http://audioscience.com/internet/download/beta/alsa-driver-hg3207_asihpi30506.tar.bz2

Replacement contents for alsa-firmware/asihpi (1.3M)
http://audioscience.com/internet/download/beta/alsa-firmware_asihpi30506.tar.bz2

Based on
http://audioscience.com/internet/download/hpklinux-3.05.06.tar.bz2

Quoted 8 lines

Summary of changes: (see drvnotes_rc.txt included with the patch for full details)
* Update from hpklinux version 3.00 to 3.05.06
* Support 64 bit kernel
* Add ASI6600 PCI express, ASI6500 PCI cards
* Update ASI87xx for MPEG layer 2/3 record, Add PAL tv
* Add StreamRead/WriteBuf API,
* Fix error in ALSA capture parameters

Thanks for the patch. I applied it to HG tree.

But, it's basically too big to accept as a single patch. Such a big change is hard to review and trace. Please submit patches more frequently if possible. This will make our lives easier :)

Also, the conversion from u16 to HW16 isn't good from the kernel code perspective. The former is the standard variable type in the kernel code. I hope they will be reverted again in the future revision.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
Quoted 1 line · Takashi Iwai

Thanks for the patch. I applied it to HG tree.

Thanks Takashi,

Quoted 1 line

But, it's basically too big to accept as a single patch.

See below. Sorry about adding to your workload.

Quoted 2 lines

Such a big change is hard to review and trace. Please submit patches more frequently if possible. This will make our lives easier :)

We will try!

Quoted 3 lines

Also, the conversion from u16 to HW16 isn't good from the kernel code perspective. The former is the standard variable type in the kernel code. I hope they will be reverted again in the future revision.

Aaagh! My bad.

Here is an updated patch that has been through our "ALSA sanitization" process. It fixes the HW16 etc, and as a result is about 1/3 of the size, and I hope a bit easier to review.

http://audioscience.com/internet/download/beta/alsa-driver-hg3207_asihpi30506-2.tar.bz2
(No change to firmware)

If the previous patch can be backed out of Hg, that would be preferable though I understand if it is not possible.

regards

--
Eliot Blennerhassett
AudioScience Inc.

Summary of main changes
* all files
- convert some u32 to u32 *, for 64 bit eg u32 dwMemBase -> u32 * pMemBase

* hpi.h, hpifunc.c
- remove AES18 functions
- rework some data structures to accomodate 64 bit pointers

* asihpi.c
- adapt to new stream read/write api
- fix error in capture snd_pcm_hardware descriptor
- add more tuner bands
- remove obsolete aesebu clock control
- revise level meter return to be linear approx

* hpi56301.c
- remove support for ASI4400,4500,4600

* hpi6000.c
- remove unused debug code

* hpi6205.c
- add ASI6500 family

* hpios_linux_kernel.h
- correct block read/write macros

Rename hpios_linux.c to hpios_linux_kernel.c (matches hpios_linux_kernel.h) Remove unused files hpiman.c hpios_linux.[ch] radio-asihpi.c

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#3 lore raw

At Sat, 23 Dec 2006 15:55:44 +1300,

Quoted 27 lines · Eliot Blennerhassett
Quoted 1 line · Takashi Iwai

Thanks for the patch. I applied it to HG tree.

Thanks Takashi,

Quoted 1 line

But, it's basically too big to accept as a single patch.

See below. Sorry about adding to your workload.

Quoted 2 lines

Such a big change is hard to review and trace. Please submit patches more frequently if possible. This will make our lives easier :)

We will try!

Quoted 3 lines

Also, the conversion from u16 to HW16 isn't good from the kernel code perspective. The former is the standard variable type in the kernel code. I hope they will be reverted again in the future revision.

Aaagh! My bad.

Here is an updated patch that has been through our "ALSA sanitization" process. It fixes the HW16 etc, and as a result is about 1/3 of the size, and I hope a bit easier to review.

Quoted 5 lines

http://audioscience.com/internet/download/beta/alsa-driver-hg3207_asihpi30506-2.tar.bz2
(No change to firmware)

If the previous patch can be backed out of Hg, that would be preferable though I understand if it is not possible.

Well, it's a bit too late to back out the last patch, so I prefer adding the reverting change again. I applied the latest one on the top of alsa-driver tree. Please check HG tree again.

It's nice that you mentioned about firmware since I totally forgot it :)

Thanks,

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV