am struggling to get following issue resolved on a Asus WL500gp v1 with recent Kamikaze, home compiled on 2.4 basis (bleeding edge, r11377):
the USB G3.5 modem Novatel MC950D presents itself the first few minutes as a CDROM (usb 1410:5010) from the flash also built into that USB stick. It can be forced to become modem by an eject command and then becomes the modem with usb 1410:4400.
The problem:
the CDROM shows as a scsi device in /proc/scsi/scsi but does not show up in /dev as a cdrom device like /dev/scd0 or the like.
The eject command expects a device so how can I make the CDROM visble as a device that then can be ejected ?
If somebody knows the answer to the above question then comes the next: where to put the eject command so that whenever the CDROM pops up it gets ejected so I can get on with the modem functions ?
Any help appreciated !
--- /proc/scsi/scsi-----
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Novatel Model: Mass Storage Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
--------------------------
----- dmesg ----------------
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:03.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: $Revision: 1.275 $ time 16:14:39 Jun 6 2008
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Enabling device 01:03.2 (0000 -> 0002)
ehci_hcd 01:03.2: PCI device 1106:3104
ehci_hcd 01:03.2: irq 2, pci mem c022c000
usb.c: new USB bus registered, assigned bus number 3
EHCI: Enabling VIA 6212 workarounds
ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
hub.c: new USB device 01:03.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Novatel Model: Mass Storage Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
-------------------------------------------------------------
----cd //dev ; ls --------------
console full kmem mem mtdblock nvram ppp pts random scsi tts urandom zero
cua gpio log mtd null port ptmx pty root shm tty usb
---------------------------------
---- lsmod --------------------
Module Size Used by Tainted: P
sg 29252 0 (unused)
usb-storage 69632 0
usbserial 23516 0 (unused)
wlcompat 9504 0 (unused)
ehci-hcd 20556 0 (unused)
uhci 29060 0 (unused)
sd_mod 12500 0 (unused)
ip_conntrack_tftp 1712 0 (unused)
ip_nat_irc 2336 0 (unused)
ip_conntrack_irc 3128 1
ip_nat_ftp 2960 0 (unused)
ip_conntrack_ftp 4272 1
ipt_REDIRECT 640 0 (unused)
ipt_NETMAP 624 0 (unused)
ipt_MIRROR 1296 0 (unused)
ipt_TOS 976 0 (unused)
ipt_TTL 944 0 (unused)
ipt_MARK 592 0 (unused)
ipt_ECN 1616 0 (unused)
ipt_DSCP 960 0 (unused)
ipt_CLASSIFY 704 0 (unused)
ipt_unclean 6832 0 (unused)
ipt_ttl 496 0 (unused)
ipt_tos 304 0 (unused)
ipt_time 1544 0 (unused)
ipt_tcpmss 656 0 (unused)
ipt_mark 304 0 (unused)
ipt_mac 544 0 (unused)
ipt_length 336 0 (unused)
ipt_ecn 656 0 (unused)
ipt_dscp 304 0 (unused)
ipt_string 3240 0 (unused)
ipt_layer7 10704 0 (unused)
ipt_ipp2p 7320 0 (unused)
ipt_LOG 3792 0 (unused)
ipt_pkttype 288 0 (unused)
ipt_owner 1280 0 (unused)
ipt_condition 1360 0 (unused)
ipt_CONNMARK 816 0 (unused)
ipt_recent 8208 0 (unused)
ipt_helper 560 0 (unused)
ipt_conntrack 1104 0 (unused)
ipt_connmark 352 0 (unused)
ipt_connbytes 1168 0 (unused)
ppp_async 8044 0 (unused)
ppp_generic 22380 0 [ppp_async]
slhc 6064 0 [ppp_generic]
vfat 11340 0 (unused)
fat 34448 0 [vfat]
isofs 19872 0 (unused)
wl 666224 0 (unused)
nls_iso8859-1 2672 0 (unused)
usbcore 71296 1 [usb-storage usbserial ehci-hcd uhci]
scsi_mod 66048 3 [sg usb-storage sd_mod]
switch-robo 5052 0 (unused)
switch-core 4928 0 [switch-robo]
diag 28736 0 (unused)
-----------------------------------------------------------------------
--- cat /proc/scsi/usb-storage-0/0 -------------
Host scsi0: usb-storage
Vendor: Novatel Wireless
Product: Novatel Wireless HSUPA Modem
Serial Number: 356846010747010
Protocol: Transparent SCSI
Transport: Bulk
GUID: 141050100356846010747010
Attached: Yes
-----------------------------------------------------
(Last edited by doddel on 6 Jun 2008, 21:26)