[linux-usb-devel] Re: "sr: unaligned transfer" in 2.5.2-pre1

2001-12-30 Thread Matthew Dharm
If it shouldn't be used, it should be removed from the structure to force people to change. This is probably why usb-storage broke, and it wasn't obvious to me what went wrong. So now I guess I need to either (a) compute the address for the USB layer, or (b) figure out how to pass the memory par

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Matthew Dharm
Not quite. The unit could be removed while mounted. The SCSI layer doesn't know that the media might have been changed. So, while START_UNIT is the SCSI layer's way of probing for media change, it's not the only way that such a thing can be detected. Matt On Sun, Dec 30, 2001 at 11:16:32AM +0

Re: [linux-usb-devel] [2.4.18-pre1] USB oops in usb_unlink_urb whenfinished syncing

2001-12-30 Thread Burton W
Note that everything works fine with pilot-xfer (the oops does not occur) if I set CONFIG_USB_UHCI_ALT=y -- Burton Windle [EMAIL PROTECTED] Linux: the "grim reaper of innocent orphaned children." from /usr/src/linux-2.4.0/init/main.c:655 - Original Messag

[linux-usb-devel] [2.4.18-pre1] USB oops in usb_unlink_urb when finished syncing

2001-12-30 Thread Burton W
Hello. I got this oops while trying to get my USB Visor Handspring to sync with my Debian Woody box (running 2.4.18-pre1). I can reproduce this at will; it happens everytime pilot-xfer is getting done doing a list of my Visor's contents. Here's what happened before the oops: hub.c: USB new device

Re: [linux-usb-devel] USB devices major/minor numbers

2001-12-30 Thread Greg KH
On Thu, Dec 27, 2001 at 01:39:00PM +0200, Amira Solomovici wrote: > Hi, > > I am writing a usb device driver that is loaded as a module into the kernel. > My question is who allocates the major and minor numbers for my device > driver (it's for a smartcard reader)? I saw in the device list that t

Re: [linux-usb-devel] bulk read xfers returns wrong data

2001-12-30 Thread Greg KH
On Fri, Dec 28, 2001 at 11:12:39AM -0800, Angderson, Charyll wrote: > yes, i've had many comments about WORD (my 2 byte definition) and i will > change that to standard _u16. i mean to have asynchronous behavior... see > below. > > here is the big picture (run in a controlled environment w/ only

Re: [linux-usb-devel] USB 0.1.13-pre1 with OHCI

2001-12-30 Thread Greg KH
On Sat, Dec 29, 2001 at 12:32:06AM +, Chris Rankin wrote: > Hi, > > This "bug" message has just turned up in my log, and I'm not sure > whose bug it is: > > Dec 29 00:22:45 twopit kernel: usb-ohci.c: bug in call from f888f0b2; use async! > Dec 29 00:22:45 twopit kernel: hfa384x_docmd: hfa384

Re: [linux-usb-devel] Compile Error 2.4.17 + 2.4.18pre-1 ?

2001-12-30 Thread Greg KH
On Sun, Dec 30, 2001 at 12:42:29AM +0100, Stefan wrote: > > All things worked fine with the same config in Kernel 2.4.16, but now it > seems to be broken. Maybe it's only a gcc problem, because I use Debian > unstable. Some extra information : It's due to the new binutils package in unstable.

[linux-usb-devel] <È«º¸>»õÇغ¹¸¹À̹ÞÀ¸¼¼¿ä

2001-12-30 Thread ÇÑÅõÀÚ
ÀÎÅͳݺñÁö´Ï½º ±¹³»ÃÖ°íÀÇ »çÀÌÆ® ÇÑÅõÀÚ´åÄÄÀÔ´Ï´Ù.ÇÑÅõÀÚ ´åÄÄÀº Áö±Ý±îÁöÀÇ ¾î¶²»çÀÌÆ®¿Íµµ Â÷º°È­µÈ Cash Back ¼­ºñ½º¸¦ ½Ç½ÃÇÏ°í ÀÖ½À´Ï´Ù.ÈÞ´ëÆùÀ̳ª ÀϹÝÀüÈ­¸¦ 30~40% Àú·ÅÇÏ°Ô ÀÌ¿ëÇÒ ¼öµµ ÀÖ°í, ÀÎÅͳÝÀü¿ë¼±À̳ª ½Å¿ëÄ«µå¸¦ ½ÅûÇÒ ¶§µµ ij½¬¹éÀ¸·Î Çö±ÝÀÌ Àû¸³µË´Ï´Ù.ÀÏ´Ü, óÀ½ °¡ÀԽà ¹«·áȸ¿ø°ú

[linux-usb-devel] Compile Error 2.4.17 + 2.4.18pre-1 ?

2001-12-30 Thread Stefan
Hello, I get a compile Error in Kernel 2.4.17 + 2.4.18pre-1: make[2]: Leaving directory `/usr/src/linux/arch/i386/lib' make[1]: Leaving directory `/usr/src/linux/arch/i386/lib' ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o i

[linux-usb-devel] [±¤°í] ÀüÈ­¿ä±Ý °¡Àå ½Î°Ô ¾²´Â ¹æ¹ý

2001-12-30 Thread Çï·Î¿ìÅÚ
Title: Untitled Document

[linux-usb-devel] Re: "sr: unaligned transfer" in 2.5.2-pre1

2001-12-30 Thread Jens Axboe
On Sun, Dec 30 2001, Peter Osterlund wrote: > Greg KH <[EMAIL PROTECTED]> writes: > > > On Sun, Dec 23, 2001 at 06:44:43PM +0100, Peter Osterlund wrote: > > > > > > So, what changes are needed to make CD support work? > > > > The usb-storage driver needs some changes to get it to work properly

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Nick Craig-Wood
On Sun, Dec 30, 2001 at 02:37:21AM -0800, Matthew Dharm wrote: > Unfortunately, Sony MS readers are broken, because they do not generate a > media-change event. That certainly fits the fact ;-) > When the media is removed, it detaches from the bus. Most people > agree that this is a Bad Thing(t

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Alan Cox
> Some code would be needed to notice if this is the first media-access > command (just defining that is a bit fuzzy) and failing the command with > sense data that suggests a media-change. > > Ugly, to say the least. You only need to check START_UNIT. When the scsi layer wants to check a volume

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Nick Craig-Wood
On Sun, Dec 30, 2001 at 10:55:19AM +0100, [EMAIL PROTECTED] wrote: > On Sun, 30 Dec 2001, Nick Craig-Wood wrote: > > > I'm sure this is a known problem - does anyone know how to go about > > fixing it? > > Please go to the syslog and check whether usb-storage computes identical > UUIDs for both

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Matthew Dharm
Unfortunately, Sony MS readers are broken, because they do not generate a media-change event. When the media is removed, it detaches from the bus. Most people agree that this is a Bad Thing(tm), but so far there is no workaround. Some code would be needed to notice if this is the first media-acc

Re: [linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Oliver.Neukum
On Sun, 30 Dec 2001, Nick Craig-Wood wrote: > I'm sure this is a known problem - does anyone know how to go about > fixing it? Please go to the syslog and check whether usb-storage computes identical UUIDs for both devices. Regards Oliver _

[linux-usb-devel] usb-storage & /proc/partitions

2001-12-30 Thread Nick Craig-Wood
I'm sure this is a known problem - does anyone know how to go about fixing it? I have a Sony Memory stick reader and two memory sticks (4 MB and 64 MB). This all works fine giving a respectable 375 kB/s with usb-uhci with both reading and writing. However what doesn't work is swapping the two m

[linux-usb-devel] Re: "sr: unaligned transfer" in 2.5.2-pre1

2001-12-30 Thread Peter Osterlund
Greg KH <[EMAIL PROTECTED]> writes: > On Sun, Dec 23, 2001 at 06:44:43PM +0100, Peter Osterlund wrote: > > > > So, what changes are needed to make CD support work? > > The usb-storage driver needs some changes to get it to work properly in > the 2.5.1 kernel due to the changes in the SCSI and b