lkml.org 
[lkml]   [1997]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.1.62, smbfs and sound

May I report a very happy 2.1.62?

Just for the record, smbfs works brilliantly at this site in 2.1.62,
talking to both Win95 and Win3.1 machines. Thank you, Bill Hawes,
Volker Lendecke, etc.

The sound system (on a CS4232-based card) does not work. However, by
applying the patch for 2.1.61 issued by Anders Hammarquist
(iko@netg.se), it can be made to come back to life.

In case you didn't get it first time, here's the patch. I emphasise:
this is purely my experience, and I am sure I do not have the
definitive answer to anything. Simply, it works for me.

lp seems fine, too. So, that's the three problems that kept me from
upgrading from 2.1.59 fixed.

Best wishes,

John Hayward-Warburton
linux@billabong.demon.co.uk

--- linux/drivers/sound/soundcard.c~ Sun Sep 21 02:07:43 1997
+++ linux/drivers/sound/soundcard.c Sat Nov 1 01:51:50 1997
@@ -57,9 +57,10 @@


static long
-sound_read (struct inode *inode, struct file *file, char *buf, unsigned long count)
+sound_read (struct file *file, char *buf, size_t count, loff_t *ppos)
{
int dev;
+ struct inode *inode = file->f_dentry->d_inode;

dev = MINOR (inode->i_rdev);

@@ -69,9 +70,10 @@
}

static long
-sound_write (struct inode *inode, struct file *file, const char *buf, unsigned long count)
+sound_write (struct file *file, const char *buf, size_t count, loff_t *ppos)
{
int dev;
+ struct inode *inode = file->f_dentry->d_inode;

dev = MINOR (inode->i_rdev);

@@ -82,7 +84,7 @@

static long long sound_lseek (struct file *file, long long offset, int orig)
{
- return -EPERM;
+ return -ESPIPE;
}

static int


\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans