Re: New usb card from Asus "My Cinema-U3000 Mini"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The only thing you are missing is to put the USB IDs into 
dib0710_device.c .

The attached patch tries to do that... Can you please check it and report
whether it works or not?

Patrick.


On Fri, 29 Dec 2006, David Palomares wrote:

> Hello
> 
> I've got a USB DVB-T from Asus, and am trying to get it working on
> Debian. It has a STK7700 inside (from lsusb -v, attached) so i've
> updated the vendor id's and device id's to add this card.  So far, it
> gets recognized, but i have no /dev/dvb dir, the firmware is on
> /lib/firmware and /usr/lib/hotplug/firmware (dvb-usb-dibusb-6.0.0.8.fw)
> but dmesg gives me no message about firmware being loaded or not. What
> else can i try?
> 
> Thanks,
> 
> David
> 
> 
> Here is the relevant lsusb -v output
> 
> 
> Bus 001 Device 003: ID 0b05:171f ASUSTek Computer, Inc.
> Device Descriptor:
>  bLength                18
>  bDescriptorType         1
>  bcdUSB               2.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0        64
>  idVendor           0x0b05 ASUSTek Computer, Inc.
>  idProduct          0x171f
>  bcdDevice            1.00
>  iManufacturer           1 DIBCOM
>  iProduct                2 STK7700
>  iSerial                 3 6A17101116
>  bNumConfigurations      1
>  Configuration Descriptor:
>    bLength                 9
>    bDescriptorType         2
>    wTotalLength           46
>    bNumInterfaces          1
>    bConfigurationValue     1
>    iConfiguration          0
>    bmAttributes         0xa0
>      (Bus Powered)
>      Remote Wakeup
>    MaxPower              500mA
>    Interface Descriptor:
>      bLength                 9
>      bDescriptorType         4
>      bInterfaceNumber        0
>      bAlternateSetting       0
>      bNumEndpoints           4
>      bInterfaceClass       255 Vendor Specific Class
>      bInterfaceSubClass      0
>      bInterfaceProtocol      0
>      iInterface              0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x01  EP 1 OUT
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x81  EP 1 IN
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x82  EP 2 IN
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
>      Endpoint Descriptor:
>        bLength                 7
>        bDescriptorType         5
>        bEndpointAddress     0x83  EP 3 IN
>        bmAttributes            2
>          Transfer Type            Bulk
>          Synch Type               None
>          Usage Type               Data
>        wMaxPacketSize     0x0040  1x 64 bytes
>        bInterval               0
> Device Qualifier (for other device speed):
>  bLength                10
>  bDescriptorType         6
>  bcdUSB               2.00
>  bDeviceClass            0 (Defined at Interface level)
>  bDeviceSubClass         0
>  bDeviceProtocol         0
>  bMaxPacketSize0        64
>  bNumConfigurations      1
> Device Status:     0x0000
>  (Bus Powered)
> 
> 
> 
> And now the dmesg
> 
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> ...
> dib0700: loaded with support for 2 different device-types
> usbcore: registered new interface driver dvb_usb_dib0700
> ...
> 
> And last the lsmod output
> 
> Module                  Size  Used by
> ipv6                  218976  14
> ppdev                   9348  0
> lp                     11076  0
> button                  6800  0
> ac                      5380  0
> battery                10244  0
> loop                   15496  0
> snd_seq_dummy           3972  0
> snd_seq_oss            29184  0
> snd_seq_midi            8480  0
> snd_seq_midi_event      7040  2 snd_seq_oss,snd_seq_midi
> snd_seq                44240  6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_via82xx            26648  0
> gameport               14344  1 snd_via82xx
> snd_ac97_codec         89120  1 snd_via82xx
> snd_ac97_bus            2432  1 snd_ac97_codec
> snd_pcm_oss            39200  0
> snd_mixer_oss          15744  1 snd_pcm_oss
> snd_pcm                70024  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
> snd_timer              20100  2 snd_seq,snd_pcm
> snd_page_alloc          9864  2 snd_via82xx,snd_pcm
> snd_mpu401_uart         7808  1 snd_via82xx
> evdev                   9472  0
> snd_rawmidi            22432  2 snd_seq_midi,snd_mpu401_uart
> snd_seq_device          7948  5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
> dvb_usb_dib0700        13704  0
> dib7000m               14084  1 dvb_usb_dib0700
> dib7000p               12676  1 dvb_usb_dib0700
> dvb_usb                22924  1 dvb_usb_dib0700
> rtc                    11828  0
> dvb_core               73128  1 dvb_usb
> snd                    47972  11
> snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> firmware_class          9856  1 dvb_usb
> dvb_pll                14212  1 dvb_usb
> soundcore               7520  1 snd
> dib3000mc              11908  1 dvb_usb_dib0700
> dibx000_common          3972  3 dib7000m,dib7000p,dib3000mc
> pcspkr                  2944  0
> vt8231                 15244  0
> parport_pc             32548  1
> parport                35144  3 ppdev,lp,parport_pc
> i2c_isa                 5504  1 vt8231
> i2c_viapro              8468  0
> via_agp                 9856  1
> agpgart                30000  1 via_agp
> ide_generic             1536  0 [permanent]
> ide_cd                 36384  0
> cdrom                  33568  1 ide_cd
> ide_disk               15488  3
> via_rhine              22664  0
> mii                     5504  1 via_rhine
> uhci_hcd               21000  0
> usbcore               119556  4 dvb_usb_dib0700,dvb_usb,uhci_hcd
> via82cxxx               8708  0 [permanent]
> generic                 5508  0 [permanent]
> ide_core              111368  5
> ide_generic,ide_cd,ide_disk,via82cxxx,generic
> thermal                14088  0
> processor              23596  1 thermal
> fan                     4868  0
> 
> 
> -- 
> ------------------------------------------------------------------------
> Logo mainsip <http://www.mainsip.com> 	
> C/ Isabel de Farnesio Nº 20 - Local 4 || C.P. 28660 - Boadilla del Monte
> (Madrid)
> Teléfono 91 632 69 50 - Fax 91 632 69 18
> www.mainsip.com <http://www.mainsip.com> - info@xxxxxxxxxxx
> <mailto:info@xxxxxxxxxxx>
> 
> 
> 
diff -r 3beb62e206ef linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Fri Dec 29 21:32:08 2006 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Sat Dec 30 16:27:39 2006 +0100
@@ -280,6 +280,7 @@ struct usb_device_id dib0700_usb_id_tabl
 		{ USB_DEVICE(USB_VID_LEADTEK,   USB_PID_WINFAST_DTV_DONGLE_STK7700P) },
 		{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_STICK_2) },
 		{ USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_VOLAR_2) },
+		{ USB_DEVICE(USB_VID_ASUS,      USB_PID_ASUS_U3000) },
 		{ }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -321,7 +322,7 @@ struct dvb_usb_device_properties dib0700
 			},
 		},
 
-		.num_device_descs = 6,
+		.num_device_descs = 7,
 		.devices = {
 			{   "DiBcom STK7700P reference design",
 				{ &dib0700_usb_id_table[0], &dib0700_usb_id_table[1] },
@@ -346,7 +347,11 @@ struct dvb_usb_device_properties dib0700
 			{   "Leadtek Winfast DTV Dongle (STK7700P based)",
 				{ &dib0700_usb_id_table[8], NULL },
 				{ NULL },
-			}
+			},
+			{   "Asus My Cinema-U3000 Mini",
+				{ &dib0700_usb_id_table[11], NULL },
+				{ NULL },
+			},
 		}
 	}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
 
diff -r 3beb62e206ef linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Fri Dec 29 21:32:08 2006 -0200
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Sat Dec 30 16:25:30 2006 +0100
@@ -13,6 +13,7 @@
 #define USB_VID_ADSTECH				0x06e1
 #define USB_VID_ANCHOR				0x0547
 #define USB_VID_AVERMEDIA			0x07ca
+#define USB_VID_ASUS                0x0b05
 #define USB_VID_COMPRO				0x185b
 #define USB_VID_COMPRO_UNK			0x145f
 #define USB_VID_CYPRESS				0x04b4
@@ -58,6 +59,7 @@
 #define USB_PID_DIBCOM_STK7700P_PC			0x1e78
 #define USB_PID_DIBCOM_ANCHOR_2135_COLD			0x2131
 #define USB_PID_UNIWILL_STK7700P			0x6003
+#define USB_PID_ASUS_U3000				0x171f
 #define USB_PID_GRANDTEC_DVBT_USB_COLD			0x0fa0
 #define USB_PID_GRANDTEC_DVBT_USB_WARM			0x0fa1
 #define USB_PID_KWORLD_VSTREAM_COLD			0x17de
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux