On Sat, 22 Nov 2003, Milosz Derezynski wrote:

> Hi,
> 
> I've bought a Pontis 600 USB MP3 player (http://www.pontis.de). The 
> device has no internal memory,
> but has a CF and SmartMedia card reader.
> Linux is a supported OS, the manual contains instructions to modify the 
> kernel to support the device, following is meant to be added to 
> drivers/usb/storage/unusual_devs.h:
> 
> 
> UNUSUAL_DEV( 0x09bc, 0x0003, 0x0000, 0x9999,
>                 "PONTIS",
>                 "SP600",
>                 US_SC_SCSI, US_PR_BULK, NULL,
>                 START_STOP),
> 
> 
> After adding this and recompiling the kernel (i'm using 2.6.0-test9) the 
> device is accessible as SCSI using usb-storage, and everything works 
> (accessing the device's CF card reader/writer to write data etc), but 

The instructions in your manual are out-of-date.  In 2.6.0 and the more 
recent 2.4 kernels you don't need to add that entry to unusual_devs.h.

> i'm getting
> this output in dmesg:
> 
> usb-storage: This device (09bc,0003,0001 S 06 P 50) has unneeded 
> SubClass and Protocol entries in unusual_devs.h
>    Please send a copy of this message to 
> <[EMAIL PROTECTED]>

That's just an indication that the entry you added wasn't needed.

> Even more problematic though is that everytime i reconnect the device to 
> the computer, the SCSI subsystem "creates" a new host (sorry if that's 
> technically incorrect, i don't know anything about how this internally 
> works).
> At first plugin i can access the CF card in the device it trough 
> "/dev/scsi/host0/bus0/target0/lun0/part1", when I unplug and replug it, 
> i have to use "/dev/scsi/host1/bus0/target0/lun0/part1", etc.

That's how the SCSI system works now.  The behavior is the same for any 
hot-pluggable SCSI device.

> So the device generally works, but this problem makes it impossible to 
> sanely make use of fstab.
> 
> Any help/fix for this?

The answer is to use a hotplug script to mount the card (or to set up the 
proper device links so that your fstab will work).

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to