Skip to contentSkip to conversation

Creating a new map entry for an odd device

DISCUSSION Bob Minowicz 2 participants 2 messages May 16, 2003 – May 19, 2003

lore
Share & tools
lore
#0 lore raw

If this is the wrong forum for a request for help, I apologize. please direct me to the appropriate mailing list.

I've recently obtained a Sampo Scream Cam DCE-310M. The device is a 3-in-1 USB digital camera/color web cam/MP3 player. I've been trying to figure out how to get it to work fully under Linux. Has anyone had any experiences with this device?

From my observations of how the Windows software operates, the MP3 player and digital camera functionality is accessed by turning the camera on and connecting it to the USB cable. Leaving the camera turned off and connecting it to the USB cable causes it to function as a web cam.

When I connect the camera (while turned on) under Linux, the USB subsystem finds a new device, but the hotplug usb agent fails to find a matching entry in the map.

From /proc/bus/usb/devices:

T:  Bus Lev Prnt Port Cnt Dev#= 16 Spd  MxCh= 0
D:  Ver= 1.00 Cls(>ifc ) Sub Prot MxPS= 8 #Cfgs=  1
P:  Vendor25 ProdID10 Rev= 3.00
S:  Manufacturer=NetChip Technology
S:  Product=NET2888 USB Interface Controller
C:* #Ifs= 1 Cfg#= 1 Atr` MxPwrP0mA
I:  If#= 0 Alt= 0 #EPs= 4 Clsÿ(vend.) Sub Prot Driver=(none)
E:  Ad(O) Atr(Bulk) MxPS=   8 Ivl=0ms
E:  Ad‚(I) Atr(Int.) MxPS=   8 Ivl%5ms
E:  Ad(O) Atr(Bulk) MxPS=  64 Ivl=0ms
E:  Ad„(I) Atr(Bulk) MxPS=  64 Ivl=0ms

Is there a way that I can compose a map entry for the hotplug usb agent from this information? I believe the device may well function with the usb-storage module, but I need the map entry to test that theory.

Interestingly when I connect the camera while turned off, the usb subsystem fails to list the connection of any device at all. Knowing that Windows can see or at least use it when in this state (as a web cam) makes me wonder as to why Linux does not register the connection of the device. I'd like to be able to get it to function as a web cam too, but this makes it very hard to even know where to start.

Any help will be greatly appreciated.

--
Bob Minowicz

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 2 lines · Bob Minowicz

If this is the wrong forum for a request for help, I apologize. please direct me to the appropriate mailing list.

The Linux-usb-users list would be better.

Quoted 5 lines

I've recently obtained a Sampo Scream Cam DCE-310M. ....

When I connect the camera (while turned on) under Linux, the USB subsystem finds a new device, but the hotplug usb agent fails to find a matching entry in the map.

So basically it needs some kind of driver.

Quoted 12 lines
T:  Bus Lev Prnt Port Cnt Dev#= 16 Spd  MxCh= 0
D:  Ver= 1.00 Cls(>ifc ) Sub Prot MxPS= 8 #Cfgs=  1
P:  Vendor25 ProdID10 Rev= 3.00
S:  Manufacturer=NetChip Technology
S:  Product=NET2888 USB Interface Controller
C:* #Ifs= 1 Cfg#= 1 Atr` MxPwrP0mA
I:  If#= 0 Alt= 0 #EPs= 4 Clsÿ(vend.) Sub Prot Driver=(none)
E:  Ad(O) Atr(Bulk) MxPS=   8 Ivl=0ms
E:  Ad‚(I) Atr(Int.) MxPS=   8 Ivl%5ms
E:  Ad(O) Atr(Bulk) MxPS=  64 Ivl=0ms
E:  Ad„(I) Atr(Bulk) MxPS=  64 Ivl=0ms
Quoted 3 lines

Is there a way that I can compose a map entry for the hotplug usb agent from this information? I believe the device may well function with the usb-storage module, but I need the map entry to test that theory.

No, you'd need more than a map entry. Since it doesn't say "storage", and in fact has too many endpoints to work as a storage device, I doubt that driver could work.

On the other hand, since it comes up claiming it's just a raw controller (and vendor 0c25 != NetChip), maybe that device needs firmware too.

- Dave

-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel